tmn globalstats ingame v1.1

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

Moderators: Pit Crew, TM-Patrol

m&o
happy cruiser
happy cruiser
Posts: 188
Joined: 19 Apr 2007 17:53
Owned TM-games: TMN, TMU, TMF

tmn globalstats ingame v1.1

Post by m&o » 07 Sep 2007 17:43

hello

first of all thanx to
(OoR-F)~**** aka Alexander P.
http://fish.oorf.de

oke now my message after the credits:P

oke I created a plugin that allows u to view globalstats of a user ingame its based on the datafletcher from **** I only made it able to view it in aseco screenie down here I wil also post download link to tmdev but its not uploaded there yet til than u got to do it whit tm forum download

just easy instal extract the file in your tmn plugins folder and add to plugins.xml the line:
<plugin>chat.globalstats.php</plugin>

v1.1
changed begin of datafetcher to <?php
remove stardays when 0
remove teamrank and teamname when no teamname
message when player not exist

v1.0
just everything u see on the screenshot

Image

menno
#Sr*Volucris
Attachments

[The extension zip has been deactivated and can no longer be displayed.]

[The extension zip has been deactivated and can no longer be displayed.]

Last edited by m&o on 11 Sep 2007 18:22, edited 2 times in total.
Image

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:

Re: tmn globalstats ingame

Post by XXX.MAX » 07 Sep 2007 18:29

Nice idea

Gonna try it now :1

Edit: Works perfectly. Good work :D
Last edited by XXX.MAX on 07 Sep 2007 18:49, edited 2 times in total.
Image
XXX Team Site: http://WALESXXX.awardspace.com
Stats site only on when I remember to fire it up

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: tmn globalstats ingame

Post by f*ckfish » 07 Sep 2007 18:45

Nice one, Menno, i'll try it out as soon as possible =)
inactive, sorry

Dec
solid chaser
solid chaser
Posts: 971
Joined: 20 May 2006 12:22
Owned TM-games: TMO, TMS, TMNF, TMUF
Location: SLOVENIA, Radeče
Contact:

Re: tmn globalstats ingame

Post by Dec » 10 Sep 2007 09:35

Nice plugin :lovetm

cow
smooth traffic navigator
smooth traffic navigator
Posts: 216
Joined: 20 Mar 2007 02:53
Owned TM-games: TMU, TMS, TMO
Contact:

Re: tmn globalstats ingame

Post by cow » 10 Sep 2007 21:12

maybe it's my version of php donno
but i had to add php to

Code: Select all

<?
at the top of the TMNDataFetcher.php
so it was

Code: Select all

<?php
to get it to work
but cool plugin.
join me at the music tower
Tet19's MusicTower

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: tmn globalstats ingame

Post by f*ckfish » 11 Sep 2007 06:43

You only have to do this if your php does not support the short opening tag. You can dis/activate that in the php.ini. Nowadays it's pretty common to only write <? so I assume that you may have an older version of php. But who cares, if it works, everything is just fine =)
inactive, sorry

User avatar
El Fuego
solid chaser
solid chaser
Posts: 1097
Joined: 27 Oct 2006 11:00
Owned TM-games: TMUF, TM2 C/S
Location: Nae too far frae Glesgie
Contact:

Re: tmn globalstats ingame

Post by El Fuego » 11 Sep 2007 08:16

It's nothing to do with versions ... PHP has always had the option to configure using <?php or just <?

I guess I'm old-school because I don't like using <? ... reminds me too much of <% used by ASP. :lol:
Cheers!
.FUEY.
Diary Of A Mad Man

m&o
happy cruiser
happy cruiser
Posts: 188
Joined: 19 Apr 2007 17:53
Owned TM-games: TMN, TMU, TMF

Re: tmn globalstats ingame

Post by m&o » 11 Sep 2007 14:06

thnx for the great reply updatet firstpost and I have only changed some stuf behind // but nothing to that code(havn't realy lookt to good in it)

EDIT:
changed some stuff look first post
Image

cow
smooth traffic navigator
smooth traffic navigator
Posts: 216
Joined: 20 Mar 2007 02:53
Owned TM-games: TMU, TMS, TMO
Contact:

Re: tmn globalstats ingame v1.1

Post by cow » 16 Sep 2007 16:46

coool thanks. I like it.
join me at the music tower
Tet19's MusicTower

nocturne
solid chaser
solid chaser
Posts: 1390
Joined: 08 Jun 2007 18:48
Owned TM-games: all
Contact:

Re: tmn globalstats ingame v1.1

Post by nocturne » 16 Sep 2007 17:05

Good job! Going to put this in as a /players command parameter (/players 'loginid').

m&o
happy cruiser
happy cruiser
Posts: 188
Joined: 19 Apr 2007 17:53
Owned TM-games: TMN, TMU, TMF

Re: tmn globalstats ingame v1.1

Post by m&o » 17 Sep 2007 17:01

nocturne wrote:Good job! Going to put this in as a /players command parameter (/players 'loginid').
yes nice idea if u are done can u post it than im also gone use it

and thnx for great coments^^
Image

weird
sunday driver
sunday driver
Posts: 69
Joined: 31 Aug 2006 11:04
Owned TM-games: TMO,TMS,TMN,TMUF

Re: tmn globalstats ingame

Post by weird » 17 Sep 2007 19:12

f*ckfish wrote:You only have to do this if your php does not support the short opening tag. You can dis/activate that in the php.ini. Nowadays it's pretty common to only write <? so I assume that you may have an older version of php. But who cares, if it works, everything is just fine =)
if i'm not mistaken, php's shorttags screws up stuff if you also work with xml files on the same server, hence why <?php is good coding practice.

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: tmn globalstats ingame v1.1

Post by f*ckfish » 17 Sep 2007 19:50

I just tend to use the short tags, learned it that way and never experienced any problem. I also never had any problems in combination with xml... I just love them =)

" :lovetm and php-shorttags"
inactive, sorry

m&o
happy cruiser
happy cruiser
Posts: 188
Joined: 19 Apr 2007 17:53
Owned TM-games: TMN, TMU, TMF

Re: tmn globalstats ingame v1.1

Post by m&o » 17 Sep 2007 20:16

f*ckfish wrote:I just tend to use the short tags, learned it that way and never experienced any problem. I also never had any problems in combination with xml... I just love them =)

" :lovetm and php-shorttags"
lol
:lovetm and your datafetcher whit the shorttags.....
but anyway in v1.1 I did removed the shorttag so nobody should have the problems now :D
(and I did just read emotions work so :P )
Image

XIONG1
highway camper
highway camper
Posts: 3
Joined: 18 Jul 2008 15:24
Owned TM-games: TMU, TMO
Manialink(s): YES
Contact:

Re: tmn globalstats ingame v1.1

Post by XIONG1 » 19 Jul 2008 13:55

Ditto here~!
I support your point of view 。

Post Reply