[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

User avatar
holzi3441
wheelbarrow operator
wheelbarrow operator
Posts: 17
Joined: 03 Apr 2009 06:09
Owned TM-games: TMU
Location: Germany
Contact:

Re: [XASECO] Beta Testers wanted for Fufi.Widgets replacemen

Post by holzi3441 » 03 Oct 2010 15:20

I like your plugin and it was running perfekt til today. Xaseco ends up with this lines in the log file.

Code: Select all

[PHP Warning] DateTimeZone::__construct(): Unknown or bad timezone (America/Santa_Isabel) on line 2691 in file /tmf/xaseco_server1/plugins/plugin.records_eyepiece.php
[PHP Warning] DateTime::__construct() expects parameter 2 to be DateTimeZone, null given on line 2692 in file /tmf/xaseco_server1/plugins/plugin.records_eyepiece.php
[PHP Warning] DateTimeZone::getOffset(): The DateTime object has not been correctly initialized by its constructor on line 2693 in file /tmf/xaseco_server1/plugins/plugin.records_eyepiece.php
Xaseco 1.11
records eyepiece 0.9.0

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

Re: [XASECO] Beta Testers wanted for Fufi.Widgets replacemen

Post by undef.de » 03 Oct 2010 16:24

holzi3441 wrote:I like your plugin and it was running perfekt til today. Xaseco ends up with this lines in the log file.

Code: Select all

[PHP Warning] DateTimeZone::__construct(): Unknown or bad timezone (America/Santa_Isabel) on line 2691 in file /tmf/xaseco_server1/plugins/plugin.records_eyepiece.php
[PHP Warning] DateTime::__construct() expects parameter 2 to be DateTimeZone, null given on line 2692 in file /tmf/xaseco_server1/plugins/plugin.records_eyepiece.php
[PHP Warning] DateTimeZone::getOffset(): The DateTime object has not been correctly initialized by its constructor on line 2693 in file /tmf/xaseco_server1/plugins/plugin.records_eyepiece.php
Xaseco 1.11
records eyepiece 0.9.0
Which PHP version is installed? The timezone "America/Santa_Isabel" is supported by PHP (see http://us.php.net/manual/en/timezones.america.php). Maybe you use an older PHP version. At my 5.2.13 this timezone "America/Santa_Isabel" (timezonedb/2010.02) gives no error to me.

Edit: You can update your timezonedb with:

Code: Select all

pecl install timezonedb
Actual version is 2010.13. To test it, you can select in Brasil the timezone "Brasil/Santa Isabel" and if no warning appears, you have successfully installed it.
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: 56
Joined: 07 Feb 2009 22:41
Owned TM-games: TMUF

Re: [XASECO] Beta Testers wanted for Fufi.Widgets replacemen

Post by ccx » 05 Oct 2010 23:02

Hey mate,

Nice work, as always !! :thumbsup:
Yes, I wanna test it :D

PM me where I can download it, please ?

Regards,

ccx.

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

Re: [XASECO] Beta Testers wanted for Fufi.Widgets replacemen

Post by undef.de » 09 Oct 2010 08:28

Just wanna say: There is an update out there... see my first post.
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

2bad
wheelbarrow operator
wheelbarrow operator
Posts: 24
Joined: 10 Jun 2010 07:36
Owned TM-games: tmf tmuf

Re: [XASECO] Beta Testers wanted for Fufi.Widgets replacemen

Post by 2bad » 10 Oct 2010 12:39

Hmm got little problem Sometimes! :S

See it here.. Upper right

http://ts.evil-server.nl/images/ScreenShot08.bmp

When i use F7 it won't help..
And sometimes also the local records wont load..
This will load if i hit F7.
If i reconnect its all ok...
Last edited by Xymph on 10 Oct 2010 16:04, edited 1 time in total.
Reason: Never use the web-unfriendly .BMP format as inline image... convert to .JPG or .PNG first

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

Re: [XASECO] Beta Testers wanted for Fufi.Widgets replacemen

Post by undef.de » 10 Oct 2010 16:32

2bad wrote:Hmm got little problem Sometimes! :S

See it here.. Upper right

http://ts.evil-server.nl/images/ScreenShot08.bmp

When i use F7 it won't help..
And sometimes also the local records wont load..
This will load if i hit F7.
If i reconnect its all ok...
That´s the problem i working on. My plugin can not handle so much Players at the map change in the "normal mode" and the configuration is still unchanged to switch automatic to "nice mode" if more then the given amount of Players is online. Currently i try to find out how many Players can handle my plugin at map change.

If you change your records_eyepiece.xml to the following values, then the Plugin should run without any problems:

Code: Select all

<nicemode>
	<enabled>true</enabled>
	<limits>
		<lower_limit>24</lower_limit>
		<upper_limit>25</upper_limit>
	</limits>
Or alternate "nice mode" always on, if such an amount of Players is always online:

Code: Select all

<nicemode>
	<enabled>true</enabled>
	<force>true</force>
After changing it, you can type "/eyeset reload" to reload the records_eyepiece.xml.
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: 56
Joined: 07 Feb 2009 22:41
Owned TM-games: TMUF

Re: [XASECO] Beta Testers wanted for Fufi.Widgets replacemen

Post by ccx » 17 Oct 2010 15:42

Yeaah ! nice !!

I was afraid to change my fufi plugin, I thought it would need hours...
I realized the operation / settings to my own taste in 2 minutes :thumbsup:

I have just some question, Undef :

1) I've set

Code: Select all

	<!-- Displays the current song -->
	<music_widget>
		<enabled>true</enabled>
But the song doesn't appear. (I remove my own song plugin in 'plugins.xml').

Here is the configuration of my 'musicserver.xml' :

Code: Select all

	<!-- override a track's custom music? -->
	<override_track>True</override_track>
	<!-- automatically load next song upon next track? -->
	<auto_nextsong>True</auto_nextsong>
	<!-- automatically shuffle songs at start-up & reload? -->
	<auto_shuffle>True</auto_shuffle>	
	<!-- allow jukeboxing songs by players? -->
	<allow_jukebox>True</allow_jukebox>
	<!-- strip subdirs when showing song files? -->
	<strip_subdirs>True</strip_subdirs>
	<!-- strip extensions when showing song files? -->
	<strip_exts>True</strip_exts>

	<!-- read tags from all .ogg songs? -->
	<cache_tags>False</cache_tags>
	<!-- use read-only cache file? -->
	<cache_readonly>False</cache_readonly>
All my musics are .ogg with corrects tags.

Can you say me what's wrong ?

2) In your zip, the 'plugins' folder contains too :

