Jump to content
  • 0

safe zone on a specific pvp map


Brynner

Question


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

how to implement this?using @battleignore command?

for example. if i enter the box. my status is on automatically @battleignore. but when i go out the box. my status will be back to normal.

post-1381-0-18765300-1339966981_thumb.jpg

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  587
  • Reputation:   104
  • Joined:  11/19/11
  • Last Seen:  

I have ever seen similar topic in Ea forums

and use ~AnnieRuru~'s code

battle.c

in function int battle_check_target

find

//Alliance state takes precedence over enemy one.
else if( state&BCT_ENEMY && strip_enemy && state&(BCT_SELF|BCT_PARTY|BCT_GUILD) )
	state&=~BCT_ENEMY;

and add after

if ( map_getcell( src->m, src->x, src->y, CELL_CHKBASILICA ) || map_getcell( target->m, target->x, target->y, CELL_CHKBASILICA ) || map_getcell( s_bl->m, s_bl->x, s_bl->y, CELL_CHKBASILICA ) || map_getcell( t_bl->m, t_bl->x, t_bl->y, CELL_CHKBASILICA ) )
state &= ~BCT_ENEMY;

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  137
  • Reputation:   23
  • Joined:  06/08/12
  • Last Seen:  

use cell_basilica ^^

http://rathena.org/w...etcell#Examples

If you use @battleignore it could be abused outside of this PvP Room! There are a lot ways to bypass an scriptcommand without self influence (Emergency Recall f.e.)

Edited by GM Zimtkeks
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

cell basilica is not working. because monster can attack you there.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  137
  • Reputation:   23
  • Joined:  06/08/12
  • Last Seen:  

since when ôO?

Hm.. I usually thought it keeps you save from Monsters as well :(

Edited by GM Zimtkeks
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

since when ôO?

Hm.. I usually thought it keeps you save from Monsters as well :(

try to cast basilica then try to summon aggressive monster like mvp boss. they still attacking you even your inside the basilica

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