Run or Walk?

Need help running MacroQuest 1? Too bad! Use MQ2.

Moderator: MacroQuest Developers

gameboy
a lesser mummy
a lesser mummy
Posts: 64
Joined: Fri Nov 08, 2002 12:28 pm

Run or Walk?

Post by gameboy » Mon Nov 18, 2002 12:56 pm

Is there a way to determine if you character is in Run mode or Walk mode?

thx

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Tue Nov 19, 2002 2:06 am

Salutations,
in eqclient.ini, there is a way to turn on running, so it starts on... do that and just keep it on run...

gameboy
a lesser mummy
a lesser mummy
Posts: 64
Joined: Fri Nov 08, 2002 12:28 pm

Post by gameboy » Tue Nov 19, 2002 12:29 pm

Well I would like to turn on/off inside a macro depending on the state. The reason I would like this is when using the Walk subroutine (from the real nifty Macrokit) inside tight areas (like in buildings) it has a tendency to get stuck in walls when running. But if I'm walking it works ok since the character is moving slower.

I know I can just turn walk on in those area, but the problem is that sometimes I start the macro in the wrong state, ie walking instead of running. This is mainly due because I was testing the macro and ended it prematurely and forgot to turn run back on. So the macro starts of with the character walking instead of running; and when it gets to the tight areas it switches to running, and gets all messed up.

So what I would like to do is at the beginning of the macro, ensure it is in the correct state, but I would need a way to check for this.

thanks for listening.

User avatar
Fippy
a snow griffon
a snow griffon
Posts: 499
Joined: Tue Jul 16, 2002 10:42 am

Post by Fippy » Tue Nov 19, 2002 12:36 pm

I reckon its possible to do as at some point the client changes the sound you make from walking to running. Finding the offset might be a little trick though and i have no idea how to find new offsets, finding existing ones in a new eqgame.exe is about as much hacking as I can do at the moment.
Fippy

This is my girl. But Rizwank had her first :-)
[img]http://www.btinternet.com/~artanor/images/fairy_bounce09.gif[/img]