About the offest in the game
I made in the past server with the Shatter's project ..
But I stoped with it for long time ..
And today, I made other one. But just to traning on My c++ lang ..
To Shatter have a very useful project ..
And my question is, after I saw this tutorial.
About the olly understanding ..
Its the tutorial he gave us the command for the transformation ring.
for example, he gave:
Code:
mov dword ptr [ebp-10], 2
and when we change the number 2 to orher mob ID its change the skin in the game.
Works perfect.
But how he find this command ?
I'm really want to know this things.
And create more stuff with it.
like, post at the game when the "Illusion of Kundun" are spawned, and tell them the X & Y ..
Things like that will pure my C++ ..
Hope you understand me, and can help me with that ..
Re: About the offest in the game
Id0hadar,
I will prepare a guide to show how to search the offsets... But now I dont have time... Wait, please...
Re: About the offest in the game
Quote:
Originally Posted by
chris05
Id0hadar,
I will prepare a guide to show how to search the offsets... But now I dont have time... Wait, please...
Ok great :)
Can you tell me how long will takes to you for post this guide .. ?
YOU DON'T KNOW HOW MUCH I NEED THIS GUIDE :)
REALLY, I DON'T CARE EVEN PAY FOR IT!
Re: About the offest in the game
dont sure if i understand u.
but post==>protocol section, to fix it in shatter->project.. well it's easier to create ur own func, instead of trying to fix existing one.
finding offsets.
monsters => search for ID
eventitembag/other items = > search for its id "Index * Max_SubType_Items + ItemID // Index*512+ID; Old versions == Index * 32+ID
sometimes txt strings are also very helpful "Like as example Chaos Dark-Horse Mix Fail" will be inside the mix of dark horse etc..
cmp ecx.1A1E // 13*512+30 == Dl Cape etc //
j
Re: About the offest in the game
I tried this tutorial.
And used the address of the function gObjTeleport, Made it to funtion in my dll ..
Code:
typedef void (*pgObjTeleport)(int, int, int, int);
pgObjTeleport gObjTeleport = (pgObjTeleport) 0x00402CA7;
And call it:
Code:
gObjTeleport(6400, 2, 156, 45);
But, you see the 6400 ?
Its the player ID, and I want to know the player ID.
I don't know how to know what command it typed.
So I check when he press F3 so its will teleport him..
But how I can get the Player ID and teleport him ?
In the guide he using this code:
Code:
mov eax, dword ptr [ebp+08] // Player obj stuct
mov edx, [eax] // Player ID
Any idea how can I use it in my own dll ? (I'm using C++)
I tried to do _asm {} and write things down.
But it failed, and crash my gameserver ..