![]() |
|
|
|
|
#1 | |
|
Архивный участник
Join Date: Jan 2006
Posts: 82
|
some of you might already know it
i will just pull it out Quote:
//////////// push_event // eax //////////// push_const 32 add fetch_i //mov eax, dword ptr ds:[eax+20h]; ////////// push_const 888 add fetch_i //mov eax, dword ptr ds:[eax+378h]; ////////// push_const 18 greater_equal //cmp eax, 12h //jge offset C++: if ( CCreature.level >= 18 ) CCreature is a Structure that contains Creature data(NPC/Monster/Player) okey, thats eof, some of you genius should already get the idea about how to get a complete retail 7sign festival from this one ie: CCreature.CharName |
|
|
|
|
|
#2 |
|
Архивный участник
Join Date: May 2005
Posts: 2,033
|
i knew about the ai thingy...
however those asm commands are new to me. so, thanks for adding comments to the code
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Jun 2005
Posts: 143
|
humm the CCreature struct is in shared memory for L2Npc and L2Server ?
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Jan 2006
Posts: 82
|
thats why we have CCreatureSharedData * pData
check L2NPC |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|