DanialFX Posted March 4, 2014 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 43 Reputation: 0 Joined: 02/10/14 Last Seen: March 25, 2020 Share Posted March 4, 2014 For example. I want to replace item id 8888 with 4444 for all players item Quote Link to comment Share on other sites More sharing options...
sandbox Posted March 4, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: Friday at 12:25 PM Share Posted March 4, 2014 If you mean via phpmyadmin.. UPDATE `inventory` SET `nameid`=4444 WHERE `nameid`=8888; UPDATE `cart_inventory` SET `nameid`=4444 WHERE `nameid`=8888; UPDATE `storage` SET `nameid`=4444 WHERE `nameid`=8888; UPDATE `guild_storage` SET `nameid`=4444 WHERE `nameid`=8888; If you want it via npc script, just add enclose them in query_sql()' Make sure your server is turned off.. And you have a backup. 1 Quote Link to comment Share on other sites More sharing options...
DanialFX Posted March 4, 2014 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 43 Reputation: 0 Joined: 02/10/14 Last Seen: March 25, 2020 Author Share Posted March 4, 2014 (edited) Thanks. How about to change the items that player is equiped? UPDATE `inventory` SET `equip`=4444 WHERE `equip`=8888; is it true? Edited March 4, 2014 by DanialFX Quote Link to comment Share on other sites More sharing options...
sandbox Posted March 4, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: Friday at 12:25 PM Share Posted March 4, 2014 It should work the same even if its equipped, 'equip' column contains the equipment slot, not the item id Quote Link to comment Share on other sites More sharing options...
Question
DanialFX
For example. I want to replace item id 8888 with 4444 for all players item
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.