Jump to content
  • 0

Important question


Unknown

Question


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  109
  • Reputation:   1
  • Joined:  09/07/12
  • Last Seen:  

I'm not sure if it's the right section...

Is it possible to create a script that makes a specific area of a map flagged as a pvp zone where players can battle each other?
It's like a mapflag that works for just a portion of a map.

It's really important, please help!

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1131
  • Joined:  05/27/12
  • Last Seen:  

It's not. We discussed whether or not to implement this many months back, but decided against it. (I wonder if @Lighta started working on it, though...)

Link to comment
Share on other sites


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

It's not. We discussed whether or not to implement this many months back, but decided against it. (I wonder if @Lighta started working on it, though...)

even if not going to implement this, at least release it in source release section ...

http://rathena.org/board/topic/90942-request-custom-setcell-like-cell-basilica/?p=238140

http://rathena.org/board/topic/89732-is-possible-pvp-specific-area/?p=237238

the different between mine and his is ..

mine able to pk in certain cell without pvp flag on

his disable player pk in certain cell with pvp flag on ...

but we both still couldn't make it to work like in the video

need to mess around with clif file ... I still don't have enough knowledge to mess around with sending packets

Edited by AnnieRuru
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  109
  • Reputation:   1
  • Joined:  09/07/12
  • Last Seen:  

Uhm, is this of any help?
 

if( !(flag&BCT_ENEMY && target->type == BL_PC && ( target->x >= 14 && target->x <= 105 && target->y >= 150 && target->y <= 191 ) || src->type == BL_MOB )) )

return 0;

Link to comment
Share on other sites


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

which map ?

you still need a check like sd->bl.m or sd->mapindex ...

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