Jump to content

Gf Ai Documentation


Recommended Posts

This was writen by me, bigcheese, td5 and mcbigmac.

 

ai.obj format
 
ai.obj consists of a header and set of classes describing NPC AI. This is a breakdown of AI structure and functions:

SizeofPointer 8
SharedFactoryVersion 69
NPCHVersion 79
NASCVersion 2
NPCEventHVersion 2
Debug 0
 
 
class 0 default_npc : (null)
parameter_define_begin
        int DesirePqSize 50
        float IdleDesire_DecayRatio 0.000000
parameter_define_end
handler 0 0     //  NO_DESIRE
        variable_begin
                "myself"
                "_choiceN"
                "_code"
                "_from_choice"
        variable_end
 
handler_end
 
handler 4 13    //  TALK_SELECTED
        variable_begin
                "talker"
                "myself"
                "_choiceN"
                "_code"
                "_from_choice"
        variable_end
 
        push_event      //  myself
        push_const 784                  //ShowPage
        add
        fetch_i                 //ShowPage
        push_event      //  talker
        push_const 40                   //talker
        add
        fetch_i
S0.     "noquest.htm"
        push_string S0
        func_call 235012165     //  func[ShowPage]
        shift_sp -2
        shift_sp -1
handler_end
 
class_end
 

 
header
A header - this data is constant for a certain version of game server. Provided header is for Gracia Final version also its only included 1 time at top of file.

SizeofPointer 8
SharedFactoryVersion 69
NPCHVersion 79
NASCVersion 2
NPCEventHVersion 2
Debug 0

 
class <type> <class_name> : <super_class_name>
class definition each class must end with class_end
type if is 0 the class type is NPC else if is 1 the class type is NPCMaker.
class_name the class name
super_class_name the super class name can be (null) if npc does not have super class
 
parameters
Parameters are used as ai configuration they are constant, they cant be edited in ai and their values can be overiden by npcdata or npcpos to specify different configuration for each npc.
valid parameter types are the following: 'int' , 'float', 'string', 'waypointdelaystype' and 'waypointstype'
Example of parameters definition:

parameter_define_begin
        int DesirePqSize 50
        float IdleDesire_DecayRatio 0.000000
        string SomeStringVariable "String value here"
        waypointdelaystype param_name
        waypointstype param_name2
parameter_define_end

 
property
Property is placed after parameter_define_end or after class definition if there are no parameters

property_define_begin
        telposlist_begin <teleposlistname>
                {"teleport link text"; <pos_x>; <pos_y>; <pos_z>; <adena_cost>; <is_noblesse_teleport> }
                {"teleport link text"; <pos_x>; <pos_y>; <pos_z>; <adena_cost>; <is_noblesse_teleport> }
        telposlist_end
        buyselllist_begin <buysellistname>
                {<item_id>; <unknown>; <reuse_per_sell_count_in_days>; <sell_count_per_buy_reuse> }
                {<item_id>; <unknown>; <reuse_per_sell_count_in_days>; <sell_count_per_buy_reuse> }
        buyselllist_end
property_define_end

 
handler <event_handler_id> <lines_of_code> //<comment>
handler definition each handler must end with handler_end
lines_of_code is the lines of code in handler excluding variable definition and the blank space after it.
event_handler_id is the event handler id there are different event handlers for each class type so if class type is 0 you have to use NPC Event Handler Table else if its 1 you have to use NPCMaker EventHandler Table.
comment is the event handler name not really required its useful only for debugging purpose.
 
used variables
it defines which variables are used in handler its placed right after a handler starts

        variable_begin
                "myself"
                "_choiceN"
                "_code"
                "_from_choice"
        variable_end

 
Machine State
The virtual machine used to execute this stuff has the following state.

  • Stack
    • 8 byte entries
    • its size should be less than 192 the real size its not verified yet.
  • Type Stack
    • 1 byte entries indicating if stack type is float.
    • its size should be less than 192 the real size its not verified yet.
  • Stack Index
    •  Current index into both stacks
  • Instruction pointer
  • Object pointer
    • Accessed via push_event
  • Local class parameters and properties
    • Accessed via push_parameter and push_property

Instruction breakdown
add
Stack Transition
..., value1, value2 -> ..., (value1 + value2)
 
Description
Pops two values from stack, sums them up and pushes result back onto the stack
 
add_string <format_id>
Stack Transition
..., value1, value2 -> ..., add_string(format_id, value1, value2)
 
Description
Pops two values from stack and adds them together in a string and pushes a pointer with the result onto the stack.. The format_id is used to identify how the values will be merged together in a string valid ids and operations are below:



int + string : 516
float + string : 772
string + int : 1025
string + float : 1026
string + string : 1028

 
and
Stack Transition
..., value2, value1 -> ..., (value2 && value1)
 
Description
Pops two values from stack and does a logical and operation between them and pushes result back onto the stack
 
assign
Stack Transition
..., address, value -> ...
 
Description
Pops two arguments from the stack the first one is an 64 bit integer and the second one a pointer. then it sets value pointed by the address of pointer to the first value.
 
assign4
Stack Transition
..., address, value -> ...
 
Description
Pops two arguments from the stack the first one is an 32 bit integer and the second one a pointer. then it sets value pointed by the address of pointer to the first value.
 
bit_and
Stack Transition
..., value2, value1 -> ..., (value2 & value1)
 
Description
Pops two values from stack and does a bitwise and operation between them and pushes result onto the stack
 
bit_or
Stack Transition
..., value2, value1 -> ..., (value2 | value1)
 
Description
Pops two values from stack and does a bitwise or operation between them and pushes result onto the stack
 
branch_false <label>
Stack Transition
..., value -> ...
 
Description
Pops a value from stack if its 0 it jumps to label.
 
branch_true <label>
Stack Transition
..., value -> ...
 
Description
Pops a value from stack if its 1 it jumps to label.
 
call_super
Stack Transition
... -> ...
 
Description
Calls parent class handler.
 
div
Stack Transition
..., value2, value1 -> ..., (value2 / value1)
 
Description
Pops two values from stack, divides them and pushes result onto the stack.
 
equal
Stack Transition
..., value2, value1 -> ..., (value2 == value1)
 
Description
Pops two values from stack and compares if first value is equal with second value and pushes result onto the stack.
 
exit_handler
Stack Transition
... -> ...
 
Description
Returns from the handler.
 
fetch_d
Stack Transition
..., address -> ..., *reinterpret_cast<double*>(address)
 
Description
Pops a pointer from stack, reads a double value at address pointed by pointer and then pushes value onto the stack
 
fetch_f
Stack Transition
..., address -> ..., *reinterpret_cast<float*>(address)
 
Description
Pops a pointer from stack, reads a float value at address pointed by pointer and then pushes value onto the stack
 
fetch_i4
Stack Transition
..., address -> ..., *reinterpret_cast<int32_t*>(address)
 
Description
Pops a pointer from stack, reads a 32 bit integer value at address pointed by pointer and then pushes value onto the stack
 
fetch_i
Stack Transition
..., address -> ..., *reinterpret_cast<int64_t*>(address)
 
Description
Pops a pointer from stack, reads a 64 bit integer value at address pointed by pointer and then pushes value onto the stack
 
func_call <function_id>
Stack Transition
..., this_ptr, arg2, arg3, arg4 -> ..., return_value, arg2, arg3, arg4
 
Description
Calls a native function by id. Arguments are not popped, and the return value is placed in the first argument's stack slot.
 
greater
Stack Transition
..., value2, value1 -> ..., (value2 > value1)
 
Description
Pops two values from stack and compares if first value is greater than second value and pushes result onto the stack.
 
greater_equal
Stack Transition
..., value2, value1 -> ..., (value2 >= value1)
 
Description
Pops two values from stack and compares if first value is greater or equal than second value and pushes result onto the stack.
 
jump <label>
Stack Transition
... -> ...
 
Description
Jumps to label.
 
less
Stack Transition
..., value2, value1 -> ..., (value2 < value1)
 
Description
Pops two values from stack and compares if first value is lesser than second value and pushes result onto the stack.
 
less_equal
Stack Transition
..., value2, value1 -> ..., (value2 <= value1)
 
Description
Pops two values from stack and compares if first value is lesser or equal than second value and pushes result onto the stack.
 
mod
Stack Transition
..., value2, value1 -> ..., (value2 % value1)
 
Description
Pops two values from stack, calculates the modulo and pushes result onto the stack.
 
mul
Stack Transition
..., value2, value1 -> ..., (value2 * value1)
 
Description
Pops two values from stack, multiply them and pushes result onto the stack.
 
negate
Stack Transition
..., value -> ..., -value
 
Description
Pops a value from stack and changes it from positive to negative then it pushes the result onto the stack.
 
not
Stack Transition
..., value -> ..., !value
 
Description
Pops a value from stack and performs logical not then it pushes the result onto the stack.
 
not_equal
Stack Transition
..., value2, value1 -> ..., (value2 != value1)
 
Description
Pops two values from stack and compares if first value is not equal with second value and pushes result onto the stack.
 
or
Stack Transition
..., value2, value1 -> ..., (value2 || value1)
 
Description
Pops two values from stack and does a logical or operation between them and pushes result onto the stack.
 
push_const <value>
Stack Transition
... -> ..., <value>
 
Description
Pushes the integer constant <int> onto the stack.
 
push_event
Stack Transition
... -> ..., <thisPointer>
 
Description
Pushes the <code>this</code> pointer of the current handler class onto the stack.
 
push_parameter <parameter_name>
Stack Transition
... -> ..., <valueOfParameter>
 
Description
Pushes the value of <parameter_name> onto the stack.
 
push_property <property_name>
Stack Transition
... -> ..., <valueOfProperty>
 
Description
Pushes a property onto the stack.
 
push_reg_sp
Stack Transition
..., value -> ..., value, &value
 
Description
Pushes stack pointer onto the stack, then increments the stack pointer.
 
push_string <string_name>
Stack Transition
... -> ..., <pointerToString>
 
Description
Pushes a string pointer onto the stack. String definition format is:

S<int>. "a string value here".

 
shift_sp <int>
Stack Transition (given shift_sp -2)
..., value1, value2, value3 -> ..., value1
 
Description
Shift the stack pointer by <int> either forward or backwards.
 
sub
Stack Transition
..., value2, value1 -> ..., (value2 - value1)
 
Description
Pops two values from stack, subs them and pushes result onto the stack.
 
xor
Stack Transition
..., value2, value1 -> ..., (value2 ^ value1)
 
Description
Pops two values from stack and does a bitwise xor operation between them and pushes result onto the stack
 
Classes
 
NpcEvent

