[Xaseco] Checkpoint info ver 1.31 (23.12.2010)

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

Moderators: Xymph, TM-Patrol

reaby
smooth traffic navigator
smooth traffic navigator
Posts: 213
Joined: 02 Jul 2009 21:24
Owned TM-games: TMUF

[Xaseco] Checkpoint info ver 1.31 (23.12.2010)

Post by reaby » 14 Dec 2009 21:55

Checkpoint info
Updated at 23.12.2010

### Screenshot ###
Image
On a checkpoint show time differences for local 1 (left) and personal record (right) and estimated time arrival for finish (at top)
THANKS TO ANT for discovering autohide feature.

### Install ###
download
current version:
http://koti.mbnet.fi/reaby/xaseco/cpinfo_131.zip

old version:
http://koti.mbnet.fi/reaby/xaseco/cpinfo_13.zip
http://koti.mbnet.fi/reaby/xaseco/cpinfo_12.zip

1. Unzip cpinfo.zip to xaseco folder (with subdirectories)
2. On xaseco folder edit plugins.xml and add line:
<plugin>plugin.cpinfo.php</plugin>
3. edit cpinfo.xml
4. restart xaseco

### Settings ###
<enable_for_all> if set true, it will display plugin to all, no disable, if false, those who want the plugin need to write /cpinfo on

<timeout> you should not need to adjust this, but if set to 0 will show the times forever, now the time is shown for 4 seconds.

<text_color> text color
Last edited by reaby on 23 Dec 2010 04:58, edited 7 times in total.

gmex team
highway camper
highway camper
Posts: 4
Joined: 12 Jul 2009 13:56
Owned TM-games: TMU

Re: [Xaseco] Checkpoint info (like in fast) ver 1.0

Post by gmex team » 15 Dec 2009 16:30

hi reaby

please + info

thanks

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

Re: [Xaseco] Checkpoint info (like in fast) ver 1.0

Post by nocturne » 15 Dec 2009 16:38

The records table only stores records, whereas the rs_times table stores all the players times on any track. I wouldn't bother querying the rs_times table first, but perhaps add a loop to check it if there is no record for the player.

gmex team
highway camper
highway camper
Posts: 4
Joined: 12 Jul 2009 13:56
Owned TM-games: TMU

Re: [Xaseco] Checkpoint info (like in fast) ver 1.1

Post by gmex team » 15 Dec 2009 17:09

What I want is more information about the installation

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

Re: [Xaseco] Checkpoint info (like in fast) ver 1.1

Post by nocturne » 15 Dec 2009 17:29

gmex team wrote:What I want is more information about the installation
Extract into the Xaseco directory, enable in the plugins.xml file, and edit the config file as necessary... Same as any other plugin. If you can't manage that, I'm amazed you've gotten this far...

User avatar
Katagrama
road tourist
road tourist
Posts: 86
Joined: 22 Nov 2008 18:31
Owned TM-games: TMNF
Location: Brazil

Re: [Xaseco] Checkpoint info (like in fast) ver 1.1

Post by Katagrama » 17 Dec 2009 00:05

I liked this plugin a lot.
I have a suggestion if you want and have time: :)
Could make the infos disapear after a time (2 seconds for example, like the default nadeo's info), if it is not difficult
Image

reaby
smooth traffic navigator
smooth traffic navigator
Posts: 213
Joined: 02 Jul 2009 21:24
Owned TM-games: TMUF

Re: [Xaseco] Checkpoint info (like in fast) ver 1.1

Post by reaby » 17 Dec 2009 13:43

Katagrama wrote:I liked this plugin a lot.
I have a suggestion if you want and have time: :)
Could make the infos disapear after a time (2 seconds for example, like the default nadeo's info), if it is not difficult
It's possible, but it's a bit tricky and that's why i didn't implement it the first place. Lets see when I have the motivation I will look into it :)

User avatar
maau
road tourist
road tourist
Posts: 101
Joined: 12 Apr 2009 18:36
Owned TM-games: Finally I've TMUF ^^

Re: [Xaseco] Checkpoint info (like in fast) ver 1.1

Post by maau » 20 Dec 2009 20:29

Niiiiiice plugin, good work ! Keep it up :3
Last edited by maau on 25 Dec 2009 05:44, edited 1 time in total.
Image

