XASECO2 (TM²C) v0.98

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

Moderators: Xymph, TM-Patrol

biloudeprovence
road tourist
road tourist
Posts: 82
Joined: 24 Jul 2008 09:49
Owned TM-games: TMU

Re: XASECO2 (TM²C) v0.98

Post by biloudeprovence » 16 Nov 2011 11:51

Hi Xymph
I'm running v5.3.3 and don't have those deprecation warnings, as according to the manual this function will no longer throw warnings from v5.3.0 onwards. So upgrade PHP, or get your sysadmin to do it.
thank you for your advice I have upgrade my php v.5.3.8 works fine now :thumbsup:

thanks again :D

scg-flighthigh
smooth traffic navigator
smooth traffic navigator
Posts: 199
Joined: 05 May 2009 15:52
Owned TM-games: TM2

Re: XASECO2 (TM²C) v0.98

Post by scg-flighthigh » 16 Nov 2011 15:49

Thks Xymph
Thks Slig

After i install 0.98 all runs pretty good. :1

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

Re: XASECO2 (TM²C) v0.98

Post by undef.de » 02 Dec 2011 20:59

For the next release it would be very nice if the "authorzone" from a Map are accessible with the MXInfoFetcher.
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: 5708
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: XASECO2 (TM²C) v0.98

Post by Xymph » 02 Dec 2011 21:33

undef.de wrote:For the next release it would be very nice if the "authorzone" from a Map are accessible with the MXInfoFetcher.
That info is not returned by the MX API. You'd have to download the map and extract it with the GBXChallengeFetcher class.
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: 1349
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

Re: XASECO2 (TM²C) v0.98

Post by undef.de » 03 Dec 2011 10:51

Xymph wrote:
undef.de wrote:For the next release it would be very nice if the "authorzone" from a Map are accessible with the MXInfoFetcher.
That info is not returned by the MX API. You'd have to download the map and extract it with the GBXChallengeFetcher class.
Ahm... sorry, i´ve looked at the wrong place to get "authorzone" from a Map... the GBXChallengeFetcher class already have it in $azone...
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: 1349
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

Re: XASECO2 (TM²C) v0.98

Post by undef.de » 03 Dec 2011 20:10

Today i found this notice in my logs:

Code: Select all

[XAseco2] PHP Version is 5.2.13 on Linux
[...]
[PHP 2048] is_a(): Deprecated. Please use the instanceof operator on line 101 in file xxx/xaseco2-0.98/includes/GbxRemote.inc.php
[PHP 2048] is_a(): Deprecated. Please use the instanceof operator on line 104 in file xxx/xaseco2-0.98/includes/GbxRemote.inc.php
PS: The is_a() is also used in the XAseco/1.14 release and in GbxRemote.bem.php of both release branches too. :wink:
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: 5708
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: XASECO2 (TM²C) v0.98

Post by Xymph » 03 Dec 2011 21:56

undef.de wrote:PS: The is_a() is also used in the XAseco/1.14 release and in GbxRemote.bem.php of both release branches too.
viewtopic.php?p=199259#p199259
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: 1349
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

Re: XASECO2 (TM²C) v0.98

Post by undef.de » 03 Dec 2011 22:08

Xymph wrote:
undef.de wrote:PS: The is_a() is also used in the XAseco/1.14 release and in GbxRemote.bem.php of both release branches too.
viewtopic.php?p=199259#p199259
:roflol: ok... i love such changes in PHP... :lol:
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: 5708
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: XASECO2 (TM²C) v0.98

Post by Xymph » 04 Dec 2011 13:36

undef.de wrote:
Xymph wrote:
undef.de wrote:PS: The is_a() is also used in the XAseco/1.14 release and in GbxRemote.bem.php of both release branches too.
viewtopic.php?p=199259#p199259
ok... i love such changes in PHP... :lol:
Yeah, wacky. :roll: So on second thought, I changed the GbxRemote modules to use instanceof after all, then they should not throw warnings in all PHP versions >= 5.0, rather than just not in >= 5.3.
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: 1349
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

