disablenpc problem

Yoshu

New member
Messages
67
Points
0
Emulator
Hi!

I'm not sure to know if it's a emulator problem or client but I've a problem with disablenpc function.

- I load a script to hide some npc (woe warp, or geffenia warp in geffen for exemple)

- I reloadscript or reboot (cause OnInit)

- The npc is hide, but when I move and come back i see the npc, can't use it but I see it.

I found that: http://herc.ws/board/tracker/issue-7688-disable-npc/?gopid=22446#entry22446

But no solution cause eathena is down.

Please help T_T thx for watching

 
the guy on the post is disabling an npc which is not the one he declared at the beginning..

can you show your Script on where your having trouble with the OnInit?

 
-  script  hidenpc::woenpc  -1,{

OnInit:  

 disablenpc "payg01";

 disablenpc "payg02";

 disablenpc "payg03";

 disablenpc "payg04";

 disablenpc "payg05";

 disablenpc "payg01-1";

 disablenpc "payg02-1";

 disablenpc "payg03-1";

 disablenpc "payg04-1";

 disablenpc "payg05-1";

 disablenpc "prtg01";

 disablenpc "prtg02-1";

 disablenpc "prtg03-1";

 disablenpc "prtg04-1";

 disablenpc "prtg05-1";  

 disablenpc "aldg01";

 disablenpc "aldg02";

 disablenpc "aldg03";

 disablenpc "aldg04";

 disablenpc "aldg05";

 disablenpc "gefg01";

 disablenpc "gefg02";

 disablenpc "gefg03";

 disablenpc "gefg04";

 disablenpc "gefg05";

 disablenpc "gefg06";

 disablenpc "gefg07";

 disablenpc "gefg08";

 disablenpc "gefg09";

 disablenpc "gefg09-1";

end;

//War of Emperium

OnSat2100:

 enablenpc "prtg04-1";

 end;

OnSat2300:

 disablenpc "prtg04-1";

 end;

}

I don't think it's a problem with the OnInit cause when i reload the warp is hide, but if i walk out of sight of the NPC and come back the warp is not hidden, i can't use it but it's not hide.

It's same with the warp for geffenia dungon in geffen, i see it all time but can't use cause i never do the quest

 
It's warp for enter in the castle, but it's the same with normal every "disablenpc" are not hidden.

We can't use it so the function work but when we go out of the sight of the npc and come back we see it (can't use it).

 
Back
Top