Giu's Simple RASP Stats

This is the place where you can find everything related to the dedicated server, control scripts and community tools.

Moderators: Pit Crew, TM-Patrol

giu
sunday driver
sunday driver
Posts: 68
Joined: 30 Apr 2007 09:38
Owned TM-games: tm?
Contact:

Giu's Simple RASP Stats

Post by giu » 19 Jul 2007 15:23

Thanks to all the statistic page developers out there! :)

But what i really wanted was a simple script that shows the RASP TOP 10 (now it is Top25) of my server on my website.

I still do not know anything about php mysql and programming so i just slammed together what i found in this forum, other bboards and the whole internet.

And here it is: Giu's Simple RASP Stats

Have a quick look at it here: http://alemba.us.to

Download a copy here: http://alemba.us.to/download/gsrs.zip
(the downloadable version is "more white" but you may edit the html stuff to your needs of course)

Instructions:
- download the zip file and unzip it to your desired location on your webspace
- edit index.php and change all values to match your aseco database connection
- you may want to edit the png's in the folder grafix to match your site and place'em into the gsrs root folder

Go to http://yourwebsite.com/gsrs/index.php and see if it's working.

I have tested this with this configuration only(!!!):
- TM Nations
- TmDedicatedServer_2006-05-30
- jfreu 0.13d (test)
- ASECO 0.61b
- RASP 1.5
- PHP Version 4.3.10
- mySQL Version 4.1.10a

No warranties on nothing since i do not know anything about what i've done here.

Big thanks to all TM developers for the snippets of code i found in your work and to [oorf]-f...fish to make this happen!

Enjoy!

User avatar
soehest
happy cruiser
happy cruiser
Posts: 161
Joined: 07 Jun 2007 13:52
Owned TM-games: TMU
Contact:

Re: Giu's Simple RASP Stats

Post by soehest » 19 Jul 2007 18:16

giu wrote:Thanks to all the statistic page developers out there! :)

But what i really wanted was a simple script that shows the RASP TOP 10 (now it is Top25) of my server on my website.

I still do not know anything about php mysql and programming so i just slammed together what i found in this forum, other bboards and the whole internet.

Enjoy!
Thank you. Even though you think that you lack programming skills script is working great here. Nice and simple, showing what we are looking for: The RASP stats :-)

Some differences with you configuration if anyone might be interested:
- PHP 5.2.2
- mySQL 5.0.44
- Not using jfreu

Regards

User avatar
XXX.MAX
smooth traffic navigator
smooth traffic navigator
Posts: 191
Joined: 26 Jun 2006 12:23
Owned TM-games: TMS, TMN, TMU, TMH
Manialink(s): xxx
Location: WALES
Contact:

Post by XXX.MAX » 19 Jul 2007 18:23

Very nice mate. Up and running and modded :)
Handy for players to check on in-server competition ranking now without having to load up game.

Good job.


Edit: What would also be handy would be a stat page for the maps on server, maybe showing top time and player per map, and most importantly the karma for each map. wink wink :wink:
Image
XXX Team Site: http://WALESXXX.awardspace.com
Stats site only on when I remember to fire it up

giu
sunday driver
sunday driver
Posts: 68
Joined: 30 Apr 2007 09:38
Owned TM-games: tm?
Contact:

Post by giu » 19 Jul 2007 19:38

Well thanks, i'm glad you like it.

I am not sure about the track/karma thing, since - on my server at least - there are about 400 tracks in the database, but only about 200 in the matchsettings. And i do not know how to exclude the tracks not being used. Oh well, i might be thinking about that as soon as my php book arrives. ;)

If you keep using the script, could you pls send me links to it? Reason is that i am not very happy with my page's colour and i am looking for some inspiration... :idea:

User avatar
XXX.MAX
smooth traffic navigator
smooth traffic navigator
Posts: 191
Joined: 26 Jun 2006 12:23
Owned TM-games: TMS, TMN, TMU, TMH
Manialink(s): xxx
Location: WALES
Contact:

Post by XXX.MAX » 19 Jul 2007 20:48

Sure, i'll pm u the link as i dont want too many hits on webserver.

Tho I do like your colour scheme and header
Also had to copy and rename a few of the flags as some players seem to have different country definitions

eg GBR.gif and United Kingdom.gif

and some finnish players too
It may have come from when i quickly used same DB on TMU once and certain things have become renamed
Image
XXX Team Site: http://WALESXXX.awardspace.com
Stats site only on when I remember to fire it up

tskmoreftp
tricycle manager
tricycle manager
Posts: 26
Joined: 20 Jun 2007 05:43
Owned TM-games: TMN & TMNF
Location: Italy
Contact:

Post by tskmoreftp » 20 Jul 2007 05:30

