[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

Post Reply
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:

[XASECO] Plugin: Server Neighborhood 1.4.8 (UPDATE)

Post by undef.de » 25 Oct 2009 16:02

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/XAseco1/Server-Neighborhood.php

WEBSITE-INTEGRATION
See viewtopic.php?p=176351#p176351 for details and download (thanks Milenco), but note this may not fit with the 1.4.5 release!
Last edited by undef.de on 21 Jul 2016 19:43, edited 34 times 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

whazzaa
sunday driver
sunday driver
Posts: 63
Joined: 03 Sep 2009 10:42
Owned TM-games: TMU

Re: [XASECO] ServerNeighborhood Plugin 0.9.8 (NEW)

Post by whazzaa » 26 Oct 2009 12:58

This plugin uses a txt life wich is being read, I think this plugin is only usefull if u use multiple local servers.

Why not put these info in a db, and let users login on that server so this plugin would be usefull for multiple servers.

The ZeroSwitch plugin uses a db connection wich can be accessed from a remote server ( other location ).

It would be great if this plugin is aseable over remote servers.

Thanks for ya plugin .... :P

Cheers

Ray

nouseforname
swift roadking
swift roadking
Posts: 840
Joined: 20 Apr 2008 08:58
Owned TM-games: TMUF,TMNF, TMN
Manialink(s): therookies
Location: Germany
Contact:

Re: [XASECO] ServerNeighborhood Plugin 0.9.8 (NEW)

Post by nouseforname » 26 Oct 2009 13:15

now there are at least 3 published serverswitches and some non published like the one i use.

about the remote connection to db, personally i dont like to open the remote mysql connection. and usually all servers are at the same machine i think...
Owner of the Rookie servers and some more. :)
Rookies HP
My Project
Rookies Manialinkcolor>

User avatar
st-chris
wheelbarrow operator
wheelbarrow operator
Posts: 16
Joined: 01 Oct 2009 03:34
Owned TM-games: TMUF TMUF TMNF
Location: Germany
Contact:

Re: [XASECO] ServerNeighborhood Plugin 0.9.8 (NEW)

Post by st-chris » 26 Oct 2009 13:43

Thank you for the plugin.

I'm running your plugin on 5 servers with xaseco 1.10.

No problems at the moment.

whazzaa
sunday driver
sunday driver
Posts: 63
Joined: 03 Sep 2009 10:42
Owned TM-games: TMU

Re: [XASECO] ServerNeighborhood Plugin 0.9.8 (NEW)

Post by whazzaa » 26 Oct 2009 13:48

Within a a certain clan there are various people who host a tm server who would be able to use this kind of plugins, so thay can combine the servers for various reasons.

U could use a public mysql database, and let the servers logon to that source. Or setup 1 server wich is providing the database.

My advise is use a public mysql database wich is hosted by a provider or... if someone is rebooting a personal pc i have no idea what the plugin is going to do on the other machines. In worst case the other servers are crashing.

Cheers

Ray

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] ServerNeighborhood Plugin 0.9.8 (NEW)

Post by undef.de » 26 Oct 2009 18:03

whazzaa wrote: This plugin uses a txt life wich is being read, I think this plugin is only usefull if u use multiple local servers.
That's true, sorry I forgot to tell.
whazzaa wrote: Why not put these info in a db, and let users login on that server so this plugin would be usefull for multiple servers.
The problem is that each xaseco installation needs an own database, so you can't merge the table for all installations of xaseco into one database (different connections). Then you need to setup a extra database for the server neighborhood plugin and of course you have an additional (mostly remote) db-connection, which slows down the speed.
whazzaa wrote: It would be great if this plugin is aseable over remote servers.
I think about that and maybe I would integrate that feature later.
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: 1309
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

Re: [XASECO] ServerNeighborhood Plugin 0.9.8 (NEW)

Post by undef.de » 26 Oct 2009 18:08

nouseforname wrote: now there are at least 3 published serverswitches and some non published like the one i use.
Sure. I think the assortment is good for all. Nobody must use my Plugin. :roflol:

I think the style of mine is more compatible with the style of the Fufi.Widgets (only my opinion).
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

whazzaa
sunday driver
sunday driver
Posts: 63
Joined: 03 Sep 2009 10:42
Owned TM-games: TMU

Re: [XASECO] ServerNeighborhood Plugin 0.9.8 (NEW)

Post by whazzaa » 26 Oct 2009 20:25

I have used tools like webdrive to make this tool accessible from other stand alone servers but alway's had problems with timeout settings.

If this plugin is going to be combined with a database i personaly think it's going to be great :P

Zeroswitch is build on database connections why not combine best of both worlds :scene:

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

Re: [XASECO] ServerNeighborhood Plugin 0.9.8 (NEW)

