[PLUGIN] Server Neighborhood 1.4.9 (UPDATE)

MPAseco is a server controller for Shootmania, which provides you with a framework and some standard plugins.

Moderators: kremsy, NADEO

User avatar
undef.de
Posts: 1545
Joined: 06 Apr 2011, 21:57
Location: Germany
Contact:

[PLUGIN] Server Neighborhood 1.4.9 (UPDATE)

Post by undef.de » 12 May 2013, 21:54

Server Neighborhood

This Plugin is a show an amount of your servers in the game. Such like "zero-switch" or
"sak.switch". Based opon the idea and behavior of "sak.switch".

For more Information, Screenshots, Documentation and Downloads, please visit the related Site at my Labs:
http://www.undef.name/MPAseco/Server-Neighborhood.php
Last edited by undef.de on 21 Jul 2016, 20:16, edited 2 times in total.
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org


Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

You like what i do? Then award a ManiaStar.

Kegulf
Posts: 122
Joined: 21 Nov 2010, 18:51

Re: [PLUGIN] Server Neighborhood 1.4.7 (NEW)

Post by Kegulf » 22 May 2013, 13:17

Hi there,

I'm usesless at most of this server stuff :p
Trying to put a neighborhood between my servers, I have 4, (SM Obstacle, SM elite 1 + 2 and a tm2 server)
I was just wondering what I was doing wrong.
I think I'm missing the whole "path" ordeal.

I noticed a code from kremsy

Code: Select all

    <server_neighbor>
         <path>/home/neighbours/...serverinfo.xml</path>
         <enable>true</enable>                        <!-- 'true' or 'false' -->
         <force_spectator>false</force_spectator>               <!-- 'true' or 'false' -->
         <gamemode>SMStorm</gamemode>
  </server_neighbor>
is this interesting for me? :p

What I did when I installed it, was I pulled the plugins and the config into the MPAseco/Xaseco2 folders, but when I restart Servercontrol, I get:

Code: Select all

PHP Warning] fopen(/tmp/serverneighbors/wnlelite1_serverinfo.xml): failed to open stream: No such file or directory on line 462 in file C:\Users\SMS\Desktop\Alt for Maniaplanet servere\usbTM2server_v0.25\ManiaP\control\xaseco2_server3\plugins\plugin.server_neighborhood.php
[PHP Warning] fopen(/tmp/serverneighbors/wnlelite1_serverinfo.xml): failed to open stream: No such file or directory on line 462 in file C:\Users\SMS\Desktop\Alt for Maniaplanet servere\usbTM2server_v0.25\ManiaP\control\xaseco2_server3\plugins\plugin.server_neighborhood.php
[PHP Warning] fopen(/tmp/serverneighbors/wnlelite1_serverinfo.xml): failed to open stream: No such file or directory on line 462 in file C:\Users\SMS\Desktop\Alt for Maniaplanet servere\usbTM2server_v0.25\ManiaP\control\xaseco2_server3\plugins\plugin.server_neighborhood.php
This goes on for 2000 lines or so :lol:

Any ideas? I'm on a Windows 7 pc btw.

Regards
Kegulf
WnL»Kegulf
TeamFounder of WnL


Anything code related? Be patient, I am a noob :p


My Nadeo games:
TrackMania Nations ESWC
TrackMania Nations + United Forever
TrackMania 2 Canyon
ShootMania Storm
Trackmania 2 Stadium

kremsy
Posts: 1711
Joined: 21 Jul 2011, 09:51

Re: [PLUGIN] Server Neighborhood 1.4.7 (NEW)

Post by kremsy » 22 May 2013, 13:24

Hello,

take the Plugin from undefs Website please.

Than you have to set a storing path for example to /tmp/serverneighbors/

Code: Select all

<storing_path>/tmp/serverneighbors/</storing_path>
and than you have to write

Code: Select all

		
<server_neighbor>
			<path>/tmp/serverneighbors/LOGIN_OF_THE_SERVER_serverinfo.xml</path>
			<enable>true</enable>								<!-- 'true' or 'false' -->
			<force_spectator>false</force_spectator>					<!-- 'true' or 'false' -->
</server_neighbor>
The gamemode isn't needed in the new version I guess.
Lukas alias Kremsy, Developer of:
ManiaControl: http://www.maniacontrol.com
ParagonLeague: http://league.paragon-esports.com
MPAseco: http://mpaseco.org
ManiaViewer: http://www.maniaviewer.com

Kegulf
Posts: 122
Joined: 21 Nov 2010, 18:51

Re: [PLUGIN] Server Neighborhood 1.4.7 (NEW)

Post by Kegulf » 22 May 2013, 13:29

Hi Kremsy :)

this is what I have

