Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 25.04.2005, 05:03   #1
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default [Notes]breakdown for AI func_call & handler

func_call 0 // func[AddMoveAroundDesire]
func_call 1 // func[AddDoNothingDesire]
func_call 2 // func[AddAttackDesire]
func_call 3 // func[AddAttackDesireEx]
func_call 6 // func[AddFleeDesire]
func_call 7 // func[AddFollowDesire]
func_call 9 // func[AddMoveToWayPointDesire]
func_call 10 // func[AddUseSkillDesire]
func_call 11 // func[AddUseSkillDesireEx]
func_call 12 // func[AddMoveToDesire]
func_call 13 // func[AddEffectActionDesire]
func_call 14 // func[AddPetDefaultDesire_Follow]
func_call 15 // func[RemoveAllAttackDesire]
func_call 18 // func[MakeAttackEvent]
func_call 20 // func[GetLifeTime]
func_call 21 // func[GetTick]
func_call 23 // func[GetCurrentTick]
func_call 24 // func[GetDirection]
func_call 25 // func[SetCookie]
func_call 26 // func[GetCookie]
func_call 27 // func[SetTeleportPosOnLost]
func_call 28 // func[AddTimerEx]
func_call 29 // func[GetIndexFromCreature]
func_call 30 // func[GetCreatureFromIndex]
func_call 31 // func[RegisterGlobalMap]
func_call 32 // func[UnregisterGlobalMap]
func_call 33 // func[GetGlobalMap]
func_call 34 // func[SendScriptEvent]
func_call 36 // func[IsSpoiled]
func_call 37 // func[Say]
func_call 42 // func[Shout]
func_call 43 // func[ShowPage]
func_call 45 // func[Teleport]
func_call 46 // func[InstantTeleport]
func_call 47 // func[Sell]
func_call 48 // func[Buy]
func_call 51 // func[DistFromMe]
func_call 52 // func[SetTimerPeriodByTick]
func_call 53 // func[SetTimerPeriod]
func_call 54 // func[GetWayPointDelay]
func_call 55 // func[Rand]
func_call 57 // func[FloatToInt]
func_call 58 // func[GetMemoCount]
func_call 59 // func[HaveMemo]
func_call 60 // func[SetMemo]
func_call 61 // func[SetMemoState]
func_call 62 // func[GetMemoState]
func_call 63 // func[RemoveMemo]
func_call 64 // func[SetJournal]
func_call 65 // func[GetOneTimeQuestFlag]
func_call 66 // func[SetOneTimeQuestFlag]
func_call 67 // func[GetAbnormalLevel]
func_call 68 // func[SetDBValue]
func_call 74 // func[Pledge_GetLeader]
func_call 76 // func[GetPledge]
func_call 77 // func[GiveItem1]
func_call 80 // func[DeleteItem1]
func_call 81 // func[OwnItemCount]
func_call 83 // func[GetLastAttacker]
func_call 84 // func[FHTML_SetFileName]
func_call 85 // func[FHTML_SetInt]
func_call 86 // func[FHTML_SetFloat]
func_call 87 // func[FHTML_SetStr]
func_call 88 // func[ShowFHTML]
func_call 89 // func[MakeFString]
func_call 100 // func[IsMyLord]
func_call 103 // func[Castle_GetSiegeTime]
func_call 104 // func[Residence_GetTaxRate]
func_call 105 // func[Residence_GetTaxRateCurrent]
func_call 106 // func[Residence_SetTaxRate]
func_call 111 // func[Residence_VaultTakeOutMoney]
func_call 114 // func[Castle_GateOpenClose]
func_call 115 // func[Castle_GetPledgeState]
func_call 116 // func[Castle_IsUnderSiege]
func_call 117 // func[Castle_GetHPRegen]
func_call 118 // func[Castle_GetMPRegen]
func_call 119 // func[Castle_BanishOthers]
func_call 120 // func[Castle_SetHPRegen]
func_call 121 // func[Castle_SetMPRegen]
func_call 122 // func[Castle_GetRawSiegeTime]
func_call 123 // func[Castle_GetRawSystemTime]
func_call 125 // func[Castle_GateOpenClose2]
func_call 126 // func[Castle_GetPledgeId]
func_call 127 // func[Castle_GetLifeControlLevel]
func_call 128 // func[Agit_SetMaster]
func_call 129 // func[Agit_GetTeleportLevel]
func_call 130 // func[Agit_SetTeleportLevel]
func_call 131 // func[AddChoice]
func_call 132 // func[ShowChoicePage]
func_call 133 // func[ShowSkillList]
func_call 134 // func[ShowGrowSkillMessage]
func_call 143 // func[IsInCategory]
func_call 144 // func[ClassChange]
func_call 145 // func[Castle_GetCropRate]
func_call 146 // func[Castle_GetCropPrice]
func_call 148 // func[Residence_GetTaxIncome]
func_call 152 // func[Castle_PostCropPurchase]
func_call 154 // func[Skill_GetConsumeHP]
func_call 155 // func[Skill_GetConsumeMP]
func_call 156 // func[Skill_GetEffectPoint]
func_call 157 // func[Skill_GetAttribute]
func_call 158 // func[Skill_GetAbnormalType]
func_call 160 // func[Skill_InReuseDelay]
func_call 165 // func[CreatePrivates]
func_call 166 // func[CreateOnePrivate]
func_call 168 // func[Maker_GetNpcCount]
func_call 169 // func[Maker_FindNpcByKey]
func_call 170 // func[CreateOnePrivateEx]
func_call 171 // func[IncrementParam]
func_call 173 // func[SoundEffect]
func_call 174 // func[EffectMusic]
func_call 175 // func[Despawn]
func_call 177 // func[InMyTerritory]
func_call 178 // func[InstantTeleportInMyTerritory]
func_call 180 // func[EarthQuakeByNPC]
func_call 181 // func[SpecialCamera]
func_call 184 // func[PledgeLevelUp]
func_call 188 // func[ShowTutorialHTML]
func_call 189 // func[ShowTutorialHTML2]
func_call 190 // func[ShowQuestionMark]
func_call 192 // func[CloseTutorialHTML]
func_call 193 // func[EnableTutorialEvent]
func_call 194 // func[ShowRadar]
func_call 195 // func[DeleteRadar]
func_call 196 // func[CreatePet]
func_call 200 // func[OpenSiegeInfo]
func_call 201 // func[SetDoorHpLevel]
func_call 202 // func[GetDoorHpLevel]
func_call 203 // func[SetControlTowerLevel]
func_call 204 // func[GetControlTowerLevel]
Digital is offline  
Old 25.04.2005, 06:57   #2
Livid
Архивный участник
 