Post by Erwin » 04 Nov 2009 19:26

Hi,
the plugin doesn´t work with TM Dedicated Server (2009-10-09) & Xaseco 1.10 :?
neighboring servers are not shown. On this settings "<show_self>True</show_self>" the plugin shows only the current server.

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] ServerNeighborhood Plugin 0.9.8 (NEW)

Post by undef.de » 04 Nov 2009 19:42

Erwin wrote:the plugin doesn´t work with TM Dedicated Server (2009-10-09) & Xaseco 1.10 :?
neighboring servers are not shown. On this settings "<show_self>True</show_self>" the plugin shows only the current server.
The Dedicated Server/2009-10-09 and xaseco/1.10 I´am currently running too and the Plugin works very well.

Did you run your Dedicated Server under Linux? The directory you have typed in <storing_path> need to be chmod 770 (or 777). Did you chmod'ed them?

Please post the parts <storing_path> and <server_accounts> of your serverneighborhood.xml here or PM me with 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

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

Re: [XASECO] ServerNeighborhood Plugin 0.9.8 (NEW)

Post by Erwin » 04 Nov 2009 20:07

undef.de wrote: The Dedicated Server/2009-10-09 and xaseco/1.10 I´am currently running too and the Plugin works very well.

Did you run your Dedicated Server under Linux? The directory you have typed in <storing_path> need to be chmod 770 (or 777). Did you chmod'ed them?

Please post the parts <storing_path> and <server_accounts> of your serverneighborhood.xml here or PM me with that.
The server run under Linux (Debian 4 Etch) "<storing_path>/tmp/tm-server-neighbors/</storing_path>" has chmod 770.

Code: Select all

		<!-- Path to txt files for read and write (must set to CHMOD 770 under UN!X/Linux) -->
	<storing_path>/tmp/tm-server-neighbors/</storing_path>


	<!-- Serverlogin where this plugin runs (used to writing the txt file) -->
	<server_login>kdwntest</server_login>

	<!-- The server neighbors, max. 100 servers! -->
	<server_accounts>
		<server_neighbor_login>kdwnfun</server_neighbor_login>
		<server_neighbor_login>kdwnmini</server_neighbor_login>
	</server_accounts>

</server_neighborhood>

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] ServerNeighborhood Plugin 0.9.8 (NEW)

Post by undef.de » 04 Nov 2009 20:18

Erwin wrote: The server run under Linux (Debian 4 Etch) "<storing_path>/tmp/tm-server-neighbors/</storing_path>" has chmod 770.
Can you create a file into that directory as that user under that the server runs? If not try chmod 777 and report here please.

Did your /tmp looks like:

Code: Select all

drwxrwxrwt  9 root  root  12288 Nov  4 21:00 tmp
Is the directory /tmp/tm-server-neighbors/ empty or are there the following files?

Code: Select all

kdwnfun_serverinfo.txt
kdwnmini_serverinfo.txt
Please make a

Code: Select all

ls -la /tmp/tm-server-switch/
and post it here.
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

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

Re: [XASECO] ServerNeighborhood Plugin 0.9.8 (NEW)

Post by Erwin » 04 Nov 2009 21:06

undef.de wrote: Can you create a file into that directory as that user under that the server runs?
yes
Is the directory /tmp/tm-server-neighbors/ empty or are there the following files?

Code: Select all

kdwnfun_serverinfo.txt
kdwnmini_serverinfo.txt
no, only "kdwntest_serverinfo.txt" does exist.
Did your /tmp looks like:

Code: Select all

drwxrwxrwt  9 root  root  12288 Nov  4 21:00 tmp
Please make a

Code: Select all

ls -la /tmp/tm-server-switch/
and post it here.

Code: Select all

drwxrwx--- 2 erwin erwin  4096 2009-11-04 20:04 .
drwxrwxrwt 6 root  root  20480 2009-11-04 21:56 ..
-rw-r--r-- 1 erwin erwin    49 2009-11-04 21:53 kdwntest_serverinfo.txt

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] ServerNeighborhood Plugin 0.9.8 (NEW)

Post by undef.de » 05 Nov 2009 19:31

Erwin wrote:
undef.de wrote: Is the directory /tmp/tm-server-neighbors/ empty or are there the following files?

Code: Select all

kdwnfun_serverinfo.txt
kdwnmini_serverinfo.txt
no, only "kdwntest_serverinfo.txt" does exist.
Did you install this plugin on all servers? Or is this server the first you try to install?
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

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

Re: [XASECO] ServerNeighborhood Plugin 0.9.8 (NEW)

Post by Erwin » 05 Nov 2009 19:46

undef.de wrote: Did you install this plugin on all servers? Or is this server the first you try to install?
no, sry I'm stupid :roflol:
Now it runs perfectly :thumbsup:

Post Reply