40:CreatureData:talker
48:CreatureData:attacker
56:CreatureData:victim
64:CreatureData:private
72:CreatureData:friend
80:CreatureData:commander
88:CreatureData:speller
96:CreatureData:target
112:CreatureData:creature
120:StaticObjectData:victim_so
128:ItemData:item
136:string:script
144:int:damage
148:int:state
152:int:who
156:int:quest_id
160:int:ask
164:int:skill_id
168:int:skill_level
172:int:need_quest
176:int:skill_name_id
180:int:occupation_name_id
184:int:way_point_index
188:int:next_way_point_index
192:int:time
196:int:weapon_class_id
200:int:success
204:int:x
208:int:y
212:int:z
216:int:pledge_index
220:int:desire
224:int:residence_id
228:int:inzone_id
232:int:inzone_type_id
236:int:event_id
240:int:question_id
244:int:timer_id
248:int:script_event_arg1
252:int:script_event_arg2
256:int:script_event_arg3
260:int:level
264:int:action_id
272:int64:reply
280:int64:i0
288:int64:i1
296:int64:i2
304:int64:i3
312:int64:i4
320:int64:i5
328:int64:i6
336:int64:i7
344:int64:i8
352:int64:i9
360:int64:i10
368:int64:i11
376:float:f0
380:float:f1
384:float:f2
388:float:f3
392:float:f4
396:float:f5
400:float:f6
404:float:f7
408:float:f8
412:float:f9
416:CreatureData:c0
424:CreatureData:c1
432:CreatureData:c2
440:CreatureData:c3
448:CreatureData:c4
456:PledgeData:pledge0
464:PledgeData:pledge1
472:PartyData:party0
480:PartyData:party1
488:ItemData:item0
496:ItemData:item1
504:StaticObjectData:so0
512:HateInfo:h0
520:HateInfo:h1
528:HateInfo:h2
536:HateInfo:h3
544:HateInfo:h4
552:NPC:npc0
560:NPC:npc1
568:NPC:npc2
576:string:s0
584:string:s1
592:FHTML:fhtml0
600:FHTML:fhtml1
608:int:_code
612:int:_choiceN
616:int:_from_choice
624:NpcMaker:maker0
632:NpcMaker:maker1
640:RoomInfo:room0
648:RoomInfo:room1
656:RoomInfoList:rlist0
664:RoomInfoList:rlist1
672:Position:pos0
680:Position:pos1
688:PositionList:plist0
696:PositionList:plist1
704:GlobalObject:gg
728:CreatureData:last_attacker
736:CreatureData:member
744:PartyData:lparty
752:CodeInfoList:random1_list
760:CodeInfoList:always_list
768:CodeInfo:code_info
776:ItemIndexList:item_index_list
784:NPC:myself

 
NpcMakerEvent

40:CreatureData:talker
48:CreatureData:attacker
56:CreatureData:victim
64:CreatureData:private
72:CreatureData:friend
80:CreatureData:commander
88:CreatureData:speller
96:CreatureData:target
112:CreatureData:creature
120:StaticObjectData:victim_so
128:ItemData:item
136:string:script
144:int:damage
148:int:state
152:int:who
156:int:quest_id
160:int:ask
164:int:skill_id
168:int:skill_level
172:int:need_quest
176:int:skill_name_id
180:int:occupation_name_id
184:int:way_point_index
188:int:next_way_point_index
192:int:time
196:int:weapon_class_id
200:int:success
204:int:x
208:int:y
212:int:z
216:int:pledge_index
220:int:desire
224:int:residence_id
228:int:inzone_id
232:int:inzone_type_id
236:int:event_id
240:int:question_id
244:int:timer_id
248:int:script_event_arg1
252:int:script_event_arg2
256:int:script_event_arg3
260:int:level
264:int:action_id
272:int64:reply
280:int64:i0
288:int64:i1
296:int64:i2
304:int64:i3
312:int64:i4
320:int64:i5
328:int64:i6
336:int64:i7
344:int64:i8
352:int64:i9
360:int64:i10
368:int64:i11
376:float:f0
380:float:f1
384:float:f2
388:float:f3
392:float:f4
396:float:f5
400:float:f6
404:float:f7
408:float:f8
412:float:f9
416:CreatureData:c0
424:CreatureData:c1
432:CreatureData:c2
440:CreatureData:c3
448:CreatureData:c4
456:PledgeData:pledge0
464:PledgeData:pledge1
472:PartyData:party0
480:PartyData:party1
488:ItemData:item0
496:ItemData:item1
504:StaticObjectData:so0
512:HateInfo:h0
520:HateInfo:h1
528:HateInfo:h2
536:HateInfo:h3
544:HateInfo:h4
552:NPC:npc0
560:NPC:npc1
568:NPC:npc2
576:string:s0
584:string:s1
592:FHTML:fhtml0
600:FHTML:fhtml1
608:int:_code
612:int:_choiceN
616:int:_from_choice
624:NpcMaker:maker0
632:NpcMaker:maker1
640:RoomInfo:room0
648:RoomInfo:room1
656:RoomInfoList:rlist0
664:RoomInfoList:rlist1
672:Position:pos0
680:Position:pos1
688:PositionList:plist0
696:PositionList:plist1
704:GlobalObject:gg
728:NpcMaker:myself
736:SpawnDefine:def0
744:SpawnDefine:deleted_def
752:SpawnDefine:loaded_def
760:SpawnDefine:created_def
768:NPC:deleted_npc
776:NPC:created_npc
784:DBNpcInfo:record0
792:int:enabled
796:int:died

 
CreatureData

8:double:x
16:double:y
24:double:z
36:int:id
100:int:is_pc
104:int:alive
108:int:age
120:int:subjob_id
124:int:nobless_type
128:int:hero_type
136:int:subjob0_class
140:int:subjob1_class
144:int:subjob2_class
148:int:subjob3_class
152:int:race
156:int:occupation
164:string:name
264:int:sp
456:double:hp
472:double:mp
488:int:stop_mode
504:int:target_index
508:int:target_id
513:int:is_freezed
520:int:pk_count
528:int:karma
1620:int:quest_last_reward_time
1632:int:pledge_id
1640:int:is_pledge_master
1644:int:pledge_type
1656:int:grade_id
1696:int:residence_id
1848:int:death_penalty_level
1856:int:dbid
1956:int:level
2008:double:max_hp
2016:double:max_mp
2056:double:hp_regen
2120:int:equiped_weapon_class_id
2124:int:attack_type
2248:int:builder_level
2264:int:last_blow_weapon_class_id
2268:int:ssq_round
2272:int:ssq_part
2280:int:seal_selection_no
2348:int:ssq_dawn_round
2352:int:in_peacezone
2356:int:in_battlefield
2408:string:ai
2668:int:summon_type
2676:int:summoner_id
2680:int:boss_id
2684:int:npc_class_id
2684:int:class_id
2688:int:weight_point
2692:int:respawn_time
2724:int:clan_help_range
2736:int:p_state
2760:CreatureData:master
2768:int:action
2816:int:flag
2820:int:yongma_type
2824:int:yongma_class
2828:int:strider_level
2832:int:meal
2840:int:pet_dbid
2848:int:max_magic_level
2860:int:transformID
2864:int:instant_zone_id
2868:int:instant_zone_type_id
2872:int:instant_zone_type_id_in_use
3540:int:db_value
3544:int:param1
3548:int:param2
3552:int:param3

 
ItemData

8:double:x
16:double:y
24:double:z
36:int:id
104:int64:count
116:int:dbid
120:int:cls
120:int:class_id
144:int:pet_level

 
PledgeData

8:double:x
16:double:y
24:double:z
36:int:id
100:int:db_id
104:string:name
156:string:master_name
228:int:skill_level
252:int:status
256:int:is_guilty
264:int:castle_id
268:int:agit_id
272:int:fortress_id
300:int:member_count
1432:int:total_member_count
1936:int:prev_server
1988:int:airship_count

 
PartyData

108:int:member_count

 
NpcMaker

1058:string:name
1156:int:def_count
1160:int:npc_count
1164:int:maximum_npc
1168:int:i_ai0
1172:int:i_ai1
1176:int:i_ai2
1180:int:i_ai3
1184:int:i_ai4
1192:int64:i_quest0
1200:int64:i_quest1
1208:int64:i_quest2
1216:int64:i_quest3
1224:int64:i_quest4
1232:CreatureData:c_ai0
1240:CreatureData:c_ai1
1248:CreatureData:c_ai2
1256:CreatureData:c_ai3
1264:CreatureData:c_ai4
1344:intlist:int_list
1352:int:enabled
5056:int:inzone_type_id
5060:int:inzone_cluster_id
5064:int:inzone_id

 
NPC

48:int:p_state
52:int:temper
56:int64:i_quest0
64:int64:i_quest1
72:int64:i_quest2
80:int64:i_quest3
88:int64:i_quest4
96:int64:i_ai0
104:int64:i_ai1
112:int64:i_ai2
120:int64:i_ai3
128:int64:i_ai4
136:int:attack_tick
144:CreatureData:c_quest0
152:CreatureData:c_quest1
160:CreatureData:c_quest2
168:CreatureData:c_quest3
176:CreatureData:c_quest4
184:CreatureData:c_ai0
192:CreatureData:c_ai1
200:CreatureData:c_ai2
208:CreatureData:c_ai3
216:CreatureData:c_ai4
288:AtomicValue:av_quest0
296:AtomicValue:av_quest1
304:AtomicValue:av_ai0
392:intlist:int_list
400:int:m_WorldTrapState
408:CreatureData:sm
416:CreatureData:master
424:CreatureData:boss
432:CreatureData:top_desire_target
440:int:top_skill_name_id
452:int:start_x
456:int:start_y
460:int:start_z
524:int:sit_on_stop

 
HateInfo

8:CreatureData:creature
16:int:hate
20:int:temp0

 
GlobalObject

52:int:server_time

 
SpawnDefine

40:string:nickname
90:string:name
140:int:total
144:int:npc_count
148:int:respawn_time
152:int:respawn_rand
156:string:dbname
208:string:has_dbname

 
CodeInfo

52:int:code

 
CodeInfoList

8:int:code

 
DBNpcInfo

8:string:dbname
60:int:hp
64:int:mp
68:int:x
72:int:y
76:int:z
80:int:death_time
84:int:is_alive
88:int:db_value
92:int:arg1

 
AtomicValue

8:int:value

 
RoomInfo

8:int:index
12:int:member_count
52:int:time
56:int:party_id
80:AtomicValue:status

 
RoomInfoList

8:int:size

 
Position

8:int:x
12:int:y
16:int:z

 
PositionList

8:int:size

 
Function Table

