[Problem] Cannot read the ChangeDirection

07/15/2010 10:05 Basser#16
@Impulse
You could also use a breakpoint and look through all data first.

@Korvacs and Kinshi,
I know it has to be Input[22], so offset 22, but it doesn't work.
Why would the direction be above 200?
07/15/2010 10:11 Korvacs#17
Direction should never be more than 7, it ranges from 0 -> 7 are you sure you have the right general data type? It should be 79. If your getting weird numbers like 200, sounds more like you have the action general data type which is 81.
07/15/2010 11:15 Basser#18
Quote:
Originally Posted by Korvacs View Post
Direction should never be more than 7, it ranges from 0 -> 7 are you sure you have the right general data type? It should be 79. If your getting weird numbers like 200, sounds more like you have the action general data type which is 81.
Could it be that the offset is 18?
18 seems to be the only value changing, and always is below 8.

EDIT:
18 seems to work.
Problem should be solved, weird..
This may be closed.
07/15/2010 11:33 Korvacs#19
Where are you counting your offset from? If your offset starts after length and type then 18 fits, if it starts before length and type then 22 fits. Although that could make sense if your using structured data packets.
07/15/2010 11:34 -impulse-#20
Direction offset changed after some versions...
07/15/2010 11:35 Korvacs#21
Quote:
Originally Posted by -impulse- View Post
Direction offset changed after some versions...
Well i was basing it off the various released 5165 source releases..
07/15/2010 12:06 Basser#22
Quote:
Originally Posted by Korvacs View Post
Well i was basing it off the various released 5165 source releases..
It should be around 5165.
I think it might be 5173?
Is that possible?
07/15/2010 12:13 Korvacs#23
If its 5173 its definately possible that the offset has changed.
07/15/2010 19:06 kinshi88#24
Retail is still a byte at offset 22, doesn't seem likely they would change it, then change it back.
Dump the packet dude, it would be the easiest.
07/15/2010 19:47 Basser#25
Why?
It works, Offset 18 works.
07/15/2010 19:55 kinshi88#26
So you got it working then?
07/15/2010 20:10 Basser#27
[Only registered and activated users can see links. Click Here To Register...]

Yes, I have.
In this example it is 0, but 0 is also a direction. ;)
I've made a circle, and it worked.