Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 14.08.2006, 03:06   #1
dknod
Архивный участник
 
Join Date: Mar 2006
Posts: 82
Default [share] C4 Retail AI func Dec & Hex not modified

A010000 167837696 func[GetSpawnDefine]
A010001 167837697 func[GetSpawnDefineByNick]
A010002 167837698 func[IncreaseTotal]
A010003 167837699 func[DecreaseTotal]
A020004 167903236 func[AddTimerEx]
B000019 184549401 func[RemoveAllAttackDesire]
B00001B 184549403 func[RandomizeAttackDesire]
B00001D 184549405 func[GetTopDesireValue]
B00001E 184549406 func[GetLifeTime]
B00001F 184549407 func[GetTick]
B000020 184549408 func[GetCurrentTick]
B000026 184549414 func[StopMove]
B000034 184549428 func[GetTimeHour]
B000039 184549433 func[GetPathfindFailCount]
B00003C 184549436 func[IsSpoiled]
B00004D 184549453 func[InstantRandomTeleportInMyTerritory]
B000085 184549509 func[GetLastAttacker]
B000097 184549527 func[Castle_GetPledgeName]
B000098 184549528 func[Castle_GetOwnerName]
B000099 184549529 func[Castle_GetSiegeTime]
B00009A 184549530 func[Residence_GetTaxRate]
B00009B 184549531 func[Residence_GetTaxRateCurrent]
B0000A7 184549543 func[Castle_IsUnderSiege]
B0000AA 184549546 func[Castle_BanishOthers]
B0000AD 184549549 func[Castle_GetRawSiegeTime]
B0000AE 184549550 func[Castle_GetRawSystemTime]
B0000B1 184549553 func[Castle_GetPledgeId]
B0000B2 184549554 func[Castle_GetLifeControlLevel]
B0000B5 184549557 func[Agit_GetCostFailDay]
B0000D2 184549586 func[Residence_GetTaxIncome]
B0000D3 184549587 func[Residence_GetTaxIncomeReserved]
B0000D4 184549588 func[Manor_GetSeedIncome]
B0000D5 184549589 func[IsManorSettingTime]
B0000E9 184549609 func[Maker_GetNpcCount]
B0000F0 184549616 func[Despawn]
B0000F1 184549617 func[Suicide]
B000123 184549667 func[GetHateInfoCount]
B00012B 184549675 func[Lotto_GetState]
B00012D 184549677 func[Lotto_GetRoundNumber]
B000130 184549680 func[Lotto_GetAccumulatedReward]
B000135 184549685 func[Lotto_GetChosenNumber]
B000152 184549714 func[GetSSQRoundNumber]
B000153 184549715 func[GetSSQStatus]
B000154 184549716 func[GetSSQWinner]
B00017A 184549754 func[CanLotto]
B000188 184549768 func[GetOlympiadWaitingCount]
B000189 184549769 func[GetClassFreeOlympiadWaitingCount]
B000198 184549784 func[GetMyMaker]
B00019B 184549787 func[RemoveAllDesire]
B010001 184614913 func[IsNullCreature]
B010003 184614915 func[IsNullHateInfo]
B010004 184614916 func[IsNullParty]
B010016 184614934 func[AddPetDefaultDesire_Follow]
B01001A 184614938 func[RemoveAttackDesire]
B010021 184614945 func[GetDirection]
B010029 184614953 func[GetIndexFromCreature]
B01002A 184614954 func[GetCreatureFromIndex]
B01002B 184614955 func[GetCreatureFromID]
B01002C 184614956 func[IsStaticObjectID]
B01002F 184614959 func[GetStaticObjectFromID]
B010031 184614961 func[UnregisterGlobalMap]
B010032 184614962 func[GetGlobalMap]
B010033 184614963 func[GetSummon]
B010036 184614966 func[LookNeighbor]
B01003B 184614971 func[CanAttack]
B01003D 184614973 func[Say]
B010040 184614976 func[EquipItem]
B010042 184614978 func[Shout]
B010054 184614996 func[DistFromMe]
B010055 184614997 func[StaticObjectDistFromMe]
B010057 184614999 func[SetTimerPeriod]
B01005A 184615002 func[OpenHennaItemListForEquip]
B01005B 184615003 func[OpenHennaListForUnquip]
B01005C 184615004 func[IntToStr]
B01005D 184615005 func[FloatToInt]
B01005E 184615006 func[GetMemoCount]
B010069 184615017 func[SetCurrentQuestID]
B010070 184615024 func[Party_GetCount]
B010072 184615026 func[Party_GetLeader]
B010073 184615027 func[GetLeaderOfParty]
B010078 184615032 func[Pledge_GetLeader]
B010079 184615033 func[GetParty]
B01007A 184615034 func[GetPledge]
B01007B 184615035 func[GetPledgeByIndex]
B01008D 184615053 func[GetPledgeSkillLevel]
B010096 184615062 func[IsMyLord]
B01009C 184615068 func[Residence_SetTaxRate]
B0100A5 184615077 func[Castle_GateOpenClose]
B0100A6 184615078 func[Castle_GetPledgeState]
B0100B9 184615097 func[Agit_GetDecoLevel]
B0100BA 184615098 func[Agit_GetDecoExpire]
B0100C3 184615107 func[ShowEnchantSkillList]
B0100D7 184615127 func[Skill_GetConsumeHP]
B0100D8 184615128 func[Skill_GetConsumeMP]
B0100D9 184615129 func[Skill_GetEffectPoint]
B0100DA 184615130 func[Skill_GetAttribute]
B0100DB 184615131 func[Skill_GetAbnormalType]
B0100DD 184615133 func[Skill_InReuseDelay]
B0100E2 184615138 func[UseSoulShot]
B0100E4 184615140 func[SetPrivateID]
B0100E5 184615141 func[CreatePrivates]
B0100EA 184615146 func[Maker_FindNpcByKey]
B0100F4 184615156 func[InMyTerritory]
B0100FF 184615167 func[StrToInt]
B010104 184615172 func[CloseTutorialHTML]
B01010E 184615182 func[TB_RegisterPledge]
B01010F 184615183 func[TB_RegisterMember]
B010110 184615184 func[TB_GetNpcType]
B010113 184615187 func[TB_GetBattleRoyalPledgeList]
B01011B 184615195 func[OpenSiegeInfo]
B010127 184615207 func[GetMaxHateInfo]
B010129 184615209 func[RemoveHateInfoByCreature]
B010131 184615217 func[Lotto_MakeFinalRewardFHTML]
B01014E 184615246 func[ShowManorDefaultInfo]
B010155 184615253 func[GetSSQSealOwner]
B01015A 184615258 func[GetTimeOfSSQ]
B01015F 184615263 func[GetTicketBuyCount]
B010161 184615265 func[GetSSQPart]
B010163 184615267 func[IsJoinableToDawn]
B010165 184615269 func[RegisterToEventListener]
B01016C 184615276 func[GetTimeAttackFee]
B010171 184615281 func[GetAngleFromTarget]
B010176 184615286 func[GetBingoSelectCount]
B010178 184615288 func[GetMatchedBingoLineCount]
B010179 184615289 func[ClearBingoBoard]
B01017D 184615293 func[IsNewbie]
B01017E 184615294 func[ShowQuestInfoList]
B010184 184615300 func[AddOlympiad]
B010185 184615301 func[GetOlympiadPoint]
B010186 184615302 func[IsMainClass]
B010187 184615303 func[AddClassFreeOlympiad]
B01018A 184615306 func[RemoveOlympiad]
B01018F 184615311 func[GetStatusForOlympiadField]
B010190 184615312 func[GetPlayer1ForOlympiadField]
B010191 184615313 func[GetPlayer2ForOlympiadField]
B010193 184615315 func[SetNobless]
B010194 184615316 func[SetHero]
B010195 184615317 func[GetPreviousOlympiadPoint]
B010199 184615321 func[SetEnchantOfWeapon]
B01019C 184615324 func[GetPartyFromID]
B01019D 184615325 func[ChangeMoveType]
B01019E 184615326 func[CanUsePCCafePoint]
B020007 184680455 func[AddMoveAroundDesire]
B020008 184680456 func[AddDoNothingDesire]
B02000D 184680461 func[AddFleeDesire]
B02000F 184680463 func[AddFollowDesire]
B020024 184680484 func[GetCookie]
B020027 184680487 func[AddTimerEx]
B020030 184680496 func[RegisterGlobalMap]
B020035 184680501 func[Summon_SetOption]
B020041 184680513 func[Talk]
B020043 184680515 func[ShoutEx]
B020044 184680516 func[ShowPage]
B020045 184680517 func[ShowSystemMessage]
B020046 184680518 func[ShowSystemMessageStr]
B02004A 184680522 func[ShowTelPosListPage]
B020051 184680529 func[ShowMultisell]
B020058 184680536 func[GetWayPointDelay]
B020059 184680537 func[ChangeStopType]
B02005F 184680543 func[HaveMemo]
B020060 184680544 func[SetMemo]
B020063 184680547 func[GetMemoState]
B020065 184680549 func[RemoveMemo]
B02006A 184680554 func[GetOneTimeQuestFlag]
B02006C 184680556 func[GetInventoryInfo]
B02006D 184680557 func[GetAbnormalLevel]
B02006E 184680558 func[SetDBValue]
B02006F 184680559 func[HavePledgePower]
B020071 184680561 func[Party_GetCreature]
B020074 184680564 func[GetMemberOfParty]
B020083 184680579 func[OwnItemCount]
B020084 184680580 func[GetItemData]
B020086 184680582 func[FHTML_SetFileName]
B02008A 184680586 func[ShowFHTML]
B0200A1 184680609 func[Residence_VaultTakeOutMoney]
B0200A2 184680610 func[Residence_VaultSaveMoney]
B0200B0 184680624 func[Castle_GateOpenClose2]
B0200B8 184680632 func[Agit_ResetDeco]
B0200BD 184680637 func[Agit_GetDecoDay]
B0200BE 184680638 func[Agit_GetDecoFee]
B0200BF 184680639 func[Area_SetOnOff]
B0200C0 184680640 func[AddChoice]
B0200C1 184680641 func[ShowChoicePage]
B0200C2 184680642 func[ShowSkillList]
B0200C6 184680646 func[ShowEnchantSkillMessage]
B0200D0 184680656 func[IsInCategory]
B0200D1 184680657 func[ClassChange]
B0200DE 184680670 func[UseSkill]
B0200ED 184680685 func[SoundEffect]
B0200FC 184680700 func[PledgeLevelUp]
B020100 184680704 func[ShowTutorialHTML]
B020102 184680706 func[ShowQuestionMark]
B020105 184680709 func[EnableTutorialEvent]
B020108 184680712 func[DeleteAllRadar]
B02010C 184680716 func[DestroyPet]
B02010D 184680717 func[RideWyvern]
B020111 184680721 func[TB_SetNpcType]
B020112 184680722 func[TB_GetPledgeRegisterStatus]
B020115 184680725 func[CreateSubJob]
B020116 184680726 func[ChangeSubJob]
B02011C 184680732 func[SetDoorHpLevel]
B02011D 184680733 func[GetDoorHpLevel]
B02011E 184680734 func[SetControlTowerLevel]
B02011F 184680735 func[GetControlTowerLevel]
B02012A 184680746 func[RemoveAllHateInfoIF]
B020132 184680754 func[Lotto_ShowPrevRewardPage]
B020133 184680755 func[Lotto_GiveReward]
B020134 184680756 func[Lotto_ShowCurRewardPage]
B020137 184680759 func[GetMaxSellableCount]
B020138 184680760 func[GetCurrentSeedSellCountSet]
B020139 184680761 func[GetCurrentSeedRemainCount]
B02013A 184680762 func[GetCurrentSeedPrice]
B02013B 184680763 func[GetNextSeedSellCountSet]
B02013C 184680764 func[GetNextSeedPrice]
B02013F 184680767 func[GetSeedDefaultPrice]
B020140 184680768 func[GetProcurementRate]
B020141 184680769 func[GetProcurementCount]
B020142 184680770 func[GetProcurementType]
B020143 184680771 func[GetRemainProcureCropCount]
B020144 184680772 func[GetNextProcurementRate]
B020145 184680773 func[GetNextProcurementCount]
B020146 184680774 func[GetNextProcurementType]
B020149 184680777 func[GetCropClassidByOrderNum]
B02014A 184680778 func[ShowSellSeedList]
B02014B 184680779 func[ShowProcureCropList]
B02014F 184680783 func[ShowSeedSetting]
B020150 184680784 func[ShowCropSetting]
B020151 184680785 func[ShowProcureCropDetail]
B020160 184680800 func[SetTicketBuyCount]
B02016A 184680810 func[GetPartyFromEventRoom]
B02016D 184680813 func[IsWinnerOfTimeAttackEvent]
B02016E 184680814 func[GetTimeAttackRewardFlag]
B020172 184680818 func[CreateBingoBoard]
B020174 184680820 func[GetNumberFromBingoBoard]
B020175 184680821 func[SelectBingoNumber]
B020177 184680823 func[IsSelectedBingoNumber]
B02017F 184680831 func[ShowQuestMark]
B02018C 184680844 func[GetRankByOlympiadRankOrder]
B02018D 184680845 func[GetNameByOlympiadRankOrder]
B020192 184680850 func[ObserveOlympiad]
B020196 184680854 func[DeletePreviousOlympiadPoint]
B0201A0 184680864 func[UpdatePCCafePoint]
B030009 184745993 func[AddAttackDesire]
B03000E 184745998 func[AddFleeDesireEx]
B030018 184746008 func[AddMoveSuperPointDesire]
B03001C 184746012 func[MakeAttackEvent]
B030023 184746019 func[SetCookie]
B030025 184746021 func[SetTeleportPosOnLost]
B030037 184746039 func[BroadcastScriptEvent]
B030047 184746055 func[BroadcastSystemMessage]
B030061 184746081 func[SetMemoState]
B030064 184746084 func[GetMemoStateEx]
B030066 184746086 func[SetJournal]
B030067 184746087 func[SetFlagJournal]
B03006B 184746091 func[SetOneTimeQuestFlag]
B03007E 184746110 func[OwnItemCountEx]
B03007F 184746111 func[GiveItem1]
B030080 184746112 func[DropItem1]
B030082 184746114 func[DeleteItem1]
B030087 184746119 func[FHTML_SetInt]
B030089 184746121 func[FHTML_SetStr]
B0300B7 184746167 func[Agit_SetDeco]
B0300C4 184746180 func[ShowGrowSkillMessage]
B0300CB 184746187 func[ShowEtcSkillList]
B0300E3 184746211 func[UseSpiritShot]
B0300EB 184746219 func[IncrementParam]
B0300EE 184746222 func[VoiceEffect]
B0300EF 184746223 func[EffectMusic]
B030114 184746260 func[GetSubJobList]
B030117 184746263 func[RenewSubJob]
B03012E 184746286 func[Lotto_ShowBuyingPage]
B03012F 184746287 func[Lotto_BuyTicket]
B03014C 184746316 func[ShowSeedInfo]
B03014D 184746317 func[ShowCropInfo]
B03015B 184746331 func[GetDepositedSSQItemCount]
B030168 184746344 func[AddPartyToEventRoom]
B030169 184746345 func[ClearEventRoom]
B03016B 184746347 func[AddTimeAttackFee]
B03017B 184746363 func[AddLog]
B030180 184746368 func[SetHTMLCookie]
B030181 184746369 func[GetHTMLCookie]
B04000A 184811530 func[AddAttackDesireEx]
B040011 184811537 func[AddMoveToWayPointDesire]
B040014 184811540 func[AddMoveToDesire]
B040015 184811541 func[AddEffectActionDesire]
B040017 184811543 func[AddMoveToTargetDesire]
B040038 184811576 func[BroadcastScriptEventEx]
B04004C 184811596 func[InstantTeleport]
B040062 184811618 func[SetMemoStateEx]
B040081 184811649 func[DropItem2]
B0400CC 184811724 func[ShowGrowEtcSkillMessage]
B0400E6 184811750 func[CreateOnePrivate]
B0400F5 184811765 func[InstantTeleportInMyTerritory]
B0400F8 184811768 func[EarthQuakeToParty]
B040101 184811777 func[ShowTutorialHTML2]
B04010A 184811786 func[CreatePet]
B04015E 184811870 func[DeleteDepositedSSQItem]
B040166 184811878 func[GetTimeAttackRecordInfo]
B04016F 184811887 func[GiveTimeAttackReward]
B04017C 184811900 func[AddLogEx]
B050012 184877074 func[AddUseSkillDesire]
B050106 184877318 func[ShowRadar]
B050107 184877319 func[DeleteRadar]
B050121 184877345 func[AddHateInfo]
B050183 184877443 func[GetCloestPositionList]
B0501A1 184877473 func[GiveItemByPCCafePoint]
B06004E 184942670 func[SellPreview]
B06004F 184942671 func[Sell]
B060050 184942672 func[Buy]
B06008B 184942731 func[MakeFString]
B06010B 184942859 func[EvolvePet]
B060159 184942937 func[AddSSQMember]
B06015D 184942941 func[DepositSSQItemEx]
B060167 184942951 func[AddTimeAttackRecord]
B060170 184942960 func[TeleportParty]
B070013 185008147 func[AddUseSkillDesireEx]
B070049 185008201 func[ShowSysMsgToParty2]
B0700F7 185008375 func[EarthQuakeByNPC]
B08004B 185073739 func[Teleport]
B0B00E7 185270503 func[CreateOnePrivateEx]
B0B00F9 185270521 func[SpecialCamera]
D000001 218103809 func[GetTimeOfDay]
D000002 218103810 func[IsEventServer]
D000005 218103813 func[AllocCodeInfoList]
D010000 218169344 func[Rand]
D010003 218169347 func[GetL2Time]
D010004 218169348 func[GetNpcMaker]
D010007 218169351 func[GetNPCFromID]
D010009 218169353 func[GetRoomInfoList]
D01000A 218169354 func[Announce]
D01000C 218169356 func[IsNull]
D020008 218234888 func[CreateRoomInfoList]
D02000B 218234891 func[GetDateTime]
D02000F 218234895 func[IsSameString]
D03000D 218300429 func[SendScriptEvent]
D040006 218365958 func[SendMakerScriptEvent]
D050010 218431504 func[InstantTeleportEx]
E000002 234881026 func[Despawn]
E010003 234946563 func[IncCount]
E010004 234946564 func[DecCount]
E010005 234946565 func[LoadDBNpcInfo]
E010007 234946567 func[SetDBLoaded]
E010008 234946568 func[RegToRespawnTimer]
E020000 235012096 func[Spawn]
E030006 235077638 func[SendScriptEvent]
E090001 235470849 func[SpawnEx]
F000000 251658240 func[Next]
F000002 251658242 func[RandomSelectOne]
F020001 251789313 func[SetInfo]
10000003 268435459 func[GetValue]
10010000 268500992 func[Increment]
10010001 268500993 func[Decrement]
10010002 268500994 func[Exchange]
10020004 268566532 func[CompareExchange]
11000002 285212674 func[Clear]
11000004 285212676 func[PartyChanged]
11010000 285278208 func[GetMemberID]
11010001 285278209 func[SetParty]
12010000 302055424 func[GetRoomInfo]
13010000 318832640 func[GetPosition]
14000000 335544320 func[Next]
14000001 335544321 func[RandomSelectOne]
dknod is offline  
Old 14.08.2006, 03:12   #2
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