218169344       SpawnDefine NpcMaker::GetSpawnDefine(int)
218169345       SpawnDefine NpcMaker::GetSpawnDefineByNick(string)
218234882       void NpcMaker::AddTimerEx(int, int)
218169347       int NpcMaker::RegisterNpcPosEvent(string)
218234884       int NpcMaker::RegisterDoorEvent(string, int)
218169349       int NpcMaker::RegisterSiegeEventEx(int)
218169350       int NpcMaker::RegisterAgitSiegeEventEx(int)
218300423       void NpcMaker::RegisterRespawn(int, int, SpawnDefine)
218103816       void NpcMaker::DoRespawn()
218103817       void NpcMaker::ResetRespawn()
218300426       int NpcMaker::AtomicIncreaseTotal(SpawnDefine, int, int)
218169355       void NpcMaker::RegisterFieldCycleEventEx(int)
218300428       void NpcMaker::RegisterFortressEventEx(int, int, int)
218365965       void NpcMaker::RegisterInstantZoneEventEx(int, int, int, int)
218103822       void NpcMaker::RegisterOlympiadFieldEventEx()
218103823       int NpcMaker::GetInZoneID()
234881024       void NPC::Crash()
234946561       int NPC::IsNullCreature(CreatureData)
234946562       int NPC::IsNullHateInfo(HateInfo)
234946563       int NPC::IsNullParty(PartyData)
234946564       int NPC::IsNullString(string)
235012101       void NPC::AddMoveAroundDesire(int, float)
235012102       void NPC::AddDoNothingDesire(int, float)
235077639       void NPC::AddAttackDesire(CreatureData, int, float)
235143176       void NPC::AddAttackDesireEx(int, int, int, float)
235012105       void NPC::AddGetItemDesire(ItemData, float)
235012106       void NPC::AddGetItemDesireEx(int, float)
235012107       void NPC::AddChaseDesire(CreatureData, float)
235012108       void NPC::AddFleeDesire(CreatureData, float)
235077645       void NPC::AddFleeDesireEx(CreatureData, int, float)
235012110       void NPC::AddFollowDesire(CreatureData, float)
234946575       void NPC::AddDecayingDesire(float)
235143184       void NPC::AddMoveToWayPointDesire(WayPoints, WayPointDelays, int, float)
235208721       void NPC::AddUseSkillDesire(CreatureData, int, int, int, float)
235339794       void NPC::AddUseSkillDesireEx(int, int, int, int, int, float, int)
235208723       void NPC::AddUseOneTimeSkillDesire(CreatureData, int, int, int, float)
235143188       int NPC::AddMoveToDesire(int, int, int, float)
235143189       void NPC::AddEffectActionDesire(CreatureData, int, int, float)
235208726       void NPC::AddEffectActionDesire2(CreatureData, int, int, float, int)
234946583       void NPC::AddPetDefaultDesire_Follow(float)
235143192       void NPC::AddMoveToTargetDesire(int, int, int, float)
235077657       void NPC::AddMoveSuperPointDesire(string, int, float)
235077658       void NPC::AddMoveFreewayDesire(int, int, float)
235405339       void NPC::AddMoveFormationDesire(string, int, int, int, int, int, int, float)
234881052       void NPC::RemoveAllAttackDesire()
234946589       void NPC::RemoveAttackDesire(int)
234881054       void NPC::RandomizeAttackDesire()
235077663       void NPC::MakeAttackEvent(CreatureData, float, int)
234946592       float NPC::GetTopDesireValue(int)
234881057       int NPC::GetLifeTime()
234881058       int NPC::GetTick()
234881059       int NPC::GetCurrentTick()
234946596       int NPC::GetDirection(CreatureData)
234946597       int NPC::GetDirectionToTarget(CreatureData)
234881062       int NPC::GetMyDirection()
235077671       void NPC::SetCookie(CreatureData, string, int)
235012136       int NPC::GetCookie(CreatureData, string)
235077673       void NPC::SetTeleportPosOnLost(int, int, int)
234881066       void NPC::StopMove()
235012139       void NPC::AddTimerEx(int, int)
235077676       int NPC::AtomicAddTimerEx(CreatureData, int, int)
234946605       int NPC::IsStaticObjectID(int)
234946606       int NPC::IsCreatureID(int)
234946607       StaticObjectData NPC::GetStaticObjectFromIndex(int)
234946608       StaticObjectData NPC::GetStaticObjectFromID(int)
235012145       void NPC::RegisterGlobalMap(int, int)
234946610       int NPC::UnregisterGlobalMap(int)
234946611       int NPC::GetGlobalMap(int)
234946612       CreatureData NPC::GetSummon(CreatureData)
234881077       int NPC::GetTimeHour()
235012150       int NPC::Summon_SetOption(int, int)
234946615       void NPC::LookNeighbor(int)
235077688       void NPC::BroadcastScriptEvent(int, int, int)
235143225       void NPC::BroadcastScriptEventEx(int, int, int, int)
234881082       int NPC::GetPathfindFailCount()
234881083       void NPC::ReportDesire()
234946620       int NPC::CanAttack(CreatureData)
234881085       int NPC::IsSpoiled()
234946622       int NPC::Say(string)
234946623       void NPC::SayInt(int64)
234946624       void NPC::SayFloat(float)
234946625       int NPC::EquipItem(int)
235012162       int NPC::Talk(CreatureData, string)
234946627       int NPC::Shout(string)
235012164       void NPC::ShoutEx(string, int)
235012165       void NPC::ShowPage(CreatureData, string)
235077702       void NPC::ShowQuestPage(CreatureData, string, int)
235012167       void NPC::ShowSystemMessage(CreatureData, int)
235012168       void NPC::ShowSystemMessageStr(CreatureData, string)
235077705       void NPC::BroadcastSystemMessage(CreatureData, int, int)
235077706       void NPC::BroadcastSystemMessageStr(CreatureData, int, string)
235339851       void NPC::ShowSysMsgToParty2(PartyData, int, int, int, int, int, int)
235012172       void NPC::ShowTelPosListPage(CreatureData, TelPosList)
235405389       void NPC::Teleport(CreatureData, TelPosList, string, string, string, string, int, string)
235405390       void NPC::NoblessTeleport(CreatureData, TelPosList, string, string, string, string, int, string)
235143247       void NPC::InstantTeleport(CreatureData, int, int, int)
235274320       void NPC::InstantTeleportWithItem(CreatureData, int, int, int, int, int64)
234881105       void NPC::InstantRandomTeleportInMyTerritory()
235012178       void NPC::TeleportToUser(CreatureData, CreatureData)
235274323       void NPC::SellPreview(CreatureData, BuySellList, string, string, string, string)
235274324       void NPC::Sell(CreatureData, BuySellList, string, string, string, string)
235274325       void NPC::Buy(CreatureData, BuySellList, string, string, string, float)
235012182       void NPC::ShowMultisell(int, CreatureData)
234946647       int NPC::IsAlive(CreatureData)
234946648       float NPC::HPRatio(CreatureData)
234946649       float NPC::DistFromMe(CreatureData)
235077722       float NPC::PointDistFromMe(float, float, float)
234946651       float NPC::StaticObjectDistFromMe(StaticObjectData)
234946652       void NPC::SetTimerPeriodByTick(int)
234946653       void NPC::SetTimerPeriod(int)
235012190       int NPC::GetWayPointDelay(WayPointDelays, int)
235012191       void NPC::ChangeStopType(int, int)
234946656       void NPC::OpenHennaItemListForEquip(CreatureData)
234946657       void NPC::OpenHennaListForUnquip(CreatureData)
234946658       int NPC::GetMemoCount(CreatureData)
235012195       int NPC::SetMemo(CreatureData, int)
235077732       int NPC::SetMemoState(CreatureData, int, int)
235143269       int NPC::SetMemoStateEx(CreatureData, int, int, int)
235012198       int NPC::RemoveMemo(CreatureData, int)
235077735       void NPC::SetJournal(CreatureData, int, int)
235077736       void NPC::SetFlagJournal(CreatureData, int, int)
235077737       void NPC::ResetFlagJournal(CreatureData, int, int)
234946666       void NPC::SetCurrentQuestID(int)
235012203       int NPC::GetOneTimeQuestFlag(CreatureData, int)
235077740       void NPC::SetOneTimeQuestFlag(CreatureData, int, int)
235012205       int NPC::GetInventoryInfo(CreatureData, int)
235012206       void NPC::SetDBValue(CreatureData, int)
235012207       int NPC::HavePledgePower(CreatureData, int)
234946672       CreatureData NPC::GetLeaderOfParty(PartyData)
235012209       CreatureData NPC::GetMemberOfParty(PartyData, int)
235012210       int NPC::IsMemberOfParty(CreatureData, PartyData)
235012211       CreatureData NPC::Party_GetMember(int, int)
234946676       int NPC::Pledge_GetCount(CreatureData)
235012213       CreatureData NPC::Pledge_GetCreature(CreatureData, int)
234946678       CreatureData NPC::Pledge_GetLeader(CreatureData)
234946679       PledgeData NPC::GetPledge(CreatureData)
234946680       PledgeData NPC::GetPledgeByIndex(int)
234946681       CreatureData NPC::MPCC_GetMaster(int)
234946682       int NPC::MPCC_GetPartyCount(int)
235012219       int NPC::MPCC_GetPartyID(int, int)
234946684       int NPC::MPCC_GetMemberCount(int)
234946685       int NPC::MPCC_GetMPCCId(CreatureData)
235077758       void NPC::MPCC_SetMasterPartyRouting(int, CreatureData, int)
235143295       int NPC::GiveItemEx(CreatureData, int, int, int64)
235143296       int NPC::DeleteItemEx(CreatureData, int, int, int64)
235077761       int64 NPC::OwnItemCountEx(CreatureData, int, int)
235077762       int NPC::GiveItem1(CreatureData, int, int64)
235077763       int NPC::DropItem1(CreatureData, int, int64)
235143300       int NPC::DropItem2(CreatureData, int, int64, int)
235077765       int NPC::DeleteItem1(CreatureData, int, int64)
235012230       ItemData NPC::GetItemData(CreatureData, int)
234881159       CreatureData NPC::GetLastAttacker()
235012232       void NPC::FHTML_SetFileName(FHTML, string)
235077769       void NPC::FHTML_SetInt(FHTML, string, int64)
235077770       void NPC::FHTML_SetFloat(FHTML, string, float)
235077771       void NPC::FHTML_SetStr(FHTML, string, string)
235012236       void NPC::ShowFHTML(CreatureData, FHTML)
235077773       void NPC::ShowQuestFHTML(CreatureData, FHTML, int)
234946702       int NPC::IsWaitingDismiss(CreatureData)
234946703       int NPC::GetPledgeSkillLevel(CreatureData)
234946704       void NPC::RegisterSiege(CreatureData)
234946705       void NPC::RegisterSiegeDefender(CreatureData)
234946706       void NPC::UnregisterSiege(CreatureData)
235143315       void NPC::ShowSetSiegeTime(CreatureData, string, string, string)
235143316       string NPC::PrepareSiegeTime(int, int, int, int)
235012245       void NPC::ViewSiegeList(CreatureData, string)
235012246       void NPC::ApproveBattle(CreatureData, string)
234946711       void NPC::CheckSiege(CreatureData)
234946712       int NPC::IsMyLord(CreatureData)
234881177       string NPC::Castle_GetPledgeName()
234881178       string NPC::Castle_GetOwnerName()
234881179       string NPC::Castle_GetSiegeTime()
234881180       int NPC::Residence_GetTaxRate()
234881181       int NPC::Residence_GetTaxRateCurrent()
234946718       void NPC::Residence_SetTaxRate(int)
234881183       int NPC::Residence_GetChildTaxRate()
234946720       void NPC::Residence_SetVaultEmpty(int)
235012257       void NPC::Residence_SetChildTaxRateEach(int, int)
234946722       void NPC::Residence_SetChildTaxRate(int)
235012259       void NPC::Residence_VaultTakeOutMoney(CreatureData, int64)
235012260       void NPC::Residence_VaultSaveMoney(CreatureData, int64)
234881189       int NPC::Castle_IsGateOpen()
235143334       void NPC::Castle_SetSiegeTime(int, int, int, int)
234946727       void NPC::Castle_GateOpenClose(int)
234946728       int NPC::Castle_GetPledgeState(CreatureData)
234881193       int NPC::Castle_IsUnderSiege()
234881194       int NPC::Castle_GetHPRegen()
234881195       int NPC::Castle_GetMPRegen()
234881196       void NPC::Castle_BanishOthers()
234946733       void NPC::Castle_SetHPRegen(int)
234946734       void NPC::Castle_SetMPRegen(int)
234881199       int NPC::Castle_GetRawSiegeTime()
234881200       int NPC::Castle_GetRawSystemTime()
234946737       int NPC::Castle_IsUnderSiege2(int)
234881202       int NPC::Castle_GetPledgeId()
234881203       int NPC::Castle_GetLifeControlLevel()
234946740       void NPC::Castle_GetRelatedFortressList(CreatureData)
234946741       void NPC::Agit_SetMaster(CreatureData)
234881206       int NPC::Agit_GetTeleportLevel()
234881207       int NPC::Agit_GetCostFailDay()
234946744       void NPC::Agit_SetTeleportLevel(int)
235077817       void NPC::Agit_SetDeco(CreatureData, int, int)
235012282       void NPC::Agit_ResetDeco(CreatureData, int)
234946747       int NPC::Agit_GetDecoLevel(int)
234946748       int NPC::Agit_GetDecoExpire(int)
234946749       int NPC::Agit_GetDecoId(int)
235339966       void NPC::Agit_StartObserver(CreatureData, int, int, int, int, int, int)
235012287       int NPC::Agit_GetDecoDay(int, int)
235012288       int NPC::Agit_GetDecoFee(int, int)
234946753       void NPC::AuctionAgit_GetAgitCostInfo(CreatureData)
235077826       void NPC::Fortress_PledgeRegister(int, int, int)
235077827       void NPC::Fortress_PledgeUnregister(int, int, int)
235077828       void NPC::Fortress_BarrackCaptured(int, int, int)
235012293       void NPC::Fortress_ProtectedNpcDied(int, int)
235143366       void NPC::Fortress_ContractCastle(int, int, int, int)
235208903       void NPC::Fortress_OwnerRewardTaken(int, int, int, int, int64)
235077832       void NPC::Fortress_CastleTreasureTaken(int, int, int)
234946761       int NPC::Fortress_GetState(int)
234946762       int NPC::Fortress_GetSiegeStatus(int)
234946763       int NPC::Fortress_GetOwnerRewardCycleCount(int)
234946764       int NPC::Fortress_GetCastleTreasureLevel(int)
234946765       int NPC::Fortress_IsInBoundary(int)
234881230       string NPC::Fortress_GetOwnerPledgeName()
234881231       string NPC::Fortress_GetOwnerPledgeMasterName()
234946768       int NPC::Fortress_GetPledgeSiegeState(CreatureData)
235077841       void NPC::Fortress_SetFacility(CreatureData, int, int)
234946770       void NPC::Fortress_ResetFacility(CreatureData)
235012307       void NPC::AddChoice(int, string)
235012308       void NPC::ShowChoicePage(CreatureData, int)
235012309       void NPC::ShowSkillList(CreatureData, string)
235012310       void NPC::ShowEnchantSkillList(CreatureData, int)
235077847       void NPC::ShowGrowSkillMessage(CreatureData, int, string)
235208920       void NPC::ShowGrowSkillMessage2(CreatureData, int, int, int, string)
235077849       void NPC::ShowEnchantSkillMessage(CreatureData, int, int)
235077850       void NPC::ShowEtcSkillList(CreatureData, int, string)
235143387       void NPC::ShowGrowEtcSkillMessage(CreatureData, int, int, string)
235012316       int NPC::IsInCategory(int, int)
235012317       int NPC::ClassChange(CreatureData, int)
234881246       int64 NPC::Residence_GetTaxIncome()
234881247       int64 NPC::Residence_GetTaxIncomeReserved()
234881248       int64 NPC::Manor_GetSeedIncome()
234881249       int NPC::IsManorSettingTime()
234946786       int NPC::Skill_GetTargetType(int)
234946787       int NPC::Skill_GetConsumeHP(int)
234946788       int NPC::Skill_GetConsumeMP(int)
234946789       int NPC::Skill_GetEffectPoint(int)
234946790       int NPC::Skill_GetAbnormalType(int)
235012327       int NPC::Skill_HaveAttribute(int, int)
234946792       int NPC::Skill_InReuseDelay(int)
235012329       int NPC::UseSkill(CreatureData, int)
235012330       int NPC::UseCategorySkill(CreatureData, int)
234946795       int NPC::UseItem(int)
234946796       int NPC::UseCategoryItem(int)
234946797       void NPC::UseSoulShot(int)
235077870       void NPC::UseSpiritShot(int, int, int)
234946799       void NPC::SetPrivateID(int)
234946800       void NPC::CreatePrivates(string)
235143409       void NPC::CreateOnePrivate(int, string, int, int)
235602162       int NPC::CreateOnePrivateEx(int, string, int, int, int, int, int, int, int, int, int)
235667699       int NPC::CreateOnePrivateInzoneEx(int, string, int, int, int, int, int, int, int, int, int, int)
234881268       int NPC::Maker_GetNpcCount()
234946805       CreatureData NPC::Maker_FindNpcByKey(int)
235077878       void NPC::IncrementParam(CreatureData, int, int64)
235012343       int NPC::SetWeightPoint(CreatureData, int)
235012344       void NPC::SoundEffect(CreatureData, string)
235077881       void NPC::VoiceEffect(CreatureData, string, int)
235077882       void NPC::EffectMusic(CreatureData, int, string)
235012347       void NPC::PlayScene(CreatureData, int)
234881276       void NPC::Despawn()
234881277       void NPC::Suicide()
234881278       void NPC::EnableMakingSeeEvent()
235012351       void NPC::GiveContribution(CreatureData, int)
234946816       int NPC::InMyTerritory(CreatureData)
234946817       int NPC::IsInThisTerritory(string)
235143426       void NPC::InstantTeleportInMyTerritory(int, int, int, int)
235274499       void NPC::InstantTeleportInMyTerritoryWithCondition(int, int, int, int, int, int)
235471108       void NPC::InstantTeleportMPCC(CreatureData, int, int, int, int, int, int, int, int64)
235340037       void NPC::EarthQuakeByNPC(CreatureData, int, int, int, int, int, int)
235143430       void NPC::EarthQuakeToParty(int, int, int, int)
235667719       void NPC::SpecialCamera(CreatureData, int, int, int, int, int, int, int, int, int, int, int)
235602184       void NPC::SpecialCameraEx(CreatureData, CreatureData, int, int, int, int, int, int, int, int, int)
235667721       void NPC::SpecialCamera3(CreatureData, int, int, int, int, int, int, int, int, int, int, int)
235798794       void NPC::SpecialCameraZLimit(CreatureData, int, int, int, int, int, int, int, int, int, int, int, int, int)
234946827       int NPC::GetRidingType(CreatureData)
235012364       void NPC::PledgeLevelUp(CreatureData, int)
234946829       string NPC::PledgeName(int)
235077902       string NPC::SubStr(string, int, int)
235012367       void NPC::ShowTutorialHTML(CreatureData, string)
235143440       void NPC::ShowTutorialHTML2(CreatureData, string, int, string)
235012369       void NPC::ShowQuestionMark(CreatureData, int)
235077906       void NPC::ShowQuestionMark2(CreatureData, int, int)
234946835       void NPC::CloseTutorialHTML(CreatureData)
235012372       void NPC::EnableTutorialEvent(CreatureData, int)
235208981       void NPC::ShowRadar(CreatureData, int, int, int, int)
235208982       void NPC::DeleteRadar(CreatureData, int, int, int, int)
235012375       void NPC::DeleteAllRadar(CreatureData, int)
235208984       void NPC::ShowDirection(CreatureData, string, int, int, int)
235143449       void NPC::CreatePet(CreatureData, int, int, int)
235274522       void NPC::EvolvePet(CreatureData, int, int, int, int, int)
235077915       void NPC::DestroyPet(CreatureData, int, int)
235012380       void NPC::EvolvePetWithSameExp(CreatureData, int)
235012381       void NPC::RideWyvern(CreatureData, int)
235143454       void NPC::RideForEvent(CreatureData, int, int, int)
234946847       void NPC::TB_RegisterPledge(CreatureData)
234946848       void NPC::TB_RegisterMember(CreatureData)
234946849       void NPC::TB_GetNpcType(CreatureData)
235012386       void NPC::TB_SetNpcType(CreatureData, int)
235012387       void NPC::TB_GetPledgeRegisterStatus(CreatureData, int)
234946852       void NPC::TB_GetBattleRoyalPledgeList(CreatureData)
235012389       void NPC::TB_CheckMemberRegisterStatus(int, CreatureData)
235077926       void NPC::GetSubJobList(CreatureData, int, int)
235012391       void NPC::CreateSubJob(CreatureData, int)
235012392       void NPC::ChangeSubJob(CreatureData, int)
235077929       void NPC::RenewSubJob(CreatureData, int, int)
235012394       void NPC::AgitAuction(CreatureData, int)
234946859       int NPC::GetAgitDeposit(int)
234946860       int NPC::GetPledgeMoney(CreatureData)
234946861       void NPC::OpenSiegeInfo(CreatureData)
235012398       void NPC::SetDoorHpLevel(string, int)
235012399       void NPC::GetDoorHpLevel(CreatureData, string)
235012400       void NPC::SetControlTowerLevel(string, int)
235012401       void NPC::GetControlTowerLevel(CreatureData, string)
234946866       void NPC::SetMaxHateListSize(int)
235209011       void NPC::AddHateInfo(CreatureData, int, int, int, int)
234881332       int NPC::GetAvgHateValue()
234881333       int NPC::GetHateInfoCount()
234946870       HateInfo NPC::GetHateInfoByIndex(int)
234946871       HateInfo NPC::GetHateInfoByCreature(CreatureData)
234881336       HateInfo NPC::GetClosestHateInfo()
234946873       HateInfo NPC::GetMaxHateInfo(int)
234946874       HateInfo NPC::GetMinHateInfo(int)
234946875       void NPC::RemoveHateInfoByCreature(CreatureData)
235012412       void NPC::RemoveAllHateInfoIF(int, int)
234946877       void NPC::SetHateInfoListIndex(int)
234881342       int NPC::Lotto_GetState()
234881343       string NPC::Lotto_GetChooseTime()
234881344       int NPC::Lotto_GetRoundNumber()
235077953       void NPC::Lotto_ShowBuyingPage(CreatureData, int, FHTML)
235077954       void NPC::Lotto_BuyTicket(CreatureData, int, int)
234881347       int NPC::Lotto_GetAccumulatedReward()
234946884       void NPC::Lotto_MakeFinalRewardFHTML(FHTML)
235012421       void NPC::Lotto_ShowPrevRewardPage(CreatureData, int)
235012422       void NPC::Lotto_GiveReward(CreatureData, int)
235012423       void NPC::Lotto_ShowCurRewardPage(CreatureData, int)
234881352       string NPC::Lotto_GetChosenNumber()
235012425       void NPC::ShowManorManageMenu(CreatureData, int)
235012426       int NPC::GetMaxSellableCount(int, int)
235012427       int NPC::GetCurrentSeedSellCountSet(int, int)
235012428       int NPC::GetCurrentSeedRemainCount(int, int)
235012429       int NPC::GetCurrentSeedPrice(int, int)
235012430       int NPC::GetNextSeedSellCountSet(int, int)
235012431       int NPC::GetNextSeedPrice(int, int)
235209040       void NPC::SetSeedSellProperty(CreatureData, int, int, int64, int64)
235012433       int NPC::GetCropDefaultPrice(int, int)
235012434       int NPC::GetSeedDefaultPrice(int, int)
235012435       int NPC::GetProcurementRate(int, int)
235012436       int NPC::GetProcurementCount(int, int)
235012437       int NPC::GetProcurementType(int, int)
235012438       int NPC::GetRemainProcureCropCount(int, int)
235012439       int NPC::GetNextProcurementRate(int, int)
235012440       int NPC::GetNextProcurementCount(int, int)
235012441       int NPC::GetNextProcurementType(int, int)
235274586       void NPC::SetCropProcureProperty(CreatureData, int, int, int64, int, int64)
235012443       int NPC::GetSeedClassidByOrderNum(int, int)
235012444       int NPC::GetCropClassidByOrderNum(int, int)
235012445       void NPC::ShowSellSeedList(CreatureData, int)
235012446       void NPC::ShowProcureCropList(CreatureData, int)
235077983       void NPC::ShowSeedInfo(CreatureData, int, int)
235077984       void NPC::ShowCropInfo(CreatureData, int, int)
234946913       void NPC::ShowManorDefaultInfo(CreatureData)
235012450       void NPC::ShowSeedSetting(CreatureData, int)
235012451       void NPC::ShowCropSetting(CreatureData, int)
235012452       void NPC::ShowProcureCropDetail(CreatureData, int)
234881381       int NPC::GetSSQRoundNumber()
234881382       int NPC::GetSSQStatus()
234881383       int NPC::GetSSQWinner()
234946920       int NPC::GetSSQSealOwner(int)
234946921       int NPC::GetSSQTotalPoint(int)
234946922       int NPC::GetSSQMemberCount(int)
235012459       int NPC::GetSSQSealSelectionCount(int, int)
235274604       int NPC::AddSSQMember(CreatureData, int, int, int, int64, int)
234946925       int NPC::GetTimeOfSSQ(int)
235077998       int64 NPC::GetDepositedSSQItemCount(CreatureData, int, int)
235209071       int NPC::DepositSSQItem(CreatureData, int, int, int64, int64)
235274608       int NPC::DepositSSQItemEx(CreatureData, int, int64, int64, int64, int64)
235143537       int NPC::DeleteDepositedSSQItem(CreatureData, int, int, int64)
234946930       int NPC::GetTicketBuyCount(CreatureData)
235012467       void NPC::SetTicketBuyCount(CreatureData, int)
234946932       int NPC::GetSealSelectionNo(CreatureData)
234946933       int NPC::IsJoinableToDawn(CreatureData)
234946934       int NPC::RegisterToEventListener(int)
235274615       int NPC::AddTimeAttackRecord(int, int, int, int, int, int)
235078008       int NPC::AddTimeAttackFee(int, int, int)
234946937       int NPC::GetTimeAttackFee(int)
235143546       int NPC::GiveTimeAttackReward(CreatureData, int, int, int)
235274619       int NPC::TeleportParty(int, int, int, int, int, int)
234946940       int NPC::GetAngleFromTarget(CreatureData)
235012477       int NPC::CreateBingoBoard(CreatureData, int)
234946942       int NPC::GetBingoBoardSize(CreatureData)
235012479       int NPC::GetNumberFromBingoBoard(CreatureData, int)
235012480       int NPC::SelectBingoNumber(CreatureData, int)
234946945       int NPC::GetBingoSelectCount(CreatureData)
235012482       int NPC::IsSelectedBingoNumber(CreatureData, int)
234946947       int NPC::GetMatchedBingoLineCount(CreatureData)
234946948       void NPC::ClearBingoBoard(CreatureData)
234881413       int NPC::CanLotto()
234946950       int NPC::IsNewbie(CreatureData)
234946951       void NPC::ShowQuestInfoList(CreatureData)
235012488       void NPC::ShowQuestMark(CreatureData, int)
235078025       void NPC::SetHTMLCookie(CreatureData, int, int)
235078026       int NPC::GetHTMLCookie(CreatureData, int, int)
235078027       void NPC::LookItem(int, int64, int)
235209100       PositionLIst NPC::GetCloestPositionList(WayPoints, int, int, int, int)
234946957       void NPC::AddOlympiad(CreatureData)
234946958       void NPC::AddClassFreeOlympiad(CreatureData)
234946959       void NPC::AddTeamOlympiad(CreatureData)
234881424       int NPC::GetOlympiadWaitingCount()
234881425       int NPC::GetClassFreeOlympiadWaitingCount()
234881426       int NPC::GetTeamOlympiadWaitingCount()
234946963       int NPC::GetOlympiadPoint(CreatureData)
234946964       int NPC::IsMainClass(CreatureData)
234946965       void NPC::RemoveOlympiad(CreatureData)
234946966       void NPC::EscapeOlympiad(CreatureData)
235012503       int NPC::GetRankByOlympiadRankOrder(int, int)
235012504       string NPC::GetNameByOlympiadRankOrder(int, int)
235012505       int NPC::GetPointByOlympiadRankOrder(int, int)
234946970       int NPC::GetStatusForOlympiadField(int)
234946971       int NPC::GetRuleForOlympiadField(int)
234946972       string NPC::GetPlayer1ForOlympiadField(int)
234946973       string NPC::GetPlayer2ForOlympiadField(int)
235012510       void NPC::ObserveOlympiad(CreatureData, int)
234946975       void NPC::SetNobless(CreatureData)
234946976       void NPC::SetHero(CreatureData)
234946977       int NPC::GetPreviousOlympiadPoint(CreatureData)
235012514       void NPC::DeletePreviousOlympiadPoint(CreatureData, int)
234946979       CreatureData NPC::FindNeighborHero(int)
234881444       void NPC::RegisterAsOlympiadOperator()
235012517       Position NPC::GetRotatedPosition(int, int)
234881446       NpcMaker NPC::GetMyMaker()
234946983       void NPC::SetEnchantOfWeapon(int)
234946984       void NPC::RemoveDesire(int)
234881449       void NPC::RemoveAllDesire()
234946986       void NPC::ChangeMoveType(int)
234946987       int NPC::CanUsePCCafePoint(CreatureData)
234946988       int NPC::GetPCCafePoint(CreatureData)
235012525       int NPC::UpdatePCCafePoint(CreatureData, int)
235209134       int NPC::GiveItemByPCCafePoint(CreatureData, int, int, int, int64)
234881455       int NPC::GetPCCafePointEventState()
235012528       void NPC::CastBuffForQuestReward(CreatureData, int)
235012529       void NPC::CastBuffForAgitManager(CreatureData, int)
234946994       int NPC::IsWeaponEquippedInHand(CreatureData)
234946995       int NPC::IsArmorEquippedInHand(CreatureData)
235012532       void NPC::MG_RegisterPledge(CreatureData, int)
234946997       void NPC::MG_UnregisterPledge(CreatureData)
234946998       void NPC::MG_GetStatus(CreatureData)
234946999       void NPC::MG_JoinGame(CreatureData)
234947000       void NPC::MG_SetWinner(CreatureData)
234947001       void NPC::MG_GetUnreturnedPoint(CreatureData)
234947002       void NPC::CheckCursedUser(CreatureData)
234881467       int NPC::GetFishingEventRewardRemainTime()
234947004       int NPC::GetFishingEventRanking(CreatureData)
234947005       int NPC::ShowHtmlFishingEventRanking(CreatureData)
234947006       int NPC::GiveFishingEventPrize(CreatureData)
234947007       int NPC::IsAcademyMember(CreatureData)
234947008       int NPC::HasAcademyMaster(CreatureData)
234947009       int NPC::HasAcademyMember(CreatureData)
234947010       CreatureData NPC::GetAcademyMaster(CreatureData)
234947011       CreatureData NPC::GetAcademyMember(CreatureData)
235012548       int NPC::UpdatePledgeNameValue(CreatureData, int)
234947013       int NPC::OwnPledgeNameValue(CreatureData)
235012550       int NPC::CreateAcademy(CreatureData, string)
235143623       int NPC::CreateSubPledge(CreatureData, int, int, string)
235012552       int NPC::HasSubPledge(CreatureData, int)
234947017       int NPC::HasAcademy(CreatureData)
235078090       int NPC::SetSubPledgeMaster(CreatureData, int, string)
234881483       int NPC::GetSSQPrevWinner()
234947020       int NPC::GetPledgeMemberCount(CreatureData)
234947021       int NPC::IsPCCafeUser(CreatureData)
234881486       int NPC::GetPCCafeCouponEventState()
234947023       int NPC::GetOlympiadTradePoint(CreatureData)
235012560       void NPC::DeleteOlympiadTradePoint(CreatureData, int)
235012561       void NPC::AddOlympiadTradePoint(CreatureData, int)
234947026       void NPC::ShowVariationMakeWindow(CreatureData)
234947027       void NPC::ShowVariationCancelWindow(CreatureData)
234947028       void NPC::ShowBaseAttributeCancelWindow(CreatureData)
234947029       int NPC::IsInCombatMode(CreatureData)
235012566       void NPC::PlayAnimation(int, int)
234881495       void NPC::UnequipWeapon()
235143640       void NPC::AddLogByNpc(int, CreatureData, int, int)
235340249       void NPC::GiveEventItem(CreatureData, int, int64, int, int64, int, int)
235012570       void NPC::SetWorldTrapVisibleByClassId(int, int)
235012571       void NPC::ActivateWorldTrapByClassId(int, int)
235012572       void NPC::DefuseWorldTrapByClassId(int, int)
234947037       void NPC::SetVisible(int)
235078110       void NPC::ShowEnchantSkillListDrawer(CreatureData, int, int)
234881503       int NPC::InstantZone_GetId()
234881504       int NPC::InstantZone_GetTypeId()
235209185       void NPC::InstantZone_SendMakerEvent(int, int, int, int, int)
235078114       void NPC::InstantZone_Enter(CreatureData, int, int)
234947043       void NPC::InstantZone_Leave(CreatureData)
234947044       void NPC::InstantZone_Finish(int)
234881509       void NPC::InstantZone_MarkRestriction()
234947046       void NPC::InstantZone_AddExtraDuration(int)
234947047       void NPC::ShowChangePledgeNameUI(CreatureData)
235143656       void NPC::SetStaticMeshStatus(CreatureData, string, int, int)
234947049       int NPC::GetPledgeCastleSiegeDefenceCount(CreatureData)
235012586       void NPC::DecreasePledgeCastleSiegeDefenceCount(CreatureData, int)
235209195       void NPC::GiveItemByCastleSiegeDefence(CreatureData, int, int, int, int64)
234881516       int NPC::IsMyBossAlive()
234881517       int NPC::IsEventDropTime()
235012590       void NPC::UpdatePCCafePoint2(CreatureData, int)
234947055       void NPC::CreatePVPMatch(int)
235012592       void NPC::RegisterPVPMatch(PartyData, CreatureData)
235012593       void NPC::UnregisterPVPMatch(PartyData, CreatureData)
235012594       void NPC::StartPVPMatch(PartyData, PartyData)
234881523       void NPC::EndPVPMatch()
234947060       void NPC::CheckRegisterParty(PartyData)
235012597       void NPC::CheckRegisterParty2(PartyData, PartyData)
235012598       void NPC::RegisterResurrectionTower(int, int)
235012599       void NPC::Dispel(CreatureData, int)
235012600       void NPC::DeleteAcquireSkills(CreatureData, int)
235012601       void NPC::RegisterTeleporterType(int, int)
235012602       void NPC::UpdatePVPPoint(CreatureData, int)
235209211       int NPC::GiveItemByPVPPoint(CreatureData, int, int, int, int64)
234947068       int NPC::GetPVPPoint(CreatureData)
234947069       void NPC::RegisterUserResurrectionTower(int)
234947070       void NPC::CheckRegisterUserPVPMatch(CreatureData)
234947071       void NPC::IsUserPVPMatching(CreatureData)
234947072       void NPC::RegisterUserPVPMatch(CreatureData)
234947073       void NPC::UnregisterUserPVPMatch(CreatureData)
235012610       void NPC::AddKillPointUserPVPMatch(CreatureData, int)
234947075       void NPC::GetRankUserPVPMatch(CreatureData)
234947076       float NPC::GetOverhitBonus(CreatureData)
234947077       int NPC::GetNRMemoCount(CreatureData)
235012614       int NPC::SetNRMemo(CreatureData, int)
235078151       int NPC::SetNRMemoState(CreatureData, int, int)
235143688       int NPC::SetNRMemoStateEx(CreatureData, int, int, int)
235012617       int NPC::RemoveNRMemo(CreatureData, int)
235078154       void NPC::SetNRJournal(CreatureData, int, int)
235078155       void NPC::SetNRFlagJournal(CreatureData, int, int)
235078156       void NPC::ResetNRFlagJournal(CreatureData, int, int)
234947085       void NPC::ShowPremiumItemList(CreatureData)
234947086       int NPC::IsStackableItem(ItemData)
234947087       int NPC::IsStackableItemEx(int)
234881552       int NPC::IsTargetable()
234881553       int NPC::IsShowingNameTag()
234947090       void NPC::ChangeStatus(int)
235012627       void NPC::RegisterDominion(int, CreatureData)
235012628       void NPC::DeclareLord(int, CreatureData)
234947093       int NPC::IsDominionOfLord(int)
234947094       int NPC::GetDominionSiegeID(CreatureData)
235012631       void NPC::CancelPledgeDominion(int, CreatureData)
235012632       void NPC::CancleUserDominion(int, CreatureData)
235012633       void NPC::GetPledgeRegistrySize(int, CreatureData)
235012634       void NPC::GetUserRegistrySize(int, CreatureData)
234947099       int NPC::IsHostileInDominionSiege(CreatureData)
234947100       void NPC::BlockUpsetManagerEnter(int)
235143709       void NPC::BlockUpset(int, int, CreatureData, int)
235012638       void NPC::BlockUpsetUserEnter(int, CreatureData)
234947103       void NPC::BlockUpsetRegisterMe(int)
235012640       void NPC::BlockUpsetChangeAmount(int, int)
235012641       void NPC::BlockUpsetChangeColor(int, int)
234881570       void NPC::CleftManagerEnter()
234881571       int NPC::GetCleftState()
234947108       void NPC::CleftUserEnter(CreatureData)
235078181       void NPC::CleftCenterDestroyed(int, CreatureData, int)
234881574       int NPC::GetEvolutionId()
234947111       void NPC::SetEvolutionId(int)
235078184       void NPC::RenewSpawnedPos(int, int, int)
235078185       void NPC::SetDieEvent(CreatureData, int, int)
235078186       void NPC::SetRestartEvent(CreatureData, int, int)
235012651       void NPC::StartScenePlayer(CreatureData, int)
235012652       void NPC::StartScenePlayerToParty(CreatureData, int)
235209261       void NPC::StartScenePlayerAround(CreatureData, int, int, int, int)
235078190       int NPC::RegisterAsAirportManager(int, int, int)
235078191       void NPC::SummonAirShip(CreatureData, int, int)
235012656       void NPC::BuyAirShip(CreatureData, int)
234947121       void NPC::GetOnAirShip(CreatureData)
234947122       int NPC::IsOccupiedPlatform(int)
234947123       int NPC::IsCleftUser(CreatureData)
234947124       int NPC::IsLordOfCastle(CreatureData)
234881589       void NPC::XMasEventManagerEnter()
234881590       void NPC::YearCatchEventManagerEnter()
234881591       void NPC::GetPlayingUserCount()
235143736       void NPC::FindRandomUser(int, int, int, int)
235340345       void NPC::CreateOnePrivateNearUser(CreatureData, int, string, int, int, int, int)
251658240       int HateInfo::HateValue()
251723777       int HateInfo::TestFunc(int)
268566528       int GlobalObject::Superpoint_GetMoveType(string, int)
269090817       void GlobalObject::ShowOnScreenMsg(CreatureData, int, int, int, int, int, int, int, int, int)
269156354       void GlobalObject::BroadcastOnScreenMsg(CreatureData, int, int, int, int, int, int, int, int, int, int)
269090819       void GlobalObject::ShowOnScreenMsgStr(CreatureData, int, int, int, int, int, int, int, int, string)
269156356       void GlobalObject::BroadcastOnScreenMsgStr(CreatureData, int, int, int, int, int, int, int, int, int, string)
268500997       int GlobalObject::Rand(int)
268500998       int GlobalObject::GetL2Time(int)
268435463       int GlobalObject::GetTimeOfDay()
268501000       NpcMaker GlobalObject::GetNpcMaker(string)
268566537       NpcMaker GlobalObject::InstantZone_GetNpcMaker(int, string)
268435466       CodeInfoList GlobalObject::AllocCodeInfoList()
268501003       NPC GlobalObject::GetNPCFromID(int)
268697612       void GlobalObject::SendMakerScriptEvent(NpcMaker, int, int, int)
268566541       int GlobalObject::CreateRoomInfoList(string, int)
268501006       RoomInfoList GlobalObject::GetRoomInfoList(string)
268501007       void GlobalObject::Announce(string)
268566544       int GlobalObject::GetDateTime(int, int)
268501009       int GlobalObject::IsNull(pointer)
268632082       void GlobalObject::SendScriptEvent(CreatureData, int, int)
268697619       void GlobalObject::SendScriptEventEx(CreatureData, int, int, int)
268566548       int GlobalObject::IsSameString(string, string)
268763157       void GlobalObject::InstantTeleportEx(CreatureData, int, int, int, int)
268697622       void GlobalObject::AddLogEx(int, CreatureData, int, int)
268632087       void GlobalObject::AddLogExWithoutCreature(int, int, int)
268501016       PartyData GlobalObject::GetParty(CreatureData)
268566553       void GlobalObject::Area_SetOnOff(string, int)
268566554       void GlobalObject::Castle_GateOpenClose2(string, int)
268632091       void GlobalObject::Castle_GateOpenCloseEx(string, int, int)
268501020       int GlobalObject::Castle_GetDomainFortressContractStatus(int)
268501021       int64 GlobalObject::FloatToInt(float)
268566558       float GlobalObject::Dist(CreatureData, CreatureData)
268501023       int GlobalObject::Skill_IsMagic(int)
268501024       int GlobalObject::Skill_GetAbnormalLevel(int)
268566561       int GlobalObject::GetAbnormalLevel(CreatureData, int)
268566562       int GlobalObject::GetAbnormalMagicLevel(CreatureData, int)
268501027       CreatureData GlobalObject::GetCreatureFromID(int)
268501028       CreatureData GlobalObject::GetCreatureFromIndex(int)
268501029       int GlobalObject::GetIndexFromCreature(CreatureData)
268566566       PartyData GlobalObject::GetPartyFromEventRoom(int, int)
268501031       PartyData GlobalObject::GetPartyFromID(int)
268501032       string GlobalObject::IntToStr(int64)
268697641       string GlobalObject::GetTimeAttackRecordInfo(int, int, int, int)
268828714       string GlobalObject::MakeFString(int, string, string, string, string, string)
268501035       int GlobalObject::Party_GetCount(CreatureData)
268632108       void GlobalObject::AddLog(int, CreatureData, int)
268501037       int GlobalObject::GetSSQPart(CreatureData)
268566574       int GlobalObject::IsWinnerOfTimeAttackEvent(CreatureData, int)
268566575       int GlobalObject::GetTimeAttackRewardFlag(CreatureData, int)
268566576       int64 GlobalObject::OwnItemCount(CreatureData, int)
268632113       int GlobalObject::GetMemoStateEx(CreatureData, int, int)
268566578       int GlobalObject::HaveMemo(CreatureData, int)
268566579       int GlobalObject::GetMemoState(CreatureData, int)
268566580       CreatureData GlobalObject::Party_GetCreature(CreatureData, int)
268501045       CreatureData GlobalObject::Party_GetLeader(CreatureData)
268501046       int64 GlobalObject::StrToInt(string)
268632119       int GlobalObject::AddPartyToEventRoom(int, int, int)
268632120       int GlobalObject::ClearEventRoom(int, int, int)
268435513       int GlobalObject::IsEventServer()
268632122       void GlobalObject::SetNpcParam(CreatureData, int, float)
268566587       void GlobalObject::ShowCursedWeaponStatus(CreatureData, int)
268632124       int GlobalObject::DropItem3(CreatureData, int, int64)
268501053       int GlobalObject::IsInWater(CreatureData)
268566590       string GlobalObject::GetSubpledgeMasterName(CreatureData, int)
268566591       void GlobalObject::AddPCSocial(int, int)
268501056       void GlobalObject::SetAsNull(pointer)
268435521       CreatureData GlobalObject::GetNullCreature()
268435522       NpcMaker GlobalObject::GetNullNpcMaker()
268501059       int GlobalObject::GetStep_FieldCycle(int)
268501060       int GlobalObject::GetPoint_FieldCycle(int)
268697669       int GlobalObject::AddPoint_FieldCycle(int, int, int, CreatureData)
268632134       int GlobalObject::AddPointWithoutActor_FieldCycle(int, int, int)
268697671       int GlobalObject::SetStep_FieldCycle(int, int, int, CreatureData)
268632136       int GlobalObject::SetStepWithoutActor_FieldCycle(int, int, int)
268566601       int GlobalObject::SetPoint_FieldCycle(int, int)
268632138       int GlobalObject::SetPointLock_FieldCycle(int, int, int)
268501067       int GlobalObject::GetDoorStatus(string)
268501068       int GlobalObject::Fortress_GetOwnerPledgeId(int)
268501069       int GlobalObject::Fortress_GetParentCastleId(int)
268566606       int GlobalObject::Fortress_GetFacilityLevel(int, int)
268501071       int GlobalObject::Fortress_GetContractStatus(int)
268501072       int GlobalObject::Fortress_GetAvailableOwnMinutes(int)
268501073       int GlobalObject::Fortress_GetRentCost(int)
268501074       int GlobalObject::Fortress_GetNextRewardRemainTime(int)
268632147       void GlobalObject::Area_SetOnOffEx(string, int, int)
268697684       void GlobalObject::Area_SetBannedTerritoryOnOff(string, int, int, int)
268566613       void GlobalObject::AddScriptLog(int, string)
268632150       int GlobalObject::GetNRMemoStateEx(CreatureData, int, int)
268566615       int GlobalObject::HaveNRMemo(CreatureData, int)
268566616       int GlobalObject::GetNRMemoState(CreatureData, int)
268632153       void GlobalObject::SetPoint_RimKamaroka(CreatureData, int, int)
268566618       string GlobalObject::GetRank_RimKamaroka(int, int)
268566619       int GlobalObject::OwnItemEnchantCount(CreatureData, int)
269090908       void GlobalObject::SendUIEvent(CreatureData, int, int, int, string, string, string, string, string, string)
268501085       int GlobalObject::IsCreateDate(CreatureData)
268501086       int GlobalObject::CanGetBirthdayGift(CreatureData)
268501087       void GlobalObject::SaveGetBirthdayGiftTime(CreatureData)
268501088       int GlobalObject::GetBirthdayGiftCount(CreatureData)
268566625       int GlobalObject::GetDailyQuestFlag(CreatureData, int)
268566626       void GlobalObject::SetDailyQuestFlag(CreatureData, int)
268501091       int GlobalObject::CanGet5YearGift(CreatureData)
268501092       int GlobalObject::Is5Yeardate(CreatureData)
268501093       void GlobalObject::SaveGet5YearGiftTimeCount(CreatureData)
268501094       int GlobalObject::Get5YearGiftCount(CreatureData)
268501095       float GlobalObject::GetCos(float)
268501096       float GlobalObject::GetSin(float)
268501097       float GlobalObject::GetSqrt(float)
268566634       void GlobalObject::InzoneDoorBreakable(string, int)
268501099       int GlobalObject::GetVitalityPoint(CreatureData)
268566636       void GlobalObject::SetVitalityPoint(CreatureData, int)
268632173       void GlobalObject::SendDominionScriptEvent(int, int, int)
268566638       void GlobalObject::RegisterDBSavingMap(int, int)
268501103       int GlobalObject::UnregisterDBSavingMap(int)
268501104       int GlobalObject::GetDBSavingMap(int)
268566641       void GlobalObject::LoadDBSavingMap(CreatureData, int)
268763250       void GlobalObject::DebugSay(CreatureData, string, int, int, int)
268566643       void GlobalObject::SetDominionState(int, int)
268501108       int GlobalObject::GetDominionState(int)
268501109       void GlobalObject::SetSkillAll(CreatureData)
268566646       void GlobalObject::SetXMasEventState(int, int)
268501111       void GlobalObject::SetYearCatchEventState(int)
268501112       int GlobalObject::GetDominionWarState(int)
268501113       void GlobalObject::LoadJackpotTime(int)
268501114       int GlobalObject::IsJackpotTime(int)
285343744       int SpawnDefine::Spawn(int, int)
285802497       int SpawnDefine::SpawnEx(int, int, int, int, int, int, int, int, int)
285409282       int SpawnDefine::Spawn2(int, int, int)
285868035       int SpawnDefine::SpawnEx2(int, int, int, int, int, int, int, int, int, int)
285212676       int SpawnDefine::Despawn()
285278213       int SpawnDefine::LoadDBNpcInfo(int)
285409286       void SpawnDefine::SendScriptEvent(int, int, int)
285278215       void SpawnDefine::SetDBLoaded(int)
285278216       void SpawnDefine::RegToRespawnTimer(int)
301989888       CreatureData CodeInfo::Next()
301989889       CreatureData CodeInfo::RandomSelectOne()
318898176       void CodeInfoList::SetInfo(int, CreatureData)
318767105       CodeInfo CodeInfoList::Next()
318767106       CodeInfo CodeInfoList::RandomSelectOne()
352387072       int AtomicValue::Increment(int)
352387073       int AtomicValue::Decrement(int)
352387074       int AtomicValue::Exchange(int)
352321539       int AtomicValue::GetValue()
352452612       int AtomicValue::CompareExchange(int, int)
369164288       int RoomInfo::GetMemberID(int)
369164289       void RoomInfo::SetParty(int)
369098754       void RoomInfo::Clear()
369164291       int RoomInfo::IsInRoom(CreatureData)
369098756       int RoomInfo::PartyChanged()
385941504       RoomInfo RoomInfoList::GetRoomInfo(int)
419495936       Position PositionLIst::GetPosition(int)
520093696       int ItemIndexList::GetSize()
520159233       int ItemIndexList::GetItemIndex(int)
536936448       void IntList::Add(int64)
536936449       void IntList::Remove(int64)
536870914       void IntList::Clear()
536936451       int IntList::Get(int)
536870916       int IntList::GetMax()
536870917       int IntList::GetMin()
536870918       int IntList::GetSize()
536936455       int IntList::GetItemIndex(int)

 
Event Handler Tables
NPC (class 0)

