[XAseco2] Plugin: switchServer v0.5.1

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

Moderators: Xymph, TM-Patrol

«从々.»«ॐ²³»
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: switchServer v0.4.5

Post by «从々.»«ॐ²³» » 10 Nov 2015 00:30

hej, u could put version info in your php :D

second: I have problem to understand how to config multiple servers.
lets say I use sockets, is it like this

Code: Select all

<fetchers>
		<socket>5000</socket>
	<socket>5010</socket>
	</fetchers>
or this

Code: Select all

<fetchers>
		<socket>5000,5010</socket>
	</fetchers>
or this

Code: Select all

<fetchers>
		<socket>5000</socket>
	</fetchers>
<fetchers>
	<socket>5010</socket>
	</fetchers>
TM² [url=maniaplanet://#join=loltech]Δ!lluminati Confirmed!Δ[/url]

schmidi
smooth traffic navigator
smooth traffic navigator
Posts: 196
Joined: 15 Jul 2008 22:25
Owned TM-games: tmo, tms, tmuf

Re: [XAseco2] Plugin: switchServer v0.4.5

Post by schmidi » 10 Nov 2015 01:02

Code: Select all

<fetchers>
    <socket>5000</socket>
    <socket>5010</socket>
</fetchers>

«从々.»«ॐ²³»
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: switchServer v0.4.5

Post by «从々.»«ॐ²³» » 10 Nov 2015 14:52

ok, thx for this.
but, I can´t test it right now bcs the switch don´t show up the servers.
for the info, it was running good on my old ubuntu12,
but now I updated to ubunto14.

is there something I missed to activate on the rootserver side as it is fresh install?
the trackmania server and xaseco is a copy of the old one(all the same settings)

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

schmidi
smooth traffic navigator
smooth traffic navigator
Posts: 196
Joined: 15 Jul 2008 22:25
Owned TM-games: tmo, tms, tmuf

Re: [XAseco2] Plugin: switchServer v0.4.5

Post by schmidi » 10 Nov 2015 17:44

without details about your setup (IPs, ports, firewall, ...) I wont be able to help you.

errors-messages?
To narrow down the problem, I suggest to enable debug-messages. (plugins/switchServer/SwitchServer.php line 20: change false to true)

«从々.»«ॐ²³»
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: switchServer v0.4.5

Post by «从々.»«ॐ²³» » 10 Nov 2015 19:03

as i can see, there is no error.

my server soft:

Code: Select all

» OS: Linux 3.13.0-042stab111.12 x86_64
» PHP: PHP/5.5.9-1ubuntu4.13 with settings: SafeMode: false, MemoryLimit: -1, MaxExecutionTime: 120 seconds, AllowUrlFopen: true
» MySQL: Server: MySQL/5.5.44-0ubuntu0.14.04.1
» Client: 5.5.44
the switch debug

Code: Select all

[switchServer] start fetching
[switchServer] fetched: Δ$w$f00!$ffflluminati$i$fooC$fffonfirmed$f00!$zΔ                          LGN:loltech                        TID:Trackmania_2@nad PLR:0/64 SPC:0 16 LDR:0-50000
[switchServer] fetched: Δ$w$f00!$ffflluminati$i$fooC$fffonfirmed$f00!$zΔ $f00short&lol            LGN:shortlolenvmix                 TID:Trackmania_2@nad PLR:1/64 SPC:0 16 LDR:0-50000
[switchServer] stop fetching
oh, btw; I´ve talked with undef, he says I should ask if the plugin is tested with my php version.
TM² [url=maniaplanet://#join=loltech]Δ!lluminati Confirmed!Δ[/url]

schmidi
smooth traffic navigator
smooth traffic navigator
Posts: 196
Joined: 15 Jul 2008 22:25
Owned TM-games: tmo, tms, tmuf

Re: [XAseco2] Plugin: switchServer v0.4.5

Post by schmidi » 12 Nov 2015 12:45

«从々.»«ॐ²³» wrote:

Code: Select all

[switchServer] start fetching
[switchServer] fetched: Δ$w$f00!$ffflluminati$i$fooC$fffonfirmed$f00!$zΔ                          LGN:loltech                        TID:Trackmania_2@nad PLR:0/64 SPC:0 16 LDR:0-50000
[switchServer] fetched: Δ$w$f00!$ffflluminati$i$fooC$fffonfirmed$f00!$zΔ $f00short&lol            LGN:shortlolenvmix                 TID:Trackmania_2@nad PLR:1/64 SPC:0 16 LDR:0-50000
[switchServer] stop fetching
oh, btw; I´ve talked with undef, he says I should ask if the plugin is tested with my php version.
Log looks good to me.
I did test it with 5.4.x but I dont think thats the problem.

But I might just have catched a problem with truncated title-ids (TID). Hopefully i will find time to look into this soon.

«从々.»«ॐ²³»
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: switchServer v0.4.5

Post by «从々.»«ॐ²³» » 12 Nov 2015 15:22

yes, log looks ok.
the problem is while it seems to work, it shows only the expand arrow.
as I could see it is not a problem for the other plugins.

but when i start it on 2 or 3 servers it also start to disapear the fufi menu, admin panel and donate pannel. functionality is still there.
TM² [url=maniaplanet://#join=loltech]Δ!lluminati Confirmed!Δ[/url]

schmidi
smooth traffic navigator
smooth traffic navigator
Posts: 196
Joined: 15 Jul 2008 22:25
Owned TM-games: tmo, tms, tmuf

Re: [XAseco2] Plugin: switchServer v0.4.5

Post by schmidi » 13 Nov 2015 00:05

«从々.»«ॐ²³» wrote:but when i start it on 2 or 3 servers it also start to disapear the fufi menu, admin panel and donate pannel. functionality is still there.
Is it possible to give me a live demo?

«从々.»«ॐ²³»
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: switchServer v0.4.5

Post by «从々.»«ॐ²³» » 13 Nov 2015 14:12

sure.
maybe another questions;
- is it needed to run the plugin on both servers?
- as I said I use 1:1 copy of old config, but has <xmlrpc_allowremote> to be true? I have it on false. not sure about this, my adminserv is working.

oh and I checkes the log again now i see something different :D

Code: Select all

[switchServer] added SocketDataFetcher port: 5000
[switchServer] added SocketDataFetcher port: 5020
[switchServer] start fetching
[switchServer] failed to fetch: 127.0.0.1:5000
[switchServer] failed to fetch: 127.0.0.1:5020
[switchServer] stop fetching
[switchServer] added SocketDataServer port: 5040
[switchServer] start fetching
[switchServer] failed to fetch: 127.0.0.1:5000
[switchServer] failed to fetch: 127.0.0.1:5020
[switchServer] stop fetching
TM² [url=maniaplanet://#join=loltech]Δ!lluminati Confirmed!Δ[/url]

schmidi
smooth traffic navigator
smooth traffic navigator
Posts: 196
Joined: 15 Jul 2008 22:25
Owned TM-games: tmo, tms, tmuf

Re: [XAseco2] Plugin: switchServer v0.5.1

Post by schmidi » 01 Dec 2015 13:30

*update* v0.5.0
fix: truncated TitleId
fix: problems with php 5.5.9
no backward compatibility


*update* v0.5.1
fix: problem with unpack in 5.5.9

Post Reply