Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Help (https://postpacific.mmorpg-game.online/forumdisplay.php?f=37)
-   -   ≈ Fixin NPC crash in Retail Server (https://postpacific.mmorpg-game.online/showthread.php?t=5283)

DeKoth 01.08.2006 18:41

awesome, thank you for the brief information

barabashka 01.08.2006 18:44

i try to fix all bugs at ai, maybe, sometimes i'll share them.

Zil 01.08.2006 18:49

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)

hel 01.08.2006 19:03

Anyone could explain to nonAIscripter, as me, how to fix new handlers and\or new functions?

DeKoth 01.08.2006 19:07

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.

barabashka 01.08.2006 19:24

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.

DeKoth 01.08.2006 19:28

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

MamonT 01.08.2006 19:31

долбоеб че еще сказать...

нпсы тупо не грузятся, если закоментировать всех (ex) то в городах нет, а вроде как сервак не падает....

barabashka 01.08.2006 19:35

думаю, что в этом топике тебе делать нечего.

MamonT 01.08.2006 19:37

спасибо друК, рад был поодщатся

Zil 01.08.2006 19:39

MamonT, see LinError to view ur error when npc server crashed!
barabashka, ну хотя б чуток намекни че какие функции должы делать, которые птс нпц.ехе не хавает

Truffe 01.08.2006 19:42

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.

barabashka 01.08.2006 19:51

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).

dar55 01.08.2006 19:51

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?)

Zil 01.08.2006 20:00

We try that :) We know that we can....but some pplz too lazy :-/
and goto IRC...there we can talk on russian:)

Sdw 01.08.2006 20:03

func_call 218300428 // func[SendScriptEvent]

func_call 184614913 // func[IsNullCreature]

droptable 10.08.2006 10:47

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!

midnight 10.08.2006 11:25

The selected Attachment does not exist anymore

404 File Not Found: The File files/string_433.rar does not exist.

HongK 11.08.2006 13:57

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

Truffe 11.08.2006 14:29

Wow. No shit.

barabashka 12.08.2006 06:38

Ehhh, here it is. Say tnx to me:)

AI_FULLY_FIXED

For password PM me.



P.S. Need some cash:)

droptable 12.08.2006 06:49

Thx ! PM sent...

TheOrder 12.08.2006 06:56

Cash for u :) !!! I love smart people :twisted:

Phantom2005 12.08.2006 08:21

Quote:

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]
goto class default_maker
goto the ON_START handler.
then go to the 67th line.. after variables stuff... that func_call is bugged.

sg552 12.08.2006 10:14

[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?


All times are GMT. The time now is 16:03.