A question:
Why some functions are twice ? And what of both funcs is supposed to use in each case ? ... functions like AddTimerEx ... Next... any help with this ?
FidoW is offline  
Old 14.08.2006, 03:22   #3
dknod
Архивный участник
 
Join Date: Mar 2006
Posts: 82
Default

Quote:
Originally Posted by FidoW
A question:
Why some functions are twice ? And what of both funcs is supposed to use in each case ? ... functions like AddTimerEx ... Next... any help with this ?
I am not sure still trying to figure out why in AI are used for same functions 2 types of digits...
dknod is offline  
Old 18.09.2006, 12:49   #4
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

what correct? why duplicate?

184549616 func[Despawn]
234881026 func[Despawn]

167903236 func[AddTimerEx]
184680487 func[AddTimerEx]

251658242 func[RandomSelectOne]
335544321 func[RandomSelectOne]

218300429 func[SendScriptEvent]
235077638 func[SendScriptEvent]
HF is offline  
Old 18.09.2006, 13:33   #5
poltomb
Архивный участник
 
Join Date: Sep 2006
Posts: 81
Default

interesting
poltomb is offline  
Old 18.09.2006, 13:39   #6
hr
Архивный участник
 
Join Date: Jun 2005
Posts: 285
Default

both correct but for different places
hr is offline  
Old 18.09.2006, 13:47   #7
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