chat.admin.php
plugin.dedimania.php
plugin.localdatabase.php
plugin.rasp_jukebox.php

=> Do am I supposed to overwrite mine ? (Did not do it, that works anyway..)

3) Last : in the 'install.txt' file, this is mentionned :
- plugins/plugin.nouse.betting.php (Required, only if you want the Betwins-Widget at Score. Get it here: viewtopic.php?t=23511)
Well, that's not completely true : wether you want to run it or not, the plugin 'nouse betting' has to be present in the \plugins folder.
Just to avoid this ; )
[XASECO Fatal Error] [plugin.records_eyepiece.php] Unmet requirements! With your
current configuration you need to activate "plugin.nouse.betting.php" to run th
is Plugin! on line 275 in file E:\xaseco\plugins\plugin.records_eyepiece.php
Thx for your great job !! :3

ccx.

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

Re: [XASECO] Beta Testers wanted for Fufi.Widgets replacemen

Post by undef.de » 17 Oct 2010 16:11

ccx wrote: I was afraid to change my fufi plugin, I thought it would need hours...
I realized the operation / settings to my own taste in 2 minutes :thumbsup:
:pil
ccx wrote: 1) I've set

Code: Select all

	<!-- Displays the current song -->
	<music_widget>
		<enabled>true</enabled>
But the song doesn't appear. (I remove my own song plugin in 'plugins.xml').

Here is the configuration of my 'musicserver.xml' :

Code: Select all

	<!-- read tags from all .ogg songs? -->
	<cache_tags>False</cache_tags>
All my musics are .ogg with corrects tags.

Can you say me what's wrong ?
Found the problem: You need to set <cache_tags> to 'True'. I have to change my install.txt, thanks CCX!
ccx wrote: 2) In your zip, the 'plugins' folder contains too :

