Click here for a list of Commands and id's! ------------------ Latest update: Back to updating! - POST! ------------------ :Library Announcement: +Click the SHOW button under what category you want and it will show it!
Easier way to find your tool/npc/command/ETC -
+You can do CLT+F and type in what your looking for, example.
' im looking for sera, ill do CLT+F and type in "sera" and it will take you to places where it says "sera".
+Or you can also use the search button, and type it there. ------------------ Library (Find releases, fixes, guides & more)
------------------ OdinMS Source Library OdinMS Clean rev 988 Download ------------------ Click the SHOW button under what category you want and it will show it! ------------------ :MySQL Commands:
Spoiler:
:Table Of Contents:
1. Logged in fix/glitch 2. Adding/Setting Nx 3. Setting all shop prices 4. Removing an item sold in all shops 5. Setting an account as a GM 6. Removing a ban 7. Adding guild points to a guild 8. Removing skills from ALL players (in case of buggy) 9. Deleting chars 10. Setting a chars stats 11. Manual ban (account only) 12. Fixing inventory glitch (0 of an item) 13. Reg and Ranking Fix 14. Wedding Drops 15. Char wipe 16. Inventory wipe 17. Adding mesos to EVERYONES storage 18. Negative exp fix 19. Negative meso fix. 20. Added/Subtracting slots in storages. 21. Spirits and Scales drops 22. Setting price of one item to X 23. Setting price of a whole shop to X. 24. Deleting a item from droping from all monsters 25. Negative mesos in storage 26. Hp/Mp bug 27. Removal of pet equips
Logged in fix/glitch:
Code:
Update accounts set loggedin = 0
Added/Setting nx:
Code:
To ADD: update accounts set nxcash = nxcash + [amount] To SET: update accounts set nxcash = [amount]
Setting all shop prices:
Code:
update shopitems set price = [amount]
Removing an item sold in all shops
Code:
DELETE FROM shopitems WHERE itemid = [id]
Setting an account as a GM:
Code:
update accounts where accountid = [id you want to be gm] set gm = 1 and update characters where name = '[name]' set gm = 1
Removing a ban: This will unban ONLY an account, the ip and MAC will still be banned.
Code:
update accounts where accountid = [id] set banned = 0
Adding guild points to a guild:
Code:
update guilds where guildid = [id] set GP = [amount]
Removing skills from ALL players (in case of buggy)
Code:
delete from skills where skillid = [id of skill to delete]
Deleting chars:
Code:
delete from characters where name = '[name]'
Setting a chars stats: Can do with hp/mp/maxhp/maxmp
Code:
update characters where name = '[name]' set [stat (str, int, luk, dex)] = [amount]
Manual ban:
Code:
update accounts where accountid = [id] set banned = 1
Fixing inventory glitch (0 of items in inv) This will make it so stars arent deleted.
Code:
First: update inventoryitems SET quantity = 1 where itemid = 2070006 and 2070005 and 2070016 and 2070004 and 2070007 Then delete from inventoryitems where quantity = 0
For reg and rankings problems execute these 3 codes:
Code:
ALTER TABLE `accounts` MODIFY COLUMN `macs` TINYTEXT NULL DEFAULT NULL; ALTER TABLE `characters` ADD `rebirth` INTEGER UNSIGNED NOT NULL DEFAULT 0 ALTER TABLE `accounts` MODIFY COLUMN `banreason` TEXT NULL DEFAULT NULL;
Wedding Drops:
Code:
INSERT INTO monsterdrops (`monsterid`, `itemid`, `chance`) VALUES (9300098, 2020020,2000); INSERT INTO monsterdrops (`monsterid`, `itemid`, `chance`) VALUES (9300098, 5251003,2000); INSERT INTO monsterdrops (`monsterid`, `itemid`, `chance`) VALUES (93000*** 5251003,2000); INSERT INTO monsterdrops (`monsterid`, `itemid`, `chance`) VALUES (93000*** 2020020,2000);
Char wipe This will wipe all chars except ones with GM set to 1, good for beta wipe, ect.
Code:
delete from characters where gm = 0
Inventory Wipe Should clear your whole `inventoryitems` table, good for beta wipe, ect.
Code:
delete from inventoryitems where inventorytype = -1; delete from inventoryitems where inventorytype = 0; delete from inventoryitems where inventorytype = 1; delete from inventoryitems where inventorytype = 2; delete from inventoryitems where inventorytype = 3; delete from inventoryitems where inventorytype = 4; delete from inventoryitems where inventorytype = 5;
Adding mesos to everyones storage
Code:
UPDATE storages SET meso = meso + [amount]
Negative exp fix
Code:
UPDATE characters SET exp = 0 WHERE exp < 0
Negative Meso Fix
Code:
UPDATE storages SET meso = 0 WHERE meso < 0
Adding/Subtracting slots in storage accounts Meaning you can have more then 16 items in your storage
Code:
For EVERYONE: update storages set slots = [amount] For a SINGLE person: update storages where accountid = [id] set slots = [amount]
Spirits and Scales Drops This will make it so you can get the items for the lvl 110 weapons quest.
Location: I'M NOT SURE... WHERE DO I LIVE? I'M NOT SURE... WHERE DO I LIVE? I'M NOT SURE... WHERE DO I LIVE? I'M NOT SURE... WHERE DO I LIVE? I'M NOT SURE... WHERE DO I LIVE? I'M NOT SURE... WHERE DO I LIVE? I'M NOT SURE... WHERE DO I LIVE?
Location: I'M NOT SURE... WHERE DO I LIVE? I'M NOT SURE... WHERE DO I LIVE? I'M NOT SURE... WHERE DO I LIVE? I'M NOT SURE... WHERE DO I LIVE? I'M NOT SURE... WHERE DO I LIVE? I'M NOT SURE... WHERE DO I LIVE? I'M NOT SURE... WHERE DO I LIVE?
Location: I'M NOT SURE... WHERE DO I LIVE? I'M NOT SURE... WHERE DO I LIVE? I'M NOT SURE... WHERE DO I LIVE? I'M NOT SURE... WHERE DO I LIVE? I'M NOT SURE... WHERE DO I LIVE? I'M NOT SURE... WHERE DO I LIVE? I'M NOT SURE... WHERE DO I LIVE?
Location: I'M NOT SURE... WHERE DO I LIVE? I'M NOT SURE... WHERE DO I LIVE? I'M NOT SURE... WHERE DO I LIVE? I'M NOT SURE... WHERE DO I LIVE? I'M NOT SURE... WHERE DO I LIVE? I'M NOT SURE... WHERE DO I LIVE? I'M NOT SURE... WHERE DO I LIVE?
Location: I'M NOT SURE... WHERE DO I LIVE? I'M NOT SURE... WHERE DO I LIVE? I'M NOT SURE... WHERE DO I LIVE? I'M NOT SURE... WHERE DO I LIVE? I'M NOT SURE... WHERE DO I LIVE? I'M NOT SURE... WHERE DO I LIVE? I'M NOT SURE... WHERE DO I LIVE?