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
[Info]Player Online
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 277
- Joined: Fri Apr 17, 2009 2:29 pm
[Info]Player Online
Forum rules: Please do not use or alter the official L2J Avatars/Signatures/Names for your personal use.
- devo
- Posts: 798
- Joined: Mon Jun 15, 2009 1:19 pm
Re: [Info]Player Online
loled 
no its not possible, that just character status, why you want to spawn ppl in game ;O

no its not possible, that just character status, why you want to spawn ppl in game ;O
A hero of war is that what they see...
- LiquidIce
- Posts: 90
- Joined: Wed Oct 18, 2006 4:17 pm
- Location: Spain
Re: [Info]Player Online
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
In order to make "fake online players", change the code to this:
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!
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'";
Code: Select all
$online="SELECT count(*)[color=red]*2[/color] FROM characters WHERE online = '1'";
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!
When the rich wage war, its the poor who die.