alkhaleej Posted January 12, 2014 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 58 Reputation: 5 Joined: 09/21/12 Last Seen: January 16, 2014 Share Posted January 12, 2014 Please help. I want to save a character's item data on sql using script. I searched and found this: http://rathena.org/board/topic/76537-save-character-data/ but is not specific to what I would like to happen. The reason I want this is to check a card and delete it on its actual location the same time the script will check for it. Can *getinventorylist; do this job? I've read about this inside trunk/doc/script_commands.txt Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted January 12, 2014 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted January 12, 2014 (edited) let me guess ... you are trying to write an utility script which search for all characters with a certain mvp card ID if the player has the mvp card ID, the gm can then proceed to remove the card I know how to tackle this its better to separate your search with online characters and offline characters in online characters, use addrid and getinventorylist in offline characters, use query_sql then there's no need the hassle to update the table which might overwrite the value wrongly when the server do an interval character update EDIT: I just recall when I worked on a server ... that admin used @ban character temporary when he suspect that player is cheating then @unban when its done this trick might work too ... lol Edited January 12, 2014 by AnnieRuru 1 Quote Link to comment Share on other sites More sharing options...
alkhaleej Posted January 12, 2014 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 58 Reputation: 5 Joined: 09/21/12 Last Seen: January 16, 2014 Author Share Posted January 12, 2014 let me guess ... you are trying to write an utility script which search for all characters with a certain mvp card ID if the player has the mvp card ID, the gm can then proceed to remove the card You've guessed it right Annie. I'll try *getinventorylist; instead. Thank you for the reply. Quote Link to comment Share on other sites More sharing options...
Question
alkhaleej
Please help. I want to save a character's item data on sql using script. I searched and found this:
http://rathena.org/board/topic/76537-save-character-data/
but is not specific to what I would like to happen.
The reason I want this is to check a card and delete it on its actual location the same time the script will check for it.
Can
do this job? I've read about this inside
trunk/doc/script_commands.txt
Link to comment
Share on other sites
2 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.