Jump to content
  • 0

how to block @load, @warp, @go and @die in pvp?


busterdemon

Question


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  93
  • Reputation:   1
  • Joined:  06/01/12
  • Last Seen:  

All in title.. help

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • -1

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  93
  • Reputation:   1
  • Joined:  06/01/12
  • Last Seen:  

You can also block warp and go by : https://rathena.svn....flag/nowarp.txt and @load by: https://rathena.svn....ag/noreturn.txt

Is this a script that I install just like a normal script or do I add this in some kind of document?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  297
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

can do src mod, but can do function with sql too, that when a player warps to pvp map, change the group id of the player to a group that has no command privilege, then when player moves out of the map, return him to the group with ur typical available @cmds.

about the src, find in src\map\atcommand.c the functions of load, warp, go and die and put there a checker if player state is on pvp, when they use the command, return -1;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  93
  • Reputation:   1
  • Joined:  06/01/12
  • Last Seen:  

I dont realy understand can you be more specific please?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

mapname    mapflag    nocommand

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  297
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

mapname	mapflag	nocommand

WIN. sorry i didn't know about this earlier.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

You can also block warp and go by : https://rathena.svn....flag/nowarp.txt and @load by: https://rathena.svn....ag/noreturn.txt

Edited by Mysterious
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  414
  • Reputation:   102
  • Joined:  11/13/11
  • Last Seen:  

Look for those files inside the conf/mapflag/nowarp.txt and noreturn.txt

Just add your map in there and follow the format of course...

Like

guild_vs3<tab>mapflag<tab>nowarp

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

You can also block warp and go by : https://rathena.svn....flag/nowarp.txt and @load by: https://rathena.svn....ag/noreturn.txt

Is this a script that I install just like a normal script or do I add this in some kind of document?

No, not a NPC script, just add your map to the desired mapflag. Example:

Look for those files inside the conf/mapflag/nowarp.txt and noreturn.txt

Just add your map in there and follow the format of course...

Like

guild_vs3<tab>mapflag<tab>nowarp

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  93
  • Reputation:   1
  • Joined:  06/01/12
  • Last Seen:  

Thanks

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