Jump to content

Delete items all players?


Recommended Posts

Hi, I'm Developing a small system and i need all users to delete items, I am using several functions but none do what I want Because the server cache does not allow me to delete items to all users, anyone knows how Could do something like? what I need is that the server is restarted, and remove a specific item to all players regardless of where the item is (deleting from SQL tables)

 

PD: Sorry me bad english

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

a quest to remove item when he logs like metin2team posted above or turn of sv go player table and make a query to change that item vnum in item table into a potion one for example

 

for sql :

UPDATE `item` SET `vnum`='xxxx' WHERE (`vnum`='yyyyy')

 

login quest:

 

when login begin

pc.removeitem("xxxxxx", 200)

end

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.