Page 38 of 40

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

Posted: 18 Jan 2014 14:09
by UnLoco
PHP 5.3.3
ok,i will try to change "mb_strtolower" into "strtolower" and see if works.
thank you

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

Posted: 14 Dec 2014 15:09
by undef.de
Just wanna say: There is an update out there... see the related Site at my Lab.

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

Posted: 03 May 2015 23:40
by weerwolf1
Hi Udef,

Can u explain what this actually does?

Code: Select all

[05/03,17:25:55] >> Updating `mostfinished` counts for all Players...
[05/03,17:25:55] >> Updating `mostrecords` counts for all Players...
Case example is on a tracklist of 1173 tracks
Player ID 5562 has 1218 'most records' (how is that possible?)
after the restart and that update this player has 1172 'most records' (seems more legit :P)

I am curious how this works.

With regards,

Weerwolf

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

Posted: 04 May 2015 12:46
by undef.de
weerwolf1 wrote:Can u explain what this actually does?

Code: Select all

[05/03,17:25:55] >> Updating `mostfinished` counts for all Players...
[05/03,17:25:55] >> Updating `mostrecords` counts for all Players...
Case example is on a tracklist of 1173 tracks
Player ID 5562 has 1218 'most records' (how is that possible?)
after the restart and that update this player has 1172 'most records' (seems more legit :P)
MostFinished
Reads from the database table `rs_times` how often a player has finished the maps. In this table are all finishes are stored, so 1218 may be valid.
Depending on your configuration, this table is cleaned up on start.

MostRecords
Reads from the database table `records` how often a player has made a record. In this table only one time per map is stored.

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

Posted: 04 May 2015 19:37
by weerwolf1
Hi Undef,
Very much thanks for this very quick response!
undef.de wrote: MostFinished
Reads from the database table `rs_times` how often a player has finished the maps. In this table are all finishes are stored, so 1218 may be valid.
Depending on your configuration, this table is cleaned up on start.
Actually this number is like in the 36000+, and did not change after
undef.de wrote: MostRecords
Reads from the database table `records` how often a player has made a record. In this table only one time per map is stored.
Here the number changed from 1218 to 1172.

Sorry for the inconvenience if im 'not getting it' ;)

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

Posted: 21 Mar 2016 11:38
by coolthing
Hi Undef,

Can I disable and enable again the dedimania, local and live ranking widget dynamically from another plugin?

I've tried for dedimania for example:

Code: Select all

	global $re_config;
	$re_config['DEDIMANIA_RECORDS'][0]['GAMEMODE'][0]['TIME_ATTACK'][0]['ENABLED'][0]		= false;
But this does not seem to work.

Best regards,
Coolthing

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

Posted: 21 Mar 2016 19:48
by undef.de
You have to change the states too in:

Code: Select all

	$re_config['States']['DedimaniaRecords']['NeedUpdate']
	$re_config['States']['DedimaniaRecords']['UpdateDisplay']
	$re_config['States']['LocalRecords']['NeedUpdate']
	$re_config['States']['LocalRecords']['UpdateDisplay']
	$re_config['States']['LiveRankings']['NeedUpdate']
	$re_config['States']['LiveRankings']['UpdateDisplay']
And you (probably) have to wait for the timeout of <refresh_interval>.

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

Posted: 21 Mar 2016 20:20
by coolthing
Thanks for the quick response. I will try that out :)

Edit: Still does not work. I set those states to true together with setting the enabled flags to false inside a chat command. But the widgets do not disappear. Even when I first call re_closeRaceDisplays('my_login') first the widgets appear again after a few seconds. Am I overlooking anything?

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

Posted: 21 Mar 2016 23:08
by undef.de
Yes, you have to use

Code: Select all

	$re_config['DEDIMANIA_RECORDS'][0]['GAMEMODE'][0][Gameinfo::TA][0]['ENABLED'][0]
	$re_config['LOCAL_RECORDS'][0]['GAMEMODE'][0][Gameinfo::TA][0]['ENABLED'][0]
	$re_config['LIVE_RANKINGS'][0]['GAMEMODE'][0][Gameinfo::TA][0]['ENABLED'][0]
Gameinfo::TA instead of TIME_ATTACK

Btw.: What do you want to do?

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

Posted: 22 Mar 2016 00:36
by coolthing
Ah nice, that does work. Thank you very much :)

I'm currently developing a game which you can start on the server on vote request. Once it starts I need to disable the dedimania, local and live ranking widget dynamically (and enable them again when the game is over), because I need the space for the game widgets and Xaseco does not get restarted ;)

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

Posted: 21 Jul 2016 15:47
by undef.de
Just wanna say: There is an update out there... see the related Site at my Lab.

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

Posted: 12 Feb 2018 15:53
by TheBigG
Hi undef,
would it be possible to get a little update for PHP7.2?

Code: Select all

[PHP Warning] A non-numeric value encountered on line 11276 in file /[...]/plugins/plugin.records_eyepiece.php
[PHP Warning] A non-numeric value encountered on line 11284 in file /[...]/plugins/plugin.records_eyepiece.php
[PHP Warning] A non-numeric value encountered on line 11102 in file /[...]/plugins/plugin.records_eyepiece.php
Would be realy nice from you :lovetm
Thank you

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

Posted: 12 Feb 2018 16:05
by undef.de
Thanks for the report, added to the to do list... but I think that fix will never released, because of freezed development for XAseco1. Anyway, never say never. =)

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

Posted: 06 Mar 2018 20:38
by bajszatlan
hi!
i got this error message:
[XASECO Warning] [plugin.records_eyepiece.php] Error at GetChallengeList(): [-32700] parse error. not well formed
and the track count 0 in the widget
cant list notfinished, nogold, etc tracks and /elist not working.

but i can use /list command to see the maps

whats wrong?

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

Posted: 07 Mar 2018 19:26
by undef.de
It seems one of the maps is making trouble, did you add some shortly? If so, please remove that and post that TMX-Id and its name here.