oczkusia Posted January 24, 2009 Posted January 24, 2009 Kind of donation manager, when I see the payment arrived I want to give the item to the player, regardless if he is online or not. Can you help?
0 ThrillSeeker Posted January 24, 2009 Posted January 24, 2009 Hello! You can give the items to the player you want by your database, open navicat (open your database) then go to the "items" table and add it! I hope i helped you, if not feel free to ask me! A ss here: EDIT:I aggree with "Rin4a" there will be a problem the the "object_id" :-\ :-\
0 Rin4a Posted January 24, 2009 Posted January 24, 2009 actually that won't help much, because there will be problems with object_id... you must set the column object_id to be auto increment and then you can run a query...
0 RammS Posted January 24, 2009 Posted January 24, 2009 canu show us how to make a query plz .. can make a little guide.. it would be very great.. thnx
0 oczkusia Posted January 25, 2009 Author Posted January 25, 2009 Actually, what I found out, the object_id numbers aren't just increasing. There are gaps between them, so there must be some more complicated algorithm to calculate it. Maybe I could create my own table in database, showing who owns how many donation points, and then setup a new NPC who will give the items when a character from the list talks to him? I don't know what is easier, but I'll be gratefull for some share.
0 ThrillSeeker Posted January 25, 2009 Posted January 25, 2009 Well Oczkusia, you can create "donation coins" and a "donation manager" (npc) who will need coins to give some donation items! I think its a good idea.
0 oczkusia Posted January 25, 2009 Author Posted January 25, 2009 Yeah that I have done, the point is, giving COINS to players who donated.
0 oczkusia Posted January 25, 2009 Author Posted January 25, 2009 No. I need a way to give DONATION COINS to players. Step by step: I check my bank account, see there was a payment for char "player102", I log into the game, see this player is offline, and now what I need is to put donation coins in his inventory so when he logs in he will see them there and will be able to talk to NPC and spend them. I only need help with the part I colored.
Question
oczkusia
Kind of donation manager, when I see the payment arrived I want to give the item to the player, regardless if he is online or not. Can you help?
8 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now