[XAseco2] AutoQueue

Discuss everything about Xymph's Aseco flavoured server control scripts for TM Forever / classic TMN and for TM² Canyon.

Moderators: Xymph, TM-Patrol

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

[XAseco2] AutoQueue

Post by Bueddl » 05 Jan 2012 08:24

AutoQueue for XAseco2
by Bueddl


This is the developement thread for by AutoQueue plugin for XAseco2.
Since it is *NOT* based on fufi's AutoQueue , it needs some time to implement all features, I simply did not want to fiddle in someone elses code...

Notice: I am very sorry that I did not released the plugin yet, and did not released it last sunday on first roc in TM².
I started to develop it 3 and a half days before, so there was a really less time for it to work. As on some bigger testings, the saturday evening (thanks to the CN team and much others at this point), I discovered some hard problems which I could not solve yet. I hope it to be ready for this sunday. As you can see ont he screens, many things are working, but many are not (as the testers know ).
And a big thanks to mark (killer) who supported me as well with a testserver and a test on his roc :1
:roflol:



1. Current Version

The current plugin-version is v1.2.2-beta1 released at 01/07/2012.
It will only work with XAseco2 yet, but I will add support for XAseco1 later.


2. Download and Installation

Simple as can be! Just download one of the fallowing archives and unpack it into your XAseco directory. It is already configured with the default values.
You just need to add the plugin to your plugins.xml

Code: Select all

<plugin>bueddl.autoqueue.php</plugin>
Download available soon!


3. Changelog

v1.2.2-beta1 - 01/07/2012
  • Some rough code cleaning-ups (now only about 500 lines of code :))
v1.2.1-beta1 - 01/07/2012 v1.2.0-beta1 - 01/06/2012
  • Implemented the WorstKick features
v1.1.0-beta1 - 01/04/2012
  • Initial Release

4. Features
  • Basic queue features
  • Widgets
    • A queuelist widget when you are waiting
    • See your queuepos in the queuewidget
    • A join-the-queue button when in spec mode
  • Autojoin to queue when you join in spec mode (configurable)
  • A check for the players ladderscore before joining the queue (and displaying those who have a too low ladder score a message)
  • Worstkick feature
    • Choose the mode inwhich worstkick works, e.g.: Kick, ForceSpec or Requeue
    • Only kick/requeue players when the queue is not empty (configurable)
    • Ignore new players to the game (configurable)

5. Features planned
  • Make the widgets configurable
    • position, size
    • styles
    • columns number for the queuelist
  • IdleKick feature with some smart options
  • WorstKick features
    • disable kick for admins option
  • if a player leaves within a round, then therre is one WorstKick less needed
  • to be continued... :D

6. Configuration

The plugin owns it own configuration file bueddl.autoqueue.xml.
You can always left any setting out as you want, but then the defaults will be choosen. This behaviour will be prompted to the XAseco log!

Sample bueddl.autoqueue.xml:

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>
<autoqueue>
	<auto_queue_joined>true</auto_queue_joined>

	<worstkick>
		<enabled>true</enabled>
		<count>1</count>
		<mode>Requeue</mode>
		<look_for_queue>true</look_for_queue>
		<ignore_unofficial>true</ignore_unofficial>
		<strict>false</strict>
	</worstkick>
</autoqueue>
auto_queue_joined
Allowed values: true|false (case in-sensitive, default: true)
Description: If true, add players automatically to queue which joined as spectator.

worstkick.enabled
Allowed values: true|false (case in-sensitive, default: true)
Description: Set to true if you want to enable the worst kick feature

worstkick.count
Allowed values: 0-255 (numbers, default: 2)
Description: Sets the number of worst players beeing kicked

worstkick.mode
Allowed values: Kick|ForceSpec|Requeue (case sensitive, default: Requeue)
Description: Sets the mode how to threat the worst players. Kick = kick from server, ForceSpec = force the player to spectator mode, Requeue = requeue the worst player to the end of the queue.
Notice: If configured as ForceSpec or Requeue be aware, that players only will be requeued if there are enough free spectator slots, otherwise they will be kicked instead!

worstkick.look_for_queue
Allowed values: true|false (case in-sensitive, default: true)
Description: If this option is set to true, the WorstKick will check if there is a need to kick|forcetospec a player or not. Means, if the queue is empty, it won't kick players at all until someone joined the queue.

