[XASECO] Plugin: Personal Best Checkpoints 1.3.2 (UPDATE)

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

Moderators: Xymph, TM-Patrol

tomberg
pedestrian
pedestrian
Posts: 12
Joined: 18 May 2011 21:14
Owned TM-games: TMS, TMU

Re: [XASECO] Plugin: Personal Best Checkpoints 1.3.2 (UPDATE

Post by tomberg » 27 Nov 2011 10:58

can I somehow leave one column instead of three? Didn't find that setting in php of plugin..

User avatar
undef.de
Pit Crew
Pit Crew
Posts: 1305
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

Re: [XASECO] Plugin: Personal Best Checkpoints 1.3.2 (UPDATE

Post by undef.de » 27 Nov 2011 12:28

tomberg wrote:can I somehow leave one column instead of three? Didn't find that setting in php of plugin..
Sorry, but there is no option to do that.
Developer of various plugins for XAseco/XAseco2 and MPAseco,
like Records-Eyepiece, TM-Karma, Alternate Scoretable...
Visit my Lab: www.undef.name

Get it now:
» TM2 Valley
» TM2 Canyon
» TM2 Stadium
» SM Storm

tomberg
pedestrian
pedestrian
Posts: 12
Joined: 18 May 2011 21:14
Owned TM-games: TMS, TMU

Re: [XASECO] Plugin: Personal Best Checkpoints 1.3.2 (UPDATE

Post by tomberg » 27 Nov 2011 19:02

ah, np, anyway awesome plugin ;) especially color bar :)

User avatar
L3cKy
happy cruiser
happy cruiser
Posts: 138
Joined: 05 Sep 2007 13:55
Owned TM-games: TMUF
Manialink(s): woa
Location: Sweden
Contact:

Re: [XASECO] Plugin: Personal Best Checkpoints 1.3.2 (UPDATE

Post by L3cKy » 25 Sep 2016 11:21

Got this error ...

Code: Select all

[PHP Warning] Creating default object from empty value on line 586 in file /home/Fullspeed/xaseco/plugins/plugin.personal_best_checkpoints.php

weasel
speedy pilot
speedy pilot
Posts: 331
Joined: 11 Mar 2011 23:44
Owned TM-games: TMN, TMU, TMF,TM2all

Re: [XASECO] Plugin: Personal Best Checkpoints 1.3.2 (UPDATE

Post by weasel » 03 Mar 2017 19:13

Same here :

Code: Select all

###############################################################################
  XASECO v1.16 running on 127.0.0.1:5000
  Name   : ѕєχу мαηіαтесн - techhunt
  Game   : TmForever United - Stadium - TimeAttack
  Version: 2.11.26 / 2011-02-21
  Authors: Florian Schnell & Assembler Maniac
  Re-Authored: Xymph
###############################################################################
Begin Challenge
[03/03,19:59:59] [plugin.records_eyepiece.php] Register event "onCheckpoint" to enabled wanted Widgets.
[03/03,19:59:59] track changed [undefined] >> [TmT - Stupid Banana]
[03/03,19:59:59] currently no record on TmT - Stupid Banana
[PHP Warning] Creating default object from empty value on line 586 in file F:\TMFservers\TMF-Best of TMX\xaseco\plugins\plugin.personal_best_checkpoints.php
[PHP Warning] Creating default object from empty value on line 586 in file F:\TMFservers\TMF-Best of TMX\xaseco\plugins\plugin.personal_best_checkpoints.php
[PHP Warning] Creating default object from empty value on line 586 in file F:\TMFservers\TMF-Best of TMX\xaseco\plugins\plugin.personal_best_checkpoints.php
[PHP Warning] Creating default object from empty value on line 586 in file F:\TMFservers\TMF-Best of TMX\xaseco\plugins\plugin.personal_best_checkpoints.php
[PHP Warning] Creating default object from empty value on line 586 in file F:\TMFservers\TMF-Best of TMX\xaseco\plugins\plugin.personal_best_checkpoints.php
[PHP Warning] Creating default object from empty value on line 586 in file F:\TMFservers\TMF-Best of TMX\xaseco\plugins\plugin.personal_best_checkpoints.php
[PHP Warning] Creating default object from empty value on line 586 in file F:\TMFservers\TMF-Best of TMX\xaseco\plugins\plugin.personal_best_checkpoints.php
[PHP Warning] Creating default object from empty value on line 586 in file F:\TMFservers\TMF-Best of TMX\xaseco\plugins\plugin.personal_best_checkpoints.php
[PHP Warning] Creating default object from empty value on line 586 in file F:\TMFservers\TMF-Best of TMX\xaseco\plugins\plugin.personal_best_checkpoints.php
End Round
End Challenge
[03/03,20:00:54] [RASP] Calculating ranks...
[03/03,20:00:55] [RASP] ...Done!
Begin Challenge
[03/03,20:01:15] track changed [TmT - Stupid Banana] >> [Da Vinci Code]
[03/03,20:01:15] currently no record on Da Vinci Code
[PHP Warning] Creating default object from empty value on line 586 in file F:\TMFservers\TMF-Best of TMX\xaseco\plugins\plugin.personal_best_checkpoints.php
[PHP Warning] Creating default object from empty value on line 586 in file F:\TMFservers\TMF-Best of TMX\xaseco\plugins\plugin.personal_best_checkpoints.php
[PHP Warning] Creating default object from empty value on line 586 in file F:\TMFservers\TMF-Best of TMX\xaseco\plugins\plugin.personal_best_checkpoints.php
[PHP Warning] Creating default object from empty value on line 586 in file F:\TMFservers\TMF-Best of TMX\xaseco\plugins\plugin.personal_best_checkpoints.php
[PHP Warning] Creating default object from empty value on line 586 in file F:\TMFservers\TMF-Best of TMX\xaseco\plugins\plugin.personal_best_checkpoints.php
[PHP Warning] Creating default object from empty value on line 586 in file F:\TMFservers\TMF-Best of TMX\xaseco\plugins\plugin.personal_best_checkpoints.php
[PHP Warning] Creating default object from empty value on line 586 in file F:\TMFservers\TMF-Best of TMX\xaseco\plugins\plugin.personal_best_checkpoints.php
Begin Round

PHP Version is 5.5.30 on WINNT

Oh , and my avast (antivirus program) goes nuts.

User avatar
undef.de
Pit Crew
Pit Crew
Posts: 1305
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

Re: [XASECO] Plugin: Personal Best Checkpoints 1.3.2 (UPDATE

Post by undef.de » 04 Mar 2017 10:14

weasel wrote:

Code: Select all

[PHP Warning] Creating default object from empty value on line 586 in file F:\TMFservers\TMF-Best of TMX\xaseco\plugins\plugin.personal_best_checkpoints.php
As it is just a warning and the development for XAseco1 is still freezed: Just ignore it. :|

Anyway, i added it to the todo list, thanks!

Edit: If you want to change it by yourself use this code (replace from line 586 till 604):

Code: Select all

// Find Players without a local record and preset with empty time
foreach ($aseco->server->players->player_list as &$ply) {
	if (count($ply->data['BPCPS_TIMES']) == 0) {
		// Preset all CPs with -1
		$ply->data['BPCPS_TIMES'] = array();
		for ($i = 0 ; $i <= $pbcps_config['MAP']['NUM_CPS'] ; $i ++) {
			if ($aseco->server->gameinfo->mode == 6) {
				// 6 = Stunts
				$ply->data['BPCPS_TIMES'][$i]['diff_styled'] = '$FFF---';
			}
			else {
				$ply->data['BPCPS_TIMES'][$i]['diff_styled'] = (($pbcps_config['WIDGET']['FULLTIME'] == true) ? '$FFF-:--.--' : '$FFF-.--');
			}
			$ply->data['BPCPS_TIMES'][$i]['bar_color'] = 'FFF';
			$ply->data['BPCPS_LASTCP'] = -1;
		}
		$ply->data['BPCPS_LAST_LAP_TIME'] = 0;
	}
}
Of course this is untested...
Developer of various plugins for XAseco/XAseco2 and MPAseco,
like Records-Eyepiece, TM-Karma, Alternate Scoretable...
Visit my Lab: www.undef.name

Get it now:
» TM2 Valley
» TM2 Canyon
» TM2 Stadium
» SM Storm

weasel
speedy pilot
speedy pilot
Posts: 331
Joined: 11 Mar 2011 23:44
Owned TM-games: TMN, TMU, TMF,TM2all

Re: [XASECO] Plugin: Personal Best Checkpoints 1.3.2 (UPDATE

Post by weasel » 04 Mar 2017 13:18

Well , the point is that this plugin just not showing any times.

User avatar
L3cKy
happy cruiser
happy cruiser
Posts: 138
Joined: 05 Sep 2007 13:55
Owned TM-games: TMUF
Manialink(s): woa
Location: Sweden
Contact:

Re: [XASECO] Plugin: Personal Best Checkpoints 1.3.2 (UPDATE

Post by L3cKy » 10 Mar 2017 03:49

undef.de wrote:
weasel wrote:

Code: Select all

[PHP Warning] Creating default object from empty value on line 586 in file F:\TMFservers\TMF-Best of TMX\xaseco\plugins\plugin.personal_best_checkpoints.php
As it is just a warning and the development for XAseco1 is still freezed: Just ignore it. :|

Anyway, i added it to the todo list, thanks!

Edit: If you want to change it by yourself use this code (replace from line 586 till 604):

Code: Select all

// Find Players without a local record and preset with empty time
foreach ($aseco->server->players->player_list as &$ply) {
	if (count($ply->data['BPCPS_TIMES']) == 0) {
		// Preset all CPs with -1
		$ply->data['BPCPS_TIMES'] = array();
		for ($i = 0 ; $i <= $pbcps_config['MAP']['NUM_CPS'] ; $i ++) {
			if ($aseco->server->gameinfo->mode == 6) {
				// 6 = Stunts
				$ply->data['BPCPS_TIMES'][$i]['diff_styled'] = '$FFF---';
			}
			else {
				$ply->data['BPCPS_TIMES'][$i]['diff_styled'] = (($pbcps_config['WIDGET']['FULLTIME'] == true) ? '$FFF-:--.--' : '$FFF-.--');
			}
			$ply->data['BPCPS_TIMES'][$i]['bar_color'] = 'FFF';
			$ply->data['BPCPS_LASTCP'] = -1;
		}
		$ply->data['BPCPS_LAST_LAP_TIME'] = 0;
	}
}
Of course this is untested...
Tested it but got the same warnings ...

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests