TSGK Clan Forum Forum Index TSGK Clan Forum
Half-Life 2 : Deathmatch TSGK Clan forum.
 
 CalendarCalendar   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DeezNut$
July 11
mr.Jingles
July 14 1974 (51 year old)
Calendar
Calendar Calendar
Tue 08 Jul 2025 Wed 09 Jul 2025 Thu 10 Jul 2025 Fri 11 Jul 2025 Sat 12 Jul 2025 Sun 13 Jul 2025 Mon 14 Jul 2025
 
 
 
Birthday DeezNut$  
 
 
Birthday mr.Jingles  
The time now is Wed Jul 09, 2025 01:24
All times are UTC + 2 (DST in action)
 Forum index » TSGK General » General Discussion
Realtime stats (0.3.2a)
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [21 Posts]  
Author Message
[FSGN] TheJunkie


Joined: 10 Dec 2006
Posts: 29
Country:

PostPosted: Mon May 14, 2007 00:53    Post subject:  Realtime stats (0.3.2a)  

Hi everyone!

Because i failed to install "hlstatsx" i thought, i will create my own stats!
Rather than hlstatsx i will create a binary for the ranking system and for the realtime server overview i use PHP, HTML and Javascript.

So long, here's v 0.2, the php part : http://firestormgame.net/
I've entered all TSGK Servers and my own (the first Wink)
If you scroll down, you can see all players on each server and their name/kills. Connection time does not works in time, but i will add it =)

It works great in FireFox and Opera, the IE 6.0 do not use a cache function... it rellads the whole site Confused

So, what do you think about it ?

_________________
My FSGN Server : 80.86.82.135

Sry for the bad english xD

Last edited by [FSGN] TheJunkie on Tue May 15, 2007 22:36; edited 1 time in total
Back to top
View user's profile Send private message 
Zog Ecosse


Joined: 17 Apr 2007
Posts: 788
Location: Lerwick Shetland
Country:
Browser:
Age: 73

PostPosted: Mon May 14, 2007 03:40    Post subject: Stays  

Very impressive Laughing Laughing Laughing Laughing Laughing

zog
Back to top
View user's profile Send private message 
underscore_n0rm


Joined: 25 Jan 2007
Posts: 371
Location: Richmond, IN USA
Country:
Browser:
Age: 36

PostPosted: Mon May 14, 2007 04:06    Post subject:  

I am very impressed. My hat is off to you sir.
_________________

_n0rm
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger 
ICQ Number 
[FSGN] TheJunkie


Joined: 10 Dec 2006
Posts: 29
Country:

PostPosted: Mon May 14, 2007 14:45    Post subject:  

Hehe, thanks man Smile

The almost tiring thing was to add all TSGK servers... why the hell so many servers Laughing
And know i will make a better reload process... and the main stats program Smile

P.S.: The icons you can find here : http://www.deviantart.com/deviation/21846342/. Sorry, that i forgot to tell it to you, but the icons aren't my own.. Embarassed Embarassed but i mixed them together by myself and give them their descriptions Smile

_________________
My FSGN Server : 80.86.82.135

Sry for the bad english xD
Back to top
View user's profile Send private message 
[FSGN] TheJunkie


Joined: 10 Dec 2006
Posts: 29
Country:

PostPosted: Tue May 15, 2007 22:36    Post subject:  

So then, i have a new version (0.3.2a) Smile

The main part of the updating process is know taken from a (self written) binary on my server. It updates all 10 secounds the server data and store them into mysql databases.

The website only have to read that information... so its much faster!

Also i have a new Layout and a server count, current time, next update & last update in GMT+1 created.

Related link:http://firestormgame.net
Related link:http://hlstats.freecoder-portal.de

P.S.: The secound domain is on my secound (and much faster/better) server, the first only have an "iframe" of "hlstats.freecoder-portal.de" Wink

Greetz, [FSGN] TheJunkie

[Edit]
Bug nr.1, the pings are incorrect because of a program-intern timer... sry fr this Embarassed

_________________
My FSGN Server : 80.86.82.135

Sry for the bad english xD
Back to top
View user's profile Send private message 
Cynyx


Joined: 13 Aug 2006
Posts: 299
Location: France (Paris)
Country:
Browser:

PostPosted: Wed May 16, 2007 03:21    Post subject:  

Very interresting ...
It seems to be a really damn nice work...
Do u distribute your work in open source later ?

Currently, I pay for 2 servers in HLstatsX because i can't host it myself... that's why a solution with only php could be really really usefull and interrested me.

I know HLstatsX use a lot of brandwith : what's about your solution in future when you implements a stats system ?

Have you a link to follow the advancement of the project or any mailling list ? You seem to be a skilled developper : sourceforge later?

_________________
Visit E=mc˛ Clan Website
Back to top
View user's profile Send private message Visit poster's website 
[FSGN] TheJunkie


Joined: 10 Dec 2006
Posts: 29
Country:

PostPosted: Wed May 16, 2007 18:54    Post subject:  

Thanks man =)

Yes, the PHP part will be opensource!

