TM-FORUM

The TrackMania universal forum ^_^
It is currently 24 Apr 2017 18:16

All times are UTC + 1 hour




Post new topic Reply to topic  [ 252 posts ]  Go to page Previous  1 ... 13, 14, 15, 16, 17
Author Message
 Post subject: Re: [XASECO] Plugin: Server Neighborhood 1.4.7 (UPDATE)
PostPosted: 10 Oct 2013 11:52 
Offline
TM-Patrol
TM-Patrol
User avatar

Joined: 23 May 2007 08:20
Posts: 1466
Location: Venray
Owned TM-games: TMU, TMN, TMF
Manialink(s): intr
No issue as in the plugin says:

Code:
$xaseco_min_version = '1.16';

_________________
Code:
tmnforever is nations and united makes it special. tmnforever has united. I need united!


Top
 Profile  
 
 Post subject: Re: [XASECO] Plugin: Server Neighborhood 1.4.7 (UPDATE)
PostPosted: 10 Oct 2013 16:15 
Offline
Pit Crew
Pit Crew
User avatar

Joined: 31 Aug 2009 19:38
Posts: 1303
Location: Germany
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
weerwolf1 wrote:
http://www.undef.name/XAseco1/Server-Neighborhood.php#Changes

Quote:
This release require min. XAseco/1.116!


Hehehe... fixed... thanks!

_________________
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


Top
 Profile  
 
 Post subject: Re: [XASECO] Plugin: Server Neighborhood 1.4.7 (UPDATE)
PostPosted: 23 Aug 2014 10:40 
Offline
wheelbarrow operator
wheelbarrow operator
User avatar

Joined: 12 Jul 2014 21:03
Posts: 24
Location: Sistiana, Italy
Owned TM-games: TMUF, TM2C
Manialink(s): google.com/
Hi there,
I've this same (more or less) problem...
This is mine server_neighborhood.xml file.
Code:
<?xml version="1.0" encoding="utf-8" ?>
<server_neighborhood>
   <!-- THIS IS THE CONFIG FILE FOR THE TMF-PORT ONLY -->

   <!--
   Refresh the Panel every [INT] seconds.
   Recommendation:
   5-10 sec. on low visited servers (cpu intensive, lag in game)
   10-30 sec. on high volume servers (less cpu intensive, less lag in game)
   //-->
   <refresh_interval>10</refresh_interval>

   <!-- Set to 'true' if the Widget should displayed on EndRace, otherwise set 'false' -->
   <show_on_end_race>false</show_on_end_race>

   <!-- Widget specific -->
   <widget>
      <gamemode>
         <rounds>
            <enabled>true</enabled> <!-- Set to 'false' to hide the Widget or 'true' to display -->
            <pos_x>-64.7</pos_x>
            <pos_y>-8.3</pos_y>
         </rounds>

         <time_attack>
            <enabled>true</enabled> <!-- Set to 'false' to hide the Widget or 'true' to display -->
            <pos_x>-64.7</pos_x>
            <pos_y>-8.3</pos_y>
         </time_attack>

         <team>
            <enabled>true</enabled> <!-- Set to 'false' to hide the Widget or 'true' to display -->
            <pos_x>-64.7</pos_x>
            <pos_y>-8.3</pos_y>
         </team>

         <laps>
            <enabled>true</enabled> <!-- Set to 'false' to hide the Widget or 'true' to display -->
            <pos_x>-64.7</pos_x>
            <pos_y>-8.3</pos_y>
         </laps>

         <stunts>
            <enabled>true</enabled> <!-- Set to 'false' to hide the Widget or 'true' to display -->
            <pos_x>-64.7</pos_x>
            <pos_y>-8.3</pos_y>
         </stunts>

         <cup>
            <enabled>true</enabled> <!-- Set to 'false' to hide the Widget or 'true' to display -->
            <pos_x>-64.7</pos_x>
            <pos_y>-8.3</pos_y>
         </cup>
      </gamemode>

      <server_full_color>$F00</server_full_color>         <!-- Must start with "$", e.g. "$FFF" -->
      <server_normal_color>$FFF</server_normal_color>         <!-- Must start with "$", e.g. "$FFF" -->

      <header_name>$EEEServer Neighborhood</header_name>      <!-- The name shown on top of the widget. Don't use any special characters! -->

      <self_style>BgsPlayerCard</self_style>            <!-- see http://fish.stabb.de/styles/ -->
      <self_substyle>BgCardSystem</self_substyle>         <!-- see http://fish.stabb.de/styles/ -->

      <neighbor_style>BgsPlayerCard</neighbor_style>         <!-- see http://fish.stabb.de/styles/ -->
      <neighbor_substyle>BgCard</neighbor_substyle>         <!-- see http://fish.stabb.de/styles/ -->
   </widget>


   <!-- Colors for the Window background, Format: RGBA (A = Alphachanal, Opacity) -->
   <colors>
      <server_background>000A</server_background>      <!-- Server Overview -->
      <neighbor_background>CCCA</neighbor_background>      <!-- Neighbor Overview -->
   </colors>


   <!-- Hide a server when the last modified time is higher then this given seconds (default to 1800 second = 30 minutes) -->
   <hide_server_last_modified>1800</hide_server_last_modified>

   <!-- Display max. amount of Server in the Widget. If you have more Server then this amount, the Widget display all Servers
   each <refresh_interval> in rotation, set to '0' to disabled -->
   <server_display_max>3</server_display_max>

   <!-- The nicemode is an attempt to reduce the manialink calls, if a specific amount of players is on the server -->
   <nicemode>
      <enabled>true</enabled>            <!-- If you want to enable the nicemode, you need to say 'true' here! -->
      <force>false</force>            <!-- For servers with as usual 100+ Player, you can force nicemode by default -->

      <refresh_interval>20</refresh_interval>      <!-- If the nice mode is turned on then increase to this refresh interval -->
      <limits>
         <lower_limit>24</lower_limit>      <!-- If the playercount gets equal to or BELOW that limit, the widgets will revert to default mode -->
         <upper_limit>25</upper_limit>      <!-- If the playercount gets equal to or ABOVE that limit, the widgets will switch to nice mode -->
      </limits>
   </nicemode>

   <!--
   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>C:\Users\Andrea\Desktop\rnlservers\TMF\control\xaseco_1\serverneighbors\</storing_path>

   <!--
   The server neighbors, max. 56 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></path>
         <enable>false</enable>                        <!-- 'true' or 'false' -->
         <force_spectator>false</force_spectator>               <!-- 'true' or 'false' -->
      </server_neighbor>

      <server_neighbor>
         <path>C:\Users\Andrea\Desktop\rnlservers\TMF\control\xaseco_1\serverneighbors\antarwu_serverinfo.xml</path>
         <enable>true</enable>                        <!-- 'true' or 'false' -->
         <force_spectator>false</force_spectator>               <!-- 'true' or 'false' -->
      </server_neighbor>

      <server_neighbor>
         <path>C:\Users\Andrea\Desktop\rnlservers\TMF\control\xaseco_1\serverneighbors\rnlserverprivate_serverinfo.xml</path>
         <enable>false</enable>                        <!-- 'true' or 'false' -->
         <force_spectator>false</force_spectator>               <!-- 'true' or 'false' -->
      </server_neighbor>

      <server_neighbor>
         <path>C:\Users\Andrea\Desktop\rnlservers\TMF\control\xaseco_1\serverneighbors\antarwunited_serverinfo.xml</path>
         <enable>true</enable>                        <!-- 'true' or 'false' -->
         <force_spectator>false</force_spectator>               <!-- 'true' or 'false' -->
      </server_neighbor>

   </server_accounts>

   <!--   Urls for the Bar´s in the Server-Neighborhood            -->
   <!--   If you want, you can host this Bar´s at your own Website, just      -->
   <!--   copy the images from this hoster.            -->
   <urls>
      <!--   This Bar-Images are licensed by undef.de under a            -->
      <!--   Creative Commons Attribution-Share Alike 3.0 Germany License.         -->
      <!--   See the following links for details:                  -->
      <!--   German:      http://creativecommons.org/licenses/by-sa/3.0/de/legalcode   -->
      <!--   English:   http://creativecommons.org/licenses/by-sa/3.0/legalcode      -->

      <bar_default>http://labs.undef.de/.images/ingame/server-neighborhood/bar_default.png</bar_default>
      <bar_blank>http://labs.undef.de/.images/ingame/server-neighborhood/bar_blank.png</bar_blank>
   </urls>

   <!--
   Possible values:
      'false'   = Debug off
      'true'   = Debug on
      'warn'   = Only warnings on (harmless things)
   //-->
   <debug>false</debug>

</server_neighborhood>


But, on the folder "serverneighbors/" there is nothing...
What I might do? I've sought to create the "antarwu_serverinfo.xml", the "rnlserverprivate_serverinfo.xml", and the "antarwunited_serverinfo.xml" (obviously left blank, not knowing what to write in) but when I go to the server, I dont seeing the server neighborhood...

_________________
Yop! I'm Hex!T_

My servers:
Join here <!-- FreeZone яπг»ƒยll~¢υקै. 〤 -->
Join here <!-- FreeZone яπг»しоै๒ ѕєяvзяृ. 〤 -->

PS: Im not a pro to making plugins... :/

Image


Top
 Profile  
 
 Post subject: Re: [XASECO] Plugin: Server Neighborhood 1.4.7 (UPDATE)
PostPosted: 23 Aug 2014 20:09 
Offline
Pit Crew
Pit Crew
User avatar

Joined: 31 Aug 2009 19:38
Posts: 1303
Location: Germany
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Did you have installed this Plugin at all the neighbor servers (antarwu, rnlserverprivate and antarwunited) too?

_________________
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


Top
 Profile  
 
 Post subject: Re: [XASECO] Plugin: Server Neighborhood 1.4.7 (UPDATE)
PostPosted: 23 Aug 2014 20:52 
Offline
wheelbarrow operator
wheelbarrow operator
User avatar

Joined: 12 Jul 2014 21:03
Posts: 24
Location: Sistiana, Italy
Owned TM-games: TMUF, TM2C
Manialink(s): google.com/
Uhm no.

_________________
Yop! I'm Hex!T_

My servers:
Join here <!-- FreeZone яπг»ƒยll~¢υקै. 〤 -->
Join here <!-- FreeZone яπг»しоै๒ ѕєяvзяृ. 〤 -->

PS: Im not a pro to making plugins... :/

Image


Top
 Profile  
 
 Post subject: Re: [XASECO] Plugin: Server Neighborhood 1.4.7 (UPDATE)
PostPosted: 24 Aug 2014 09:44 
Offline
Pit Crew
Pit Crew
User avatar

Joined: 31 Aug 2009 19:38
Posts: 1303
Location: Germany
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Then do it. The Plugin (at all servers) creates the SERVER_LOGIN_serverinfo.xml file, which then can be read from the other servers.

_________________
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


Top
 Profile  
 
 Post subject: Re: [XASECO] Plugin: Server Neighborhood 1.4.7 (UPDATE)
PostPosted: 03 Jan 2015 14:54 
Offline
pedestrian
pedestrian

Joined: 02 May 2013 21:45
Posts: 14
Owned TM-games: TMNF
hi all, and good year

i have a problem

i want link 3 servers ( 2 on same machine , and 1 on other machine ) ( all 3 servers are on nc1.eu )

here my configs

Code:
   <storing_path>/home/tmserver/users/nXXXXX/http/neighborhood/</storing_path>

      <server_neighbor>
         <path>/home/tmserver/users/nXXXXX/http/neighborhood/nttserv_serverinfo.xml</path>
         <enable>true</enable>                        <!-- 'true' or 'false' -->
         <force_spectator>false</force_spectator>               <!-- 'true' or 'false' -->
      </server_neighbor>

      <server_neighbor>
         <path>ftp://nZZZZZ:000000@ftp.tm20.nc1.eu/serverneighbors/Rft_Fun_serverinfo.xml</path>
         <enable>true</enable>                        <!-- 'true' or 'false' -->
         <force_spectator>false</force_spectator>               <!-- 'true' or 'false' -->
      </server_neighbor>

      <server_neighbor>
         <path>ftp://nZZZZZ:00000000@ftp.tm20.nc1.eu/serverneighbors/nRFTTRAIN_serverinfo.xml</path>
         <enable>true</enable>                        <!-- 'true' or 'false' -->
         <force_spectator>false</force_spectator>               <!-- 'true' or 'false' -->
      </server_neighbor>


i tried too :


Code:
   <storing_path>/home/tmserver/users/nXXXXX/http/neighborhood/</storing_path>

      <server_neighbor>
         <path>/home/tmserver/users/nXXXXX/http/neighborhood/nttserv_serverinfo.xml</path>
         <enable>true</enable>                        <!-- 'true' or 'false' -->
         <force_spectator>false</force_spectator>               <!-- 'true' or 'false' -->
      </server_neighbor>

      <server_neighbor>
         <path>/home/tmserver/users/nZZZZZ/http/neighborhood/RFTTRAIN_serverinfo.xml</path>
         <enable>true</enable>                        <!-- 'true' or 'false' -->
         <force_spectator>false</force_spectator>               <!-- 'true' or 'false' -->
      </server_neighbor>

      <server_neighbor>
         <path>/home/tmserver/users/nZZZZZ/http/neighborhood/RFft_Fun_serverinfo.xml</path>
         <enable>true</enable>                        <!-- 'true' or 'false' -->
         <force_spectator>false</force_spectator>               <!-- 'true' or 'false' -->
      </server_neighbor>


with these configs, on my server, i see only my server but not others, and on others servers i don't see my server, but i see others.

can you help me please.


Last edited by Xymph on 03 Jan 2015 22:49, edited 1 time in total.
Use code tags for code/configs/logs...


Top
 Profile  
 
 Post subject: Re: [XASECO] Plugin: Server Neighborhood 1.4.7 (UPDATE)
PostPosted: 03 Jan 2015 22:36 
Offline
Pit Crew
Pit Crew
User avatar

