Jump to content
  • 0
Sign in to follow this  
Yoshu

disablenpc problem

Question

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

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

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?

Share this post


Link to post
Share on other sites
  • 0

-  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

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.