Image

PCerrorNERD
pedestrian
pedestrian
Posts: 8
Joined: 28 Apr 2009 17:26
Owned TM-games: TMNF, TMUF
Contact:

Re: [Xaseco] Checkpoint info (like in fast) ver 1.1

Post by PCerrorNERD » 21 Dec 2009 12:35

Is there any way to make it show time from 1dedi rec not 1local?

godkagoul
pedestrian
pedestrian
Posts: 8
Joined: 19 Jul 2008 09:11
Owned TM-games: TMUF

Re: [Xaseco] Checkpoint info (like in fast) ver 1.1

Post by godkagoul » 14 Jan 2010 12:21

up for show time from 1dedi rec...
Team Gazteropode Serveur Rounds and Time attack (France\Bourgogne\Nièvre)

Olymptor
sunday driver
sunday driver
Posts: 59
Joined: 16 May 2009 00:15
Owned TM-games: TMUF, TMO, TMS

Re: [Xaseco] Checkpoint info (like in fast) ver 1.1

Post by Olymptor » 16 Feb 2010 17:54

How desactivate default nadeo CP info of current race ?

Xymph
Pit Crew
Pit Crew
Posts: 5650
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: [Xaseco] Checkpoint info (like in fast) ver 1.1

Post by Xymph » 16 Feb 2010 18:24

Olymptor wrote:How desactivate default nadeo CP info of current race ?
AFAIK that can't be disabled.
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub

Olymptor
sunday driver
sunday driver
Posts: 59
Joined: 16 May 2009 00:15
Owned TM-games: TMUF, TMO, TMS

Re: [Xaseco] Checkpoint info (like in fast) ver 1.1 (15.12.2009)

Post by Olymptor » 19 Feb 2010 08:25

Ok thx but another question about this :
Where can i modify position,size of xaseco Chekpoints Tracking Panel ? (which file, which line please)
Thanks.

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: [Xaseco] Checkpoint info (like in fast) ver 1.1

Post by Ant » 22 Jul 2010 05:33

Katagrama wrote:I liked this plugin a lot.
Me too, I just found this and i'm very happy with it :thumbsup:
Katagrama wrote:I have a suggestion if you want and have time: :)
Could make the infos disapear after a time (2 seconds for example, like the default nadeo's info), if it is not difficult
From looking at the TMF Methods List - specifically SendDisplayManialinkPage (Method 34)
Display a manialink page on all clients. The parameters are the xml description of the page to display, a timeout to autohide it (0 = permanent), and a boolean to indicate whether the page must be hidden as soon as the user clicks on a page option. Only available to Admin.
I found out that by changing this line in function cpinfo_checkpoint (line 72 of the plugin) from

Code: Select all

$aseco->client->query("SendDisplayManialinkPageToLogin", $login, $xml, 0, false); 
to

Code: Select all

$aseco->client->query("SendDisplayManialinkPageToLogin", $login, $xml, 2000, false); 
does the trick nicely :thumbsup:

EDIT-->
Olymptor wrote:Ok thx but another question about this :
Where can i modify position,size of xaseco Chekpoints Tracking Panel ? (which file, which line please)
Thanks.
Do you mean this ? viewtopic.php?f=127&t=25752&start=0

reaby
smooth traffic navigator
smooth traffic navigator
Posts: 213
Joined: 02 Jul 2009 21:24
Owned TM-games: TMUF

Re: [Xaseco] Checkpoint info (like in fast) ver 1.1

Post by reaby » 23 Jul 2010 21:29

I found out that by changing this line in function cpinfo_checkpoint (line 72 of the plugin) from

Code: Select all

$aseco->client->query("SendDisplayManialinkPageToLogin", $login, $xml, 0, false); 
to

Code: Select all

$aseco->client->query("SendDisplayManialinkPageToLogin", $login, $xml, 2000, false); 
does the trick nicely :thumbsup:
Be blessed, ant! Why on earth didn't I notice that before, now the plugin is finally perfect for every-day use. I'll release a update soon.

Since I now know how to do XML-based config, i add the option for how long to show plugin and option that is the plugin shown always or does a player need to use command to activate it.

Post Reply