Re: XASECO2 (TM²C) v0.98

Post by undef.de » 04 Dec 2011 15:09

Xymph wrote:
undef.de wrote: ok... i love such changes in PHP... :lol:
Yeah, wacky. :roll: So on second thought, I changed the GbxRemote modules to use instanceof after all, then they should not throw warnings in all PHP versions >= 5.0, rather than just not in >= 5.3.
Offtopic: But be aware, that instanceof() get not the state "deprecated" in PHP/6.0.0 and back in 6.0.1. :roflol:
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: 5708
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: XASECO2 (TM²C) v0.98

Post by Xymph » 04 Dec 2011 16:19

undef.de wrote:
Xymph wrote:So on second thought, I changed the GbxRemote modules to use instanceof after all, then they should not throw warnings in all PHP versions >= 5.0, rather than just not in >= 5.3.
Offtopic: But be aware, that instanceof() get not the state "deprecated" in PHP/6.0.0 and back in 6.0.1.
Well, it's an operator (so no parentheses behind it) rather than a function, so that's really unlikely. I hope. :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

User avatar
oliverde8
solid chaser
solid chaser
Posts: 1135
Joined: 07 Oct 2006 07:03
Owned TM-games: TMU
Manialink(s): oliverde8
Location: Turkey
Contact:

Re: XASECO2 (TM²C) v0.98

Post by oliverde8 » 09 Dec 2011 19:02

Hi,

I wanted to ask something? I have a problem wth my server over heating when I run XAseco as it uses 100% of the CPU all the time. I know I need to change som pieces but mean while.

I changed the main while to this :

Code: Select all

while (true) {
			$time_start = microtime(true);
			// get callbacks from the server
			$this->executeCallbacks();

			// sends calls to the server
			$this->executeCalls();

			// throw timing events
			$this->releaseEvent('onMainLoop', null);

			$this->currsecond = time();
			if ($this->prevsecond != $this->currsecond) {
				$this->prevsecond = $this->currsecond;
				$this->releaseEvent('onEverySecond', null);
			}

			// make sure the script does not timeout
			$time_end = microtime(true);
			$time = 200000 - ($time_end - $time_start);
			if($time > 0)
				usleep($time);
			@set_time_limit($this->settings['script_timeout']);
		}
I have this runing for 2 weeks now and had over 30 players without any notable slow down. when there is no players my CPu usage is below 10% even with 30 it stands under 60%. May it have a secondary effect runing it this way?
ImageImage
Manialink : oliverde8color>
Servers : STATS <> United | VeryShort | Made In Turkey

Erwin
wheelbarrow operator
wheelbarrow operator
Posts: 23
Joined: 06 Apr 2008 21:01
Owned TM-games: TMN, TMU, TMF
Contact:

Re: XASECO2 (TM²C) v0.98

Post by Erwin » 12 Dec 2011 16:23

Hi,
Since the update to php 5.3 I receive this error message

Code: Select all

Deprecated: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0

Deprecated: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line 0

Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0
how can I fix this?

Erwin
wheelbarrow operator
wheelbarrow operator
Posts: 23
Joined: 06 Apr 2008 21:01
Owned TM-games: TMN, TMU, TMF
Contact:

Re: XASECO2 (TM²C) v0.98

Post by Erwin » 12 Dec 2011 17:06

done :wink:

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

Re: XASECO2 (TM²C) v0.98

Post by Electron » 17 Dec 2011 01:32

keep_best_vreplays is set to true by default.
I do not need all the VR in the VReplays folder (its pointless for me). Can I configure keep_best_vreplays to false without any disadvantages (relating to Dedimania)?
Can saving the GR be also switched off?
Why is both enabled by default? To save RAM?
Image

Post Reply