I wrote tool for fix AI.obj but i need load Correct table in tool.
Now i see what ppl use bugged AI.obj, as me.
HF is offline  
Old 18.09.2006, 13:58   #8
barabashka
Архивный участник
 
Join Date: Jan 2006
Posts: 55
Default

Quote:
Originally Posted by HF View Post
what correct? why duplicate?

184549616 func[Despawn]
234881026 func[Despawn]

167903236 func[AddTimerEx]
184680487 func[AddTimerEx]

251658242 func[RandomSelectOne]
335544321 func[RandomSelectOne]

218300429 func[SendScriptEvent]
235077638 func[SendScriptEvent]
Second ID use when declare "class 2", other when declare class 1
barabashka is offline  
Old 18.09.2006, 14:03   #9
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

Quote:
Originally Posted by barabashka View Post
Second ID use when declare "class 2", other when declare class 1
I was mistaken.

Why need class 2? How it use? Can learn me?

And. Maybe are you have full func_table?
HF is offline  
Old 18.09.2006, 14:07   #10
MuNLoK
Архивный участник
 
Join Date: Sep 2005
Posts: 255
Default

If I'm not wrong, the class 2 is used by the ai declared in npcpos.txt, for example ai=[default_maker], ai=[on_day_night_spawn], etc
MuNLoK is offline  
Old 18.09.2006, 14:13   #11
MuNLoK
Архивный участник
 