0       NO_DESIRE
1       ATTACKED
2       SPELLED
3       TALKED
4       TALK_SELECTED
5       SEE_CREATURE
6       DISAPPEAR_CREATURE
7       SEE_ITEM
8       DISAPPEAR_ITEM
9       MY_DYING
10      TIMER_FIRED
11      TIMER_FIRED_EX
12      CREATED
13      TIME
14      SEE_ATTACK
15      SEE_SPELL
16      OUT_OF_TERRITORY
17      DESIRE_MANIPULATION
18      PARTY_ATTACKED
19      PARTY_SPELLED
20      PARTY_DIED
21      FRIEND_ATTACKED
22      CLAN_ATTACKED
23      CLAN_SPELLED
24      STATIC_OBJECT_CLAN_ATTACKED
25      STATIC_OBJECT_CLAN_SPELLED
26      HOLYTHING_SPELLED
27      TELEPORT_REQUESTED
28      BUY_REQUESTED
29      SELL_REQUESTED
30      QUEST_ACCEPTED
31      MENU_SELECTED
32      LEARN_SKILL_REQUESTED
33      ENCHANT_SKILL_REQUESTED
34      ONE_SKILL_SELECTED
35      ONE_ENCHANT_SKILL_SELECTED
36      SKILL_QUEST_ACCEPTED
37      CLASS_CHANGE_REQUESTED
38      MANOR_MENU_SELECTED
39      CMD_FOLLOW_ME
40      CMD_ATTACK
41      GOD_SHOUT
42      GOD_SELL_GOODS
43      GOD_BUY_GOODS
44      CREATE_PLEDGE
45      DISMISS_PLEDGE
46      REVIVE_PLEDGE
47      LEVEL_UP_PLEDGE
48      ATTACKED_BY_PLEDGE
49      MANAGE_CASTLE_SIEGE
50      CREATE_ALLIANCE
51      SCRIPT_EVENT
52      TUTORIAL_EVENT
53      QUESTION_MARK_CLICKED
54      USER_CONNECTED
55      IDLE_FINISHED
56      MOVE_AROUND_FINISHED
57      ATTACK_FINISHED
58      CHASE_FINISHED
59      FLEE_FINISHED
60      GET_ITEM_FINISHED
61      DECAYING_FINISHED
62      FOLLOW_FINISHED
63      MOVE_TO_WAY_POINT_FINISHED
64      USE_SKILL_FINISHED
65      MOVE_TO_FINISHED
66      IDLE_INTRRUPTED
67      MOVE_AROUND_INTERRUPTED
68      ATTACK_INTERRUPTED
69      CHASE_INTERRUPTED
70      FLEE_INTERRUPTED
71      GET_ITEM_INTERRUPTED
72      DECAYING_INTERRUPTED
73      FOLLOW_INTERRUPTED
74      MOVE_TO_WAY_POINT_INTERRUPTED
75      USE_SKILL_INTERRUPTED
76      MOVE_TO_INTERRUPTED
77      DOOR_HP_LEVEL_INFORMED
78      CONTROLTOWER_LEVEL_INFORMED
79      TB_REGISTER_PLEDGE_RETURNED
80      TB_REGISTER_MEMBER_RETURNED
81      TB_GET_NPC_TYPE_INFORMED
82      TB_SET_NPC_TYPE_RETURNED
83      TB_GET_PLEDGE_REGISTER_STATUS_INFORMED
84      TB_GET_BATTLE_ROYAL_PLEDGE_LIST_INFORMED
85      SUBJOB_LIST_INFORMED
86      SUBJOB_CREATED
87      SUBJOB_CHANGED
88      SUBJOB_RENEWED
89      ON_SSQ_SYSTEM_EVENT
90      SET_AGIT_DECO_RETURNED
91      RESET_AGIT_DECO_RETURNED
92      AUCTION_AGIT_GET_COST_INFO_RETURNED
93      CLAN_DIED
94      SET_NOBLESS_RETURNED
95      SET_HERO_RETURNED
96      DELETE_PREVIOUS_OLYMPIAD_POINT_RETURNED
97      DELETE_OLYMPIAD_TRADE_POINT_RETURNED
98      MG_REGISTER_PLEDGE_RETURNED
99      MG_UNREGISTER_PLEDGE_RETURNED
100     MG_GET_STATUS_RETURNED
101     MG_JOIN_GAME_RETURNED
102     MG_GET_UNRETURNED_POINT_RETURNED
103     CREATE_ACADEMY
104     CREATE_SUBPLEDGE
105     CHECK_CURSED_USER_RETURNED
106     UPDATE_SUBPLEDGE_MASTER
107     UPGRADE_SUBPLEDGE_MEMBER_COUNT
108     MPCC_TELEPORTED
109     PLEDGE_MASTER_TRANSFER
110     PLEDGE_MASTER_TRANSFER_CANCEL
111     TB_CHECK_MEMBER_REGISTER_STATUS
112     RENAME_SUBPLEDGE
113     ABNORMAL_STATUS_CHANGED
114     TELEPORT_TO_USER_RES
115     NODE_ARRIVED
116     TRAP_STEP_IN
117     TRAP_STEP_OUT
118     TRAP_ACTIVATED
119     TRAP_DEFUSED
120     TRAP_DETECTED
121     SHOW_ENCHANT_SKILL_DRAWER
122     FIRE
123     INSTANT_ZONE_ENTER_RETURNED
124     FORTRESS_SIEGE_REGISTER_RETURNED
125     FORTRESS_SIEGE_UNREGISTER_RETURNED
126     FORTRESS_CONTRACT_CASTLE_RETURNED
127     FORTRESS_UPGRADE_FACILITY_RETURNED
128     ON_OLYMPIAD_GAME_PREPARED
129     PLEDGE_CASTLE_SIEGE_DEFENCE_COUNT_DECREASE_RETURNED
130     REGISTER_PVP_MATCH_RESULT
131     UNREGISTER_PVP_MATCH_RESULT
132     START_PVP_MATCH_RESULT
133     END_PVP_MATCH_RESULT
134     CHECK_REGISTER_PARTY_RESULT
135     CHECK_REGISTER_PARTY_RESULT2
136     REGISTER_RESURRECTION_TOWER_RESULT
137     CHECK_REGISTER_USER_RESULT
138     IS_USER_PVPMATCHING_RESULT
139     REGISTER_USER_PVP_MATCH_RESULT
140     UNREGISTER_USER_PVP_MATCH_RESULT
141     REGISTER_USER_RESURRECTION_TOWER_RESULT
142     KILLED_USER_PVP_MATCH_RESULT
143     GET_RANK_USER_PVP_MATCH_RESULT
144     LET_IN_USER_PVP_MATCH
145     START_USER_PVP_MATCH_RESULT
146     WITHDRAW_USER_PVP_MATCH_RESULT
147     END_USER_PVP_MATCH_RESULT
148     GET_RELATED_FORTRESS_LIST_RETURNED
149     CHANGE_NPC_STATUS_RETURNED
150     REGISTER_DOMINION_SIEGE_RETURNED
151     DECLARE_LORD_RETURNED
152     GET_REGISTRY_SIZE_RETURNED
153     DOMINION_SIEGE_START
154     DOMINION_SIEGE_END
155     DOMINION_SIEGE_PC_KILLED
156     CLEFT_STATE_CHANGED
157     BLOCK_UPSET_STARTED
158     BLOCK_UPSET_FINISHED
159     LEVEL_UP
160     LOAD_DBSAVING_MAP_RETURNED
161     DOMINION_SCRIPT_EVENT
162     DIE_SET
163     RESTART_SET
164     SOCIAL_ACTION_EVENT
165     PET_DIED
166     WAS_COLLECTED
167     ON_AIRSHIP_EVENT
168     DOMINION_SUPPLY_DESTRUCTED
169     CREATE_SANTA_TO_WINNER
170     CREATE_COW
171     GET_PLAYING_USER_COUNT
172     FIND_RANDOM_USER

 
NPCMaker (class 1)

