Jump to content
  • 0
Sign in to follow this  
keough

How to reload map zone?

Question

Before you can reloadskilldb and reloaditemdb for restricted items and some skills but now i do not know how to reload map_zone_db.txt

 

anyone knows how? or just restart server? is there any solution on how to block certain usable items and card  in-game while the server is running?

 

Thank you for those who help!

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Don't think you can reload the zones, as that all gets initialized when the server starts.

And yes you can block certain items/cards, but will they be for the whole server? or just certain maps/events? specifics help :P

Share this post


Link to post
Share on other sites
  • 0

Don't think you can reload the zones, as that all gets initialized when the server starts.

 

And yes you can block certain items/cards, but will they be for the whole server? or just certain maps/events? specifics help :P

 

Hello thank you for a reply, i want to disable this items

    disabled_items: {        ID11501: true        ID11502: true	ID12016: true	ID14522: true	ID13549: true	ID251: true	ID5203: true	ID4105: true	ID4141: true	ID4044: true

 

 

on these maps for GvG event 

guild_vs1

guild_vs2

guild_vs3

guild_vs4

guild_vs5

 

i hope there is another way, because other are usable items, maybe the usable item can be autostorage when you enter the map? is that possible?

Share this post


Link to post
Share on other sites
  • 0

Set the mapflags and then load the mapflags with loadevent with OnPCLoadMapEvent: when entering the map.

@@keough


From script_commands.txt
 

OnPCLoadMapEvent: This special label will trigger once a player steps in a map marked with the 'loadevent' mapflag and attach its RID. The fact that this label requires a mapflag for it to work is because, otherwise, it'd be server-wide and trigger every time a player would change maps. Imagine the server load with 1,000 players (oh the pain...)

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.