Char X and Y coords

08/18/2011 04:17 B...#1
Hey Guys...

Im kinda stuck finding the Char X and Y coors ... I tryed several ways but still cant find them ...

Cant some1 help me out a bit ??

Thanks

B...
08/18/2011 04:26 Mega Byte#2
Run the game *window mode helps alot*
Run Cheat Engine
Attach Cheat Engine to game
Login
Select Character
Game Start
When its loaded in world
Search for players name as text
Find the one that is above the characters head *So the one that when you modify its value will change what is written above the chars head.*

Browse this address in memory. Around the area below name there will be a byte that is 01 when standing a 02 when walking and a 05 or 06 or 07 when attacking with mele. This is your action byte. After it is there is the speed of animation the animation frame and then the X Z Y Direction.

Locations in 3D Games are often Float data type so switch to viewing floats with Ctrl+6 i think it was you will need to click near the hex in memory browser. Or if you cant do this or w/e just walk around and note what parts change. If you set them to something else and your char moves then its the values. So then find out the start of X. This will move you Left and Right on the mini map.

Add the address as a float.
+4 from that address is Z and +4 from that is Y


Another way you can find the values is:
Goto somewhere with a nice chunk of land where your alone eg corner of town
Search for float unknown inital value.

Walk slightly in 1 direction preferabbly X so left or right on mini map.
Search for changed value
Move again in same direction search for changed value
Dont move and search for unchanged value
Repeat till you narrow it down. It will be a Green or static address in this game.


LEARN HOW TO USE CHEAT ENGINE PLZ! do the tutorial... and think about how you can use it to find things in memory ^_^.
08/18/2011 06:25 AfterBurn 2.0#3
Quote:
Originally Posted by B... View Post
Hey Guys...

Im kinda stuck finding the Char X and Y coors ... I tryed several ways but still cant find them ...

Cant some1 help me out a bit ??

Thanks

B...
I gave them to you like I always do :) happy hacking bro
08/19/2011 07:42 B...#4
Atleast im trying to find them and not begging like 90% of the others
08/19/2011 13:47 AfterBurn 2.0#5
Quote:
Originally Posted by B... View Post
Atleast im trying to find them and not begging like 90% of the others
Yes very true and I am very very glad you are trying to learn.
08/20/2011 03:27 Mega Byte#6
yes me too :) ignore my harshness if it does not apply im just really sick of people who dont try to learn...
08/20/2011 09:59 Manueltheman#7
just learned thanks megabyte
mauahhahahah now i can be everywhere at once and no one can stop me your directions are alil hard btw i was so confused as to what address i was adding to the list the animation , xyz thingy or the first but i got it ( you should specify witch one lol)
08/21/2011 00:50 Mega Byte#8
well it really dosnt matter which one, you can use common sense to work out what is what :).

But good job!

Now find where monsters are.
Goto town gate have monsters showing on screen
Search for 4byte 1
Goto town more so that no monsters show
Search for 0
Repeat a bit.
You will then have found the start of the monster state arrays.
Its an array of structs/classes called MonsterState
In each one is the X Z Y stored very similar to player. And also the monster id its action and health.

If you find all of those you can make a tool to find monsters and teleport too them and kill them etc.

You can map out the structures using excell or google spreedsheet very nicely. Or get an older version of Reclass by C.h.e.a.t.e.r or however his name was spelt.

Cheat engine also has a struct working out thing but I dont really like it...

To work out a struct/class find the start of one find the end of one.
Take away start from end in hex because they are addresses and you will know the size of the struct.
If the size is divisable by 4 then everything in the struct is most likely a 4 byte data type.

Or prehaps you want to make a Loot alarm and later an auto looting tool.
Figure out the ItemState struct and find its location in memory. You can find it the same way as above. Drop an item search for 1 pick it up search for 0 but make sure there are no other items around.

You will also want to work out MonsterInfo and ItemInfo structs. These can be found in the G03_2DImage or w/e directory under 005\US and can be unpacked using IMG Tools. Then you can open them in a hex editor and learn from there what they contain. They are the same in memory of game. You can find it by searching the name of item or monster in text when you modify that text name it will change in game. That is the right one.

To start you off the info structs go
unsigned int ID;
char Name[Howeverlongitis];

Item Info contains rareness of item, its name, its sell price buy price etc.

struct ItemInfo {
unsigned int ID;
char Name[25];

The struct for ItemInfo is 428 bytes in size. So from the start of 1 ID to the start of the 2nd ID for next item. You can find the difference of those and it will be 428. You can do the same for the other structs when they are in arrays.

Good luck if you try hard you should be able to work this stuff out :)
08/22/2011 03:15 Manueltheman#9
thx for tips bro i always like the tutorials u post for twelve sky2 (its the game im learning to hack on first)