PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: WooshMan on 18 December, 2003, 11:15:17

Title: Live Online users html
Post by: WooshMan on 18 December, 2003, 11:15:17
Hi,

I have looked and searched throught the threads for a lua which will create a html file with current live users.

My scripting is crap and very limited at the moment so wondered if anyone could help me out, not even write it (although would be nice).

This is what I have:

1 Main hub and 2 backups.

I could try to write a script which creates a live user list every minute and write it to a txt file and use cgi to put on web page.  The cgi part is easy.

But I would like to do it for the other 2 hubs also.  This means i need a html file on the other remoter servers as cgi cannot easily call a remote file from a remote web server.

Please can someone tell me if a lua script already exists to create a html file with live current users?

If not, can someone please help me out.

Many thanks in advance

WooshMan
landofkaraoke.ath.cx
Title:
Post by: plop on 18 December, 2003, 16:04:07
thats a yes and a no.
it does excist for 1 hub (2 or more shouldn't be 2 hard 2 add), but it's not public yet.
i'm my rare spare time i'm working on this.
my a.i. bot is generating txt files witch i use 2 build the website on apache.
for this i'm not using any of the known langauages, instead i'm using lua for this also (lhtml).
it basicly works the same as the bot in the hub, just now i'm using the lua code 2 insert the stats into the html template.
but it all is a long way from finished and most is going by trail and error as i can't find any good docs about lhtml.
so i have no idea when it's gone be finished.
here is a sneak preview.

(http://www.thegoldenangel.org/images/lua/webstats.jpg)

plop
Title:
Post by: WooshMan on 18 December, 2003, 19:46:31
Hi,

Ok with that in mind, which is good news, is it possible if I could become a bete tester for your AI please?

At the same time I will try to work on the HTML to get the live user list.

Cheers

WooshMan
landofkaraoke.ath.cx