(X)Aseco+RASP Website Stats v3.6

Discuss everything about Xymph's Aseco flavoured server control scripts for TM Forever / classic TMN and for TM² Canyon.

Moderators: Xymph, TM-Patrol

User avatar
Ant
TM-Patrol
TM-Patrol
Posts: 1845
Joined: 01 Dec 2007 17:04
Owned TM-games: TMN, TMUF, TM Wii
Location: London, England
Contact:

Re: (X)Aseco+RASP Website Stats v3.2

Post by Ant » 29 Jan 2011 20:23

Ok, it looks like you're using that playerstats.php now - the only thing I can think of at the moment now is, there must be some sort of mistake in your config.php
Last edited by Ant on 29 Jan 2011 20:47, edited 2 times in total.

User avatar
Ant
TM-Patrol
TM-Patrol
Posts: 1845
Joined: 01 Dec 2007 17:04
Owned TM-games: TMN, TMUF, TM Wii
Location: London, England
Contact:

Re: (X)Aseco+RASP Website Stats v3.2

Post by Ant » 29 Jan 2011 20:43

Ok, can you try this, first of all try encoding playerstats.php in ANSI, if that doesn't work, then try UTF-8 without BOM and let me know how you get on.

User avatar
DogDevil
cyclist
cyclist
Posts: 35
Joined: 21 May 2009 21:25
Owned TM-games: TMUF
Location: Switzerland
Contact:

Re: (X)Aseco+RASP Website Stats v3.2

Post by DogDevil » 29 Jan 2011 20:44

OK, here is my config.php:

Code: Select all

<?php
/*************************************************
*                                                *
*   Stats for XAseco + RASP                      *
*   __________________________________________   *
*                                                *
*   Version 3.2                                  *
*   Copyright (c) 2007-2008 by oS.Cypher         *
*   Developed as a Project of Old School Gaming  *
*                                                *
*   http://www.os-gaming.de                      *
*                                                *
*************************************************/

// SERVERS LIST

// Server 1
$i = 0;
$server_name[$i] = 'Coast-Engine 90k by HellBoy';	// Paste your Servername here
$db_host[$i] = "localhost";							// Your database host. most times localhost
$db_name[$i] = "maxels002";							// The Name of the Database
$db_user[$i] = "xxxx";						// The User for your database
$db_pass[$i] = "xxxx";					// The db password for the defined User
$ip2[$i] = "188.40.100.9";							// Here you MUST enter your Gameserver IP Adress
$ip[$i] = "localhost";								// If the script is on the same Server as the Gameserver set "localhost" if not enter your Gameserver IP again!
$port[$i] = 50223;									// The XML_RPC Port of your TMU Server
$server_port[$i] = 23223;							// The GameServer Port to check for On or Offline Status
$user[$i] = "SuperAdmin";							// SuperAdmin Login
$pass[$i] = "xxxx";								// SuperAdmin Password
$stunt[$i] = 0;										// 0 = false; 1 = true;

// Server 2
$i++;
$server_name[$i] = 'ѕшוѕѕяос 100k';
$db_host[$i] = "localhost";
$db_name[$i] = "bernunited008";
$db_user[$i] = "xxxx";
$db_pass[$i] = "xxxx";
$ip2[$i] = "188.40.100.9";
$ip[$i] = "localhost";
$port[$i] = 50100;
$server_port[$i] = 23100;
$user[$i] = "SuperAdmin";
$pass[$i] = "xxxx";
$stunt[$i] = 0;

// Server 3
$i++;
$server_name[$i] = 'HellBoys United';
$db_host[$i] = "localhost";
$db_name[$i] = "unitedhell";
$db_user[$i] = "xxxx";
$db_pass[$i] = "xxxx";
$ip2[$i] = "188.40.100.9";
$ip[$i] = "localhost";
$port[$i] = 50151;
$server_port[$i] = 23151;
$user[$i] = "SuperAdmin";
$pass[$i] = "xxxx";
$stunt[$i] = 0;

// Server 4
$i++;
$server_name[$i] = 'HellBoys Envi-Mix';
$db_host[$i] = "localhost";
$db_name[$i] = "ct";
$db_user[$i] = "xxxx";
$db_pass[$i] = "xxxx";
$ip2[$i] = "188.40.100.9";
$ip[$i] = "localhost";
$port[$i] = 50150;
$server_port[$i] = 23150;
$user[$i] = "SuperAdmin";
$pass[$i] = "xxxx";
$stunt[$i] = 0;

// Server 5
$i++;
$server_name[$i] = 'HellBoys LOL';
$db_host[$i] = "localhost";
$db_name[$i] = "bernunited004";
$db_user[$i] = "xxxx";
$db_pass[$i] = "xxxx";
$ip2[$i] = "188.40.100.9";
$ip[$i] = "localhost";
$port[$i] = 50004;
$server_port[$i] = 23004;
$user[$i] = "SuperAdmin";
$pass[$i] = "xxxx";
$stunt[$i] = 0;

