Jump to content
  • 0

How to set certain map pk


lexaeus

Question


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.01
  • Content Count:  65
  • Reputation:   0
  • Joined:  03/03/17
  • Last Seen:  

Hi Guys,

Just a noob question, How Am I going to set a certain map pk. I already set pk_mode to 2 and 1. Only happens it deactivates the PVP counter on the bottom right part of my screen.

// PK Server Mode.  Turns entire server pvp(excluding towns). Experience loss is doubled if killed by another player.
// When players hunt monsters over 20 levels higher, they will receive 15% additional exp., and 25% chance of receiving more items. 
// There is a nopvp.txt for setting up maps not to have pk on in this mode.  Novices cannot be attacked and cannot attack.
// Normal pvp counter and rank display are disabled as well.
// Note: If pk_mode is set to 2 instead of 1 (yes), players will receive a 
//   manner penalty of 5 each time they kill another player (see manner_system 
//   config to adjust how this will affect players)
pk_mode: 1

// Manner/karma system configuration. Specifies how does negative manner
// (red no chat bubble) affects players (add as needed):
//  0: No penalties.
//  1: Disables chatting (includes whispers, party/guild msgs, etc)
//  2: Disables skill usage
//  4: Disables commands usage
//  8: Disables item usage/picking/dropping
// 16: Disables room creation (chatrooms and vending shops)
manner_system: 0

// For PK Server Mode. Change this to define the minimum level players can start PK-ing
pk_min_level: 55

// For PK Server Mode. It specifies the maximum level difference between
// players to let them attack each other. 0 disables said limit.
pk_level_range: 0

 

Regards,

Link to comment
Share on other sites

14 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

you can set any map as a pvp map using mapflags

example

pvp_y_1-2	mapflag	pvp

 

 

 

https://github.com/rathena/rathena/blob/master/doc/mapflags.txt

 

  • Upvote 2
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.01
  • Content Count:  65
  • Reputation:   0
  • Joined:  03/03/17
  • Last Seen:  

30 minutes ago, Cyro said:

you can set any map as a pvp map using mapflags

example


pvp_y_1-2	mapflag	pvp

 

 

 

https://github.com/rathena/rathena/blob/master/doc/mapflags.txt

 

Thank you Cyro, where exactly should I put that command. Sorry for being too noob :( for example I want to set my PK map at new_1-1

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

new_1-1	mapflag	pvp

just load this as normal script 

or add line in npc/mapflag/pvp.txt

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  740
  • Reputation:   47
  • Joined:  03/12/14
  • Last Seen:  

2 minutes ago, lexaeus said:

Thank you Cyro, where exactly should I put that command. Sorry for being too noob :( for example I want to set my PK map at new_1-1

npc/mapflag/pvp.txt

new_1-1	mapflag	pvp
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.01
  • Content Count:  65
  • Reputation:   0
  • Joined:  03/03/17
  • Last Seen:  

Hi seems like it is still not working. I already re-compile it.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  740
  • Reputation:   47
  • Joined:  03/12/14
  • Last Seen:  

Just now, lexaeus said:

Hi seems like it is still not working. I already re-compile it.

you dont need to re compile it just restart your server or @reloadscript

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.01
  • Content Count:  65
  • Reputation:   0
  • Joined:  03/03/17
  • Last Seen:  

still nothing happens :(

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

11 minutes ago, lexaeus said:

Hi seems like it is still not working. I already re-compile it.

Recheck the line you added, also place tab instead of spaces 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.01
  • Content Count:  65
  • Reputation:   0
  • Joined:  03/03/17
  • Last Seen:  

31 minutes ago, Cyro said:

Recheck the line you added, also place tab instead of spaces 

Hi I managed to make my new_1-1 pkable however fields are also pkable. should I switch off pk mode?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

Just now, lexaeus said:

Hi I managed to make my new_1-1 pkable however fields are also pkable. should I switch off pk mode?

yes , you may :)

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  50
  • Topics Per Day:  0.02
  • Content Count:  763
  • Reputation:   227
  • Joined:  02/11/17
  • Last Seen:  

3 minutes ago, lexaeus said:

Hi I managed to make my new_1-1 pkable however fields are also pkable. should I switch off pk mode?

If you activate the pk all dungeons and fields will be on PK :))
if you just want specific maps you should turn it off and apply the pvp mapflags to the specific maps :))

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.01
  • Content Count:  65
  • Reputation:   0
  • Joined:  03/03/17
  • Last Seen:  

Finally, Thank you Cyro and crazyarashi

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  505
  • Reputation:   126
  • Joined:  04/04/16
  • Last Seen:  

1 hour ago, lexaeus said:

Only happens it deactivates the PVP counter on the bottom right part of my screen.

If you want PK mode server to enable the "PvP Counter" or ranking calculation
Apply this diff PKMODE_withCalcRank.diff

to disable the "PvP Counter" or ranking calculation, add pvp_nocalcrank mapflag on the maps.

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.01
  • Content Count:  65
  • Reputation:   0
  • Joined:  03/03/17
  • Last Seen:  

Thank you @Technoken

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