[XASECO] Plugin: Server Neighborhood 1.4.8 (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
undef.de
Pit Crew
Pit Crew
Posts: 1309
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

Re: [XASECO] Plugin: Server Neighborhood 1.4.4 (UPDATE)

Post by undef.de » 17 Mar 2011 18:29

xamiito wrote:that does not respect the file path? being that you put this route
C: \ Users \ xamiito \ Desktop \ SERVER TrackMania \ usbTMFserver
2.61 \ TMF \ control \ serverneighbors but this will
C: \ Users \ xamiito \ Desktop \ SERVER TrackMania \ usbTMFserver 2.61 \ TMF \ control
I have never had a problem with pathes. Only if you did type a wrong path into the configfile. :P

Are you still in the right path, when you start XAseco?
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
sterretje22
road tourist
road tourist
Posts: 87
Joined: 29 May 2010 23:47
Owned TM-games: TMUF, TMNF, TM²
Manialink(s): fireteam
Location: Oudenburg(BE)
Contact:

Re: [XASECO] Plugin: Server Neighborhood 1.4.4 (UPDATE)

Post by sterretje22 » 24 Mar 2011 14:32

hello,
I forgot how to setup the plugin...
the instalation works
but do I have to create the serverinfo file or not?

i get this error

Code: Select all

[XASECO Warning] [XML Error 9] Invalid character on line 119
[XASECO Fatal Error] [plugin.server_neighborhood.php] Could not read/parse config file serverneighborhood.xml ! on line 82 in file /home/tmf/fireserver3/firexaseco3/plugins/plugin.server_neighborhood.php
`·.¸¸.->ѕтαя~ƒιяє<-.¸¸.·´
ImageImage
Image
`·.¸¸.->~ƒιяє~<-.¸¸.·´
Image

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

Re: [XASECO] Plugin: Server Neighborhood 1.4.4 (UPDATE)

Post by undef.de » 24 Mar 2011 17:43

sterretje22 wrote: I forgot how to setup the plugin...
the instalation works
but do I have to create the serverinfo file or not?
Nope, the serverinfo files are created by the plugin.
sterretje22 wrote: i get this error

Code: Select all

[XASECO Warning] [XML Error 9] Invalid character on line 119
[XASECO Fatal Error] [plugin.server_neighborhood.php] Could not read/parse config file serverneighborhood.xml ! on line 82 in file /home/tmf/fireserver3/firexaseco3/plugins/plugin.server_neighborhood.php
Please check the line 119 or post this line here... there is a "Invalid character". Alternative: Start with a fresh serverneighborhood.xml.
Last edited by undef.de on 24 Mar 2011 21:19, edited 1 time 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

User avatar
sterretje22
road tourist
road tourist
Posts: 87
Joined: 29 May 2010 23:47
Owned TM-games: TMUF, TMNF, TM²
Manialink(s): fireteam
Location: Oudenburg(BE)
Contact:

Re: [XASECO] Plugin: Server Neighborhood 1.4.4 (UPDATE)

Post by sterretje22 » 24 Mar 2011 20:36

lol it was because it had twice tis symbol ' in the xml file i don't know
why he dind't want to work normal with <!-- --> before and behind it must he ignore that or not?

Code: Select all

	<!--	Urls for the Bar's in the Server-Neighborhood				-->
	<!--	If you want, you can host this Bar's at your own Website, just		-->
`·.¸¸.->ѕтαя~ƒιяє<-.¸¸.·´
ImageImage
Image
`·.¸¸.->~ƒιяє~<-.¸¸.·´
Image

User avatar
Knutselmaaster
swift roadking
swift roadking
Posts: 692
Joined: 16 Feb 2007 01:40
Owned TM-games: TMO/TMN/TMNF/TMU
Manialink(s): intr
Location: Between DisneyLand and Paris
Contact:

Re: [XASECO] Plugin: Server Neighborhood 1.4.4 (UPDATE)

Post by Knutselmaaster » 24 Mar 2011 20:57

i'm not sure if it works, but try escaping it with a \ in front of it ( \' )

User avatar
sterretje22
road tourist
road tourist
Posts: 87
Joined: 29 May 2010 23:47
Owned TM-games: TMUF, TMNF, TM²
Manialink(s): fireteam
Location: Oudenburg(BE)
Contact:

Re: [XASECO] Plugin: Server Neighborhood 1.4.4 (UPDATE)

Post by sterretje22 » 24 Mar 2011 22:41

I just removed the ' :p
`·.¸¸.->ѕтαя~ƒιяє<-.¸¸.·´
ImageImage
Image
`·.¸¸.->~ƒιяє~<-.¸¸.·´
Image

User avatar
Leigham
happy cruiser
happy cruiser
Posts: 139
Joined: 26 Mar 2011 01:04
Owned TM-games: TMUF, TMNF, TM²
Manialink(s): None

Re: [XASECO] Plugin: Server Neighborhood 1.4.4 (UPDATE)

Post by Leigham » 26 Mar 2011 01:12

Great plugin, very useful when it works. I've just installed the latest version on two servers but if I shut down xaseco on one server the other server's xaseco also dies, without either writing in the error log.

Here's how I set up the xml, can't see anything wrong.

Code: Select all

<!--
	If you wish to save the Server-Information to a remote destination e.g. on a FTP-Server
	just use the following format "ftp://username:password@ftp.example.com/serverneighbors/"
	NOTE: Make sure your php option "allow_url_fopen" is set to "on" and the given path exist!

	If you wish to save the Server-Information local, then make sure that the path to the files
	are read- and writeable by the user that runs xaseco (see "man chmod" under UN!X/Linux)!

	Some examples for <storing_path>:
	 - Linux (local):		<storing_path>/home/user/serverneighbors/</storing_path>
	 - Windows (local):		<storing_path>C:/Trackmania/serverneighbors/</storing_path>
	 - FTP (remote):		<storing_path>ftp://username:password@ftp.example.com/serverneighbors/</storing_path>
	//-->
	<storing_path>/home/serverneighbourtemp/</storing_path>

	<!--
	The server neighbors, max. 100 servers!
	<path> = path to the "<login of dedicated server neighbor>_serverinfo.xml" including the filename, with the same conditions as <storing_path> (but only for read access)

	Some examples for <path> (assuming "clanserver007" as <login>):
	 - Linux (local):		<path>/home/user/serverneighbors/clanserver007_serverinfo.xml</path>
	 - Windows (local):		<path>C:/Trackmania/serverneighbors/clanserver007_serverinfo.xml</path>
	 - FTP (remote):		<path>ftp://username:password@ftp.example.com/serverneighbors/clanserver007_serverinfo.xml</path>
	 - HTTP (remote):		<path>http://www.example.com/serverneighbors/clanserver007_serverinfo.xml</path>
	//-->
	<server_accounts>

		<server_neighbor>
			<path>/home/serverneighbourtemp/servername_serverinfo.xml</path>
			<force_spectator>false</force_spectator>					<!-- 'true' or 'false' -->
		</server_neighbor>
"Never surrender, sometimes retreat"

Image

Scottish Flat Trax servers

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

Re: [XASECO] Plugin: Server Neighborhood 1.4.4 (UPDATE)

Post by scg-flighthigh » 26 Mar 2011 05:08

Thats a really problem what this plugin have from the first release. I have make much a lot of tests with undef but he cant fix this. You can read this her in this topic begin at Page 4.

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

Re: [XASECO] Plugin: Server Neighborhood 1.4.4 (UPDATE)

Post by undef.de » 26 Mar 2011 08:44

Leigham wrote:Great plugin, very useful when it works. I've just installed the latest version on two servers but if I shut down xaseco on one server the other server's xaseco also dies, without either writing in the error log.

Here's how I set up the xml, can't see anything wrong.
Please PM me both files which was generated by my Plugin and mark the file on which the other server dies on.
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

tmdunhill
wheelbarrow operator
wheelbarrow operator
Posts: 20
Joined: 30 Jan 2011 19:59
Owned TM-games: TMU
Manialink(s): only one, tmdunhill

Re: [XASECO] Plugin: Server Neighborhood 1.4.4 (UPDATE)

Post by tmdunhill » 26 Mar 2011 23:38

Hello Guys,

I installed this plugin recently, and I really enjoyed it! However, I am having a problem, that maybe can help me.

Directed the *. xml configuration to an FTP, the plugin is running, but after a while it is generating an error, tipping the whole xaseco.

The problem usually happens after the turn of a track, right after the computation of the rasp, it just stops working.

Has anyone experienced this?

Greetings.

Dunhill

User avatar
Leigham
happy cruiser
happy cruiser
Posts: 139
Joined: 26 Mar 2011 01:04
Owned TM-games: TMUF, TMNF, TM²
Manialink(s): None

Re: [XASECO] Plugin: Server Neighborhood 1.4.4 (UPDATE)

Post by Leigham » 28 Mar 2011 23:01

Does it throw up any specific error message?

Leigham
"Never surrender, sometimes retreat"

Image

Scottish Flat Trax servers

tmdunhill
wheelbarrow operator
wheelbarrow operator
Posts: 20
Joined: 30 Jan 2011 19:59
Owned TM-games: TMU
Manialink(s): only one, tmdunhill

Re: [XASECO] Plugin: Server Neighborhood 1.4.4 (UPDATE)

Post by tmdunhill » 30 Mar 2011 11:41

The Xaseco is not bringing no error message, simply as to function, the message he brings is the "DOS", saying "press any key to continue. "

My arrangement is that my servers are in different places, so I'm using an FTP, to write and read XML, I noticed that the server is very slow and then he drops the lego xaseco.

It has a function of increasing time, in the range of 10-30, currently stands at 10, the track upgrade can be greater than 30?

<refresh_interval> 10 </ refresh_interval>

Running locally no problem with this plugin, only problem when I direct it to read / write ftp.

Greetings.

Dunhill

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

Re: [XASECO] Plugin: Server Neighborhood 1.4.4 (UPDATE)

Post by undef.de » 30 Mar 2011 16:28

tmdunhill wrote: My arrangement is that my servers are in different places, so I'm using an FTP, to write and read XML, I noticed that the server is very slow and then he drops the lego xaseco.
If possible change read from FTP to HTTP, which is faster then FTP access.

tmdunhill wrote: It has a function of increasing time, in the range of 10-30, currently stands at 10, the track upgrade can be greater than 30?

<refresh_interval>10</refresh_interval>
There is no upper limit, you can set it to 300 if you like. :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

tmdunhill
wheelbarrow operator
wheelbarrow operator
Posts: 20
Joined: 30 Jan 2011 19:59
Owned TM-games: TMU
Manialink(s): only one, tmdunhill

Re: [XASECO] Plugin: Server Neighborhood 1.4.4 (UPDATE)

Post by tmdunhill » 30 Mar 2011 18:06

thanks for the feedback, I'll put the upgrade every 5 minuots (300 secs), I'll do the tests and see if it improves, and also change the reading to http.

Obrigtado much for the help.

Greetings.

Dunhill
:thumbsup: :D

User avatar
Bryan199810
sunday driver
sunday driver
Posts: 65
Joined: 19 Feb 2010 01:23
Owned TM-games: All
Location: Kennewick, Washington
Contact:

Re: [XASECO] Plugin: Server Neighborhood 1.4.4 (UPDATE)

Post by Bryan199810 » 07 Apr 2011 16:54

Where do i find the serverinfo???

Post Reply