// Server 6
$i++;
$server_name[$i] = 'HellBoys Rally';
$db_host[$i] = "localhost";
$db_name[$i] = "maxels001";
$db_user[$i] = "xxxx";
$db_pass[$i] = "xxxx";
$ip2[$i] = "188.40.100.9";
$ip[$i] = "localhost";
$port[$i] = 50123;
$server_port[$i] = 23123;
$user[$i] = "SuperAdmin";
$pass[$i] = "xxxx";
$stunt[$i] = 0;

// Server 7
$i++;
$server_name[$i] = 'Special-LOL';
$db_host[$i] = "localhost";
$db_name[$i] = "buffti";
$db_user[$i] = "xxxx";
$db_pass[$i] = "xxxx";
$ip2[$i] = "188.40.100.9";
$ip[$i] = "localhost";
$port[$i] = 50667;
$server_port[$i] = 23667;
$user[$i] = "SuperAdmin";
$pass[$i] = "xxxx";
$stunt[$i] = 0;

/*
// Server 2 --- Uncomment or copy/paste this block for listing multiple servers.
$i++;
$server_name[$i] = "";
$db_host[$i] = "localhost";
$db_name[$i] = "";
$db_user[$i] = "";
$db_pass[$i] = "";
$ip2[$i] = "";
$ip[$i] = "127.0.0.1";
$port[$i] = 5000;
$server_port[$i] = 2350;
$user[$i] = "SuperAdmin";
$pass[$i] = "";
$stunt[$i] = 0;
*/


// MISC SETTINGS

$def_language = "GER";						// Default GUI Language (ENG, GER, FRA, NED)
$count = 30;								// Results per Page
$tmx_info = 2;								// 0 = TMX info deactivated; 1 = TMX active with check if TMX is available; 2 = TMX active without check if TMX is available
$show_server_banners = 1;					// 0 = false; 1 = true; Displays a "Stats" link in the footer to the server banners page.
$show_player_banners = 1;					// 0 = false; 1 = true; Player stats banners will not work unless you have access to the NADEO Stats Database (see readme.txt)
$show_php_errors = 1;						// 0 = false; 1 = true; Shows PHP errors and warnings (handy for debugging)


// BASIC STYLES

// Menu Style
$s_menufont= "#FFFFFF";						// Font Color of the main menu text
$sh_menufont= "#FFFFFF";					// Hover font Color of the main menu text
$s_menuback= "#336699";						// Background Colour of the main menu
$s_menubord= "#000000";						// Border Colour of the main menu
$s_menuback2= "#669966";					// Background Colour of the sub menu
$s_menubord2= "#000000";					// Border Colour of the sub menu

// Result table styles
$bg1= "#e4e4e4";							// Cell Background1 from Result Tables
$bg2= "#FFFFFF";							// Cell Background2 from Result Tables
$ttcolour= "#4e4e4e";						// Colour of the Headline for the result tables
$s_tablehead= "#CCCCCC";					// Colour of the result table name row font
$s_tableheadb= "#CCCCCC";					// Colour of the result table name row font (For tables with bigger headline)
$s_celltext= "#000000";						// Font colour of the results
$s_celltextrb= "#000000";					// Font colour of the result tables (bold right 12px)
$s_celltextl= "#000000";					// Font colour of the result tables (normal left 9px)
$sh_celltext= "#000000";					// Hover Font colour of the results
$bg4= "#FFFFFF";							// result table bg colour
$bg3= "#c1e4b1";							// row hover colour on result tables
$resultbg= "#4e4e4e";						// Background of Result Table Titles

// Page styles
$menubg= "#CCCCCC";							// Background of server Stats Submenu
$s_pagetitle= "#000000";					// Colour of the Page title
$pagebg= "#FFFFFF";							// Background colour of the page
$s_footfont= "#FFFFFF";						// Colour of the footer text
$s_footback= "#336699";						// Footer Background Colour
$s_footbord= "#000000";						// Footer Border Colour
$s_error=	"#FF0000";						// Colour for Error messages

?>
Image ;-) Image
Image ;-) Image

User avatar
DogDevil
cyclist
cyclist
Posts: 35
Joined: 21 May 2009 21:25
Owned TM-games: TMUF
Location: Switzerland
Contact:

Re: (X)Aseco+RASP Website Stats v3.2

Post by DogDevil » 29 Jan 2011 20:48

Ant wrote:Ok, can you try this, first of all try encoding playerstats.php in ANSI, if that doesn't work, then try UTF-8 without BOM and let me know how you get on.
Is not working
Image ;-) Image
Image ;-) Image

User avatar
Ant
TM-Patrol
TM-Patrol
Posts: 1845
Joined: 01 Dec 2007 17:04
Owned TM-games: TMN, TMUF, TM Wii
Location: London, England
Contact:

Re: (X)Aseco+RASP Website Stats v3.2

Post by Ant » 29 Jan 2011 20:51

