Jump to content
  • 0

[Request/Help] PVP Warper Not Working( A Simple One )


Pancake

Question


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  49
  • Reputation:   17
  • Joined:  02/06/12
  • Last Seen:  


prontera,152,188,3 script PVP 997,{
warp "pvp-n_1-5",0,0;
}

pvp-n_1-5    mapflag    nowarp
pvp-n_1-5    mapflag    noteleport
pvp-n_1-5    mapflag    noreturn
pvp-n_1-5    mapflag    pvp

OnInit:
waitingroom "Users ["+getmapusers("pvp-n_1-5",0,0")+"]",0;
end;

Thats my little boring script

[Error]: npc_parsesrcfile: Unknown syntax in file 'npc/custom/pvp.txt', line '5'. Stopping...
* w1=pvp-n_1-5    mapflag    nowarp
* w2=
* w3=
* w4=

This is the error I get.

[Error]: buildin_warp: moving player 'Korea' to "pvp-n_1-5",0,0 failed.
[Debug]: Source (NPC): PVP at prontera (152,188)
[Debug]: mapindex_name2id: Map "pvp-n_1-5" not found i

Thats another error I get whenever someone tries to use the NPC.

Edited by Pancake
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  83
  • Reputation:   57
  • Joined:  01/21/12
  • Last Seen:  

Try this one:

prontera,152,188,3 script PVP 997,{
warp "pvp-n_1-5",0,0;
end;
OnInit:
waitingroom "Users ["+getmapusers("pvp-n_1-5",0,0")+"]",0;
end;
}
pvp-n_1-5	mapflag	nowarp
pvp-n_1-5	mapflag	noteleport
pvp-n_1-5	mapflag	noreturn
pvp-n_1-5	mapflag	pvp

----------------

[Error]: buildin_warp: moving player 'Korea' to "pvp-n_1-5",0,0 failed.
[Debug]: Source (NPC): PVP at prontera (152,188)
[Debug]: mapindex_name2id: Map "pvp-n_1-5" not found i

Because pvp-n_1-5 do not have in your map_index.

Edited by Gennosuke Kouga
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  49
  • Reputation:   17
  • Joined:  02/06/12
  • Last Seen:  

I got it working!

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