[XASECO2] 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

Jerome
highway camper
highway camper
Posts: 3
Joined: 23 Jul 2008 16:55
Owned TM-games: TMN, TMU, TM2C/S/V

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

Post by Jerome » 15 Mar 2015 07:27

Thanks undef. That helped to the point where now I have the DedimaniaRecordsWidget, LocalRecordsWidget and LiveRankingsWidget appear simultaneously.

The problem now is that when I log off the server and log back on, none of those widgets appear. I'll need to press F7 for them to appear every time I log onto the server.

I tried commenting out these lines

Code: Select all

	declare persistent Boolean RecordsEyepieceDedimaniaRecordsVisible = True;

Code: Select all

	declare persistent Boolean RecordsEyepieceLocalRecordsVisible = True;

Code: Select all

	declare persistent Boolean RecordsEyepieceLiveRankingsVisible = True;
at the same time, then restarting xaseco2, pressing F7, enabling those 3 lines again then restarting xaseco2 again. The widgets still don't appear when I log onto the server.

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

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

Post by undef.de » 15 Mar 2015 08:41

Jerome wrote:Thanks undef. That helped to the point where now I have the DedimaniaRecordsWidget, LocalRecordsWidget and LiveRankingsWidget appear simultaneously.
The state of the Widgets isn't stored into the database on pressing F7 (temporary change), only "/eyepiece show" or "/eyepiece hide" store the state (permanent change).
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

Jerome
highway camper
highway camper
Posts: 3
Joined: 23 Jul 2008 16:55
Owned TM-games: TMN, TMU, TM2C/S/V

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

Post by Jerome » 15 Mar 2015 09:14

The state of the Widgets isn't stored into the database on pressing F7 (temporary change), only "/eyepiece show" or "/eyepiece hide" store the state (permanent change).
Ah silly me, it's all good now, thank you.

Shrike
pedestrian
pedestrian
Posts: 6
Joined: 12 May 2008 20:29
Owned TM-games: TMU, TM2
Contact:

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

Post by Shrike » 25 Apr 2015 12:51

Howdy :)

Is it possible for the WinningPayout to be limited to the Donated amount.
So players can not win more as they have donated.
Maybe with a Variable setting for limit 80% or 90% percent of donated amount.

I have already been looking trough the php but I can't seem to find where the total Donated amount is stored so i could compare the TotalWinning to TotalDonated.

Any help much appreciated :)

Thanks,
Shrike.

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

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

Post by undef.de » 26 Apr 2015 09:08

Shrike wrote:Is it possible for the WinningPayout to be limited to the Donated amount. So players can not win more as they have donated. Maybe with a Variable setting for limit 80% or 90% percent of donated amount.
Currently this isn't possible.
Shrike wrote: I have already been looking trough the php but I can't seem to find where the total Donated amount is stored so i could compare the TotalWinning to TotalDonated.
The donated amount is stored in the database table`players_extra` at `Donations`. With this value you can only see how much the player has donated from the first visit.
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

coshank
pedestrian
pedestrian
Posts: 6
Joined: 08 Dec 2013 18:21
Owned TM-games: Trackmania 2

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

Post by coshank » 16 May 2015 08:00

Hi,

I keep getting this message in my logs (spammed), everything works great but its kind of annoying. Started when i put nice mode forced to true, error disappears if i put it to false again (but i want it forced).

Code: Select all

PHP Notice] Trying to get property of non-object on line 8383 in file /home/tmserver/servers/mp_00374/xaseco2/plugins/plugin.records_eyepiece.php
Any ideas?

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

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

Post by undef.de » 16 May 2015 09:32

coshank wrote:I keep getting this message in my logs (spammed), everything works great but its kind of annoying. Started when i put nice mode forced to true, error disappears if i put it to false again (but i want it forced).

Code: Select all

PHP Notice] Trying to get property of non-object on line 8383 in file /home/tmserver/servers/mp_00374/xaseco2/plugins/plugin.records_eyepiece.php
Fixed for the next release, thanks!
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

eNkz0r
highway camper
highway camper
Posts: 2
Joined: 08 Apr 2015 01:32
Owned TM-games: TM²

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

Post by eNkz0r » 08 Jun 2015 23:20

Hi all,

I have a problem with Records-Eyepiece.

Code: Select all

PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /home/teamadt/TM2/xaseco2/adt_dirt2/plugins/plugin.records_eyepiece.php on line 8162
I use the last update (1.1.0)
Any ideas?

speedychris
wheelbarrow operator
wheelbarrow operator
Posts: 19
Joined: 12 Mar 2013 09:58
Owned TM-games: TMU, TM2

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

Post by speedychris » 09 Jun 2015 08:45

1 sek google-search: http://stackoverflow.com/questions/5610 ... gniter-xml

is that so difficult?

eNkz0r
highway camper
highway camper
Posts: 2
Joined: 08 Apr 2015 01:32
Owned TM-games: TM²

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

Post by eNkz0r » 09 Jun 2015 10:58

I don't have access to php.ini.
So how can i do?

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

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

Post by undef.de » 09 Jun 2015 17:15

See http://www.undef.name/Misc/Knowledge-Base.php
[...] add -d memory_limit=-1 as parameter after the PHP executable.
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

realzug
highway camper
highway camper
Posts: 1
Joined: 24 Sep 2015 22:30
Owned TM-games: TMS

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

Post by realzug » 24 Sep 2015 22:35

Hi everyone!

I have this problem with the plugin.

Image

As you can see I have the plugin in the correct folder.
Still I get this message?

I have no clue on what to do, any suggestions?

edit: updated image

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

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

Post by Xymph » 25 Sep 2015 07:10

Read the warning more carefully: it states exactly which file it attempts to open, and that one is present in the plugins directory with .php extension. :wink:

This is why in Windows Explorer, it's better to disable Hide Known Extensions.
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

«从々.»«ॐ²³»
sunday driver
sunday driver
Posts: 58
Joined: 28 Jun 2010 16:35
Owned TM-games: TMNF, TMUF, TM²C
Manialink(s): lolzone
Location: Germany
Contact:

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

Post by «从々.»«ॐ²³» » 06 Nov 2015 23:52

Hi,
is it possible to identify demo players?
if it is, it would be great to get an update for not paying out demo players on <winning_payout>.

br
TM² [url=maniaplanet://#join=loltech]Δ!lluminati Confirmed!Δ[/url]

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

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

Post by undef.de » 07 Nov 2015 14:11

«从々.»«ॐ²³» wrote:is it possible to identify demo players?
Currently there is no method/option to identify 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

Post Reply