Try the encoding options for all files that you edited, so playerstats.php, serverstats.php, config.php and tmfdatafetcher.config.php

User avatar
DogDevil
cyclist
cyclist
Posts: 35
Joined: 21 May 2009 21:25
Owned TM-games: TMUF
Location: Switzerland
Contact:

Re: (X)Aseco+RASP Website Stats v3.2

Post by DogDevil » 29 Jan 2011 20:55

All files now in UTF-8 without BOM

EDIT: in the config i have an other change:

The Line

Code: Select all

$ip[$i] = "localhost"
is not working but

Code: Select all

$ip[$i] ="127.0.0.1"
its working with serverlist and server online status. but the banners are not working![/b][/color]
Last edited by DogDevil on 29 Jan 2011 20:59, edited 1 time in total.
Image ;-) Image
Image ;-) Image

User avatar
Ant
TM-Patrol
TM-Patrol
Posts: 1845
Joined: 01 Dec 2007 17:04
Owned TM-games: TMN, TMUF, TM Wii
Location: London, England
Contact:

Re: (X)Aseco+RASP Website Stats v3.2

Post by Ant » 29 Jan 2011 20:58

And still not working, can you change them to ANSI as thats what I have mine at and they are fine.

User avatar
DogDevil
cyclist
cyclist
Posts: 35
Joined: 21 May 2009 21:25
Owned TM-games: TMUF
Location: Switzerland
Contact:

Re: (X)Aseco+RASP Website Stats v3.2

Post by DogDevil » 29 Jan 2011 21:01

OK, now its all files encoding ANSI

PS: you read my editet post before?
Image ;-) Image
Image ;-) Image

User avatar
Ant
TM-Patrol
TM-Patrol
Posts: 1845
Joined: 01 Dec 2007 17:04
Owned TM-games: TMN, TMUF, TM Wii
Location: London, England
Contact:

Re: (X)Aseco+RASP Website Stats v3.2

Post by Ant » 29 Jan 2011 21:07

Yeah, I have 127.0.0.1 in mine too - probably should change that in the download. Your server banners seem to work now though, just not the player banners, I can't see any reason why now either.

e.g
Image

User avatar
DogDevil
cyclist
cyclist
Posts: 35
Joined: 21 May 2009 21:25
Owned TM-games: TMUF
Location: Switzerland
Contact:

Re: (X)Aseco+RASP Website Stats v3.2

Post by DogDevil » 29 Jan 2011 21:09

hmmm... but for the playerbanners is mor interests!

EDIT: not all playerbanners ar working, but when he is working, is not korrektli display the playername!
Last edited by DogDevil on 29 Jan 2011 21:13, edited 1 time in total.
Image ;-) Image
Image ;-) Image

User avatar
Ant
TM-Patrol
TM-Patrol
Posts: 1845
Joined: 01 Dec 2007 17:04
Owned TM-games: TMN, TMUF, TM Wii
Location: London, England
Contact:

Re: (X)Aseco+RASP Website Stats v3.2

Post by Ant » 29 Jan 2011 21:12

Strange, some work and some don't - see this page on your stats
http://www.tmuserver.tk/stat/index.php? ... &plid=1710

User avatar
DogDevil
cyclist
cyclist
Posts: 35
Joined: 21 May 2009 21:25
Owned TM-games: TMUF
Location: Switzerland
Contact:

Re: (X)Aseco+RASP Website Stats v3.2

Post by DogDevil » 29 Jan 2011 21:14

yes, this is strange. But see this page: http://www.tmuserver.tk/stat/index.php? ... ox&plid=48
the player name is not correctly displayed!
Image ;-) Image
Image ;-) Image

User avatar
Ant
TM-Patrol
TM-Patrol
Posts: 1845
Joined: 01 Dec 2007 17:04
Owned TM-games: TMN, TMUF, TM Wii
Location: London, England
Contact:

Re: (X)Aseco+RASP Website Stats v3.2

Post by Ant » 29 Jan 2011 21:20

Yeah I saw this, are you stil encoded in ANSI ? try UTF-8 or UTF-8 without BOM again now.

User avatar
DogDevil
cyclist
cyclist
Posts: 35
Joined: 21 May 2009 21:25
Owned TM-games: TMUF
Location: Switzerland
Contact:

Re: (X)Aseco+RASP Website Stats v3.2

Post by DogDevil » 29 Jan 2011 21:22

encoding UTF-8 = The banners are not working
encoding UTF-8 without BOM = Banners are working but not display correctly the playername
Image ;-) Image
Image ;-) Image

User avatar
DogDevil
cyclist
cyclist
Posts: 35
Joined: 21 May 2009 21:25
Owned TM-games: TMUF
Location: Switzerland
Contact:

Re: (X)Aseco+RASP Website Stats v3.2

Post by DogDevil » 29 Jan 2011 21:34

The Server-Banners on "swissroc" are not working!
Image ;-) Image
Image ;-) Image

Post Reply