TM-FORUM

The TrackMania universal forum ^_^
It is currently 25 Apr 2017 05:45

All times are UTC + 1 hour




Post new topic Reply to topic  [ 41 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: [XASECO2] Plugin Checkpoint-Records Widget
PostPosted: 23 Sep 2011 14:03 
Offline
wheelbarrow operator
wheelbarrow operator

Joined: 01 Feb 2011 19:10
Posts: 15
Owned TM-games: TMUF TM²
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:
<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 19:10, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: [XASECO2] Plugin Checkpoint-Records Widget
PostPosted: 23 Sep 2011 18:45 
Offline
highway camper
highway camper

Joined: 23 Sep 2011 18:41
Posts: 3
Owned TM-games: TMU TM2
Hi. Thx for plugin. I get the following error.
Code:
[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 18:48, edited 1 time in total.
Use code tags to post code/configs/logs...


Top
 Profile  
 
 Post subject: Re: [XASECO2] Plugin Checkpoint-Records Widget
PostPosted: 23 Sep 2011 18:54 
Offline
highway camper
highway camper

Joined: 23 Sep 2011 18:41
Posts: 3
Owned TM-games: TMU TM2
Thx Xymph :P


Top
 Profile  
 
 Post subject: Re: [XASECO2] Plugin Checkpoint-Records Widget
PostPosted: 23 Sep 2011 19:18 
Offline
wheelbarrow operator
wheelbarrow operator

Joined: 01 Feb 2011 19:10
Posts: 15
Owned TM-games: TMUF TM²
Quote:
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


Top
 Profile  
 
 Post subject: Re: [XASECO2] Plugin Checkpoint-Records Widget
PostPosted: 23 Sep 2011 20:53 
Offline
highway camper
highway camper

Joined: 23 Sep 2011 18:41
Posts: 3
Owned TM-games: TMU TM2
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


Top
 Profile  
 
 Post subject: Re: [XASECO2] Plugin Checkpoint-Records Widget
PostPosted: 24 Sep 2011 10:37 
Offline
road tourist
road tourist
User avatar

Joined: 09 Apr 2009 08:52
Posts: 80
Owned TM-games: TMU TMUF TMN TMNF
Hi, i´m having same error messages:
Code:
[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


Top
 Profile  
 
 Post subject: Re: [XASECO2] Plugin Checkpoint-Records Widget
PostPosted: 24 Sep 2011 11:30 
Offline
pedestrian
pedestrian

Joined: 11 Sep 2011 08:31
Posts: 13
Location: Germany/Hannover
Owned TM-games: TMC
Unfortunately I also exactly the same problem
Code:
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


Top
 Profile  
 
 Post subject: Re: [XASECO2] Plugin Checkpoint-Records Widget
PostPosted: 24 Sep 2011 19:15 
Offline
wheelbarrow operator
wheelbarrow operator

Joined: 01 Feb 2011 19:10
Posts: 15
Owned TM-games: TMUF TM²
updated version, tested on 2 servers without any PHP Notices

have fun


Top
 Profile  
 
 Post subject: Re: [XASECO2] Plugin Checkpoint-Records Widget
PostPosted: 25 Sep 2011 17:15 
Offline
wheelbarrow operator
wheelbarrow operator
User avatar

Joined: 18 Nov 2010 07:43
Posts: 24
Owned TM-games: tmuf
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


Top
 Profile  
 
 Post subject: Re: [XASECO2] Plugin Checkpoint-Records Widget
PostPosted: 25 Sep 2011 20:04 
Offline
wheelbarrow operator
wheelbarrow operator

Joined: 01 Feb 2011 19:10
Posts: 15
Owned TM-games: TMUF TM²
not possible yet to limit the line number
I will include it in an update the next few days


Top
 Profile  
 
 Post subject: Re: [XASECO2] Plugin Checkpoint-Records Widget
PostPosted: 26 Sep 2011 16:26 
Offline
road tourist
road tourist

Joined: 29 Jun 2011 18:03
Posts: 81
Owned TM-games: TMF, TM2
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


Top
 Profile  
 
 Post subject: Re: [XASECO2] Plugin Checkpoint-Records Widget
PostPosted: 26 Sep 2011 18:51 
Offline
road tourist
road tourist
User avatar

Joined: 09 Apr 2009 08:52
Posts: 80
Owned TM-games: TMU TMUF TMN TMNF
Still problems:
Code:
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


Top
 Profile  
 
 Post subject: Re: [XASECO2] Plugin Checkpoint-Records Widget
PostPosted: 26 Sep 2011 20:43 
Offline
wheelbarrow operator
wheelbarrow operator

Joined: 01 Feb 2011 19:10
Posts: 15
Owned TM-games: TMUF TM²
it seems you are still using the old version
please update to version 0.94
The versions number's written in the php-head


Top
 Profile  
 
 Post subject: Re: [XASECO2] Plugin Checkpoint-Records Widget
PostPosted: 28 Sep 2011 16:21 
Offline
TM-Patrol
TM-Patrol
User avatar

Joined: 01 Dec 2007 18:04
Posts: 1845
Location: London, England
Owned TM-games: TMN, TMUF, TM Wii
So is this an update of this plugin or a complete re-write? It looks pretty similar anyway.

_________________
My TMF Hub --- Server


Top
 Profile  
 
 Post subject: Re: [XASECO2] Plugin Checkpoint-Records Widget
PostPosted: 28 Sep 2011 20:39 
Offline
wheelbarrow operator
wheelbarrow operator

Joined: 01 Feb 2011 19:10
Posts: 15
Owned TM-games: TMUF TM²
no update of any old plugin, complete new code


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 41 posts ]  Go to page 1, 2, 3  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group