Joined: 31 Aug 2009 19:38
Posts: 1303
Location: Germany
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
If you setup all <server_neighbor> to FTP, then it should work.

_________________
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


Top
 Profile  
 
 Post subject: Re: [XASECO] Plugin: Server Neighborhood 1.4.7 (UPDATE)
PostPosted: 03 Jan 2015 23:52 
Offline
pedestrian
pedestrian

Joined: 02 May 2013 21:45
Posts: 14
Owned TM-games: TMNF
thx for your answer, i will try and and i will say if it's working or not

thx


Top
 Profile  
 
 Post subject: Re: [XASECO] Plugin: Server Neighborhood 1.4.7 (UPDATE)
PostPosted: 04 Jan 2015 09:49 
Offline
pedestrian
pedestrian

Joined: 02 May 2013 21:45
Posts: 14
Owned TM-games: TMNF
So, i' tried other thing, a player who use neighborhood, expalin me.

in my neighborhood.xml i put that :

Code:
<storing_path>/home/tmserver/users/nXXXXX/http/neighborhood/</storing_path>

      <server_neighbor>
         <path>/home/tmserver/users/nXXXXX/http/neighborhood/nttserv_serverinfo.xml</path>
         <enable>true</enable>                        <!-- 'true' or 'false' -->
         <force_spectator>false</force_spectator>               <!-- 'true' or 'false' -->
      </server_neighbor>

      <server_neighbor>
         <path>http://tm20.nc1.eu/nZZZZZ/neighborhood/Rft_Fun_serverinfo.xml</path>
         <enable>true</enable>                        <!-- 'true' or 'false' -->
         <force_spectator>false</force_spectator>               <!-- 'true' or 'false' -->
      </server_neighbor>

      <server_neighbor>
         <path>http://tm20.nc1.eu/nZZZZZ/neighborhood/RFTTRAIN_serverinfo.xml</path>
         <enable>true</enable>                        <!-- 'true' or 'false' -->
         <force_spectator>false</force_spectator>               <!-- 'true' or 'false' -->
      </server_neighbor>


in neighborhood(s).xml of others servers i put that :

Code:
<storing_path>/home/tmserver/users/nZZZZZ/http/neighborhood/</storing_path>

      <server_neighbor>
         <path>/home/tmserver/users/nZZZZZ/http/neighborhood/RFTTRAIN_serverinfo.xml</path>
         <enable>true</enable>                        <!-- 'true' or 'false' -->
         <force_spectator>false</force_spectator>               <!-- 'true' or 'false' -->
      </server_neighbor>

      <server_neighbor>
         <path>/home/tmserver/users/nZZZZZ/http/neighborhood/Rft_Fun_serverinfo.xml</path>
         <enable>true</enable>                        <!-- 'true' or 'false' -->
         <force_spectator>false</force_spectator>               <!-- 'true' or 'false' -->
      </server_neighbor>

      <server_neighbor>
         <path>http://tm10.nc1.eu/nXXXXX/neighborhood/nttserv_serverinfo.xml</path>
         <enable>true</enable>                        <!-- 'true' or 'false' -->
         <force_spectator>false</force_spectator>               <!-- 'true' or 'false' -->
      </server_neighbor>


and it's working now

( sry for my english... i'm french )

;)


Last edited by Xymph on 04 Jan 2015 10:33, edited 1 time in total.
Use code tags for code/configs/logs...


Top
 Profile  
 
 Post subject: Re: [XASECO] Plugin: Server Neighborhood 1.4.7 (UPDATE)
PostPosted: 21 Jul 2016 17:10 
Offline
Pit Crew
Pit Crew
User avatar

Joined: 31 Aug 2009 19:38
Posts: 1303
Location: Germany
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Just wanna say: There is an update out there... see the related Site at my Lab.

_________________
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


Top
 Profile  
 
 Post subject: Re: [XASECO] Plugin: Server Neighborhood 1.4.8 (UPDATE)
PostPosted: 23 Mar 2017 00:45 
Offline
happy cruiser
happy cruiser
User avatar

Joined: 05 Sep 2007 14:55
Posts: 133
Location: Sweden
Owned TM-games: TMUF
Manialink(s): woa
With this version it shows at the end of an rotation a non existing server. (as you can see on the picture)

Image

I think the problem is at line:722 because when i change following code ->

Code:
if (( isset($sn_servers[$i]) ) && ($sn_servers[$i]['STATUS'] == false) ) {


into this ->

Code:
if ($sn_servers[$i]['STATUS'] == false) {


The issue is gone.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 252 posts ]  Go to page Previous  1 ... 13, 14, 15, 16, 17

All times are UTC + 1 hour


Who is online

Users browsing this forum: Google [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group