[XAseco] ZeroSwitch v2.0 in developement (22-Oct-2009)

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
Bueddl
speedy pilot
speedy pilot
Posts: 458
Joined: 05 Apr 2008 12:37
Owned TM-games: TMO, TMS, TMU/N(F)
Location: Germany
Contact:

[XAseco] ZeroSwitch v2.0 in developement (22-Oct-2009)

Post by Bueddl » 11 Feb 2009 13:15

German post, see: http://forum.deepsilver.com/forum/showt ... post365498

Hi,

BBMV and I made a new plugin called ZeroSwitch to link all of your servers between each other :)
It is simpel to use and to configure. Work at Version 2.0 began ;)

:!: Current developing status
  • 22th of October
    I think this could be a nice project, so I won't stop developing the plugin, against my previous opinin to that topic :)
    I won't be at home for the next days, but I hope to be able to share a Betaversion of v2.0 in the upcoming weeks (about the beginning of november)
  • 30th of June
    Since I was a bit sick in the last weeks and very busy I had not enought time to brign to work to an end, hoping for v 2.0 becomming Beta soon :)
  • 22th of May
    2 days of no-coding left ;) Also freaks makes some breaks xD
    Today I wanna explain the most asked question: Why does the dev of 2.0 take so lang time? -2.0 is a complete rewrite with more features and also more lines of code, also more errors: or short said: More need of time ;) Clear now?^^ :1
  • 20th of May
    Again a day of coding - lol^^
  • 17th of May
    12:10 809 codelines^^
  • 16th of May
    Over 750 lines of new code have already been written ;) Expecting 500 lines of code to do^^
  • 15th of May
    Soon available: A translation în german of this post by scg-flighthigh. We are currently searching new ideas for version 2.0. THe fallowing ideas will be included. Please post if you have pther cool ideas. Those ideas were submitted to me by the great community :

    • Multi-Style (also make your own style without editing the code, show onlo those data you want. e.g. just a playercount and servername in style like orginal nadeo, or ZeroSwitch 1.1 Style or ServerSwitch style, or whatever^^)
    • Not only MySQL, also possible, Filebased, XML-RPC and SharedMemory
    • Individual display state for every player (hide with F7)
    • Admins can sort the servers like they want (e.g. sort by playercount or by servername or own sort order)
    • Just refresh when data of content changes (prevent lags in most cases...)
    • Additional Informations like Playerlist etc. of other servers.
    • see spec/queue list of other servers
    • Chat between all servers or between 2 special servers or whisper to a player on an other server...)
    • optional: function for more paged serverlists
    • optional: function for random server shown
    • own admin panel for this plugin
    • you must not type the server logins (new menu in which all servernames are listed on which the plugin runs (of the selected database) So you can install the plugin on all servers and go on every server and create your servers list by cicking on those servers ;) No typing any more^^
    • List from each player editable. (just shown to him)
    • Join-to-other-server invitations sendable to other palyers on a server of this clan (also possible on same server) with join link to join other server :)
    3rd downlaod mirror available. Thanks to janigi and the IF clan =)[/i]
  • 11th of May
    A second download Mirror is now available. I redesigned this post to make it more actual and a bit better to find answeres on most questions :)
  • 10th of May
    I had not the time to develope the new version (2.0) in the last weeks, but I began yesterday (9th of May) with the basicly works at 2.0Beta and hope that I will be able to realse it here soon :) However, I think the plugin just can be tested with the community, cause it has much more features and supportet transport Sockets as last version, so I will make an public Beta launch here, too.

