Page 1 of 1

[Info]Player Online

Posted: Fri Aug 28, 2009 3:52 pm
by Mage
Hi boys,

i see in data base that when a player is online the colum "Online" in table "characters" is set to 1.

But, i tried to modify other character that isn't online, and i setted Online to 1, but the player didn't spawn in game.

Is it possible to spawn a player in game only setting online to 1?

Thankz for the answers

Re: [Info]Player Online

Posted: Fri Aug 28, 2009 4:56 pm
by devo
loled :D

no its not possible, that just character status, why you want to spawn ppl in game ;O

Re: [Info]Player Online

Posted: Sat Aug 29, 2009 1:06 am
by LiquidIce
I think he might be doing this because a couple reasons that may come to mind.
1: He has a website with a php script that detects players online.
--To solve 1, you should have a php script similar to this

Code: Select all

$online="SELECT count(*) FROM characters WHERE online = '1'";
In order to make "fake online players", change the code to this:

Code: Select all

 $online="SELECT count(*)[color=red]*2[/color] FROM characters WHERE online = '1'"; 
Where the *2 is the multiplication of current players online by 2, you can also change this to + - / and whichever number you want.

2: He wants to get that character online to trade something or appear that you are using his char.
-- Simple way, learn his account name, make yourself another account, like "gmcharacters" or whatever you want, and in the Characters table, where "account_name" change it to the second account you made yourself. That way you can access his char without any kind of interruptions.
But always remember to have his real account name written down just in case you want to restore it!