[XASECO2] Plugin Checkpoint-Records Widget

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

Moderators: Xymph, TM-Patrol

junglepatrol
wheelbarrow operator
wheelbarrow operator
Posts: 15
Joined: 01 Feb 2011 18:10
Owned TM-games: TMUF TM²

[XASECO2] Plugin Checkpoint-Records Widget

Post by junglepatrol » 23 Sep 2011 13:03

Hi all,
finished my first plugin for XAseco2 and it's time to give it the community :D

It displays the best checkpoint-times of all players on the current map in a widget

Installation:

1. unzip the script to xaseco2 base directory
2. edit xaseco2's plugins.xml and insert the following line:

Code: Select all

<plugin>plugin.cprecords.php</plugin>
3. restart xaseco2

For settings read the included README file

Download: cprecords(0.94).zip

Update->0.94
function get_cp_data rewritten to avoid PHP Notices;
bugfix: corrected wrong cp order and cp-times when xaseco2 mounted during a race


To see the plugin ingame visit my server Dirty Mind, login=dirtymind

some screenshots

horizontal:
Image

vertical:
Image

end of race:
Image
Last edited by junglepatrol on 24 Sep 2011 18:10, edited 1 time in total.

grtcasper
highway camper
highway camper
Posts: 3
Joined: 23 Sep 2011 17:41
Owned TM-games: TMU TM2

Re: [XASECO2] Plugin Checkpoint-Records Widget

Post by grtcasper » 23 Sep 2011 17:45

Hi. Thx for plugin. I get the following error.

Code: Select all

[PHP Notice] Trying to get property of non-object on line 76 in file E:\TM 2\ManiaPlanetDedicated_2011-08-16\xaseco2\plugins\plugin.cprecords.php
[PHP Notice] Trying to get property of non-object on line 76 in file E:\TM 2\ManiaPlanetDedicated_2011-08-16\xaseco2\plugins\plugin.cprecords.php
[PHP Notice] Trying to get property of non-object on line 77 in file E:\TM 2\ManiaPlanetDedicated_2011-08-16\xaseco2\plugins\plugin.cprecords.php
[PHP Notice] Trying to get property of non-object on line 77 in file E:\TM 2\ManiaPlanetDedicated_2011-08-16\xaseco2\plugins\plugin.cprecords.php
[PHP Notice] Trying to get property of non-object on line 84 in file E:\TM 2\ManiaPlanetDedicated_2011-08-16\xaseco2\plugins\plugin.cprecords.php
[PHP Notice] Trying to get property of non-object on line 85 in file E:\TM 2\ManiaPlanetDedicated_2011-08-16\xaseco2\plugins\plugin.cprecords.php
[PHP Warning] Invalid argument supplied for foreach() on line 115 in file E:\TM2\ManiaPlanetDedicated_2011-08-16\xaseco2\plugins\plugin.cprecords.php
Begin Map
Last edited by Xymph on 23 Sep 2011 17:48, edited 1 time in total.
Reason: Use code tags to post code/configs/logs...

grtcasper
highway camper
highway camper
Posts: 3
Joined: 23 Sep 2011 17:41
Owned TM-games: TMU TM2

Re: [XASECO2] Plugin Checkpoint-Records Widget

Post by grtcasper » 23 Sep 2011 17:54

Thx Xymph :P

junglepatrol
wheelbarrow operator
wheelbarrow operator
Posts: 15
Joined: 01 Feb 2011 18:10
Owned TM-games: TMUF TM²

Re: [XASECO2] Plugin Checkpoint-Records Widget

Post by junglepatrol » 23 Sep 2011 18:18

Hi. Thx for plugin. I get the following error.
warning is for undefined array, will fix it

btw you are using an old server version, the last one is from 5th september not from 16th august

edit: fixed and included in the plugin package

grtcasper
highway camper
highway camper
Posts: 3
Joined: 23 Sep 2011 17:41
Owned TM-games: TMU TM2

Re: [XASECO2] Plugin Checkpoint-Records Widget

Post by grtcasper » 23 Sep 2011 19:53

thanks will test. the version i am using is the latest, just got it under the old folder

