mrlongshen 22 Posted June 24, 2016 Hello. I want to request a script that overwrite item price in ragnarok. For example, with this script, all monster card price range of 10k to 20k zeny. Also, for weapon, headgear, accessories can be customize price range for 100k to 200k zeny and for etc item, price are default to original price Quote Share this post Link to post Share on other sites
0 Garr 117 Posted June 25, 2016 1) Just open SDE 2) Open item db 3) Use "[type] 6" as filter 4) Select 1 card, then ctrl+A 5) Edit sell & buy price on the right window (it will edit ALL selected items) 6) Save 7) ... 8) Profit! 1 mrlongshen reacted to this Quote Share this post Link to post Share on other sites
0 bWolfie 138 Posted June 24, 2016 There is a script command stopselling <Item_ID>; Unsure of its use. Quote Share this post Link to post Share on other sites
0 Garr 117 Posted June 24, 2016 *setiteminfo(<item id>,<type>,<value>) This function will set some value of an item. Returns the new value on success, or -1 on fail (item_id not found or invalid type). Valid types are: 0 - Buy Price; 1 - Sell Price; 2 - Item Type; 3 - maxchance (Max drop chance of this item e.g. 1 = 0.01% , etc.. if = 0, then monsters don't drop it at all (rare or a quest item) if = 10000, then this item is sold in NPC shops only 4 - sex; 5 - equip; 6 - weight; 7 - atk; 8 - def; 9 - range; 10 - slot; 11 - look; 12 - elv; 13 - wlv; 14 - view id Example: setiteminfo Stone, 6, 9990; // Stone now weighs 999.0 Quote Share this post Link to post Share on other sites
0 mrlongshen 22 Posted June 24, 2016 *setiteminfo(<item id>,<type>,<value>) This function will set some value of an item. Returns the new value on success, or -1 on fail (item_id not found or invalid type). Valid types are: 0 - Buy Price; 1 - Sell Price; 2 - Item Type; 3 - maxchance (Max drop chance of this item e.g. 1 = 0.01% , etc.. if = 0, then monsters don't drop it at all (rare or a quest item) if = 10000, then this item is sold in NPC shops only 4 - sex; 5 - equip; 6 - weight; 7 - atk; 8 - def; 9 - range; 10 - slot; 11 - look; 12 - elv; 13 - wlv; 14 - view id Example: setiteminfo Stone, 6, 9990; // Stone now weighs 999.0 Auch. This option need to set manual right. How about a thousand of card? Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted June 25, 2016 *setiteminfo(<item id>,<type>,<value>) This function will set some value of an item. Returns the new value on success, or -1 on fail (item_id not found or invalid type). Valid types are: 0 - Buy Price; 1 - Sell Price; 2 - Item Type; 3 - maxchance (Max drop chance of this item e.g. 1 = 0.01% , etc.. if = 0, then monsters don't drop it at all (rare or a quest item) if = 10000, then this item is sold in NPC shops only 4 - sex; 5 - equip; 6 - weight; 7 - atk; 8 - def; 9 - range; 10 - slot; 11 - look; 12 - elv; 13 - wlv; 14 - view id Example: setiteminfo Stone, 6, 9990; // Stone now weighs 999.0 Auch. This option need to set manual right. How about a thousand of card? So I need to put item id one by one. Any different idea that can be used for detect a card type ? Just loop from 4001-4999, all cards are in that range Quote Share this post Link to post Share on other sites
0 mrlongshen 22 Posted June 25, 2016 (edited) *setiteminfo(<item id>,<type>,<value>) This function will set some value of an item. Returns the new value on success, or -1 on fail (item_id not found or invalid type). Valid types are: 0 - Buy Price; 1 - Sell Price; 2 - Item Type; 3 - maxchance (Max drop chance of this item e.g. 1 = 0.01% , etc.. if = 0, then monsters don't drop it at all (rare or a quest item) if = 10000, then this item is sold in NPC shops only 4 - sex; 5 - equip; 6 - weight; 7 - atk; 8 - def; 9 - range; 10 - slot; 11 - look; 12 - elv; 13 - wlv; 14 - view id Example: setiteminfo Stone, 6, 9990; // Stone now weighs 999.0 Auch. This option need to set manual right. How about a thousand of card? So I need to put item id one by one. Any different idea that can be used for detect a card type ? Just loop from 4001-4999, all cards are in that range can you give simple script for example? Edited June 25, 2016 by mrlongshen Quote Share this post Link to post Share on other sites
0 Garr 117 Posted June 25, 2016 I'd say it'd be way faster to change it in the db unless you want to randomize the price once in a while. And if you're using SDE, editing all cards in db directly would be pretty simple. Quote Share this post Link to post Share on other sites
0 mrlongshen 22 Posted June 25, 2016 I'd say it'd be way faster to change it in the db unless you want to randomize the price once in a while. And if you're using SDE, editing all cards in db directly would be pretty simple. It will take a time to edit using Sde. Any other method sir ? Quote Share this post Link to post Share on other sites
0 mrlongshen 22 Posted June 25, 2016 1) Just open SDE 2) Open item db 3) Use "[type] 6" as filter 4) Select 1 card, then ctrl+A 5) Edit sell & buy price on the right window (it will edit ALL selected items) 6) Save 7) ... 8) Profit! Wowo! cools! + 1 for you. thanks for the method Quote Share this post Link to post Share on other sites
Hello.
I want to request a script that overwrite item price in ragnarok.
For example, with this script, all monster card price range of 10k to 20k zeny.
Also, for weapon, headgear, accessories can be customize price range for 100k to 200k zeny and for etc item, price are default to original price
Share this post
Link to post
Share on other sites