Join Date: Apr 2005
Posts: 314
Default

Wow! Great thing! thx Digital!
Livid is offline  
Old 30.04.2005, 15:46   #3
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

more to add on i guess, since somebody already provided it

and handlers:
handler 0 // NO_DESIRE
handler 1 // ATTACKED
handler 2 // SPELLED
handler 3 // TALKED
handler 4 // TALK_SELECTED
handler 5 // SEE_CREATURE
handler 10 // MY_DYING
handler 11 // TIMER_FIRED
handler 12 // TIMER_FIRED_EX
handler 13 // CREATED
handler 16 // SEE_SPELL
handler 17 // OUT_OF_TERRITORY
handler 18 // DESIRE_MANIPULATION
handler 19 // PARTY_ATTACKED
handler 21 // PARTY_DIED
handler 23 // CLAN_ATTACKED
handler 25 // STATIC_OBJECT_CLAN_ATTACKED
handler 28 // TELEPORT_REQUESTED
handler 31 // QUEST_ACCEPTED
handler 32 // MENU_SELECTED
handler 33 // LEARN_SKILL_REQUESTED
handler 34 // ONE_SKILL_SELECTED
handler 36 // CLASS_CHANGE_REQUESTED
handler 42 // CREATE_PLEDGE
handler 43 // DISMISS_PLEDGE
handler 44 // REVIVE_PLEDGE
handler 45 // LEVEL_UP_PLEDGE
handler 48 // CREATE_ALLIANCE
handler 49 // SCRIPT_EVENT
handler 50 // TUTORIAL_EVENT
handler 51 // QUESTION_MARK_CLICKED
handler 52 // USER_CONNECTED
handler 61 // MOVE_TO_WAY_POINT_FINISHED
handler 62 // USE_SKILL_FINISHED
handler 63 // MOVE_TO_FINISHED
Digital is offline  
Old 17.09.2005, 07:41   #4
Kenster
Архивный участник
 
Join Date: Sep 2005
Posts: 455
Default

Bump this post, many people want to learn AI.obj right around now. Many might not see it.
Kenster is offline  
Old 17.09.2005, 07:47   #5
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

hmm.
nice for the lazy 1s. bumpin is not always the right way. who wants 2 learn could have searched...
see ppl who r 2 lazy 2 search for such a topic wont learn about ai...
toolpunk is offline  
Old 02.10.2005, 11:30   #6
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

great work digital! this can save too many server admins
can you post a few words about basic structure of ai code?
especially shift_sp, Lxxxxx, push_const, fetch_i and some more. just to know a few details.thanks again
top-gear is offline  
Old 02.10.2005, 11:53   #7
wton
Архивный участник
 
Join Date: May 2005
Posts: 463
Default

thanks digital, always helping to community
wton is offline  
Old 02.10.2005, 18:36   #8
LDragonL
Архивный участник
 
Join Date: May 2005
Posts: 133
Default

Yes great lists digital, thanks a lot !
LDragonL is offline  
Old 02.10.2005, 19:02   #9
bob1122
Архивный участник
 
Join Date: Aug 2005
Posts: 278
Default

Holy Shit i needed thiss soooooooooooooooooooooooooooooooo bad...
bob1122 is offline  
Old 02.10.2005, 20:24   #10
flakka
Архивный участник
 
Join Date: Mar 2005
Posts: 1,143
Default

I told you guys all of this stuff is here on the forums. :P And even better, it's a sticky! Woot~!
flakka is offline  
Old 02.10.2005, 21:48   #11
localhost
Архивный участник
 
