Jump to content
  • 0

PvP only on certain cell


Feefty

Question


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  175
  • Reputation:   14
  • Joined:  11/21/11
  • Last Seen:  

can anyone help me? i want to make a pvp on a certain cell.

Thanks.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

http://www.eathena.ws/board/index.php?showtopic=274486

so do a setcell .. cell_basilica ... so players cannot hit each other on that cell, effectively make other players can pvp only on certain cells

I assumed you already know how to write an event script if you are asking this question ...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  175
  • Reputation:   14
  • Joined:  11/21/11
  • Last Seen:  

http://www.eathena.w...howtopic=274486

so do a setcell .. cell_basilica ... so players cannot hit each other on that cell, effectively make other players can pvp only on certain cells

I assumed you already know how to write an event script if you are asking this question ...

yes, i was looking for cell_pk source for ages and does it work in latest rathena?

Thanks!

edit:

tried it and not working.

and im not sure if this line is a typo


  • //find this

  • else if(( sd->duel_group && !((!battle_config.duel_allow_pvp && map[m].flag.p

  • //use this to replace

  • else if(( sd->duel_group && !((!battle_config.duel_allow_pvp && map[m].flag.pvp) ||(!battle_config.duel_allow_gvg && map_flag_gvg(m))))||( cell_pk_check(t_bl, s_bl, m) == true ))

Edited by Feefty
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  96
  • Reputation:   1
  • Joined:  03/07/12
  • Last Seen:  

this work?

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