Join Date: Sep 2005
Posts: 255
Default

class 2 list:

class 2 default_maker
class 2 default_use_db_maker
class 2 maker_instant_spawn
class 2 maker_instant_spawn_random
class 2 maker_instant_spawn_serial
class 2 req_next_maker
class 2 on_timer_maker
class 2 on_day_night_spawn
class 2 unique_npc_kill_event
class 2 exclusive_spawn_use_db
class 2 exclusive_spawn_normal
class 2 random_spawn
class 2 royal_rush_maker
class 2 royal_req_next_maker
class 2 royal_spawn_treasurebox
class 2 manage_teleport_dungeon


All ai types declared in npcpos.txt.
MuNLoK is offline  
Old 18.09.2006, 14:15   #12
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

Ok. Good.
Next question

This thread and this
https://postpacific.loc-online.com/f...ead.php?t=5394
have different IDs for some func_call
Where correct func_call list? In Digital list or in this Dknod? (dknod list bigger them Digital)
HF is offline  
Old 18.09.2006, 15:39   #13
barabashka
Архивный участник
 
Join Date: Jan 2006
Posts: 55
Default

I use my own func_call list. You can check this hxxp://rapidshare.de/files/32365693/ai.rar for func_call list. It works perfect for me. There are right ID's for class 1 and class 2. Just compare.