Ciao GIU..il link diretto al download non funziona.
Puoi rimediare? al limite puoi mandarmelo per email? moreftp1@interfree.it
Grazie

giu
sunday driver
sunday driver
Posts: 68
Joined: 30 Apr 2007 09:38
Owned TM-games: tm?
Contact:

Post by giu » 20 Jul 2007 07:57

the link is working (but right, it wasn't for a while - my fault)

http://alemba.us.to/download/gsrs.zip

I do not have any trouble with my flags so far !?! Except the unknown flag which is named XXX.gif might need a change... i keep looking for it.

slly
road tourist
road tourist
Posts: 109
Joined: 20 Mar 2007 06:43
Owned TM-games: TMO, TMN, TMU
Location: detroit, mi
Contact:

Post by slly » 20 Jul 2007 12:07

cool stuff!

also works with:
ubuntu linux, kernel 2.6
php 5.1.6
mysql 5.0.24a

giu
sunday driver
sunday driver
Posts: 68
Joined: 30 Apr 2007 09:38
Owned TM-games: tm?
Contact:

Post by giu » 20 Jul 2007 12:18

Found Albania Flag is missing

get it here

http://alemba.us.to/flags/ALB.gif

and save it to your flags folder...

User avatar
f*ckfish
Pit Crew
Pit Crew
Posts: 1302
Joined: 15 Jun 2007 07:59
Owned TM-games: TMNF, TMUF
Location: Dresden, Germany
Contact:

Re: Giu's Simple RASP Stats

Post by f*ckfish » 21 Jul 2007 15:47

giu wrote:Big thanks to all TM developers for the snippets of code i found in your work and to [oorf]-f...fish to make this happen!
Enjoy!
Woohoo, probs to the fish =)
Thanks lady ;-)
I'll find a fix for your ranklimit problem, promised...

bye,
Fish
btw. I really like the Alemba design, simple, but stylish, nice colors, makes me wish we had such a skilled designer in our team...
inactive, sorry

giu
sunday driver
sunday driver
Posts: 68
Joined: 30 Apr 2007 09:38
Owned TM-games: tm?
Contact:

Post by giu » 21 Jul 2007 19:46

wish we had such a skilled designer in our team...
Well i guess i will never ever join a team, but if you need anything designed... you have my mail-adress! ;)

User avatar
SmashingDeluXe
sunday driver
sunday driver
Posts: 58
Joined: 04 Dec 2007 20:38
Owned TM-games: All
Manialink(s): NO
Location: Germany
Contact:

Re: Giu's Simple RASP Stats

Post by SmashingDeluXe » 04 Dec 2007 20:42

Hey Giu,
where i can download your rasp stats? the link on the button is broken.
Can you create a new one? or send me the file to my email
yoga_@hotmail.de

best regards

M3
Intel Core Duo Quad Q6600 4x 2.4 Ghz / Gainward NVidia GeForce 8800 GT 1024MB / 4GigRAM DDR2 1066Mhz
Gigabyte P35-DS3P / Win7 Ultimate

JOIN OUR SERVER!
Tech&Mini.ne
http://www.tm-creative.org

giu
sunday driver
sunday driver
Posts: 68
Joined: 30 Apr 2007 09:38
Owned TM-games: tm?
Contact:

Re: Giu's Simple RASP Stats

Post by giu » 11 Dec 2007 12:25

Well sorry, with updating my server i accidently erased the downloads as well^^

But the above download link should be working again by now.

Since i had to create a new downloadable version of my little rasp stats script, it looks a bit different (no graphics except them flags). But i am sure you will be able to tweak the script to match your website's design easier this way^^

looks like this:
http://alemba.us.to/test/stats.php

downloads here:
http://alemba.us.to/download/gsrs.zip

Enjoy!
Image

rompnisse
highway camper
highway camper
Posts: 1
Joined: 30 Jan 2007 01:23

Re: Giu's Simple RASP Stats

Post by rompnisse » 16 Dec 2007 20:20

Thx, was wondering where the script went.
Image

User avatar
SmashingDeluXe
sunday driver
sunday driver
Posts: 58
Joined: 04 Dec 2007 20:38
Owned TM-games: All
Manialink(s): NO
Location: Germany
Contact:

Re: Giu's Simple RASP Stats

Post by SmashingDeluXe » 07 Mar 2008 10:53

Hi,

the download link is again not available :D :D

I need it one more times=)
Intel Core Duo Quad Q6600 4x 2.4 Ghz / Gainward NVidia GeForce 8800 GT 1024MB / 4GigRAM DDR2 1066Mhz
Gigabyte P35-DS3P / Win7 Ultimate

JOIN OUR SERVER!
Tech&Mini.ne
http://www.tm-creative.org

Post Reply