TM-FORUM

The TrackMania universal forum ^_^
It is currently 27 Apr 2017 21:41

All times are UTC + 1 hour




Post new topic Reply to topic  [ 53 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
 Post subject: Re: [XASECO] Plugin: Personal Best Checkpoints 1.3.2 (UPDATE
PostPosted: 27 Nov 2011 11:58 
Offline
pedestrian
pedestrian

Joined: 18 May 2011 22:14
Posts: 12
Owned TM-games: TMS, TMU
can I somehow leave one column instead of three? Didn't find that setting in php of plugin..


Top
 Profile  
 
 Post subject: Re: [XASECO] Plugin: Personal Best Checkpoints 1.3.2 (UPDATE
PostPosted: 27 Nov 2011 13:28 
Offline
Pit Crew
Pit Crew
User avatar

Joined: 31 Aug 2009 19:38
Posts: 1304
Location: Germany
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
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


Top
 Profile  
 
 Post subject: Re: [XASECO] Plugin: Personal Best Checkpoints 1.3.2 (UPDATE
PostPosted: 27 Nov 2011 20:02 
Offline
pedestrian
pedestrian

Joined: 18 May 2011 22:14
Posts: 12
Owned TM-games: TMS, TMU
ah, np, anyway awesome plugin ;) especially color bar :)


Top
 Profile  
 
 Post subject: Re: [XASECO] Plugin: Personal Best Checkpoints 1.3.2 (UPDATE
PostPosted: 25 Sep 2016 12:21 
Offline
happy cruiser
happy cruiser
User avatar

Joined: 05 Sep 2007 14:55
Posts: 133
Location: Sweden
Owned TM-games: TMUF
Manialink(s): woa
Got this error ...

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


Top
 Profile  
 
 Post subject: Re: [XASECO] Plugin: Personal Best Checkpoints 1.3.2 (UPDATE
PostPosted: 03 Mar 2017 20:13 
Offline
speedy pilot
speedy pilot

Joined: 12 Mar 2011 00:44
Posts: 331
Owned TM-games: TMN, TMU, TMF,TM2all
Same here :

Code:
###############################################################################
  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.


Top
 Profile  
 
 Post subject: Re: [XASECO] Plugin: Personal Best Checkpoints 1.3.2 (UPDATE
PostPosted: 04 Mar 2017 11:14 
Offline
Pit Crew
Pit Crew
User avatar

Joined: 31 Aug 2009 19:38
Posts: 1304
Location: Germany
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
weasel wrote:
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


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:
// 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


Top
 Profile  
 
 Post subject: Re: [XASECO] Plugin: Personal Best Checkpoints 1.3.2 (UPDATE
PostPosted: 04 Mar 2017 14:18 
Offline
speedy pilot
speedy pilot

Joined: 12 Mar 2011 00:44
Posts: 331
Owned TM-games: TMN, TMU, TMF,TM2all
Well , the point is that this plugin just not showing any times.


Top
 Profile  
 
 Post subject: Re: [XASECO] Plugin: Personal Best Checkpoints 1.3.2 (UPDATE
PostPosted: 10 Mar 2017 04:49 
Offline
happy cruiser
happy cruiser
User avatar

Joined: 05 Sep 2007 14:55
Posts: 133
Location: Sweden
Owned TM-games: TMUF
Manialink(s): woa
undef.de wrote:
weasel wrote:
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


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:
// 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 ...


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 6 guests


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