Pass: 634213295857466
barabashka is offline  
Old 18.09.2006, 16:00   #14
MuNLoK
Архивный участник
 
Join Date: Sep 2005
Posts: 255
Default

barabashka, your first ai had the quest name translated, but this second not:

ai-v1: S35043. "Succession to the Legend, Hierophant"
ai-v2: S35043. "????,???(???)"

why? and what more differences have?
MuNLoK is offline  
Old 18.09.2006, 16:37   #15
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

Quote:
Originally Posted by barabashka View Post
I use my own func_call list. You can check this hxxp://rapidshare.de/files/32365693/ai.rar for func_call list. It works perfect for me. There are right ID's for class 1 and class 2. Just compare.

Pass: 634213295857466
very hard compare so big file (harder more, if in one tab is TAB symbol, but in another tab = 3-4 space)

Question
How this file is made? Whence there were these data? - func[0E.DecCount]
HF is offline  
Old 18.09.2006, 17:10   #16
barabashka
Архивный участник
 
Join Date: Jan 2006
Posts: 55
Default

Decompile/Compile AI Many strings are korean. Still translating.
barabashka is offline  
Old 18.09.2006, 17:21   #17
dknod
Архивный участник
 
Join Date: Mar 2006
Posts: 82
Default

Quote:
Originally Posted by HF View Post
Ok. Good.
Next question