:!: Additional infos
  • ReleaseDate: 2009-03-01
  • Version: 1.16 Testing ~ 1.1f
  • This plugin needs the last server Build (2008-12-05)
  • You need to activate the mysqli-Extension in php (see http://www.faqts.com/knowledge_base/vie ... /aid/36243)
  • You need to run the plugin on all servers which should be shown in list!
  • You are nto allowed to remove the footer link & text (copyright)
:!: DOWNLOAD OF 1.16 (~ 1.1f)

:!: Change Log

Version 1.1a-f
  • Some Bugfixes from 1.1
Version 1.1
  • Serverslist now configuratable via chat commands
  • up to infinity servers ;)
  • Settings like refresh_time, entry_count and display_state configuratable via chat commands or via the fuf.menu!
  • Settings can be global (for all servers) or local (just for the current server)
  • Menu integration
  • Help added
  • 100% compatible to running 1.0 installation
  • auto-install mode (just create database for installation, plugin installs all tables)
Version 1.0
  • up to 5 servers
  • if the server is full, you get a join as SPEC link and not a stupid join as PLAYER link, so you won't get a error on joining a full server
  • automatic extending boxes, no manialink editing needed!
  • no plugin modification needed, just copy it and activte it in plugins.xml
  • SQL based, not file based (easyer to handle)
  • Serverslist changeably at runtime! no Aseco restart needed to exchange/add servers!
  • positing by x,y values, not needed to change the whole plugin, just these 2 numbers ;-)

:!: Installation
  1. Download the compressed file and unzip it.
  2. Copy the file plugin.zeroswitch.php into the folder plugins/ of your Xaseco installation.
  3. Then add the fallowing line (before! the last line) in the file plugins.xml:

    Code: Select all

    <plugin>plugin.zeroswitch.php</plugin>
  4. If you upgrade from a version oldder than 1.1(a), please remove the line

    Code: Select all

    <plugin>plugin.zeroserverswitch.php</plugin>
  5. Create a new database (you could also use the one of xaseco...but I prefer a new one) and gain a user rights to select/read/update on it
  6. Open the file /plugins/plugin.zeroswitch.php and go to line 93. Modify these lines to your mysql connection (user and created database)

    Code: Select all

    93	$mysql_login = 'YOUR_MYSQL_USER';
    94	$mysql_ip = 'localhost';
    95	$mysql_pw = 'YOUR_MYSQL_PASSWORD';
    96	$mysql_db = 'YOUR_DATABASE';
    
  7. Now you can restart your aseco.

:!: Pictures of curren release

That's the current plugin look: You can add servers and set variables like refreshTime or entryCount with chat commands or over the menu.
Image

The integration into the fufi.menu plugin (see viewtopic.php?f=127&t=17450 ). Direct access to commands like "clear list" or "delete duplicate entries". Custom help included.
Image

When clicking on "Local" or "Global" you can set variables/settings for the plugin. Here, you can set the local refresh time, so the time when the plugin refreshs the displayed list. When setting a local value the server just will care for this local variable and ignore the global. Global variables are like defaults and then you can make an individual config for each server with the local variables.
Image

You can look for the curent value by clicking on the "Show current" button.
Image