Because today was a very boring working day, i had a lto of time to think about that. And now i have two variants of the program in my head :

a) Normal stats:
There will be a binary that updates the statistics each X secounds for each stored server in its database. To read the stats, "FStats|php" is required.

b) A server-client protokoll
There will be a binary, that updates the statistics each X secounds, and sends it to a main server program, running on my server. Now the server store this in a database, and on a website there will be a global statistic viewer (php).
Just why? Because : Each gameserver (with FStats|client) will send its data to one statistic-server - you don't have the problem to get a better Rank! You can play on more then your servers...

But... i don't know... what do you think about?

Edit : I created a little graphic for version "b"
Edit2 : I will add a forum on my site for discussion over my program =)
fstats_protokoll.png
 Description   
 Filesize   34.7 KB
 Viewed   365 Time(s)

fstats_protokoll.png


_________________
My FSGN Server : 80.86.82.135

Sry for the bad english xD
Back to top
View user's profile Send private message 
Cynyx


Joined: 13 Aug 2006
Posts: 299
Location: France (Paris)
Country:
Browser:

PostPosted: Wed May 16, 2007 20:42    Post subject:  

[FSGN] TheJunkie wrote:

Yes, the PHP part will be opensource!

fine. (even if i'm a J2EE coder lol)

[FSGN] TheJunkie wrote:

Because today was a very boring working day, i had a lto of time to think about that.

as many of us. some working day are so boring... Very Happy

[FSGN] TheJunkie wrote:

a) Normal stats:
There will be a binary that updates the statistics each X secounds for each stored server in its database. To read the stats, "FStats|php" is required.

This standalone version is interresting for me ... I like freedom Wink

[FSGN] TheJunkie wrote:

b) A server-client protokoll
There will be a binary, that updates the statistics each X secounds, and sends it to a main server program, running on my server. Now the server store this in a database, and on a website there will be a global statistic viewer (php).
Just why? Because : Each gameserver (with FStats|client) will send its data to one statistic-server - you don't have the problem to get a better Rank! You can play on more then your servers...

But... i don't know... what do you think about?

It's the principe of HlstatsX ... why not... but think now about the bandwidth needed by your main statistic server. I'm perhaps wrong but i think HlstatsX have many servers to support charge...

[FSGN] TheJunkie wrote:

Edit : I created a little graphic for version "b"

allways better with picture...

[FSGN] TheJunkie wrote:

Edit2 : I will add a forum on my site for discussion over my program =)

I'm really not sure i can help you because my php level is near 0 lol... but i really want to follow your project progressing... and perhaps later if u need beta testers Very Happy... (we are a little clan with 3 little servers perhaps not interresting for testing bandwidth because they are rarely full) ... but i will be happy to feedback you about features (and of course bug Razz ) ...

_________________
Visit E=mc˛ Clan Website
Back to top
View user's profile Send private message Visit poster's website 
[FSGN] TheJunkie


Joined: 10 Dec 2006
Posts: 29
Country:

PostPosted: Wed May 16, 2007 21:20    Post subject:  

Mh i'm sorry, but i've don't know this oO

Then i will program the standalone (*g* easier for me Wink)
@Forum : i thought you mean a discusion forum... or what do you understand in a mailing list/advancent oO

p.s.: shit... my right hand is making trouble oO cut me yesterday with a long sheet metal in myhand...between forefinger and thumb -_-

_________________
My FSGN Server : 80.86.82.135

Sry for the bad english xD
Back to top
View user's profile Send private message 
Cynyx


Joined: 13 Aug 2006
Posts: 299
Location: France (Paris)
Country:
Browser:

PostPosted: Wed May 16, 2007 21:29    Post subject:  

[FSGN] TheJunkie wrote:

Then i will program the standalone (*g* easier for me Wink)

The idea of a "global server" is not bad. Not because i think it's difficult u have not to try !

[FSGN] TheJunkie wrote:

@Forum : i thought you mean a discusion forum... or what do you understand in a mailing list/advancent oO

forum will be cool. mailing too ... easy with a forum in fact...

[FSGN] TheJunkie wrote:

p.s.: shit... my right hand is making trouble oO cut me yesterday with a long sheet metal in myhand...between forefinger and thumb -_-

bad for coding. worst for playing... lol

_________________
Visit E=mc˛ Clan Website
Back to top
View user's profile Send private message Visit poster's website 
[FSGN] TheJunkie


Joined: 10 Dec 2006
Posts: 29
Country:

PostPosted: Wed May 16, 2007 22:24    Post subject:  

Nono, i can hit mymouse and move Wink But not grap heavy-weighted things^.^
Coding..works xD

Ithink, first i will create version (a), then (b) Smile

_________________
My FSGN Server : 80.86.82.135

Sry for the bad english xD
Back to top
View user's profile Send private message 
StonedCabbage
TSGK Member


Joined: 18 Jun 2006
Posts: 2273
Location: Birmingham, United Kingdom
Country:
Browser:
Age: 38

PostPosted: Thu May 17, 2007 01:31    Post subject:  

