Jump to content
  • 0

PVP NPC not showing up in-game


RenLen

Question


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  67
  • Reputation:   2
  • Joined:  03/01/12
  • Last Seen:  

I've tried every possible way to enable it,but unfortunately none of them worked.

1. I enabled it on scripts_custom.conf with the correct directories and all.

2. I've checked if it has errors on the SQL,but no errors have been listed.

3. I've also tried restarting my server but nothing happened.

4. I used @reloadscript several times, still,nothing happened.

I don't know what else to do with it. Help me please. I'm not good at scripting,so I don't know and I'm not sure if the script itself is making it not load.

///===== eAthena Script =======================================

//= PvP

//===== By: ==================================================

//= Destinee~

//===== Description: =========================================

//= A basic PVP script.

//===== Additional Comments: =================================

//= Dont copyright this and claiming that you've made this. Use it only for your own server.

//============================================================

payon,158,234,6 script PvP Warper 730,{

mes "[PvP Warper]";

mes "Do you want to warp to the PvP Arena and fight your enemies?";

menu "Sure, Bring it on!",L_Yes,"Nah, I'm not ready yet.",L_No;

L_Yes:

mes "[PvP Warper]";

mes "Which PvP Arena do you want to enter?";

menu "PvP Arena 1 [" + getmapusers("pvp_y_1-2.gat") + " / 50]",L1,

"PvP Arena 2 [" + getmapusers("force_1-1") + " / 100]",L2,

"PvP Arena 3 [" + getmapusers("force_2-2") + " / 100]",L3;

L1:

if (getmapusers("pvp_y_1-2.gat") > 49) goto Lsorry;

warp "pvp_y_1-2",0,0;

close;

L2:

if (getmapusers("force_3-1") > 99) goto Lsorry;

warp "force_1-1",100,100;

close;

L3:

if (getmapusers("force_2-2") > 99) goto Lsorry;

warp "force_2-2",175,150;

close;

Lsorry:

mes "[PvP Warper]";

mes "Sorry but this PvP Arena is full, maybe you could try another one.";

close;

L_No:

close;

}

//mapflag

pvp_y_1-2 mapflag nowarp

pvp_y_1-2 mapflag noreturn

pvp_y_1-2 mapflag noteleport

pvp_y_1-2 mapflag nomemo

pvp_y_1-2 mapflag nowarpto

force_1-1 mapflag nowarp

force_1-1 mapflag noreturn

force_1-1 mapflag noteleport

force_1-1 mapflag nomemo

force_1-1 mapflag nowarpto

force_2-2 mapflag nowarp

force_2-2 mapflag noreturn

force_2-2 mapflag noteleport

force_2-2 mapflag nomemo

force_2-2 mapflag nowarpto

Edited by iamsoap
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  67
  • Reputation:   2
  • Joined:  03/01/12
  • Last Seen:  

I'll try this.Thank you!

It's still not working.

Edited by iamsoap
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  67
  • Reputation:   2
  • Joined:  03/01/12
  • Last Seen:  

Yes,even the attachment. I'll try this again. Thank you,again!

It's still not working, I wonder what else is wrong with the script. :(

EDIT: IT'S NOW WORKING. I RE-COMPILE THE SERVER. Anyway,thank you RMRO!:)

Edited by iamsoap
Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...