[XASECO] Plugin: Records-Eyepiece 1.1.1 (UPDATE)

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

Moderators: Xymph, TM-Patrol

ccx
sunday driver
sunday driver
Posts: 55
Joined: 07 Feb 2009 22:41
Owned TM-games: TMUF

Re: [XASECO] Plugin: Records-Eyepiece 1.0.9 (UPDATE)

Post by ccx » 16 Oct 2012 19:26

Hello Undef, hello all !

I wonder what means in my log

Code: Select all

[plugin.records_eyepiece.php] Register event "onCheckpoint" to enabled wanted Widgets.
Is it a warning or an error ?

Do I have to replace this code

Code: Select all

		if ($found == false) {
			$aseco->registerEvent('onCheckpoint', 're_onCheckpoint');
			$aseco->console('[plugin.records_eyepiece.php] Register event "onCheckpoint" to enabled wanted Widgets.');
		}
in the "function re_onNewChallenge", to the top of the code, with the others

Code: Select all

Aseco::registerEvent('onXxxxx',				're_onXxxxx');
Sorry I read all the post without seeing the answer.

Thx,

ccx.

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

Re: [XASECO] Plugin: Records-Eyepiece 1.0.9 (UPDATE)

Post by undef.de » 17 Oct 2012 16:37

ccx wrote: I wonder what means in my log

Code: Select all

[plugin.records_eyepiece.php] Register event "onCheckpoint" to enabled wanted Widgets.
Is it a warning or an error ?
This is just a note, you can ignore this.
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

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

Re: [XASECO] Plugin: Records-Eyepiece 1.0.9.1 (UPDATE)

Post by undef.de » 21 Oct 2012 10:26

Just wanna say: There is an (bugfix)update out there... see the related Site at my Lab.
Last edited by undef.de on 08 Dec 2013 17:39, edited 1 time in total.
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

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

Re: [XASECO] Plugin: Records-Eyepiece 1.0.9.2 (UPDATE)

Post by undef.de » 21 Oct 2012 14:10

Just wanna say: There is an (bugfix)update out there... see the related Site at my Lab.
Last edited by undef.de on 08 Dec 2013 17:39, edited 1 time in total.
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

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

Re: [XASECO] Plugin: Records-Eyepiece 1.0.9.2 (UPDATE)

Post by undef.de » 21 Oct 2012 17:56

The 1.0.9.2 release files has been updated, because of the "[PHP Notice] Undefined index: TEXT_COLOR on line 15310", see the changelog for details.
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

ccx
sunday driver
sunday driver
Posts: 55
Joined: 07 Feb 2009 22:41
Owned TM-games: TMUF

Re: [XASECO] Plugin: Records-Eyepiece 1.0.9.2 (UPDATE)

Post by ccx » 21 Oct 2012 19:15

Argh, I still installed the 1.9.0.1 and see no error ... well ok let's install the new one.

Thx for your enhancements, mate :thumbsup:

ccx.

DonGigi
highway camper
highway camper
Posts: 1
Joined: 23 Oct 2012 07:51
Owned TM-games: TMU
Location: Germany/Hessen
Contact:

Re: [XASECO] Plugin: Records-Eyepiece 1.0.9.2 (UPDATE)

Post by DonGigi » 23 Oct 2012 07:55

I have a problem with the script,

Code: Select all

[10/23,09:45:23] ***************[plugin.records_eyepiece.php]***************
[10/23,09:45:23] >> Checking Database for required extensions...
[10/23,09:45:23]    + Found column `timezone` at table `players_extra`.
[10/23,09:45:23]    + Found column `displaywidgets` at table `players_extra`.
[10/23,09:45:23]    + Found column `mostfinished` at table `players_extra`.
[10/23,09:45:23]    + Found column `mostrecords` at table `players_extra`.
[10/23,09:45:23]    + Found column `roundpoints` at table `players_extra`.
[10/23,09:45:23]    + Found column `visits` at table `players_extra`.
[10/23,09:45:23]    + Found column `winningpayout` at table `players_extra`.
[10/23,09:45:23]    + Found index `Nation` at table `players`.
[10/23,09:45:23]    + Found index `Wins` at table `players`.
[10/23,09:45:23]    + Found index `UpdatedAt` at table `players`.
[10/23,09:45:23]    + Found index `Score` at table `rs_karma`.
[10/23,09:45:23]    + Found index `Score` at table `rs_times`.
[10/23,09:45:23] >> Updating `mostfinished` counts for all Players...
[10/23,09:45:23] >> Updating `mostrecords` counts for all Players...
[10/23,09:45:23] >> Finished.
[10/23,09:45:23] ***********************************************************
After that, the Xaseco stops working, no Problem in logfile.txt it only stops working :( Without Records-Eyespy Plugin loaded Xaseco works fine...

Can some pleas help me, get this Plugin working ... thx

Edit: Thx, to undef.de

now it works with an older Version

User avatar
NBAA
smooth traffic navigator
smooth traffic navigator
Posts: 239
Joined: 16 Oct 2005 16:58
Owned TM-games: TMO, TMS, TMU, TM²C
Manialink(s): nbaa / 2d2d

Re: [XASECO] Plugin: Records-Eyepiece 1.0.9.2 (UPDATE)

Post by NBAA » 11 Nov 2012 17:39

I am using usbTMFserver 2.9 by lille79 based on Xaseco v1.15b and Records-Eyepiece 1.0.9 (updated to 1.09.2) and others, and i have two questions;

Regarding the Add-to-favorite icon i found the <favorite_widget> section in the records_eyepiece.xml;
1. It there a way to only show the icon on the score page, and not in the race?

In the same xml i also found the section <eyepiece_widget> which led me to look in the plugin.records_eyepiece.php and the section Records-Eyepiece Advertising at Race/Score;
2. I would like to add the logo from my team. How can i do this and can i change the aspect ratio for the logo? If i would need to adjust the positioning, how can i do that?
2D2DNBAA -> Too Drive to Drunk -> Join my server
My tracks@TmExchange: TMU / TMS / TMO / TMN / TM2

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

Re: [XASECO] Plugin: Records-Eyepiece 1.0.9.2 (UPDATE)

Post by undef.de » 11 Nov 2012 18:15

NBAA wrote:I am using usbTMFserver 2.9 by lille79 based on Xaseco v1.15b and Records-Eyepiece 1.0.9 (updated to 1.09.2) and others, and i have two questions;

Regarding the Add-to-favorite icon i found the <favorite_widget> section in the records_eyepiece.xml;
1. It there a way to only show the icon on the score page, and not in the race?
Sure, just place it at race outside the visibility. ;)
NBAA wrote: In the same xml i also found the section <eyepiece_widget> which led me to look in the plugin.records_eyepiece.php and the section Records-Eyepiece Advertising at Race/Score;
2. I would like to add the logo from my team. How can i do this and can i change the aspect ratio for the logo? If i would need to adjust the positioning, how can i do that?
Just use a <placement> instead of changing the code! See http://www.undef.name/XAseco1/Records-E ... php#Config how to add a <placement>, or take a look into the "placement_examples.xml" inside the ZIP.
Last edited by undef.de on 23 Sep 2013 22:19, edited 1 time in total.
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