chat.admin.php
plugin.dedimania.php
plugin.localdatabase.php
plugin.rasp_jukebox.php

=> Do am I supposed to overwrite mine ? (Did not do it, that works anyway..)
While XASECO/1.12 is not released and i have not released Records-Eyepiece: Yes of course, see 2a. from install.txt. :D
ccx wrote: 3) Last : in the 'install.txt' file, this is mentionned :
- plugins/plugin.nouse.betting.php (Required, only if you want the Betwins-Widget at Score. Get it here: viewtopic.php?t=23511)
Well, that's not completely true : wether you want to run it or not, the plugin 'nouse betting' has to be present in the \plugins folder.
Just to avoid this ; )

Code: Select all

[XASECO Fatal Error] [plugin.records_eyepiece.php] Unmet requirements! With your
 current configuration you need to activate "plugin.nouse.betting.php" to run th
is Plugin! on line 275 in file E:\xaseco\plugins\plugin.records_eyepiece.php
Sorry, but no. This Plugin has only to be installed in /plugins and included in plugins.xml when:

Code: Select all

<scoretable_lists>
  <top_betwins>
    <enabled>true</enabled>
    [...]
otherwise the above Error does not appear (tested with my 0.9.2).
Last edited by undef.de on 17 Oct 2010 16:38, edited 3 times 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

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

Re: [XASECO] Beta Testers wanted for Fufi.Widgets replacemen

Post by Xymph » 17 Oct 2010 16:31

undef.de wrote:Until XASECO/1.12 is released
Whaddayamean, until? 8)
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: 1340
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

Re: [XASECO] Beta Testers wanted for Fufi.Widgets replacemen

Post by undef.de » 17 Oct 2010 16:36

Xymph wrote:
undef.de wrote:Until XASECO/1.12 is released
Whaddayamean, until? 8)
oopsie.... changed. :oops:

Hahaha... you got me... ok... XASECO/1.12 is released... :3
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: 56
Joined: 07 Feb 2009 22:41
Owned TM-games: TMUF

Re: [XASECO] Beta Testers wanted for Fufi.Widgets replacemen

Post by ccx » 17 Oct 2010 16:52

Cool,

Thx Xymph !

Undef, I test and let you know if any problem.

Thank you, too :D

ccx.

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

Re: [XASECO] Beta Testers wanted for Fufi.Widgets replacemen

Post by Xymph » 17 Oct 2010 16:57

undef.de wrote:oopsie.... changed. :oops:

Hahaha... you got me... ok...
LOL. :D
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

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

Re: [XASECO] Beta Testers wanted for Fufi.Widgets replacemen

Post by ccx » 18 Oct 2010 14:56

Hello Undef,

I'm in trouble... now that the new Xaseco is released...
I see the 'plugin.localdatabase.php' from Xymph is different from yours... which one is the good please ?

I think it's Xymph' one ? Cause I installed yours upon V1.12 of Xaseco :(

Now, the command '/list nofinish' list all my maps :(

Well, I'll put the last files (V1.12) in my folder..
If not still done, you should remove the 4 .php from your package ;)

It's my fault, I tried to mount in almost one shot your plugin and V1.12.. (grrr !)

I hope the function ldb_loadSettings launch at each Xaseco restart, not only at very first run, cause I guess it's this one who deploy the enhancements in the data base...

[EDIT] Yes that works ! I replaced your files by Xymph's ones, and it now works.
And I saw in the log the new Alter Tables... fffew :)
Sorry for this alert.

Regards,

ccx.

User avatar
balewi
highway camper
highway camper
Posts: 4
Joined: 13 Apr 2009 10:21
Owned TM-games: TMU
Contact:

Re: [XASECO] Beta Testers wanted for Fufi.Widgets replacemen

Post by balewi » 19 Oct 2010 19:15

Hello!
Really like those plugins, I would also like to try the team's server. Is it possible?
нст вαเєשι

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

Re: [XASECO] Beta Testers wanted for Fufi.Widgets replacemen

Post by undef.de » 19 Oct 2010 19:26

balewi wrote:Hello!
Really like those plugins, I would also like to try the team's server. Is it possible?
Just released for public, see my first post.
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

Post Reply