Jump to content

Mapflag Branch


Radian

Recommended Posts


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

Hi rAthena developers ~

 

This is related on the mapflag nobranch why not change it to vice versa?

 

instead of mapflag nobranch change it to mapflag branch which players can spawn or use the bloody/dead branch on a specific map.

 

What i see is it's too many map and it's annoying players keep using bloody branch every where and if you want to disable specific map to use the branch.

 

It take's time, so I suggest that changing it vice versa will very useful..

 

 

setting it like this for my suggestion...

mapname	mapflag	yes_branch

thanks!

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Development Manager
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  732
  • Reputation:   525
  • Joined:  12/13/11
  • Last Seen:  

I think for instances like this, it would be easier for a person to just modify the source quickly. For instance, look how PK is setup.

        if( battle_config.pk_mode )
            map[i].flag.pvp = 1; // make all maps pvp for pk_mode [Valaris]

We force all maps to PvP mode at loading in map::map_flags_init(). If you want to do like what you said where you'd rather allow branches on specific maps only, then I would do this:

        map[i].flag.nobranch = 1; // make all maps unable to use branches

Then in a script:

prontera,1,1,1    script    removenobranch    -1,{
OnInit:
    removemapflag "prontera",mf_nobranch;
    //rest of maps.
}

Have your script remove the mapflags that were set by the server at start and you have yourself a quick "limited" branch allowed area of maps.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

I think for instances like this, it would be easier for a person to just modify the source quickly. For instance, look how PK is setup.

        if( battle_config.pk_mode )
            map[i].flag.pvp = 1; // make all maps pvp for pk_mode [Valaris]

We force all maps to PvP mode at loading in map::map_flags_init(). If you want to do like what you said where you'd rather allow branches on specific maps only, then I would do this:

        map[i].flag.nobranch = 1; // make all maps unable to use branches

Then in a script:

prontera,1,1,1    script    removenobranch    -1,{
OnInit:
    removemapflag "prontera",mf_nobranch;
    //rest of maps.
}

Have your script remove the mapflags that were set by the server at start and you have yourself a quick "limited" branch allowed area of maps.

 

Yea it worked  /lv but this is not possible to apply on the master right?

Link to comment
Share on other sites


  • Group:  Development Manager
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  732
  • Reputation:   525
  • Joined:  12/13/11
  • Last Seen:  

Unless it's hugely requested, but otherwise I don't see too many cases of this type of request. :) Also if it were to get added, it would have to be backwards compatible with older scripts which wouldn't work if we drop 'nobranch' altogether.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

Unless it's hugely requested, but otherwise I don't see too many cases of this type of request. :) Also if it were to get added, it would have to be backwards compatible with older scripts which wouldn't work if we drop 'nobranch' altogether.

 

It's okay.. it's just for me that if you make it as what i said will prevent issues that players will summon mobs in any places xD

 

by the way i'll wait what others want.. thanks again aleos.

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.03
  • Content Count:  2285
  • Reputation:   746
  • Joined:  06/16/12
  • Last Seen:  

hmm, nice idea but I don't think it's needed and beside, if we have 2 mapflag that contrast like that, it'll hard to manage and official actually prefer the restrict method.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

hmm, nice idea but I don't think it's needed and beside, if we have 2 mapflag that contrast like that, it'll hard to manage and official actually prefer the restrict method.

 

I understand xD it pops on my mind this idea and maybe i should at least try to suggest it.. but anyway I understand  /ok

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
Reply to this topic...

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