Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 18.08.2006, 15:01   #1
JOG
Архивный участник
 
Join Date: Apr 2006
Posts: 29
Default 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?
JOG 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 16:20.