Code: Select all

	<storing_path>/tmp/serverneighbors/</storing_path>

		
	<server_accounts>

		<server_neighbor>
			<path>Maniaplanet://#join=wnlobstacle@SMStorm</path>
			<enable>true</enable>								<!-- 'true' or 'false' -->
			<force_spectator>false</force_spectator>					<!-- 'true' or 'false' -->
		</server_neighbor>
WnL»Kegulf
TeamFounder of WnL


Anything code related? Be patient, I am a noob :p


My Nadeo games:
TrackMania Nations ESWC
TrackMania Nations + United Forever
TrackMania 2 Canyon
ShootMania Storm
Trackmania 2 Stadium

kremsy
Posts: 1711
Joined: 21 Jul 2011, 09:51

Re: [PLUGIN] Server Neighborhood 1.4.7 (NEW)

Post by kremsy » 22 May 2013, 13:31

Try

Code: Select all

 <path>/tmp/serverneighbors/wnlobstacle_serverinfo.xml</path>
(<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))
Lukas alias Kremsy, Developer of:
ManiaControl: http://www.maniacontrol.com
ParagonLeague: http://league.paragon-esports.com
MPAseco: http://mpaseco.org
ManiaViewer: http://www.maniaviewer.com

Kegulf
Posts: 122
Joined: 21 Nov 2010, 18:51

Re: [PLUGIN] Server Neighborhood 1.4.7 (NEW)

Post by Kegulf » 22 May 2013, 13:36

I'm still getting the same error, I have not created any documents or anything, is that nessesary

edit:
new error now :P

Code: Select all

[05/22,14:37:30] Load rasp votes Config [configs/plugins/rasp/votes_config.xml]
[MPAseco Warning] [XML Error 76] Mismatched tag on line 173
[MPAseco Fatal Error] [plugin.server_neighborhood.php] Could not read/parse config file server_neighborhood.xml ! on line 102 in file C:\Users\SMS\Desktop\Alt for Maniaplanet servere\usbTM2server_v0.25\ManiaP\control\xaseco2_server3\plugins\plugin.server_neighborhood.php
WnL»Kegulf
TeamFounder of WnL


Anything code related? Be patient, I am a noob :p


My Nadeo games:
TrackMania Nations ESWC
TrackMania Nations + United Forever
TrackMania 2 Canyon
ShootMania Storm
Trackmania 2 Stadium

kremsy
Posts: 1711
Joined: 21 Jul 2011, 09:51

Re: [PLUGIN] Server Neighborhood 1.4.7 (NEW)

Post by kremsy » 22 May 2013, 14:02

Than you made a syntax error in the xml.
Lukas alias Kremsy, Developer of:
ManiaControl: http://www.maniacontrol.com
ParagonLeague: http://league.paragon-esports.com
MPAseco: http://mpaseco.org
ManiaViewer: http://www.maniaviewer.com

Kegulf
Posts: 122
Joined: 21 Nov 2010, 18:51

Re: [PLUGIN] Server Neighborhood 1.4.7 (NEW)

Post by Kegulf » 22 May 2013, 14:11

I thought it would take less time :P I'll fix it when I have time :p

But thanks for the help so far :p I'll reinstall and start fresh tomorrow :)
WnL»Kegulf
TeamFounder of WnL


Anything code related? Be patient, I am a noob :p


My Nadeo games:
TrackMania Nations ESWC
TrackMania Nations + United Forever
TrackMania 2 Canyon
ShootMania Storm
Trackmania 2 Stadium

Kegulf
Posts: 122
Joined: 21 Nov 2010, 18:51

Re: [PLUGIN] Server Neighborhood 1.4.7 (NEW)

Post by Kegulf » 03 Jun 2013, 02:05

Hi again :p

Back online now, and looking into, the neighborhood again :)

I'm running MPAseco with the plugin inserted, but it wont show up in the server for some reason :p
Any ideas of why not? :)
WnL»Kegulf
TeamFounder of WnL


Anything code related? Be patient, I am a noob :p


My Nadeo games:
TrackMania Nations ESWC
TrackMania Nations + United Forever
TrackMania 2 Canyon
ShootMania Storm
Trackmania 2 Stadium

kremsy
Posts: 1711
Joined: 21 Jul 2011, 09:51

Re: [PLUGIN] Server Neighborhood 1.4.7 (NEW)

Post by kremsy » 03 Jun 2013, 14:19

Can you give us some log details or code snippets from your configuration?
Lukas alias Kremsy, Developer of:
ManiaControl: http://www.maniacontrol.com
ParagonLeague: http://league.paragon-esports.com
MPAseco: http://mpaseco.org
ManiaViewer: http://www.maniaviewer.com

Post Reply

Return to “MPAseco”

Who is online

Users browsing this forum: No registered users and 1 guest