Jump to content
  • 0

How can i do this in phpmyadmin


Dvrstle

Question


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  361
  • Reputation:   10
  • Joined:  12/30/11
  • Last Seen:  

I want to wipe out TAO GUNKA CARD in my server. . . as well as those tao gunka cards that were already compounded in their armors. . thank you in advance =)

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  227
  • Reputation:   11
  • Joined:  11/16/11
  • Last Seen:  

tao gunka card item id: 4302

Execute the following query in your database

card0 is the first slot of the item

DELETE FROM `inventory` WHERE nameid=4302
UPDATE `inventory` SET card0=0 WHERE card0=4302
DELETE FROM `storage` WHERE nameid=4302
UPDATE `storage` SET card0=0 WHERE card0=4302
DELETE FROM `cart_inventory` WHERE nameid=4302
UPDATE `cart_inventory` SET card0=0 WHERE card0=4302

Edited by RaGERO
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  361
  • Reputation:   10
  • Joined:  12/30/11
  • Last Seen:  

and how about wiping thanatos card too . . . and replacing them with 12 pods per thanatos card =)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  227
  • Reputation:   11
  • Joined:  11/16/11
  • Last Seen:  

just edit the update query and set the amount to whatever value you want.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  361
  • Reputation:   10
  • Joined:  12/30/11
  • Last Seen:  

but how about the compounded one?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  119
  • Reputation:   19
  • Joined:  11/14/11
  • Last Seen:  

Removing it completely, you remove the item from your item_db and mob_db. This way they cannot be obtained and does not exist in the game.

DELETE FROM `ragnarok`.`item_db` WHERE `id`='4302';
DELETE FROM `ragnarok`.`item_db` WHERE `id`='4399';
UPDATE `ragnarok`.`mob_db` SET `DropCardid`=0, `DropCardper`=0 WHERE `ID`='1583';
UPDATE `ragnarok`.`mob_db` SET `DropCardid`=0, `DropCardper`=0 WHERE `ID`='1708';

I'm afraid I don't know how to remove compounds or replace cards with an item. Another option would be to turn the cards into "vouchers" or "dummies" and have players exchange them for the "pods". With doing that, you can make it so the monster does not drop the card, and then just edit the card script so it has no effect, like so:

UPDATE `ragnarok`.`item_db` SET `name_english`='Tao_Gunka_Card_Voucher', `name_japanese`='Tao Gunka Card Voucher', `script`='' WHERE `id`='4302';
UPDATE `ragnarok`.`item_db` SET `name_english`='Thanatos_Card_Voucher', `name_japanese`='Thanatos Card Voucher', `script`='' WHERE `id`='4399';

Then make sure to edit idnum2itemdesctable.txt, num2itemdesctable.txt, num2itemdisplaynametable.txt, and idnum2itemdisplaynametable.txt so players are aware that the card does not have any effect.

#
4302#
This card no longer has any effect. Exchange it at the voucher NPC for items.
Class :^777777 Card^000000
Compound on :^777777 Armor^000000
Weight :^777777 1^000000

#
4399#
This card no longer has any effect. Exchange it at the voucher NPC for items.
Class :^777777 Card^000000
Compound on :^777777 Weapon^000000
Weight :^777777 1^000000

4302#Tao_Gunka_Card_Voucher#

4399#Thanatos_Card_Voucher#

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

Hi vlatag12,

You could do it with an in-game script... just make it run during login of character; this way you can provide the 12 pods to people with compounded cards, otherwise, I don't think there's a way you could really provide 12 pods for a compounded thanatos card via MySQL Query.

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