TM-FORUM

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

All times are UTC + 1 hour




Post new topic Reply to topic  [ 566 posts ]  Go to page Previous  1 ... 34, 35, 36, 37, 38
Author Message
 Post subject: Re: [XASECO] Plugin: Records-Eyepiece 1.0.9.9 (UPDATE)
PostPosted: 18 Jan 2014 15:09 
Offline
pedestrian
pedestrian

Joined: 01 Apr 2013 11:54
Posts: 5
Owned TM-games: tmu
PHP 5.3.3
ok,i will try to change "mb_strtolower" into "strtolower" and see if works.
thank you


Top
 Profile  
 
 Post subject: Re: [XASECO] Plugin: Records-Eyepiece 1.1.0 (UPDATE)
PostPosted: 14 Dec 2014 16:09 
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
Just wanna say: There is an update out there... see the related Site at my Lab.

_________________
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: Records-Eyepiece 1.1.0 (UPDATE)
PostPosted: 04 May 2015 00:40 
Offline
smooth traffic navigator
smooth traffic navigator

Joined: 08 May 2008 10:25
Posts: 236
Location: The Netherlands
Owned TM-games: All but original
Hi Udef,

Can u explain what this actually does?
Code:
[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

_________________
LYNX°°°° - Maniaplanet Gaming Community!
news | clan | community | & more
°°°°


Top
 Profile  
 
 Post subject: Re: [XASECO] Plugin: Records-Eyepiece 1.1.0 (UPDATE)
PostPosted: 04 May 2015 13:46 
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
weerwolf1 wrote:
Can u explain what this actually does?
Code:
[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.

_________________
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: Records-Eyepiece 1.1.0 (UPDATE)
PostPosted: 04 May 2015 20:37 
Offline
smooth traffic navigator
smooth traffic navigator

Joined: 08 May 2008 10:25
Posts: 236
Location: The Netherlands
Owned TM-games: All but original
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' ;)

_________________
LYNX°°°° - Maniaplanet Gaming Community!
news | clan | community | & more
°°°°


Top
 Profile  
 
 Post subject: Re: [XASECO] Plugin: Records-Eyepiece 1.1.0 (UPDATE)
PostPosted: 21 Mar 2016 12:38 
Offline
pedestrian
pedestrian

Joined: 23 Feb 2015 23:28
Posts: 8
Owned TM-games: TMU
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:
   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


Top
 Profile  
 
 Post subject: Re: [XASECO] Plugin: Records-Eyepiece 1.1.0 (UPDATE)
PostPosted: 21 Mar 2016 20:48 
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
You have to change the states too in:
Code:
   $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>.

_________________
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: Records-Eyepiece 1.1.0 (UPDATE)
PostPosted: 21 Mar 2016 21:20 
Offline
pedestrian
pedestrian

Joined: 23 Feb 2015 23:28
Posts: 8
Owned TM-games: TMU
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?


Top
 Profile  
 
 Post subject: Re: [XASECO] Plugin: Records-Eyepiece 1.1.0 (UPDATE)
PostPosted: 22 Mar 2016 00:08 
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
Yes, you have to use
Code:
   $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?

_________________
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: Records-Eyepiece 1.1.0 (UPDATE)
PostPosted: 22 Mar 2016 01:36 
Offline
pedestrian
pedestrian

Joined: 23 Feb 2015 23:28
Posts: 8
Owned TM-games: TMU
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 ;)


Top
 Profile  
 
 Post subject: Re: [XASECO] Plugin: Records-Eyepiece 1.1.0 (UPDATE)
PostPosted: 21 Jul 2016 16:47 
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
Just wanna say: There is an update out there... see the related Site at my Lab.

_________________
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  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 566 posts ]  Go to page Previous  1 ... 34, 35, 36, 37, 38

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