:!: Configuration & FAQ
  • How can I add a server to the list?
    /zs ls SERVERLOGIN
    (replace SERVERLOGIN with the login of the server you want to add to the list.)
  • How can I remove a server to the list?
    /zs rs SERVERLOGIN
    (replace SERVERLOGIN with the login of the server you want to add to the list.)
  • I want to show on 2 or more Server the same list, is there anythign that makes it easier to setup?
    Yes! You can copy lists from other servers. Configure your list on one server and then go on the server where you want to copy the list to. Then type
    /zs cp SERVERLOGIN
    (replace SERVERLOGIN with the server from which you want to copy the list.)
  • I made a mistake and now there are duplicate entries in my list.
    /zs dd
    (removes all duplicate entries on the current server.)
  • How can I delete all Servers from list?
    /zs cls
    (clears your list of servers.)
  • I want to link server1 on server2 and on server1 I want to link server2. I is possible to make this in one command?
    /zs cl SERVERLOGIN
    ("crosslinks" SERVERLOGIN and the current server.)
  • How to set the refresh time for all servers?
    You can set it via the menu "Menu->ZeroSwitch->Global->refresh time->..."
    alternative, use chat:
    /zs global REFRESH_TIME 10
    (in this case you set it to 10 seconds)
  • How to set the refresh time just for the current server?
    You can set it via the menu "Menu->ZeroSwitch->Local->refresh time->..."
    alternative, use chat:
    /zs local REFRESH_TIME 10
    (in this case you set it to 10 seconds)
  • Is it possible to display the plugin just in race/ on score or never for all servers?
    Yes, it is possible via the menu "Menu->ZeroSwitch->Global->display state->..."
    alternative, use chat:
    /zs global DISPLAY_STATE race
    (in this case, plugin just will shown in race, possible values: never, always, race and score)
  • Is it possible to display the plugin just in race/ on score or never for the current server?
    Yes, it is possible via the menu "Menu->ZeroSwitch->Local->display state->..."
    alternative, use chat:
    /zs local DISPLAY_STATE race
    (in this case, plugin just will shown in race, possible values: never, always, race and score)
  • I misconfigured my plugin? can I set it to default without reinstalling?
    Yes, if you just misconfigured the current server, type
    /zs default
    but if you want to set the whole plugin settings to default, use
    /zs restore
    Also possible via the Menu
:!: Contact

If you have new ideas or problems (perhaps you foudn a bug...) then please write here into the threat, I will read it then and I hope I can help ;)
However, have fun using this plugin ;)
Last edited by Bueddl on 22 Oct 2009 10:53, edited 69 times in total.

ricou
wheelbarrow operator
wheelbarrow operator
Posts: 20
Joined: 07 Oct 2008 08:51
Owned TM-games: tmuf

Re: [(X)Aseco] Server Switch Plugin v2

Post by ricou » 13 Feb 2009 00:51

The plugin changes everything in background, you just have to add a MySQL Entry. Nno edit of the plugin needed!
It is not important on which road you are driving...
hello
quesque want to say this, I can not understand
we can of having a tutorial with more explanations for novices like me
thank :wink:

djmv
cyclist
cyclist
Posts: 44
Joined: 21 Jul 2008 14:25
Owned TM-games: pff

Re: [(X)Aseco] Server Switch Plugin v2

Post by djmv » 13 Feb 2009 05:09

Good work guys.Keep working
I think this project is better for us and more easy to
use it.

Thanks!!!

User avatar
Basskid
road tourist
road tourist
Posts: 81
Joined: 07 Sep 2008 12:40
Owned TM-games: TMO, TMS, TMN, TMUF
Manialink(s): Basskid, mwl, 100k, bk.ladder
Location: Germany
Contact:

Re: [(X)Aseco] Server Switch Plugin v2

Post by Basskid » 13 Feb 2009 09:50

Yeah, really nice work :D it looks fantastc

Bueddl
speedy pilot
speedy pilot
Posts: 458
Joined: 05 Apr 2008 12:37
Owned TM-games: TMO, TMS, TMU/N(F)
Location: Germany
Contact:

Re: [(X)Aseco] Server Switch Plugin v2

Post by Bueddl » 13 Feb 2009 22:23

ricou wrote:
The plugin changes everything in background, you just have to add a MySQL Entry. Nno edit of the plugin needed!
It is not important on which road you are driving...
hello
quesque want to say this, I can not understand
we can of having a tutorial with more explanations for novices like me
thank :wink:
Ok, I will explain it ;-)
But short said: You dotn have to configure the plugin! Not if you want to install it, not when you want to add a server into the list ;-)

But I will explain in the next days with screenshots :D

Amisxp
road tourist
road tourist
Posts: 81
Joined: 26 Dec 2008 10:28
Owned TM-games: TMUF
Location: Slovenia, Maribor

Re: [(X)Aseco] Server Switch Plugin v2

Post by Amisxp » 15 Feb 2009 00:03

first of...this plugin is great!
ive test it on the zero servers and i like it :3

and 1 more question :roll:
could u also release this plugin for round mode (c the pic):
Image