0       ON_START
1       ON_NPC_DELETED
2       ON_ALL_NPC_DELETED
3       ON_SCRIPT_EVENT
4       ON_DB_NPC_INFO
5       ON_TIMER
6       ON_NPC_CREATED
7       ON_NPCPOS_EVENT
8       ON_DOOR_EVENT
9       ON_START_SIEGE_EVENT
10      ON_END_SIEGE_EVENT
11      ON_PROCLAIM_SIEGE_EVENT
12      ON_DESTRUCT_CTRL_TOWER_EVENT
13      ON_CANCEL_SIEGE_EVENT
14      ON_START_TEAMBATTLEAGIT_FINAL_EVENT
15      ON_FIELD_CYCLE_CHANGED_EVENT
16      ON_FORTRESS_EVENT
17      ON_INSTANT_ZONE_EVENT
18      ON_OLYMPIAD_FIELD_STEP_CHANGED_EVENT
19      ON_EXTENDED_START_SIEGE_EVENT
20      ON_DESTRUCT_SUPPLY_EVENT
21      ON_DECLARE_DOMINION_EVENT
Edited by iNos
  • Thanks 1
  • Upvote 2
Link to comment
Share on other sites

Useless for the average user. None will write in raw ai language. Also there's a compiler ;) Although, good job ^_^