worstkick.ignore_unofficial
Allowed values: true|false (case in-sensitive, default: true)
Description: Set to true to disable kick of "unofficial", joined within that round, players. This gives them a fair chance.

worstkick.strict
Allowed values: true|false (case in-sensitive, default: false)
Description: This option is more complex as the others and you maybe won't like it, but maybe you need it sometime. It only takes effect is worstkick.ignore_unofficial = true.
If this option is set to false, e.g. on a server with 8 slots and worstkick.count = 2, there only will be rank 7 and 8 be kicked, if in these ranks are unofficial players, there won't be any other kickings.
If this option is set to true, e.g. the same server as above, the plugin will kick as much (official!) players as it needs to reach the worstkick.count = 2 kicks.


7. Sample screens

The spectators view - "Click to join the Queue"
Image

WorstKick - with mode Requeue
Image

Cannot join the Queue - displayed for low-ladder players
Image

Queued view - the queuelist with your pos
Image


8. Support and Contact

Support will be given within this forum-thread. Please don't start any new threats as I won't see then and therefore won't answere you. It is also the best way to keep the forum clean and sorted. :thumbsup:
Suggestions and improovements are always welcome, so don't hesistate to contact me or just write your proposal down as a post in this thread.
If you discover a bug ( :grmblz: ) please attach your log file and describe as exactly as you can what happened, what was not expected, thanks!



Anyway, have fun with this plugin! Cheers :1

Bueddl
Last edited by Bueddl on 11 Jan 2012 00:04, edited 36 times in total.

rastalex
pedestrian
pedestrian
Posts: 7
Joined: 18 Oct 2010 09:29
Owned TM-games: TMU

Re: [XAseco2] AutoQueue

Post by rastalex » 05 Jan 2012 18:40

Hello,

Sounds good!
Thanks :)

User avatar
TheM
Pit Crew
Pit Crew
Posts: 286
Joined: 25 Feb 2009 16:43
Owned TM-games: TMU(F), TMN(F), TM2
Location: Brabant, Netherlands
Contact:

Re: [XAseco2] AutoQueue

Post by TheM » 07 Jan 2012 11:16

Can't wait till you release it! :D

User avatar
sbone
happy cruiser
happy cruiser
Posts: 180
Joined: 13 Sep 2007 18:11
Owned TM-games: TMUF, TM2
Location: In the sky...
Contact:

Re: [XAseco2] AutoQueue

Post by sbone » 07 Jan 2012 13:00

Many thanks !
Go go go for the public release ;)
-- SbOne --
Public CSb1 portal : http://csb1.sbone.fr -/- Team CSb1 : http://sbone.fr

Vetah
highway camper
highway camper
Posts: 4
Joined: 07 Jan 2012 13:51
Owned TM-games: TM2

Re: [XAseco2] AutoQueue

Post by Vetah » 07 Jan 2012 13:54

Great Work , we are waiting this for :)
CИ»Ѵєταн

Vetah
highway camper
highway camper
Posts: 4
Joined: 07 Jan 2012 13:51
Owned TM-games: TM2

Re: [XAseco2] AutoQueue

Post by Vetah » 07 Jan 2012 18:29

Bueddl upload it if you can with this little fails because we have to have it installed to open our 100k server .
CИ»Ѵєταн

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: [XAseco2] AutoQueue

Post by Bueddl » 10 Jan 2012 23:57

I am very sorry that I did not released the plugin yet, and did not released it last sunday on first roc in TM².
I started to develop it 3 and a half days before, so there was a really less time for it to work. As on some bigger testings, the saturday evening (thanks to the CN team and much others at this point), I discovered some hard problems which I could not solve yet. I hope it to be ready for this sunday. As you can see ont he screens, many things are working, but many are not (as the testers know ).

Vetah
highway camper
highway camper
Posts: 4
Joined: 07 Jan 2012 13:51
Owned TM-games: TM2

Re: [XAseco2] AutoQueue

Post by Vetah » 13 Jan 2012 16:07

In the name of my team, you are welcome . :)

We wait for the release ;)
CИ»Ѵєταн

kremsy
road tourist
road tourist
Posts: 81
Joined: 29 Jun 2011 17:03
Owned TM-games: TMF, TM2
Contact:

