Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 General
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 19.03.2006, 15:33   #22
Xellos
Архивный участник
 
Join Date: Feb 2006
Posts: 88
Default

kvoxi, here is another thing to check for u

the commented out lines will crash your NASC mod, because they refer to "level" field of the event container. please check
[php:1:70a659aeec].
EventHandler DOOR_HP_LEVEL_INFORMED(talker, level, fhtml0, i0, i1, i2)
{
if (Castle_IsUnderSiege())
ShowPage(talker, fnSiegeStoppedFunction);
else
{
i0 = GetCookie(talker, "gate_price");
i1 = GetCookie(talker, "gate_level");
i2 = GetCookie(talker, "gate_num");
// if (level >= i1)
{
FHTML_SetFileName(fhtml0, fnCurrentDoorLevelHigher);
// FHTML_SetInt(fhtml0, "doorlevel", level);
ShowFHTML(talker, fhtml0);
}
// *snip*... here is the code to lvlup the doors
}
}
.[/php:1:70a659aeec]

and here the code (from ai.obj) that refers to "level"
[php:1:70a659aeec].
push_event // level
push_const 188
add
fetch_i
.[/php:1:70a659aeec]


and another small thing:
the TelePosList in npcserver contains 6 parameters, NASC will only compile with 5 - are u able to extend this list to 6 parameters?


sry to bother u again
Xellos 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 23:49.