-
Mr. Kenshin
Re: Determine online character
Thanks, worked. :D
EDIT: Shit, I've always been bad with network stuff.. xD I'll understand how it exactly works eventually.. Thanks for sharing this with me tho :)!
-
Gruntilda
Re: Determine online character
The Kickout command @ OPTool never worked.
At least the one I tried didn't.
-
Mr. Kenshin
Re: Determine online character
I'll see what I can do.. Just opening the project file got me confused.. xD
-
Coeven
Re: Determine online character
i have been working on this long time ago on php, i think theres a db table on new files that says the online characters i was using that table to check if user was online ,if both characters were online trade cant be made untill both characters are off. its a lot of work to finish something like that xD. you can create like a character ID = 0 and edit nOwner on tItems every time someone wants to sell their items, so its easier to check which items are in auction ( i think you can do this while character is logged in, if he wants to move the item says something like "Failed to move item") i think seller can be online but the ones that buy cant D:
-
Gruntilda
Re: Determine online character
The online character table is untrustworthy.
-
-.-
Re: Determine online character
It may be or not, but for first try it's a good place to start.
As for the auction:
* To add an item it's is best that the Character is logged off. If player adds and item, that character will be disconnected from server, no exceptions (You warn before doing it so players get used to it). Getting the "Failed to move" message and not able to use that slot is annoying, also less errors in Services.
* As for buying character must be logged off too, because removing money would cause problems. When you remove money while player is online and he logs off I think it gets money back as the money is overwritten. As for money reciever you add it to auction Account and can claim it when that Character is offline or disconnect it before add. For item you could use reward inventory, should be possible.
-
Valued Member
Re: Determine online character
uhm i thought i could do like let the user deposit money in the auction table and then i subtract/add money in there...so they can purchase stuff while they are online.
I tested the reward bag and its working good (with normal items), just adding CS items to it wont work. They are not useable...using a Mystery Vault or stuff work tho.
-
Re: Determine online character
Makes me want to try doing something like this, even though there's one in-game.
Only space I can think of that may not be effected whether they're online or offline is normal Storage (like Guild Storage), as it requests content each time a user opens it up (including the money stored).
-
Valued Member
Re: Determine online character
Isnt the user able to dupe then? If he's online and open the storage with money in and then put money to auction house the money would be still ingame, same for items. I would need to block the whole account then. :S