User avatar
NBAA
smooth traffic navigator
smooth traffic navigator
Posts: 239
Joined: 16 Oct 2005 16:58
Owned TM-games: TMO, TMS, TMU, TM²C
Manialink(s): nbaa / 2d2d

Re: [XASECO] Plugin: Records-Eyepiece 1.0.9.2 (UPDATE)

Post by NBAA » 12 Nov 2012 18:33

Thanks :)
I think i got that sorted.

One thing i noticed is that when i get f.ie. 1st place my avatar apperas in the top left corner placing itself, what seems to be, behind the team logo. And it doesn't look very smart. Do you have any suggestions?

Image
2D2DNBAA -> Too Drive to Drunk -> Join my server
My tracks@TmExchange: TMU / TMS / TMO / TMN / TM2

TheBigG
smooth traffic navigator
smooth traffic navigator
Posts: 228
Joined: 16 Oct 2010 19:45
Owned TM-games: TMN! TMF
Location: Germany

Re: [XASECO] Plugin: Records-Eyepiece 1.0.9.2 (UPDATE)

Post by TheBigG » 13 Nov 2012 17:33

turn <custom_ui><notice> off

User avatar
Electron
cyclist
cyclist
Posts: 38
Joined: 25 Jun 2010 18:20
Owned TM-games: TMUF, TM2
Manialink(s): GbxDump
Contact:

Re: [XASECO] Plugin: Records-Eyepiece 1.0.9.2 (UPDATE)

Post by Electron » 18 Nov 2012 13:07

Records-Eyepiece caused quitting of Xaseco if an error occurs while calling the new Gbx data fetcher class. For example if the file name of the track was wrong, the Gbx file doesn't exist any more or the Gbx file is corrupted.

GBXChallMapFetcher now raises an exception if something goes wrong. Therefore the call to GBXChallMapFetcher::processFile() have to be inside a try/catch block. It looks like testing GBXChallMapFetcher::uid is not enough any more.
Image

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

Re: [XASECO] Plugin: Records-Eyepiece 1.0.9.2 (UPDATE)

Post by Xymph » 18 Nov 2012 14:28

Electron wrote:GBXChallMapFetcher now raises an exception if something goes wrong. Therefore the call to GBXChallMapFetcher::processFile() have to be inside a try/catch block.
Yes, that's required, as indicated by the included driver script (gbxchmapfetch.php in gbxdatafetcher.zip) and the Doxygen comments for the __construct methods.
Electron wrote:It looks like testing GBXChallMapFetcher::uid is not enough any more.
Actually, that shouldn't be tested at all anymore, if there's no exception then the returned object contains valid, usable data.
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

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

Re: [XASECO] Plugin: Records-Eyepiece 1.0.9.3 (UPDATE)

Post by undef.de » 20 Nov 2012 19:34

Just wanna say: There is an (bugfix)update out there... see the related Site at my Lab.
Last edited by undef.de on 08 Dec 2013 17:39, edited 1 time in total.
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

weerwolf1
smooth traffic navigator
smooth traffic navigator
Posts: 236
Joined: 08 May 2008 09:25
Owned TM-games: All but original
Location: The Netherlands

Re: [XASECO] Plugin: Records-Eyepiece 1.0.9.3 (UPDATE)

Post by weerwolf1 » 03 Dec 2012 21:17

I'm using the welcome screen and some players noticed that the first line, welcome <playername> looks to be using random player nicknames.
Im often there and when others join, they see Welcome LYNX-Weerwolf :-S
LYNX°°°° - Maniaplanet Gaming Community!
news | clan | community | & more
°°°°

Post Reply