Cynyx wrote:
[FSGN] TheJunkie wrote:

Then i will program the standalone (*g* easier for me Wink)

The idea of a "global server" is not bad. Not because i think it's difficult u have not to try !


Been done, anyone remember Epacs? That was a whore of a ranking system, got 2 about 200, quite a few servers had it, think its died now. Glad im no longer an 'Epac Whore' Wink Wink

Love da site b.t.w lol, did you add a Launcher to the links of the servers (i.e you click on the link and it launches HL2), because as soon as I clicked it, it took me striaght to DM, weird seen as I wasn't in ma desktop.

_________________

I hope that packet gets lost forever in network oblivion
Back to top
View user's profile Send private message 
[FSGN] TheJunkie


Joined: 10 Dec 2006
Posts: 29
Country:

PostPosted: Thu May 17, 2007 03:07    Post subject:  

Jep, id id Wink
The magic keywords are steam: "-applaunch APP_ID +connect IP:PORT"

There willbealso an"Add to Favorites" Link=)

_________________
My FSGN Server : 80.86.82.135

Sry for the bad english xD
Back to top
View user's profile Send private message 
Cynyx


Joined: 13 Aug 2006
Posts: 299
Location: France (Paris)
Country:
Browser:

PostPosted: Thu May 17, 2007 12:51    Post subject:  

StonedCabbage wrote:
think its died now. Glad im no longer an 'Epac Whore' Wink Wink

me too. I were registered for beta test Epacs. In fact i search allways a good alternative to HLstatsx since the beginning.

_________________
Visit E=mc˛ Clan Website
Back to top
View user's profile Send private message Visit poster's website 
[FSGN] TheJunkie


Joined: 10 Dec 2006
Posts: 29
Country:

PostPosted: Thu May 17, 2007 13:11    Post subject:  

You will get your alternative!

Ipromise that to you Wink Know i work on player statistics... little question, you haveMani installed ? I'm asking me, does HLStatsX use Mani's statistic file Oo

_________________
My FSGN Server : 80.86.82.135

Sry for the bad english xD
Back to top
View user's profile Send private message 
Cynyx


Joined: 13 Aug 2006
Posts: 299
Location: France (Paris)
Country:
Browser:

PostPosted: Thu May 17, 2007 13:57    Post subject:  

Yes. I have mani installed.
Hlstastx doesn't use mani statistic files... but analyse log event file of a server.
Hlstatstx use mani to do some anoncement during the game ("this servers has tracked XXX XXX kills" "Contact admin : blabla@blabla.com"). I think for nothing else.

_________________
Visit E=mc˛ Clan Website
Back to top
View user's profile Send private message Visit poster's website 
[FSGN] TheJunkie


Joined: 10 Dec 2006
Posts: 29
Country:

PostPosted: Thu May 17, 2007 14:16    Post subject:  

Ah, thank you very much =)

Mh... but in time my server is not reachable, because i bought an extra domain and crashed the server... the netweorking file ^^
But ihave a grat support for myserver, i think... they will fix it =)

_________________
My FSGN Server : 80.86.82.135

Sry for the bad english xD
Back to top
View user's profile Send private message 
[FSGN] TheJunkie


Joined: 10 Dec 2006
Posts: 29
Country:

PostPosted: Mon May 21, 2007 16:17    Post subject:  

So, 3,5days... my server is back on line =)

Now i can continue my work... yeha!
So, on http://firestormgame.net you can see a part of the new FSGN Clan site =)

Mfg TheJunkie

_________________
My FSGN Server : 80.86.82.135

Sry for the bad english xD
Back to top
View user's profile Send private message 
Cynyx


Joined: 13 Aug 2006
Posts: 299
Location: France (Paris)
Country:
Browser:

PostPosted: Mon May 21, 2007 16:23    Post subject:  

nice beginning.
_________________
Visit E=mc˛ Clan Website
Back to top
View user's profile Send private message Visit poster's website 
Controllerboy_TSGK
TSGK Member


Joined: 21 Dec 2006
Posts: 1025
Location: Ingelmunster, West of the Flanders, Flanders, Belgium
Country:
Browser:
Age: 34

PostPosted: Mon May 21, 2007 18:35    Post subject:  

indeed. Isn't it 'under construction ' and not 'under progress' ? lol
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger 
ICQ Number 
[FSGN] TheJunkie


Joined: 10 Dec 2006
Posts: 29
Country:

PostPosted: Mon May 21, 2007 23:32    Post subject:  

means "under construction" somthing else like "under progress" ?
(i'm sorry to say but i'm from germany... [i don't like my country] Wink)

mmh. dict.leo.org sys "in progress" oO

p.s.: i've made an update =) now you see, in which section you are and there's a little bit content in the "home" section ^^

Edit : why i'm programming so long on such a little site-content? Because it has an own programmed template system like the "phpBB forum software" =)

_________________
My FSGN Server : 80.86.82.135

Sry for the bad english xD
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [21 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » TSGK General » General Discussion
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
You cannot post calendar events in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1314s ][ Queries: 12 (0.0111s) ][ Debug on ]