Jump to content
  • 0

disable yggdrasil leaf in training ground (go15)


Chasewalk

Question


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.02
  • Content Count:  94
  • Reputation:   0
  • Joined:  10/17/20
  • Last Seen:  

Hi, how to disabled yggdrasil leaf in @go 15 it only on a certain map traing ground thanks

Link to comment
Share on other sites

16 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.15
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

17 minutes ago, Chasewalk said:

Hi, how to disabled yggdrasil leaf in @go 15 it only on a certain map traing ground thanks

https://github.com/rathena/rathena/blob/master/db/re/item_noequip.txt

Edited by chadness
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.02
  • Content Count:  94
  • Reputation:   0
  • Joined:  10/17/20
  • Last Seen:  

thanks it's that the only map in training ground to disable yggdrasil leaf?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.15
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

16 minutes ago, Chasewalk said:

thanks it's that the only map in training ground to disable yggdrasil leaf?

i think if you disable it in the normal maps it will be disable to all normal maps not only in training ground
base on the script

 

// Forbidden Items Database
  // Defines restrictions on equipment, items, and cards in map types and zones.
  //
  // Structure of Database:
  // ItemID,Flag
  //
  // Legend for 'Flag' field (bitmask):
  // 1 - restricted in normal maps
  // 2 - restricted in PVP
  // 4 - restricted in GVG
  // 8 - restricted in Battlegrounds
  // 16 - restricted in WOE:TE castles
  // Restricted zones - configured by 'restricted <number>' mapflag
  // 32 - restricted in zone 1
  // 64 - restricted in zone 2
  // 128 - restricted in zone 3
  // 256 - restricted in zone 4
  // 512 - restricted in zone 5
  // 1024 - restricted in zone 6
  // 2048 - restricted in zone 7
  // 4096 - restricted in zone 8
  //
  // Passing negative value as flag will unset the flag instead.
  //
  // Examples:
  // 1201,1 // Knife can't be worn on normal maps
  // 608,4 // Yggdrasil Seed can't be consumed in both GvG and WoE Castles
  // 4174,6 // Deviling Card has no effect in every PVP or GVG map, and during WoE
  // 501,32 // Red Potion can't be consumed on maps marked as 'restricted zone 1'
  // 519,322 // Milk can't be consumed in PVP and maps marked as 'restricted zone 2' or 'restricted zone 4' (256+64+2)
  // 519,-2 // Unset `restricted in PVP` flag from Milk. Making it usable in PVP again.
Edited by chadness
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.02
  • Content Count:  94
  • Reputation:   0
  • Joined:  10/17/20
  • Last Seen:  

I have two open maps with pvp on training ground and pvproom maps. when i put 1 - restricted in normal maps unaffected pvproom map?

Edited by Chasewalk
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.15
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

2 minutes ago, Chasewalk said:

I have two open maps with pvp on training ground and pvproom maps. when i put 1 - restricted in normal maps unaffected pvproom map?

in that case you need to separate it

//----------------------------------------------------------------------------
// Normal maps
//----------------------------------------------------------------------------
610,1        // Yggdrasil Leaf

//----------------------------------------------------------------------------
//PVP 
//----------------------------------------------------------------------------
610,2       // Yggdrasil Leaf

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.02
  • Content Count:  94
  • Reputation:   0
  • Joined:  10/17/20
  • Last Seen:  

thank you i will try 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.15
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

goodluck

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.02
  • Content Count:  94
  • Reputation:   0
  • Joined:  10/17/20
  • Last Seen:  

sorry late respawn does not work, I should only ban yggdrasil leaf on two maps training ground and pvprooms, almost all maps i can't resurrection

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.02
  • Content Count:  94
  • Reputation:   0
  • Joined:  10/17/20
  • Last Seen:  

anyone?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

You can try this


https://rathena.org/board/files/file/2505-limited-items/

 

Edited by Poring King
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.02
  • Content Count:  94
  • Reputation:   0
  • Joined:  10/17/20
  • Last Seen:  

thanks  Poring King but I like the ones they can't even use yggdrasil leaf on the map without kicking or teleport on map

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

13 minutes ago, Chasewalk said:

thanks  Poring King but I like the ones they can't even use yggdrasil leaf on the map without kicking or teleport on map

Use mapflag to Teleport .. im lazy today to make a simple script most of my script now is not tested im using rAthena by phone

The item that similar to your request is Bloody Branch remember there is a lot of bloody branch trend that want a restriction of use when the player on a specific map

Edited by Poring King
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.15
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

2 hours ago, Chasewalk said:

sorry late respawn does not work, I should only ban yggdrasil leaf on two maps training ground and pvprooms, almost all maps i can't resurrection

yah because 1 is normal maps

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.02
  • Content Count:  94
  • Reputation:   0
  • Joined:  10/17/20
  • Last Seen:  

1 hour ago, Poring King said:

Use mapflag to Teleport .. im lazy today to make a simple script most of my script now is not tested im using rAthena by phone

The item that similar to your request is Bloody Branch remember there is a lot of bloody branch trend that want a restriction of use when the player on a specific map

i have script of item disable on map it's that correct?

....{ if (compare(strcharinfo(3), "pvproom") || compare(strcharinfo(3), "new_1-1")) { delitem 610,1; ....{ itemskill "ALL_RESURRECTION",1;""; } else { dispbottom "This item cannot be used within this area.

 

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

Give it a try

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.02
  • Content Count:  94
  • Reputation:   0
  • Joined:  10/17/20
  • Last Seen:  

47 minutes ago, Poring King said:

Give it a try

thank you

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