if u dont want to release it public...u could send me in a PM ;D

keep on with the good works :3 :pil

Bueddl
speedy pilot
speedy pilot
Posts: 458
Joined: 05 Apr 2008 12:37
Owned TM-games: TMO, TMS, TMU/N(F)
Location: Germany
Contact:

Re: [(X)Aseco] Server Switch Plugin v2

Post by Bueddl » 15 Feb 2009 00:17

this is a mod of an other plugin, look here, I posted my modifications:

viewtopic.php?f=127&t=19280

Amisxp
road tourist
road tourist
Posts: 81
Joined: 26 Dec 2008 10:28
Owned TM-games: TMUF
Location: Slovenia, Maribor

Re: [(X)Aseco] Server Switch Plugin v2

Post by Amisxp » 15 Feb 2009 02:07

ty ^^

SaKrifeD
cyclist
cyclist
Posts: 43
Joined: 07 Jan 2008 16:56
Owned TM-games: TMU, TMN

Re: [(X)Aseco] Server Switch Plugin v2

Post by SaKrifeD » 15 Feb 2009 16:01

I tested your plugin this afternoon.
It looks great. The green arrow, putted in front of the actual server button, is a nice idea.

I switched good between your servers.
But there is one problem with your 100k server...

I got a joinAsPlayer link to your 100k server and the actual shown LPs & players are wrong.

Look this video

Hopefully you'll find the mistake.

Greetz
SaK
Image

BBMV
sunday driver
sunday driver
Posts: 55
Joined: 18 Dec 2008 11:48
Owned TM-games: TMUF, TMS, TMO, TM2
Location: Germany -> Hessen -> Wiesbaden

Re: [(X)Aseco] Server Switch Plugin v2

Post by BBMV » 15 Feb 2009 16:42

The Version on the Nations Servers have False Players Count from the United because the United runs an newer Plugin Version ;-)

Try the Switch on the 3 United Servers, they running all the newest Version.

Bueddl
speedy pilot
speedy pilot
Posts: 458
Joined: 05 Apr 2008 12:37
Owned TM-games: TMO, TMS, TMU/N(F)
Location: Germany
Contact:

Re: [(X)Aseco] Server Switch Plugin v2

Post by Bueddl » 15 Feb 2009 18:45

yep :D

We had to ru the current version (1) with a new database, as the older version (0.9), cause the new version is using a ne databaselayout. we did not remove the old informations of the servers, yet.

MadMax01
cyclist
cyclist
Posts: 37
Joined: 18 Apr 2008 03:25
Owned TM-games: TMN,TMU,TMNF,TMUF

Re: [(X)Aseco] Server Switch Plugin v2

Post by MadMax01 » 21 Feb 2009 02:52

when is this going to be release to th epublic? im looking forward to this one. i think im going to like this one better than the other one. :thumbsup:

Jojo_44
road tourist
road tourist
Posts: 87
Joined: 13 Jan 2009 16:57
Owned TM-games: Tmnf, Tmuf

Re: [(X)Aseco] Server Switch Plugin v2

Post by Jojo_44 » 21 Feb 2009 15:17

Looks great Bueddl :thumbsup: :thumbsup: :thumbsup:

Jojo

Bueddl
speedy pilot
speedy pilot
Posts: 458
Joined: 05 Apr 2008 12:37
Owned TM-games: TMO, TMS, TMU/N(F)
Location: Germany
Contact:

Re: [(X)Aseco] Server Switch Plugin v2

Post by Bueddl » 21 Feb 2009 21:19

added release date: Monday, 2009-02-23

Amisxp
road tourist
road tourist
Posts: 81
Joined: 26 Dec 2008 10:28
Owned TM-games: TMUF
Location: Slovenia, Maribor

Re: [(X)Aseco] Server Switch Plugin v2

Post by Amisxp » 23 Feb 2009 15:34

im waiting :roflol: :gobananas:

Post Reply