Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   LA2 NPC Maker Ex [class 2 default_maker] problem (https://postpacific.loc-online.com/showthread.php?t=5438)

JOG 18.08.2006 15:01

LA2 NPC Maker Ex [class 2 default_maker] problem
 
I have a problem. NPC Maker Extented creates all npcs are described through "npcmaker_ex" tag in npcpos.txt file. So, when l2npc loading and npc maker ex starts, each mod (for example, each peaceful npc in cities) generate a error and not spawns.

npcpos.txt (for example)
territory_begin [oren25_npc1820_006] {{-61796;75292;-3513;-3313};{-61596;75292;-3513;-3313};{-61596;75492;-3513;-3313};{-61796;75492;-3513;-3313}} territory_end
npcmaker_ex_begin [oren25_npc1820_006] name=[oren25_npc1820_00601] ai=[default_maker] maximum_npc=1
npc_ex_begin [tweety] pos={-61717;75401;-3356;58500} total=1 respawn=1min npc_ex_end
npcmaker_ex_end

Error message:
08/17/2006 10:20:xx.xx5, func_call : Invalid argument count. Func[SendScriptEvent], argcount[1], sfnp.argN[3], ai[default_maker] event[ON_START], pc[87], sp[1]
08/17/2006 10:20:xx.xx5, [.\NPC.cpp][13493] SendScriptEvent(to=null)

AI that used by NPC maker ex (default_maker class and it's descendants) isn't work! And func_call SendScriptEvent in ON_START handler not found!

Question: how to fix this problem?

PS I made a fix - to form npcpos.txt in old style - through usuallly tag "npcmaker". All tags npcmaker_ex are changed. And NPC Maker (without "ex") obtained all npcs. But so I lost more features which given by default_maker class. And I'm afraid that events will not work...

How did you fix this problem?

PSS Sorry for bad english.

PSSS
I discovered another problem. When mob have been killed, NPC server falls.
08/18/2006 15:30:xx.xx0, func_call : Invalid argument count. Func[SendMakerScriptEvent], argcount[0], sfnp.argN[4], ai[wyrm] event[MY_DYING], pc[9], sp[2]
08/18/2006 15:30:xx.xx9, func_call : Invalid argument count. Func[SendMakerScriptEvent], argcount[0], sfnp.argN[4], ai[wyrm] event[MY_DYING], pc[21], sp[2]
08/18/2006 15:30:xx.xx9, func_call : Invalid argument count. Func[GetTimeOfDay], argcount[2], sfnp.argN[0], ai[wyrm] event[MY_DYING], pc[81], sp[2]
08/18/2006 15:30:xx.xx9, func_call : Invalid argument count. Func[GetTimeOfDay], argcount[2], sfnp.argN[0], ai[wyrm] event[MY_DYING], pc[106], sp[2]
08/18/2006 15:30:xx.xx9, func_call : Invalid argument count. Func[GetTimeOfDay], argcount[2], sfnp.argN[0], ai[wyrm] event[MY_DYING], pc[131], sp[2]
08/18/2006 15:30:xx.xx9, func_call : Invalid argument count. Func[SendScriptEvent], argcount[1], sfnp.argN[3], ai[wyrm] event[MY_DYING], pc[179], sp[1]
08/18/2006 15:30:xx.xx9, [.\NPC.cpp][13493] SendScriptEvent(to=null)

Do you have this problems?

Drag 18.08.2006 15:13

I discovered another problem. Wrong section. Can anyone fix it ?

testdude 18.08.2006 15:34

http://www.m-w.com/cgi-bin/audio.pl?...01.wav=lineage
ITS L2 >.> lineage, not LineAge.

JOG 18.08.2006 16:01

Ok, l2 so l2, not la2. I ask to take not a jaundiced view.

I'm interesting... Anybody l2 "retail" pack user had/has this problem? And it's possible to fix this problem? Because this errors are very complex and numerous...

JOG 19.08.2006 06:26

I found a path to fix this problems.
I ask the moderator to delete this thread.

zExz 19.08.2006 07:17

Quote:

Originally Posted by JOG (Post 65193)
I found a path to fix this problems.
I ask the moderator to delete this thread.

explain how to fix it please ?

Phantom2005 19.08.2006 09:03

i believe i posted it in some l2npc crash forum..
Quote:

08/17/2006 10:20:xx.xx5, func_call : Invalid argument count. Func[SendScriptEvent], argcount[1], sfnp.argN[3], ai[default_maker] event[ON_START], pc[87], sp[1]
search for default_maker
search for ON_START
then goto line 87.. bang thats the func_call that has an error.
have fun fixing it


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