Re: [XAseco2] AutoQueue

Post by kremsy » 18 Jan 2012 18:43

When will it be released?
You need a TM2 Server? Look on: http://www.tm2-server.net :)

New Shootmania Server available, check out: http://www.mania-server.net

nia-nia
pedestrian
pedestrian
Posts: 14
Joined: 23 Nov 2011 02:24
Owned TM-games: TMUF_SE

Re: [XAseco2] AutoQueue

Post by nia-nia » 23 Feb 2012 12:51

Although i am talking for xaseco1, i believe the single most important feature is compatibility with freezone plugin. If you could make it work well with manialive freezone plugin and not break the rules (of kicking nations to spec every 5 tracks), then you would not only be a genius but my personal savior too.

All masteradmins like myself would love to be able to queue people without breaking the damn freezone rules.

Any chance you can put this on your to-do list please?

Fufi's autoqueue, although great plugin, doesn't cooperate with manialive-freezone and breaks it, then breaks the disabled callvotes (forces re-enable for some reason), and causes xaseco crash if xaseco is restarted with 35+ people in the server (while there is no crash if restarted without the plugin). These might just all have a single cause, the incompatibility with manialive-freezone. If you could make it compatible with freezone and xaseco 1 I would be grateful forever.

Thank you very much in any case

schmidi
smooth traffic navigator
smooth traffic navigator
Posts: 196
Joined: 15 Jul 2008 22:25
Owned TM-games: tmo, tms, tmuf

Re: [XAseco2] AutoQueue

Post by schmidi » 25 Feb 2012 17:50

nia-nia wrote:Although i am talking for xaseco1, i believe the single most important feature is compatibility with freezone plugin. If you could make it work well with manialive freezone plugin and not break the rules (of kicking nations to spec every 5 tracks), then you would not only be a genius but my personal savior too.
Imo not possible, due to how freezone-plugin works...

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: [XAseco2] AutoQueue

Post by Bueddl » 05 Mar 2012 22:28

Due to me not having the time for this as I expected to have, I have to shutdown my work on this. I am sorry for those who helped me and waited for the release...

Many thanks and cheers,
Bueddl

Xymph
Pit Crew
Pit Crew
Posts: 5644
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: [XAseco2] AutoQueue

Post by Xymph » 06 Mar 2012 06:52

Bueddl wrote:Due to me not having the time for this as I expected to have, I have to shutdown my work on this. I am sorry for those who helped me and waited for the release...
Too bad, but maybe you can hand over what you got so far to someone else, to finish and publicly release it?
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub

User avatar
sbone
happy cruiser
happy cruiser
Posts: 180
Joined: 13 Sep 2007 18:11
Owned TM-games: TMUF, TM2
Location: In the sky...
Contact:

Re: [XAseco2] AutoQueue

Post by sbone » 11 Mar 2012 14:20

Xymph wrote:
Bueddl wrote:Due to me not having the time for this as I expected to have, I have to shutdown my work on this. I am sorry for those who helped me and waited for the release...
Too bad, but maybe you can hand over what you got so far to someone else, to finish and publicly release it?
+1 and why some servers like current RoC servers have this plugin ?
Could you release it for all plz ?
Developpers will be able to look for current bugs i think.

Thanks
-- SbOne --
Public CSb1 portal : http://csb1.sbone.fr -/- Team CSb1 : http://sbone.fr

User avatar
TheM
Pit Crew
Pit Crew
Posts: 286
Joined: 25 Feb 2009 16:43
Owned TM-games: TMU(F), TMN(F), TM2
Location: Brabant, Netherlands
Contact:

Re: [XAseco2] AutoQueue

Post by TheM » 07 Apr 2012 07:47

sbone wrote:
Xymph wrote:
Bueddl wrote:Due to me not having the time for this as I expected to have, I have to shutdown my work on this. I am sorry for those who helped me and waited for the release...
Too bad, but maybe you can hand over what you got so far to someone else, to finish and publicly release it?
+1 and why some servers like current RoC servers have this plugin ?
Could you release it for all plz ?
Developpers will be able to look for current bugs i think.

Thanks
Yeh, I know the last reaction was about a month ago.
But I'd like it if you would release the current bèta version you have...
Some other developer (or team) can take over the development, so a proper AutoQueue can be released.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest