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. 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>
3. Changelog
v1.2.2-beta1 - 01/07/2012
- Some rough code cleaning-ups (now only about 500 lines of code
)
- Added support for undef's Third-Party Plugins UpToDate
- Implemented the WorstKick features
- 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...
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>
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"

WorstKick - with mode Requeue

Cannot join the Queue - displayed for low-ladder players

Queued view - the queuelist with your pos

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.

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 (

Anyway, have fun with this plugin! Cheers

Bueddl