Join Date: Jul 2005
Posts: 145
Default

Yea, this by all means, has to be one of the best posts ever.
localhost is offline  
Old 29.10.2005, 00:26   #12
elcapo
Архивный участник
 
Join Date: Mar 2005
Posts: 107
Default

What about the func_call that not appears in the list?
Like
Func_call 69 / 70 / 71 / 72 / 73 . ... and a lot more?

thx
elcapo is offline  
Old 29.10.2005, 09:15   #13
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

nobody knows
btw look when this was posted...
and then look when it was updated...
thats some months ago XD
toolpunk is offline  
Old 29.10.2005, 14:41   #14
kvoxi
Архивный участник
 
Join Date: Oct 2005
Posts: 102
Default

anybody knows about func[Talk]? this func is working? func number is close to or equal 41.
descr: int CNPC::Talk(CSharedCreatureData* target, WCHAR *script).
I had try it, but no result (when i use this func (number = 41) l2npc.exe dont crashed - good). Or... How send to PC (user) a private message from AI.obj (dont offer func`s ShowPage() ShowFHTML() ) It`s must be analog to ShowSystemMessage()
--
sorry for my english
kvoxi is offline  
Old 29.10.2005, 17:45   #15
elcapo
Архивный участник
 
Join Date: Mar 2005
Posts: 107
Default

Toolpunk:
nobody? or nobody tells? kvoxi just post the fun_call 41, and 41 is not in the list.

Kvoxi:
i think function is working, but u have to send it the correct parameters.
elcapo is offline  
Old 29.10.2005, 18:07   #16
kvoxi
Архивный участник
 
Join Date: Oct 2005
Posts: 102
Default

Quote:
Originally Posted by elcapo
Toolpunk:
Kvoxi:
i think function is working, but u have to send it the correct parameters.
ye. for example: func SetCookie() in fact set cookies only for PCs , although first func parameter is CSharedCreatureData*. its may be used myself,myself.sm, may be used attacker,speller, etc. But func work with all except myself, myslef.sm It is a example of working function with in incorrect parameters
kvoxi is offline  
Old 25.02.2006, 07:33   #17
wen
Архивный участник
 
Join Date: Sep 2005
Posts: 21
Default

ehh..that's pretty cool ,but some one knows an small ref about structure members, and the params of the functions? cause could be great to know what we can or cant do using them. thanks
wen is offline  
Old 25.02.2006, 07:57   #18
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

search for StaticVoid's tutorial
toolpunk is offline  
Old 11.09.2006, 22:54   #19
Luno
Архивный участник
 
Join Date: Sep 2006
Posts: 15
Default

c4 handlers

0 NO_DESIRE
1 ATTACKED
2 SPELLED
3 TALKED
4 TALK_SELECTED
5 ON_NPC_CREATED
5 SEE_CREATURE
10 MY_DYING
11 TIMER_FIRED
12 TIMER_FIRED_EX
13 CREATED
16 SEE_SPELL
17 OUT_OF_TERRITORY
18 DESIRE_MANIPULATION
19 PARTY_ATTACKED
21 PARTY_DIED
23 CLAN_ATTACKED
25 STATIC_OBJECT_CLAN_ATTACKED
28 TELEPORT_REQUESTED
31 QUEST_ACCEPTED
32 MENU_SELECTED
33 LEARN_SKILL_REQUESTED
34 ENCHANT_SKILL_REQUESTED
35 ONE_SKILL_SELECTED
36 ONE_ENCHANT_SKILL_SELECTED
38 CLASS_CHANGE_REQUESTED
39 MANOR_MENU_SELECTED
45 CREATE_PLEDGE
46 DISMISS_PLEDGE
47 REVIVE_PLEDGE
48 LEVEL_UP_PLEDGE
51 CREATE_ALLIANCE
52 SCRIPT_EVENT
53 TUTORIAL_EVENT
54 QUESTION_MARK_CLICKED
58 ATTACK_FINISHED
64 MOVE_TO_WAY_POINT_FINISHED
65 USE_SKILL_FINISHED
66 MOVE_TO_FINISHED
78 DOOR_HP_LEVEL_INFORMED
79 CONTROLTOWER_LEVEL_INFORMED
80 TB_REGISTER_PLEDGE_RETURNED
81 TB_REGISTER_MEMBER_RETURNED
82 TB_GET_NPC_TYPE_INFORMED
83 TB_SET_NPC_TYPE_RETURNED
84 TB_GET_PLEDGE_REGISTER_STATUS_INFORMED
85 TB_GET_BATTLE_ROYAL_PLEDGE_LIST_INFORMED
86 SUBJOB_LIST_INFORMED
87 SUBJOB_CREATED
88 SUBJOB_CHANGED
89 SUBJOB_RENEWED
90 ON_SSQ_SYSTEM_EVENT
91 SET_AGIT_DECO_RETURNED
92 RESET_AGIT_DECO_RETURNED
93 CLAN_DIED
95 SET_HERO_RETURNED
96 DELETE_PREVIOUS_OLYMPIAD_POINT_RETURNED
Luno is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 18:48.