Jump to content
  • 0

How to Disable skull?


Syndicate

Question


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  108
  • Reputation:   6
  • Joined:  08/27/12
  • Last Seen:  

How to disable skull in WoE??

cause I implemented skull in my server and its fine.. But in WoE its kinda messy .

I want to disable the SKULL drop in a certain area...

I already put the map in no_loot.txt and still the skull are dropping ..

please help me. Thank you

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  754
  • Reputation:   186
  • Joined:  05/22/12
  • Last Seen:  

check the file trunk/conf/battle/player.conf

bone_drop: 0

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

Untested: find in file src/map/pc.c

replace this line: || (battle_config.bone_drop==1 && map[sd->bl.m].flag.pvp))

with this: || (battle_config.bone_drop==1 && map[sd->bl.m].flag.pvp && !map[sd->bl.m].flag.gvg))

and recompile your server..

I forget is it 'map[sd->bl.m].flag.gvg' or 'map[sd->bl.m].flag.gvg_castle'

(Sorry I think it only in my mind and haven't test it on actual server) /wah

Edited by nanakiwurtz
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

@nana, Why change the source if you can change a config so easily? o_O

// Players' will drop a 'Skull' when killed?
// 0 = Disabled
// 1 = Dropped only in PvP maps
// 2 = Dropped in all situations

Since WoE doesn't use a PvP Mapflag of any sort; it uses a GvG Mapflag based setting. Thus, having it at 1 or Disabled won't make it drop in WoE Maps.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

The problem is I'm not sure whether WoE is considered a PvP too or not, that's why I tried to alter the src file and haven't try the setting 'bone_drop: 1'

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  108
  • Reputation:   6
  • Joined:  08/27/12
  • Last Seen:  

yes problem solved. Thank you guys !!

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