Still getting the same errors :(

But its working. Thx gr8 plugin

User avatar
Big_Al
road tourist
road tourist
Posts: 80
Joined: 09 Apr 2009 07:52
Owned TM-games: TMU TMUF TMN TMNF

Re: [XASECO2] Plugin Checkpoint-Records Widget

Post by Big_Al » 24 Sep 2011 09:37

Hi, i´m having same error messages:

Code: Select all

[PHP Notice] Undefined offset: 0 on line 69 in file C:\Gameserver\TM2 Tech Blau #1\xaseco2\plugins\plugin.cprecords.php
[PHP Notice] Undefined offset: 1 on line 69 in file C:\Gameserver\TM2 Tech Blau #1\xaseco2\plugins\plugin.cprecords.php
[PHP Notice] Undefined offset: 2 on line 69 in file C:\Gameserver\TM2 Tech Blau #1\xaseco2\plugins\plugin.cprecords.php

Jar-Jar
pedestrian
pedestrian
Posts: 13
Joined: 11 Sep 2011 07:31
Owned TM-games: TMC
Location: Germany/Hannover
Contact:

Re: [XASECO2] Plugin Checkpoint-Records Widget

Post by Jar-Jar » 24 Sep 2011 10:30

Unfortunately I also exactly the same problem

Code: Select all

Begin Round
[PHP Notice] Undefined offset: 0 on line 67 in file F:\FunServer\Fox2\plugins\plugin.cprecords.php
[PHP Notice] Undefined offset: 1 on line 67 in file F:\FunServer\Fox2\plugins\plugin.cprecords.php
[PHP Notice] Undefined offset: 2 on line 67 in file F:\FunServer\Fox2\plugins\plugin.cprecords.php
[PHP Notice] Undefined offset: 3 on line 67 in file F:\FunServer\Fox2\plugins\plugin.cprecords.php
[PHP Notice] Undefined offset: 4 on line 67 in file F:\FunServer\Fox2\plugins\plugin.cprecords.php
[PHP Notice] Undefined offset: 5 on line 67 in file F:\FunServer\Fox2\plugins\plugin.cprecords.php
[PHP Notice] Undefined offset: 6 on line 67 in file F:\FunServer\Fox2\plugins\plugin.cprecords.php
[PHP Notice] Undefined offset: 7 on line 67 in file F:\FunServer\Fox2\plugins\plugin.cprecords.php
however, works very nice plugin

Lg.Jar

junglepatrol
wheelbarrow operator
wheelbarrow operator
Posts: 15
Joined: 01 Feb 2011 18:10
Owned TM-games: TMUF TM²

Re: [XASECO2] Plugin Checkpoint-Records Widget

Post by junglepatrol » 24 Sep 2011 18:15

updated version, tested on 2 servers without any PHP Notices

have fun

User avatar
shoei
wheelbarrow operator
wheelbarrow operator
Posts: 24
Joined: 18 Nov 2010 06:43
Owned TM-games: tmuf

Re: [XASECO2] Plugin Checkpoint-Records Widget

Post by shoei » 25 Sep 2011 16:15

thank you for this plugin, it is really good
I would, however,limit the display of the number line.
how do I proceed?
Image
Image

junglepatrol
wheelbarrow operator
wheelbarrow operator
Posts: 15
Joined: 01 Feb 2011 18:10
Owned TM-games: TMUF TM²

Re: [XASECO2] Plugin Checkpoint-Records Widget

Post by junglepatrol » 25 Sep 2011 19:04

not possible yet to limit the line number
I will include it in an update the next few days

kremsy
road tourist
road tourist
Posts: 81
Joined: 29 Jun 2011 17:03
Owned TM-games: TMF, TM2
Contact:

Re: [XASECO2] Plugin Checkpoint-Records Widget

Post by kremsy » 26 Sep 2011 15:26

thank you!
You need a TM2 Server? Look on: http://www.tm2-server.net :)

New Shootmania Server available, check out: http://www.mania-server.net

User avatar
Big_Al
road tourist
road tourist
Posts: 80
Joined: 09 Apr 2009 07:52
Owned TM-games: TMU TMUF TMN TMNF

Re: [XASECO2] Plugin Checkpoint-Records Widget

Post by Big_Al » 26 Sep 2011 17:51

Still problems:

Code: Select all

PHP Notice] Trying to get property of non-object on line 83 in file C:\Gameserver\TM2 Tech Blau #1\xaseco2\plugins\plugin.bestcps.php
[PHP Warning] Invalid argument supplied for foreach() on line 91 in file C:\Gameserver\TM2 Tech Blau #1\xaseco2\plugins\plugin.bestcps.php
[PHP Notice] Trying to get property of non-object on line 44 in file C:\Gameserver\TM2 Tech Blau #1\xaseco2\plugins\plugin.bestcps.php
[PHP Notice] Undefined property: Server::$challenge on line 49 in file C:\Gameserver\TM2 Tech Blau #1\xaseco2\plugins\plugin.bestcps.php
[PHP Notice] Trying to get property of non-object on line 49 in file C:\Gameserver\TM2 Tech Blau #1\xaseco2\plugins\plugin.bestcps.php
[PHP Notice] Trying to get property of non-object on line 56 in file C:\Gameserver\TM2 Tech Blau #1\xaseco2\plugins\plugin.bestcps.php
[PHP Notice] Trying to get property of non-object on line 82 in file C:\Gameserver\TM2 Tech Blau #1\xaseco2\plugins\plugin.bestcps.php
[PHP Notice] Trying to get property of non-object on line 82 in file C:\Gameserver\TM2 Tech Blau #1\xaseco2\plugins\plugin.bestcps.php
[PHP Notice] Trying to get property of non-object on line 83 in file C:\Gameserver\TM2 Tech Blau #1\xaseco2\plugins\plugin.bestcps.php
[PHP Notice] Trying to get property of non-object on line 83 in file C:\Gameserver\TM2 Tech Blau #1\xaseco2\plugins\plugin.bestcps.php
[PHP Warning] Invalid argument supplied for foreach() on line 91 in file C:\Gameserver\TM2 Tech Blau #1\xaseco2\plugins\plugin.bestcps.php
[PHP Notice] Trying to get property of non-object on line 56 in file C:\Gameserver\TM2 Tech Blau #1\xaseco2\plugins\plugin.bestcps.php
[PHP Notice] Trying to get property of non-object on line 82 in file C:\Gameserver\TM2 Tech Blau #1\xaseco2\plugins\plugin.bestcps.php
[PHP Notice] Trying to get property of non-object on line 82 in file C:\Gameserver\TM2 Tech Blau #1\xaseco2\plugins\plugin.bestcps.php
[PHP Notice] Trying to get property of non-object on line 83 in file C:\Gameserver\TM2 Tech Blau #1\xaseco2\plugins\plugin.bestcps.php
[PHP Notice] Trying to get property of non-object on line 83 in file C:\Gameserver\TM2 Tech Blau #1\xaseco2\plugins\plugin.bestcps.php
[PHP Warning] Invalid argument supplied for foreach() on line 91 in file C:\Gameserver\TM2 Tech Blau #1\xaseco2\plugins\plugin.bestcps.php
[PHP Notice] Trying to get property of non-object on line 44 in file C:\Gameserver\TM2 Tech Blau #1\xaseco2\plugins\plugin.bestcps.php
[PHP Notice] Undefined property: Server::$challenge on line 49 in file C:\Gameserver\TM2 Tech Blau #1\xaseco2\plugins\plugin.bestcps.php
[PHP Notice] Trying to get property of non-object on line 49 in file C:\Gameserver\TM2 Tech Blau #1\xaseco2\plugins\plugin.bestcps.php
[PHP Notice] Trying to get property of non-object on line 44 in file C:\Gameserver\TM2 Tech Blau #1\xaseco2\plugins\plugin.bestcps.php
[PHP Notice] Undefined property: Server::$challenge on line 49 in file C:\Gameserver\TM2 Tech Blau #1\xaseco2\plugins\plugin.bestcps.php
[PHP Notice] Trying to get property of non-object on line 49 in file C:\Gameserver\TM2 Tech Blau #1\xaseco2\plugins\plugin.bestcps.php

junglepatrol
wheelbarrow operator
wheelbarrow operator
Posts: 15
Joined: 01 Feb 2011 18:10
Owned TM-games: TMUF TM²

Re: [XASECO2] Plugin Checkpoint-Records Widget

Post by junglepatrol » 26 Sep 2011 19:43

it seems you are still using the old version
please update to version 0.94
The versions number's written in the php-head

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: [XASECO2] Plugin Checkpoint-Records Widget

Post by Ant » 28 Sep 2011 15:21

So is this an update of this plugin or a complete re-write? It looks pretty similar anyway.

junglepatrol
wheelbarrow operator
wheelbarrow operator
Posts: 15
Joined: 01 Feb 2011 18:10
Owned TM-games: TMUF TM²

Re: [XASECO2] Plugin Checkpoint-Records Widget

Post by junglepatrol » 28 Sep 2011 19:39

no update of any old plugin, complete new code

Post Reply

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests