Jump to content
  • 0

War Event Watcher Request


Emonizer08

Question


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.01
  • Content Count:  45
  • Reputation:   2
  • Joined:  07/28/14
  • Last Seen:  

hi guys i want to request a script of war watcher i found one but its a lot of bugs on it i think, because after you entered the map other player see your mute balloon, and if the spectator near you it causing cell block for the player.

 

PROBLEM OF THE SCRIPT DOWN BELOW:

1. After you Entered Every One See your Mute Balloon

2.Cell Block if spectator is on the same cell of the player

3. After you Recon Mute and hide is still on, even though it has a Exit NPc but i want is after you spectate mute and hide will be remove.

 

Edited by Emonizer08
wrong question
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

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

usually people go for setoption Option_xmas and Option_Invisible
well, if you are using Hercules, pcblock script great too

and for cell stacking, can just change the value here in battle config
battle/misc.conf

// Determines max number of characters that can stack within a single cell. 
// Official - Only affects the walking routines of characters, including monsters.
// If a unit stops walking and is on a cell with more than stack limit
// characters on it, it will walk to the closest free cell.
// Set to 0 for no cell stacking checks and free movement.
// Custom - This variation will make every full cell to be considered a wall.
// NOTE: For the custom setting to take effect you have to use a server compiled
// with Cell Stack Limit support (see src/map/map.h)
official_cell_stack_limit: 5

and probably a noinvitation mapflag to block friend invitation abuse

 

and also add pcblockskill in this script

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.01
  • Content Count:  45
  • Reputation:   2
  • Joined:  07/28/14
  • Last Seen:  

not working in latest rathena. the .patch its different.

 

like this one

it doesnt exist if you search in unit.c

diff --git a/src/map/unit.c b/src/map/unit.c
index a29605f..3472ab3 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -1850,7 +1850,7 @@ int unit_attack(struct block_list *src,int target_id,int continuous)
             npc_click(sd,(TBL_NPC*)target); // Submitted by leinsirk10 [Celest]
             return 0;
         }
-        if( pc_is90overweight(sd) || pc_isridingwug(sd) ) { // Overweight or mounted on warg - stop attacking  <------- Cant search in unit.c im using latest rathena.
+        if( pc_is90overweight(sd) || pc_isridingwug(sd) || sd->state.blockedattack ) { // Overweight or mounted on warg OR pcblockattack - stop attacking
             unit_stop_attack(src);
             return 0;
         }

also

 orig

    if ( sd->state.blockedattack )
        return false;

  .patch

if ( sd->state.blockedattack )
       return 0;

 


 

 

Edited by Emonizer08
wrong
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...