View Single Post
Old 19.02.2006, 19:03   #1
johnsmith2
Архивный участник
 
Join Date: Jan 2006
Posts: 82
Default small ai.obj break down

some of you might already know it
i will just pull it out

Quote:
push_event // talker
push_const 32
add
fetch_i // level
push_const 888
add
fetch_i
push_const 18
greater_equal
ASM:
////////////
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
johnsmith2 is offline