i had it around.. thought i should share it when this was written there wasnt any compiler we wrote it around 1.5 year ago :P

 

also even with compiler you still need to know which events, functions and variables exist.

Edited by iNos
  • Upvote 1
Link to comment
Share on other sites

Here's the bible ( old postpacific that remained online ) :

 

http://fursoffers.narod.ru/Packets.htm

 

Enjoy it

 

Use google chrome with translation to understand it if you don't understand russian

Edited by Magnusson
Link to comment
Share on other sites

Here's the bible ( old postpacific that remained online ) :

 

http://fursoffers.narod.ru/Packets.htm

 

Enjoy it

 

Use google chrome with translation to understand it if you don't understand russian

 

Nice.

 

...oh wait - you posted packet structures and information in a thread regarding Raw AI stack information.

 

 

You are one special piece of... special.

Link to comment
Share on other sites

Here's the bible ( old postpacific that remained online ) :

 

http://fursoffers.narod.ru/Packets.htm

 

Enjoy it

 

Use google chrome with translation to understand it if you don't understand russian

Seriously? That has nothing to do with AI, it's packet structure of 2007, c4 pts packets.

Link to comment
Share on other sites

 

Seriously? That has nothing to do with AI, it's packet structure of 2007, c4 pts packets.

 

 

 