This thread and this
https://postpacific.loc-online.com/f...ead.php?t=5394
have different IDs for some func_call
Where correct func_call list? In Digital list or in this Dknod? (dknod list bigger them Digital)

HF, these func. are taken from the original PP IRC C4 server pack...
dknod is offline  
Old 18.09.2006, 17:44   #18
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

Quote:
Originally Posted by dknod View Post
HF, these func. are taken from the original PP IRC C4 server pack...
Simple parsing not learn me how it working. I trust you, but i found very interesting information and i must know how it must be.

08-13-2006 Digital wrote first table for func_call.
You told what you have it from PP IRC 4 and wrote table at 08-14-2006.
But.. you have differents with Digital table. And.. i have some IDs different too. And my server work good. "True somewhere near" (X-Files).

Now, I need know how Duplicate IDs. Because found #1

Code:
class 1 goblin : warrior_passive

        fetch_i
        push_event      //  code_info
        push_const 696
        add
        fetch_i
        func_call 335544321     //  func[RandomSelectOne]


        fetch_i
        push_event      //  random1_list
        push_const 680
        add
        fetch_i
        func_call 251658242     //  func[RandomSelectOne]
If
func_call 335544321 // func[RandomSelectOne] is True
then
func_call 251658242 // func[RandomSelectOne] is False
because one function cant named Same.
But we can see next different!
Code:
        push_event      //  code_info
        push_const 696
