[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
Milenco
happy cruiser
happy cruiser
Posts: 150
Joined: 07 Oct 2008 09:38
Owned TM-games: TMN, TMNF
Location: Enschede, Netherlands
Contact:

Re: [XASECO] ServerNeighborhood Plugin 1.3.1 (UPDATE)

Post by Milenco » 10 May 2010 12:48

Ok, as promised: The php file to include server-stats on your website.
I've included a readme.txt for a howto on installation. For anyone liking/wanting the default layout, it shouldn't be that hard to setup. If you want to change the layout, some PHP/HTML knowledge is required. I've tested this script on my own clan's website without any problem. However, we host the website and the gameservers on the same server. I think it should work if the website is hosted on another machine, as long as all the xml can be read from that location. I did not test this however!

I don't plan on making any modification/changes to this script soon since it works good on our own server. You can use it as-if. Feel free to change/improve it and redistribute/share.

Download: http://www.milenco.net/files/xaseco_plu ... n.v0.1.rar
Example: http://www.dutchracingsquad.nl/

Screens:
ImageImage
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] ServerNeighborhood Plugin 1.3.1 (UPDATE)

Post by Knutselmaaster » 10 May 2010 16:08

Nice one, i'm definately looking in to that one!
Thanks a lot ;)

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 1.3.1 (UPDATE)

Post by nouseforname » 10 May 2010 17:51

nice work... :)
Owner of the Rookie servers and some more. :)
Rookies HP
My Project
Rookies Manialinkcolor>

Paris69
speedy pilot
speedy pilot
Posts: 381
Joined: 05 Apr 2006 20:50

Re: [XASECO] ServerNeighborhood Plugin 1.3.1 (UPDATE)

Post by Paris69 » 11 May 2010 15:09

undef: i try today 1.3.1 on 6 crosslinked servers, but no success. everything works ok (no error messages), but the plugin dramaticaly slowdown the xaseco, and after one-two trackchanges ends 3 of 6 xasecos with "press any key to continue..."

all servers and xasecos running on win/xampp, refresh interval 30s, serverinfo_xml reading via local and http.

(ps: its look like whole xaseco wait for plugin refresh... it is possible?)

User avatar
undef.de
Pit Crew
Pit Crew
Posts: 1356
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 1.3.1 (UPDATE)

Post by undef.de » 11 May 2010 17:08

Paris69 wrote:undef: i try today 1.3.1 on 6 crosslinked servers, but no success. everything works ok (no error messages), but the plugin dramaticaly slowdown the xaseco, and after one-two trackchanges ends 3 of 6 xasecos with "press any key to continue..."

all servers and xasecos running on win/xampp, refresh interval 30s, serverinfo_xml reading via local and http.

(ps: its look like whole xaseco wait for plugin refresh... it is possible?)
The last release that you used did not slowdown the xaseco? Which release was it?
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

Paris69
speedy pilot
speedy pilot
Posts: 381
Joined: 05 Apr 2006 20:50

Re: [XASECO] ServerNeighborhood Plugin 1.3.1 (UPDATE)

Post by Paris69 » 11 May 2010 17:12

i am not sure, but 1.2.4 i have tested before.

User avatar
balewi
highway camper
highway camper
Posts: 4
Joined: 13 Apr 2009 10:21
Owned TM-games: TMU
Contact:

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

Post by balewi » 16 Aug 2010 09:59

Hi! I speak English badly, so I write the message translator.
I have problems with plugins, it is not clear to me that I need to create serverinfo.xml file, or create a plugin? If I have to create what is described in (it would be an example) and where to place the file?
Moreover, service on a 2 server, and this would help.
Thank you.
нст вαเєשι

User avatar
undef.de
Pit Crew
Pit Crew
Posts: 1356
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 1.3.1 (UPDATE)

Post by undef.de » 16 Aug 2010 18:08

Paris69 wrote:i am not sure, but 1.2.4 i have tested before.
Sorry for late answer, but i have tested many things an re-read the code and can not find something. :(

Did you try the 1.3.2? What results?
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: 1356
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.3.2 (UPDATE)

Post by undef.de » 16 Aug 2010 18:11

Hi balewi!
balewi wrote:I speak English badly, so I write the message translator.
I have problems with plugins, it is not clear to me that I need to create serverinfo.xml file, or create a plugin? If I have to create what is described in (it would be an example) and where to place the file?
Moreover, service on a 2 server, and this would help.
You did not create any serverinfo.xml files! These files are automatic created by the Plugin. You can set the location where the files are store in the serverneighborhood.xml at <server_accounts><server_neighbor><path>.
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
balewi
highway camper
highway camper
Posts: 4
Joined: 13 Apr 2009 10:21
Owned TM-games: TMU
Contact:

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

Post by balewi » 18 Aug 2010 09:19

undef.de wrote:Hi balewi!
balewi wrote:I speak English badly, so I write the message translator.
I have problems with plugins, it is not clear to me that I need to create serverinfo.xml file, or create a plugin? If I have to create what is described in (it would be an example) and where to place the file?
Moreover, service on a 2 server, and this would help.
You did not create any serverinfo.xml files! These files are automatic created by the Plugin. You can set the location where the files are store in the serverneighborhood.xml at <server_accounts><server_neighbor><path>.

Thx, I will try.
нст вαเєשι

User avatar
undef.de
Pit Crew
Pit Crew
Posts: 1356
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 (UPDATE)

Post by undef.de » 01 Sep 2010 19:33

Just wanna say: There is an update out there... see my first post.
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

Yorkshire
smooth traffic navigator
smooth traffic navigator
Posts: 192
Joined: 21 May 2008 08:39
Owned TM-games: TMUF

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

Post by Yorkshire » 03 Sep 2010 06:55

Awesome, thank you very much :)

Cheers,

Nick.

Greco
happy cruiser
happy cruiser
Posts: 144
Joined: 13 May 2009 18:40
Owned TM-games: TMN

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

Post by Greco » 16 Sep 2010 13:54

good job rother

Yorkshire
smooth traffic navigator
smooth traffic navigator
Posts: 192
Joined: 21 May 2008 08:39
Owned TM-games: TMUF

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

Post by Yorkshire » 23 Sep 2010 09:38

Hi,

You should maybe change the code so that servers with odd ladder limits don't get strange results.

As an example, if I have a server from 7500-50000 your widget says 75-50K, when it should say 7.5-50K.

The code that needs altering follows:

Lines 239-240:

Code: Select all

	$xml .= '   <minimum>'. substr($aseco->server->laddermin / 1000, 0, 3) .'</minimum>'."\n";
	$xml .= '   <maximum>'. substr($aseco->server->laddermax / 1000, 0, 3) .'</maximum>'."\n";
Line 484:

Code: Select all

					$xml .= '<label sizen="3.5 0" posn="10.4 0 0.004" textsize="1" scale="0.75" text="'. $sn_config['WIDGET'][0]['SERVER_NORMAL_COLOR'][0] . (float)$neighbor['SERVER'][0]['LADDER'][0]['MINIMUM'][0] .'-'. (float)$neighbor['SERVER'][0]['LADDER'][0]['MAXIMUM'][0] .'k"/>';
Regards,

Nick.

jamie_macdonald
speed demon
speed demon
Posts: 1612
Joined: 10 Jul 2008 19:48
Owned TM-games: TMUF, TMNF, TMS
Manialink(s): ET
Location: London, UK
Contact:

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

Post by jamie_macdonald » 23 Sep 2010 10:59

Hehe good stuff nick :thumbsup:

Post Reply