Nice.

 

...oh wait - you posted packet structures and information in a thread regarding Raw AI stack information.

 

 

You are one special piece of... special.

 

 

Wanted to create a new topic but a topic just for a link, not really good ideea, let it be there, I know that it's for c4 but people should first experiment with c4 after going on higher chronicles

Link to comment
Share on other sites

Wanted to create a new topic but a topic just for a link, not really good ideea, let it be there, I know that it's for c4 but people should first experiment with c4 after going on higher chronicles

 

.... so it's a good idea to post something completely irrelevant just cause its a link?

 

Because it's not like L2J official and other l2j forks have c4 documentation for packets or sniffers like phx have any packet documentation which would be needed to make anything work.

 

 

Another theory could be you wanted to post something to seem smart - but that's just a theory.

You gotz all the cracking and extender stuff to do so anyway - so i must be crazy.

Link to comment
Share on other sites

  • 3 years later...

Hi all.
First of all, thanks for the guide. It's really helpful!

Does somebody know why there are prop duplicates across the same class?
For instance, wizard_heretic_priest has DeBuff = 264568833 and DeBuff = 0.

 

How to handle such situation?

 

Link to comment
Share on other sites

  • 1 year later...

I think, format for add_string is a bit incorrect. Types are 

 

enum OperandType
{
    Invalid = 0,
    Int = 1,
    Float = 2,
    Double = 3,
    String = 4
};

 

