[XAsecoTM²] Website Stats v1.0

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

Moderators: Xymph, TM-Patrol

scg-flighthigh
smooth traffic navigator
smooth traffic navigator
Posts: 199
Joined: 05 May 2009 15:52
Owned TM-games: TM2

Re: [XAsecoTM²] Website Stats v1.0

Post by scg-flighthigh » 20 Mar 2012 15:34

scg-flighthigh wrote:Hello W1lla

Today i want too make the Stats for our Server.

The Page with the Playerbanners are complett empty
http://supporter-6.no-ip.org/doh/websta ... box&plid=1

I read the readme.txt

Code: Select all

NOTE:
Player stats banners still do not work unless you have access to the NADEO Stats Database.
But i dont understood what that mean. Can you explain this for me.
Hello W1lla

The last Serverbanner is OK. Thanks there for. But the Playerbanners are emty now. I know that the Playerbanners under TMUF are only works if i have a Databaseentry from Nadeo. Is this her for TM2 the same? And where i can get this datas and where i must they fill in?

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: [XAsecoTM²] Website Stats v1.0

Post by Ant » 20 Mar 2012 21:04

In the main config, there is this section:

Code: Select all

$username[$i] = ''; // MPWS username
$password[$i] = ''; //MPWS password
From the readme - MPWS stands for ManiaPlanet WebServices

So if you get this info and use it, it should be fine. I've been testing this script for the tm2 version on and off for a while now and I have nothing entered in tmfdatafetcher.config.php but the player banners and server banners still display fine - I do have info entered in the above mentioned config fields though.

scg-flighthigh
smooth traffic navigator
smooth traffic navigator
Posts: 199
Joined: 05 May 2009 15:52
Owned TM-games: TM2

Re: [XAsecoTM²] Website Stats v1.0

Post by scg-flighthigh » 23 Mar 2012 06:08

I have this Account for the Webservice and put it in this two rows.

Code: Select all

$username[$i] = 'flighthigh|doh-canyon'; // MPWS username
$password[$i] = 'Thisismypw'; //MPWS password
But there comes no Playerstats.

So i make a second Account but this is not work too.

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: [XAsecoTM²] Website Stats v1.0

Post by Ant » 23 Mar 2012 21:47

@scg-flighthigh:
As far as I know, it should work with this info because it works at my end. Maybe there is some other problem in your setup? i don't know - try turning on error reporting and see if theres another problem. Other than that i'm not too sure so hopefully w1lla can help.

Also, did you read this?
w1lla wrote:
The other issue can be fixed here:
Get access to the API
The first thing you need to work with the Maniaplanet Web Services is the credentials (username/password). You can Manage those credentials on the Maniaplanet Player Page:

http://player.maniaplanet.com/
Connect with your Maniaplanet account and go to "Web Services" to manage your credentials. It should be pretty straightforward.

Once you have created an API user, you can test that it works by calling a service that require authentication. This is the case for retrieving public player information. For example, try to go to the following URL with your browser, and when asked for the username/password enter your newly created API crendentials:

https://ws.maniaplanet.com/players/gouxim/index.txt
@W1lla:
There doesn't seem to be a version 1.0b available for download as it says there is in your start post - what happened to that?
It also still needs this fix - viewtopic.php?f=127&t=29435#p202055

User avatar
w1lla
TM-Patrol
TM-Patrol
Posts: 1466
Joined: 23 May 2007 07:20
Owned TM-games: TMU, TMN, TMF
Manialink(s): intr
Location: Venray

Re: [XAsecoTM²] Website Stats v1.0

Post by w1lla » 24 Mar 2012 11:01

There is a new update on the first page of this topic: viewtopic.php?f=127&t=29435

Code: Select all

tmnforever is nations and united makes it special. tmnforever has united. I need united!

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: [XAsecoTM²] Website Stats v1.0

Post by Ant » 25 Mar 2012 00:37

Nice one, heres an updated banner for the server stats too:

serverstats.png
Image

scg-flighthigh
smooth traffic navigator
smooth traffic navigator
Posts: 199
Joined: 05 May 2009 15:52
Owned TM-games: TM2

Re: [XAsecoTM²] Website Stats v1.0

Post by scg-flighthigh » 28 Mar 2012 16:57

Hello W1lla

i have some PM conversation with Ant but i cant found the mistake.

I have the Webservice Account tested and it works. But if i put the data into the configfile i cant display any Playerbanner.

All other sides of the Webstats are works.

Have you any idea what i can do?

User avatar
w1lla
TM-Patrol
TM-Patrol
Posts: 1466
Joined: 23 May 2007 07:20
Owned TM-games: TMU, TMN, TMF
Manialink(s): intr
Location: Venray

Re: [XAsecoTM²] Website Stats v1.0

Post by w1lla » 29 Mar 2012 08:51

scg-flighthigh wrote:Hello W1lla

i have some PM conversation with Ant but i cant found the mistake.

I have the Webservice Account tested and it works. But if i put the data into the configfile i cant display any Playerbanner.

All other sides of the Webstats are works.

Have you any idea what i can do?
Could you provide me those pm conversations in a pm message.

With kind regards,

w1lla.

Code: Select all

tmnforever is nations and united makes it special. tmnforever has united. I need united!

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: [XAsecoTM²] Website Stats v1.0

Post by Ant » 12 Apr 2012 11:12

I noticed as well that some translations aren't included with this so clicking to change the language will show some fields blank.

User avatar
Leigham
happy cruiser
happy cruiser
Posts: 139
Joined: 26 Mar 2011 01:04
Owned TM-games: TMUF, TMNF, TM²
Manialink(s): None

Re: [XAsecoTM²] Website Stats v1.0

Post by Leigham » 25 Oct 2012 15:26

Any chance someone can send me the .zip for this? Or a working download link.

EDIT: Found it :) If anyone else is looking for it it's now at: http://leigham.co.uk/xaseco-stats_1.0b.zip
"Never surrender, sometimes retreat"

Image

Scottish Flat Trax servers

User avatar
Nitrous
pedestrian
pedestrian
Posts: 10
Joined: 01 Sep 2010 12:13
Owned TM-games: TMU, TMUF,TM²-Stadiu
Location: Greece
Contact:

Re: [XAsecoTM²] Website Stats v1.0

Post by Nitrous » 07 Apr 2013 07:02

Leigham wrote:Any chance someone can send me the .zip for this? Or a working download link.

EDIT: Found it :) If anyone else is looking for it it's now at: http://leigham.co.uk/xaseco-stats_1.0b.zip
You need to fix your css mate.
Because of your team colors some tracks are unreadable. (unless highlighted)

Back to the issues... what happens if the server is remotely hosted?
I guess i'm on the hard way ...
ReadMe File wrote: The easiest way is to put the stats on the same server where your TM-Server and your MySQL
database are running!
Proud member of
Image
Life is a test where none can cheat.
Image
Image
Image

Post Reply