How can I get my webpage/account creation page to show the online players?
I know it is possible.
I have had my stats file dump into my wamp folder and tried but it doesnt seem to be working.
+rep for any help, thanks for reading
Cairi,
How can I get my webpage/account creation page to show the online players?
I know it is possible.
I have had my stats file dump into my wamp folder and tried but it doesnt seem to be working.
+rep for any help, thanks for reading
Cairi,
i dont think spora works with ascent no more well it works but online players doesnt but i will have a look for you
Just put a directory link on Ascent-world.conf at Stat Dumper
Eg.
<StatDumper FileName = "C:\xampp\htdocs\stats.xml" Interval = "120000">
Just do this
SELECT * FROM characters WHERE online=1
You could do it through PHP easily, but to get all the info like where the player is level, and everything would be a lot easier with the stat.xml
yeh the spora works fine
if you are using wamp go to you ascent_world.config and scroll down and set it to this
<StatDumper FileName = "c:\wamp\www\stats.xml" Interval = "30000">
I know where to dump it >.< but when I am dumping it, and resatrting the web service, it isnt showing up as players online....
You have to have characters playing and online for it to work.... Unless they logout and you stop ascent, then the stats.xml is not updated and stays the same until server runs again.