Taking into account that format is

format_id = rtype | (ltype << 8)

We will get

Int + String = 256 + 4  = 260
Float + String = 512 + 4 = 516
Double + String = 768 + 4 = 772
String + Int = 1024 + 1 = 1025
String + Float = 1024 + 2 = 1026
String + Double = 1024 + 3 = 1027
String + String = 1024 + 4 = 1028

 

 

Edited by MasterToma
Link to comment
Share on other sites

  • 2 years later...
20 hours ago, girogius said:

What push_const and fetch_i do and what is myself,choiceN etc... please explain details like this not syntax

push_const and fetch_i is syntax. It's just the compiled NASC syntax.

 

push_const pushes an integer on top of the stack. fetch_i fetches the integer. I'm pretty sure myself, choiceN are the targets the NPC can select.

 

I see you posted in the GF AI compiler, I assume you figured it out :)

It's much easier to edit decompiled NASC than when it's compiled, but both are perfectly readable/editable.

Link to comment
Share on other sites

2 minutes ago, Bumble said:

push_const and fetch_i is syntax. It's just the compiled NASC syntax.

 

push_const pushes an integer on top of the stack. fetch_i fetches the integer. I'm pretty sure myself, choiceN are the targets the NPC can select.

 

I see you posted in the GF AI compiler, I assume you figured it out 🙂

It's much easier to edit decompiled NASC than when it's compiled, but both are perfectly readable/editable.

 

yes i figured it out now i write decompiled code and i do compile after, its more easier, thanks anyway

Edited by girogius
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • LGBTQ!! ⋐⋑ (209) 876-5519 Love Spells In Atlanta, GA Psychic Reading Black Magic Spells Marriage spells Divorce spells Psychic Readings | Astrology | Love Spells | Black Magic spells | Witchcraft Spells | Spell Caster | Voodoo spells | Marriage spells | Divorce spells | Attraction spells | Bring back lost lover spells REUNITE WITH AN EX LOVER IN 72 HOURS If your lover is gone, don’t be desperate anymore! You are a few clicks away from a prompt resolution of your problem: We will our spiritual powers to bring him/her back Let us show you our method with zero chances of rejection. Don’t waste your precious time; get your lover back NOW! MAKE HIM/HER LOVE ME Don’t wait for the deluge and make him or her love you now. This service will create a great alchemy between this person and you. In just a few weeks, you can make the person you dream of falling in love with you. We recommend you to combine this service with a Marriage ritual if you want this person to commit you. BREAK UP A RELATIONSHIP The perfect service to break up a relationship you don’t think legitimate. Your lover has gone with someone else Don’t hesitate to break them up as this ritual and prayer is very powerful and will Psychic Readings | Astrology | Love Spells | Black Magic spells | Witchcraft Spells | Spell Caster | Voodoo spells | Marriage spells | Divorce spells | Attraction spells | Bring back lost lover spells REUNITE WITH AN EX LOVER IN 72 HOURS If your lover is gone, don’t be desperate anymore! You are a few clicks away from a prompt resolution of your problem: We will our spiritual powers to bring him/her back Let us show you our method with zero chances of rejection. Don’t waste your precious time; get your lover back NOW! MAKE HIM/HER LOVE ME Don’t wait for the deluge and make him or her love you now. This service will create a great alchemy between this person and you. In just a few weeks, you can make the person you dream of falling in love with you. We recommend you to combine this service with a Marriage ritual if you want this person to commit you.
    • Psychic Readings | Astrology | Love Spells | Black Magic spells | Witchcraft Spells | Spell Caster | Voodoo spells | Marriage spells | Divorce spells | Attraction spells | Bring back lost lover spells REUNITE WITH AN EX LOVER IN 72 HOURS If your lover is gone, don’t be desperate anymore! You are a few clicks away from a prompt resolution of your problem: We will our spiritual powers to bring him/her back Let us show you our method with zero chances of rejection. Don’t waste your precious time; get your lover back NOW! MAKE HIM/HER LOVE ME Don’t wait for the deluge and make him or her love you now. This service will create a great alchemy between this person and you. In just a few weeks, you can make the person you dream of falling in love with you. We recommend you to combine this service with a Marriage ritual if you want this person to commit you. BREAK UP A RELATIONSHIP The perfect service to break up a relationship you don’t think legitimate. Your lover has gone with someone else Don’t hesitate to break them up as this ritual and prayer is very powerful and will Psychic Readings | Astrology | Love Spells | Black Magic spells | Witchcraft Spells | Spell Caster | Voodoo spells | Marriage spells | Divorce spells | Attraction spells | Bring back lost lover spells REUNITE WITH AN EX LOVER IN 72 HOURS If your lover is gone, don’t be desperate anymore! You are a few clicks away from a prompt resolution of your problem: We will our spiritual powers to bring him/her back Let us show you our method with zero chances of rejection. Don’t waste your precious time; get your lover back NOW! MAKE HIM/HER LOVE ME Don’t wait for the deluge and make him or her love you now. This service will create a great alchemy between this person and you. In just a few weeks, you can make the person you dream of falling in love with you. We recommend you to combine this service with a Marriage ritual if you want this person to commit you.
    • Psychic Readings | Astrology | Love Spells | Black Magic spells | Witchcraft Spells | Spell Caster | Voodoo spells | Marriage spells | Divorce spells | Attraction spells | Bring back lost lover spells REUNITE WITH AN EX LOVER IN 72 HOURS If your lover is gone, don’t be desperate anymore! You are a few clicks away from a prompt resolution of your problem: We will our spiritual powers to bring him/her back Let us show you our method with zero chances of rejection. Don’t waste your precious time; get your lover back NOW! MAKE HIM/HER LOVE ME Don’t wait for the deluge and make him or her love you now. This service will create a great alchemy between this person and you. In just a few weeks, you can make the person you dream of falling in love with you. We recommend you to combine this service with a Marriage ritual if you want this person to commit you. BREAK UP A RELATIONSHIP The perfect service to break up a relationship you don’t think legitimate. Your lover has gone with someone else Don’t hesitate to break them up as this ritual and prayer is very powerful and will Psychic Readings | Astrology | Love Spells | Black Magic spells | Witchcraft Spells | Spell Caster | Voodoo spells | Marriage spells | Divorce spells | Attraction spells | Bring back lost lover spells REUNITE WITH AN EX LOVER IN 72 HOURS If your lover is gone, don’t be desperate anymore! You are a few clicks away from a prompt resolution of your problem: We will our spiritual powers to bring him/her back Let us show you our method with zero chances of rejection. Don’t waste your precious time; get your lover back NOW! MAKE HIM/HER LOVE ME Don’t wait for the deluge and make him or her love you now. This service will create a great alchemy between this person and you. In just a few weeks, you can make the person you dream of falling in love with you. We recommend you to combine this service with a Marriage ritual if you want this person to commit you.
    • Psychic Readings | Astrology | Love Spells | Black Magic spells | Witchcraft Spells | Spell Caster | Voodoo spells | Marriage spells | Divorce spells | Attraction spells | Bring back lost lover spells REUNITE WITH AN EX LOVER IN 72 HOURS If your lover is gone, don’t be desperate anymore! You are a few clicks away from a prompt resolution of your problem: We will our spiritual powers to bring him/her back Let us show you our method with zero chances of rejection. Don’t waste your precious time; get your lover back NOW! MAKE HIM/HER LOVE ME Don’t wait for the deluge and make him or her love you now. This service will create a great alchemy between this person and you. In just a few weeks, you can make the person you dream of falling in love with you. We recommend you to combine this service with a Marriage ritual if you want this person to commit you. BREAK UP A RELATIONSHIP The perfect service to break up a relationship you don’t think legitimate. Your lover has gone with someone else Don’t hesitate to break them up as this ritual and prayer is very powerful and will Psychic Readings | Astrology | Love Spells | Black Magic spells | Witchcraft Spells | Spell Caster | Voodoo spells | Marriage spells | Divorce spells | Attraction spells | Bring back lost lover spells REUNITE WITH AN EX LOVER IN 72 HOURS If your lover is gone, don’t be desperate anymore! You are a few clicks away from a prompt resolution of your problem: We will our spiritual powers to bring him/her back Let us show you our method with zero chances of rejection. Don’t waste your precious time; get your lover back NOW! MAKE HIM/HER LOVE ME Don’t wait for the deluge and make him or her love you now. This service will create a great alchemy between this person and you. In just a few weeks, you can make the person you dream of falling in love with you. We recommend you to combine this service with a Marriage ritual if you want this person to commit you.
    • Psychic Readings | Astrology | Love Spells | Black Magic spells | Witchcraft Spells | Spell Caster | Voodoo spells | Marriage spells | Divorce spells | Attraction spells | Bring back lost lover spells REUNITE WITH AN EX LOVER IN 72 HOURS If your lover is gone, don’t be desperate anymore! You are a few clicks away from a prompt resolution of your problem: We will our spiritual powers to bring him/her back Let us show you our method with zero chances of rejection. Don’t waste your precious time; get your lover back NOW! MAKE HIM/HER LOVE ME Don’t wait for the deluge and make him or her love you now. This service will create a great alchemy between this person and you. In just a few weeks, you can make the person you dream of falling in love with you. We recommend you to combine this service with a Marriage ritual if you want this person to commit you. BREAK UP A RELATIONSHIP The perfect service to break up a relationship you don’t think legitimate. Your lover has gone with someone else Don’t hesitate to break them up as this ritual and prayer is very powerful and will Psychic Readings | Astrology | Love Spells | Black Magic spells | Witchcraft Spells | Spell Caster | Voodoo spells | Marriage spells | Divorce spells | Attraction spells | Bring back lost lover spells REUNITE WITH AN EX LOVER IN 72 HOURS If your lover is gone, don’t be desperate anymore! You are a few clicks away from a prompt resolution of your problem: We will our spiritual powers to bring him/her back Let us show you our method with zero chances of rejection. Don’t waste your precious time; get your lover back NOW! MAKE HIM/HER LOVE ME Don’t wait for the deluge and make him or her love you now. This service will create a great alchemy between this person and you. In just a few weeks, you can make the person you dream of falling in love with you. We recommend you to combine this service with a Marriage ritual if you want this person to commit you.
  • Topics

×
×
  • Create New...