Jump to content
  • 0

R>PVP that restrict MVP card..


Checkmate

Question


  • Group:  Members
  • Topic Count:  96
  • Topics Per Day:  0.02
  • Content Count:  554
  • Reputation:   14
  • Joined:  09/24/12
  • Last Seen:  

Hi alll...
I was wondering if there any script or maybe some variable that can be merge with pvp script(any pvp script) that can detect mvp card either in equipment,iventory or slotting in weapon or armor that can restrict player from join into spesific pvp map..??

Any ideas..?? Can share it... Thx all.. /gawi  /gawi  /gawi  /rice

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  342
  • Reputation:   170
  • Joined:  02/25/12
  • Last Seen:  

You can simply restrict the mvp card to pvp maps, using the item_noequip.txt db (use zone 2 to restrict items in pvp maps)

It will automatically unequipped item coumpounded with mvp cards.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.01
  • Content Count:  227
  • Reputation:   6
  • Joined:  01/18/12
  • Last Seen:  

Use this script from Emistry

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

The configuration is in the download link :D

Tried and  Tested it and it works 100%

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  96
  • Topics Per Day:  0.02
  • Content Count:  554
  • Reputation:   14
  • Joined:  09/24/12
  • Last Seen:  

Ermmm... Thx a lot guys... But if..
Example... They slot some doppelganger card into knife and willing to bring it into pvp maps,does this script can detect those card even it was been slotting....??

 

Edited*
 

NexusXVI

Thx for your idea sir...
​But i already tried...
Im just restrict doppleganger card in mace player from entering pvp map... yes it happen.. player been recall back into thier save point...
But...
If the player was unequip those they can entering back those map pvp again.. lol.. They just bypass the script.. =="
Any idea?..?


Im just wondering about what 

Alayne

said...

 

 

// 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
// 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
//
// 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)

The red line... If some player can bypass this... how about if i make all mvp card was no effect @ all on pvp map?..?
How's that sound?..?

Edtied More*



No... it cant be used since the map were restrict to all map pvp... If i want to restrict on certain pvp mpa.. it cant be done.. /sigh
Still thinking.... @.@

Edited by CheckMate
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.01
  • Content Count:  227
  • Reputation:   6
  • Joined:  01/18/12
  • Last Seen:  

Ermmm... Thx a lot guys... But if..

Example... They slot some doppelganger card into knife and willing to bring it into pvp maps,does this script can detect those card even it was been slotting....??

 

Edited*

 

NexusXVI

Thx for your idea sir...

​But i already tried...

Im just restrict doppleganger card in mace player from entering pvp map... yes it happen.. player been recall back into thier save point...

But...

If the player was unequip those they can entering back those map pvp again.. lol.. They just bypass the script.. =="

Any idea?..?

Im just wondering about what 

Alayne

said...

 

 

// 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
// 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
//
// 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)

The red line... If some player can bypass this... how about if i make all mvp card was no effect @ all on pvp map?..?

How's that sound?..?

Edtied More*

No... it cant be used since the map were restrict to all map pvp... If i want to restrict on certain pvp mpa.. it cant be done.. /sigh

Still thinking.... @.@

Tested it on my server , If you unequip it but still the said item (Doppelganger) Is in the inventory, he/she will be warped back,

If they put it inside the storage then go to pvp and get the item they will be warped backed

Edit the time check delay for instant detection :

OnInit:
// GM Level to Bypass
.gm_level = 99;
// Check Every X Seconds
.check_delay = 5; << EDIT THIS!

Other options since you are just banning an item on the pvp would be to use the item_noequip.txt , you can find it either in db\pre-re(re) :

IF you want to add more restrictions follow this :

<Card ID>,<Flag#>

<Card ID>,<Flag#>

Flag #  2 + 4 = 6 Meaning that the said item will be restricted on PVP and GVG maps

// Legend for 'Flag' field (bitmask):
// 1    - restricted in normal maps
// 2    - restricted in PVP
// 4    - restricted in GVG
// 8    - restricted in Battlegrounds
// PVP
//----------------------------------------------------------------------------
14529,2	//Greed_Scroll
4142,2//Doppelganger_Card << Add this

Hope this Helps

Edited by NexusXVI
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  96
  • Topics Per Day:  0.02
  • Content Count:  554
  • Reputation:   14
  • Joined:  09/24/12
  • Last Seen:  

 

Tested it on my server , If you unequip it but still the said item (Doppelganger) Is in the inventory, he/she will be warped back,

If they put it inside the storage then go to pvp and get the item they will be warped backed

Edit the time check delay for instant detection :

OnInit:

// GM Level to Bypass

.gm_level = 99;

// Check Every X Seconds

.check_delay = 5; << EDIT THIS!

Other options since you are just banning an item on the pvp would be to use the item_noequip.txt , you can find it either in db\pre-re(re) :

IF you want to add more restrictions follow this :

<Card ID>,<Flag#>

<Card ID>,<Flag#>

Flag #  2 + 4 = 6 Meaning that the said item will be restricted on PVP and GVG maps

// Legend for 'Flag' field (bitmask):

// 1 - restricted in normal maps

// 2 - restricted in PVP

// 4 - restricted in GVG

// 8 - restricted in Battlegrounds// PVP

//----------------------------------------------------------------------------

14529,2    //Greed_Scroll

4142,2//Doppelganger_Card << Add this

Hope this Helps

I will try those method sir... Thank you.. I will report back if something goes wrong k..  ^ ^

 

 

 

Tested it on my server , If you unequip it but still the said item (Doppelganger) Is in the inventory, he/she will be warped back,

If they put it inside the storage then go to pvp and get the item they will be warped backed

 

o.O... I think maybe i just misconfiguratiin that script... I will try double check it back.. Thx again sir...

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