Code:
        push_event      //  random1_list
        push_const 680
I can think one - It's NO ONE func_call

I learn Ai.obj next and i'll be talking here, until get full correct information from brain, from you, from someone.
HF is offline  
Old 18.09.2006, 17:58   #19
cypher
Архивный участник
 
Join Date: Oct 2005
Posts: 166
Default

Those Next/Random .. etc. are not duplicate functions. It's function overloading on an array type subclass.
cypher is offline  
Old 18.09.2006, 18:11   #20
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

Quote:
Originally Posted by cypher View Post
Those Next/Random .. etc. are not duplicate functions. It's function overloading on an array type subclass.
ok. Ignored it
func[RandomSelectOne] and func[Next]

Uhf... I found my first Bug in my Ai.obj. Viva la knowlenge!

Code:
Class name: class 2 on_day_night_spawn : default_maker
Fix 184549616 to 234881026      For :func[Despawn]

Class name: class 2 on_day_night_spawn : default_maker
Fix 184549616 to 234881026      For :func[Despawn]

Class name: class 2 royal_rush_maker : default_maker
Fix 184549616 to 234881026      For :func[Despawn]

Next is Handlers and puch_const. Someone have it tables too?
HF is offline  
Old 19.09.2006, 10:33   #21
Luno
Архивный участник
 
Join Date: Sep 2006
Posts: 15
Default

Handlers: http://xx.xx.2xx.xx0/handlers.txt
Luno is offline  
Old 19.09.2006, 11:31   #22
dknod
Архивный участник
 
Join Date: Mar 2006
Posts: 82
Default

If I am not wrong puch_const depending on context of AI can be a item ID No. or part of action formula
dknod is offline  
Old 19.09.2006, 11:39   #23
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by HF View Post
ok. Ignored it
func[RandomSelectOne] and func[Next]

Uhf... I found my first Bug in my Ai.obj. Viva la knowlenge!

Code:
Class name: class 2 on_day_night_spawn : default_maker
Fix 184549616 to 234881026      For :func[Despawn]

Class name: class 2 on_day_night_spawn : default_maker
Fix 184549616 to 234881026      For :func[Despawn]

Class name: class 2 royal_rush_maker : default_maker
Fix 184549616 to 234881026      For :func[Despawn]

Next is Handlers and puch_const. Someone have it tables too?

That fix isnt correct.. I made that change ... and... always when l2 time is 00:00 ... NPC SHUTDOWN! hahaha ... so obviusly, is an error in on_day_night_spawn class
FidoW is offline  
Old 19.09.2006, 16:40   #24
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

Thanks for test

Very strange all in ai.obj. Now i generated full list to fetch_i and push_event. Who has made it? As if "from terrible dreams".

fetch_i have same duplicate id's.
I cannot understand dependence. Sometimes func_call depends from push_event, sometimes on a class. The sense of this is not clear to me already.
HF is offline  
Old 19.09.2006, 18:15   #25
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

I surrender. I cannot already understand anything.

Code:
        fetch_i
        push_event      //  random1_list
        push_const 680
        add
        fetch_i
        func_call 251658242     //  func[RandomSelectOne]

       push_event      //  code_info
       push_const 696
       add
       fetch_i
       func_call 335544321     //  func[RandomSelectOne]
HF 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 20:06.