![]() |
|
|
#26 |
|
Архивный участник
Join Date: Apr 2006
Posts: 236
|
awesome, thank you for the brief information
|
|
|
|
|
#27 |
|
Архивный участник
Join Date: Jan 2006
Posts: 55
|
i try to fix all bugs at ai, maybe, sometimes i'll share them.
|
|
|
|
|
#28 |
|
Архивный участник
Join Date: Jan 2006
Posts: 277
|
barabashka, help us!
It's not only errors in AI!!! npc.exe can't understand some functions, because they were updated and now they have new digits. Our version of AI.obj is newest then npc.exe (newest ver of nasc) |
|
|
|
|
#29 |
|
Архивный участник
Join Date: Apr 2006
Posts: 729
|
Anyone could explain to nonAIscripter, as me, how to fix new handlers and\or new functions?
|
|
|
|
|
#30 |
|
Архивный участник
Join Date: Apr 2006
Posts: 236
|
well i dont know how to get the right function ids but i do know how to change them and write in ai.obj.
all you have to do is search for the old one and replace the # with the new one if u have a list. |
|
|
|
|
#31 |
|
Архивный участник
Join Date: Jan 2006
Posts: 55
|
try to learn more about l2npc.exe and how ot works with AI. in it you can see more answers about correctly id's of all functions, variables and handlers.
About AI.OBJ, there is not so easy to rewrite it. |
|
|
|
|
#32 |
|
Архивный участник
Join Date: Apr 2006
Posts: 236
|
i dont know how to mess with exe files, but i know how to write the ai lol so we play 2 different worlds =s
|
|
|
|
|
#33 |
|
Архивный участник
Join Date: May 2006
Posts: 15
|
долбоеб че еще сказать...
нпсы тупо не грузятся, если закоментировать всех (ex) то в городах нет, а вроде как сервак не падает.... |
|
|
|
|
#34 |
|
Архивный участник
Join Date: Jan 2006
Posts: 55
|
думаю, что в этом топике тебе делать нечего.
|
|
|
|
|
#35 |
|
Архивный участник
Join Date: May 2006
Posts: 15
|
спасибо друК, рад был поодщатся
|
|
|
|
|
#36 |
|
Архивный участник
Join Date: Jan 2006
Posts: 277
|
MamonT, see LinError to view ur error when npc server crashed!
barabashka, ну хотя б чуток намекни че какие функции должы делать, которые птс нпц.ехе не хавает |
|
|
|
|
#37 |
|
Архивный участник
Join Date: May 2005
Posts: 944
|
9.) Posting language
We only allow english post, so if you can't write it use a translator (http://babelfish.altavista.com/). You guys can post it in both languages, russian/english, spanish/english, whatever/english but always leave a english version with it. |
|
|
|
|
#38 |
|
Архивный участник
Join Date: Jan 2006
Posts: 55
|
in many classes are missing such string as func_call 218103812 // func[AllocCodeInfoList], but arguments for this func are declared
![]() then... func_call 251789313 // func[SetInfo] are also missed, but it must be in class where quest was declared. ...... push_event // random1_list works with func_call 251658242 // func[RandomSelectOne], but in retail ai this func are missing. i say once more: npc server is perfect, AI.OBJ is very bugged, couse it test AI for c5 (i think so). |
|
|
|
|
#39 |
|
Архивный участник
Join Date: Aug 2005
Posts: 180
|
Zil, тут бесполезно намекать, кто-то должен разобрать npc server, по вот такой аналогии, тога моментом все сделаем
Вот кусочек описания С1 функций вытащенных из c1 npc.exe, нам нуна тоже самое только по С4 нпс Всего делов то ![]() ........ func_call 196 // func[CreatePet] (CSharedCreatureData* to, int nPetCollarClassID, int nPetNpcClassID) func_call 197 // func[AgitAuction] func_call 198 // func[GetAgitDeposit] func_call 199 // func[GetPledgeMoney] (CSharedCreatureData* c) 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] and handlers: handler 0 // NO_DESIRE handler 1 // ATTACKED handler 2 // SPELLED handler 3 // TALKED handler 4 // TALK_SELECTED handler 5 // SEE_CREATURE ......... myself struc: p_state 2308 (pstate) temper 2312 ?+ i_quest0 2316 i_quest1 2320 i_quest2 2324 i_quest3 2328 i_quest4 2332 ....... myself.sm struc x 8 (m_Pos.x) y 16 (m_Pos.y) z 24 (m_Pos.z) is_pc 108 (m_bIsUser) attacker ...... Sorry, but my english very bad. This example extract C1 function in npc.exe We need extract function in C4 npc.exe. Who can?) |
|
|
|
|
#40 |
|
Архивный участник
Join Date: Jan 2006
Posts: 277
|
We try that
We know that we can....but some pplz too lazy :-/and goto IRC...there we can talk on russian
|
|
|
|
|
#41 |
|
Архивный участник
Join Date: Sep 2005
Posts: 150
|
func_call 218300428 // func[SendScriptEvent]
func_call 184614913 // func[IsNullCreature] |
|
|
|
|
#42 |
|
Архивный участник
Join Date: Mar 2006
Posts: 27
|
My l2npc before crash, write this error:
08/10/2006 12:36:xx.xx8, [.\NPC.cpp][13493] SendScriptEvent(to=null) 08/10/2006 12:36:xx.xx8, func_call : Invalid argument count. Func[SendScriptEvent], argcount[1], sfnp.argN[3], ai[default_maker] event[ON_START], pc[67], sp[1] I think, this is IA error,but I not Ai scripter... Please help me somebody! Sorry for my bad english ! barabashka! Please share the fixed Ai ! I testing certainly and report the errors! |
|
|
|
|
#43 |
|
Архивный участник
Join Date: Jun 2005
Posts: 199
|
The selected Attachment does not exist anymore
404 File Not Found: The File files/string_433.rar does not exist. |
|
|
|
|
#44 |
|
Архивный участник
Join Date: Jun 2005
Posts: 258
|
There is no need for a dll to fix this problem lol .. Someone already gave THE hint you need to fix it on a different page
The reason your NPCs are crashing IS because of MY_DYING but look at the error that l2npc generates .. read it further You've got bad code in your AI BTW, just so you guys know there are huge html exploits that exist and you're gonna get owned by them unless you start thinking ahead .. It is possible to fix them in AI too, you just need to know what to do :O Launching a c4 retail server right now without taking this into consideration is like asking to have your server blown up |
|
|
|
|
#45 |
|
Архивный участник
Join Date: May 2005
Posts: 944
|
Wow. No shit.
|
|
|
|
|
#46 |
|
Архивный участник
Join Date: Jan 2006
Posts: 55
|
|
|
|
|
|
#47 |
|
Архивный участник
Join Date: Mar 2006
Posts: 27
|
Thx ! PM sent...
|
|
|
|
|
#48 |
|
Архивный участник
Join Date: Sep 2005
Posts: 731
|
Cash for u
!!! I love smart people :twisted:
|
|
|
|
|
#49 | |
|
Архивный участник
Join Date: Aug 2005
Posts: 394
|
Quote:
goto the ON_START handler. then go to the 67th line.. after variables stuff... that func_call is bugged. |
|
|
|
|
|
#50 |
|
Архивный участник
Join Date: Sep 2005
Posts: 22
|
[last-send: iria001.htm][recived: observer_1477443854_1] : INVALID link on bypass[.\UserSocket_HTMLCmd.cpp][177]
[last-send: iria001.htm][recived: observer_group_1477443854_8] : INVALID link on bypass[.\UserSocket_HTMLCmd.cpp][177] [last-send: iria001.htm][recived: observer_1477443854_16] : INVALID link on bypass[.\UserSocket_HTMLCmd.cpp][177] Can anyone explain what it mean? As i understand it missmatch ai with html? |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|