[SMART] Plugin SpectatorQueue 1.1

Moderators: vni, NADEO

User avatar
vni
Posts: 221
Joined: 02 Oct 2011, 09:56

[SMART] Plugin SpectatorQueue 1.1

Post by vni »

Plugin Spectator Queue
This plugin queues spectators for playing if the server is full, or if a defined maximum of players is reached.

Image

Image

Attention:
- Plugin Database 2.6 is required
- If installed, Plugin SpecSwitch 1.1 should be disabled. Lower versions may cause problems, so update, even if you do not use it. MUST BE DISABLED.

Install / Update / Download
- Ingame via /admin plugins
- Manual from http://smarttool.org/plugins.php

Changes
v1.1
- Bugfix joinmode was changed while server is not full (You must update the Database-Plugin to v2.7 or higher)
v1.0
- initial release

Chatmessages
If you want Chatmessages, use the plugin Texttriggers with the following triggers:

Code: Select all

SpectatorQueueJoinWaitlist
SpectatorQueueLeaveWaitlist
SpectatorQueuePlay
SpectatorQueueRandomSpec
SpectatorQueueWorstSpec
For details, see the Triggerlist: https://docs.google.com/spreadsheet/pub ... utput=html

Note: This is pre-alpha ^^ I had no buddies online for testing, so I let you test it :D
SMART - The smarter Servertool for Shootmania
Download SMART at http://smarttool.org
Changelog: here
Frequently Asked Questions: here

IRC: #smart @ QuakeNet (WebChat)
User avatar
sbone
Posts: 124
Joined: 03 Sep 2011, 11:41
Location: In the sky...
Contact:

Re: [SMART] Plugin SpectatorQueue 1.0

Post by sbone »

Hi,

thanks for this one ;)

Report bug : When you enter the server as spectator, you join game automatically (if there is a place)

I think if you enter as spec, you must be place in spec and its up to you to join or not the game/queue,
even if there is a place.

No bug, if you go to spec manually while in game.

Edit : Bug : If you enter the server, you go to spec even if there is place .

Thanks

@+
-- SbOne --
Public CSb1 portal : http://csb1.sbone.fr -/- Team CSb1 : http://sbone.fr
User avatar
Trabant74
Posts: 100
Joined: 16 Aug 2011, 22:59

Re: [SMART] Plugin SpectatorQueue 1.0

Post by Trabant74 »

Just wanted to confirm the bug ;)
OS:Windows 7
CPU:Intel Core i5 4670 3.4 GHz
RAM:Corsair Vengeance 1600-8GB
GPU:MSI GeForce GTX 760 2GB
Motherboard:MSI Z87-G45 s1150
HDD(s):SSD Samsung 120
Sound:Sound Blaster SBX
Monitor:Asus VS248H
Peripherals:Razer DeathAdder (m), Logitech K200 (k)
User avatar
vni
Posts: 221
Joined: 02 Oct 2011, 09:56

Re: [SMART] Plugin SpectatorQueue 1.0

Post by vni »

Hell yeah.. The d a m n ManiaPlanet-Server always puts a spectatorflag on every connecting player. That drives me crazy. I'll look for a solution tomorrow. Too much input for today :roflol:
SMART - The smarter Servertool for Shootmania
Download SMART at http://smarttool.org
Changelog: here
Frequently Asked Questions: here

IRC: #smart @ QuakeNet (WebChat)
User avatar
insomnia-yamyam
Posts: 324
Joined: 05 Sep 2011, 04:59
Contact:

Re: [SMART] Plugin SpectatorQueue 1.0

Post by insomnia-yamyam »

Thanks guys for the reports ... but i gonna report one more "bug" which hasn't mentioned yet:

The SpectatorQueue "Button" is also shown during the Loadscreen1 - like you can see here:
Image

Entering layer -35 or even -75 (to hide it behind the loadscreen) does't work, then just the eye icon is hidden and/or jittering.

Solution fix:
The manialink only should shown during game and be hidden/off during the loadscreens. :thumbsup:
As the layer option does not seem to work i would suggest to move the manialink outside the visible window during loadscreens, this should work.
GermanINSOMNIAClan!
Multigaming Fun-Clan since 1998!
» www.I-N-S-O-M-N-I-A.de «

Visit our TM2 and SM Clanserver or download the INSOMNIA TM2-Trackpack or SM-Mappack !
You also find us at both Mania-Exchanges - search "German INSOMNIA Clan"
User avatar
vni
Posts: 221
Joined: 02 Oct 2011, 09:56

Re: [SMART] Plugin SpectatorQueue 1.0

Post by vni »

Layers work fine. Default Layer value is 0, so in this example X=0:

X = Base-Layer
X+1 = Background Layer
X+2 = Text and Icons.
SMART - The smarter Servertool for Shootmania
Download SMART at http://smarttool.org
Changelog: here
Frequently Asked Questions: here

IRC: #smart @ QuakeNet (WebChat)
User avatar
vni
Posts: 221
Joined: 02 Oct 2011, 09:56

Re: [SMART] Plugin SpectatorQueue 1.1

Post by vni »

v1.1

The Join-Bug should be fixed now. Also update the Database-Plugin to the latest version!
SMART - The smarter Servertool for Shootmania
Download SMART at http://smarttool.org
Changelog: here
Frequently Asked Questions: here

IRC: #smart @ QuakeNet (WebChat)
User avatar
insomnia-yamyam
Posts: 324
Joined: 05 Sep 2011, 04:59
Contact:

Re: [SMART] Plugin SpectatorQueue 1.0

Post by insomnia-yamyam »

vni wrote:Layers work fine. Default Layer value is 0, so in this example X=0:

X = Base-Layer
X+1 = Background Layer
X+2 = Text and Icons.
So that is the reason why it doesnt work (for me), as SpectatorQueue is using 3 layers and not one, of course.
And you can't hide 3 layers behind layer -34 as there is just one layer at -35 left. :D
-35 = Base-Layer
-34 = Background Layer AND
-34 = Loadscreen2
-33 = Text and Icons (which then are above the Loadscreen2)

Damnit, was to late and i have been to tired to check it myself :teub:
Sorry my fault :oops:



I adjusted LS2 from layer -34 to -32 now so it will work to hide SpectatorQueue behind:
-35 = Base-Layer
-34 = Background Layer
-33 = Text and Icons
-32 = Loadscreen2

But there is still a problem with iconstle jittering and random position of it.
We need to investigate this and talk about it and check it live.
So cu soon at the dev ts. Then we may find the error or bug.
GermanINSOMNIAClan!
Multigaming Fun-Clan since 1998!
» www.I-N-S-O-M-N-I-A.de «

Visit our TM2 and SM Clanserver or download the INSOMNIA TM2-Trackpack or SM-Mappack !
You also find us at both Mania-Exchanges - search "German INSOMNIA Clan"
User avatar
insomnia-yamyam
Posts: 324
Joined: 05 Sep 2011, 04:59
Contact:

Re: [SMART] Plugin SpectatorQueue 1.1

Post by insomnia-yamyam »

vni wrote:v1.1
The Join-Bug should be fixed now.
Confirmed!
The join bug is fixed and solved now.
If you join as player, you are at play mode. :thumbsup:
If you join as spectator, your are at spectator mode. :thumbsup:

Also the textriggers are working fine but are having a logical "bug":
Situation case:
- A player is in spectator mode and there are free playerslots available.
- The player clicks the SpectatorQueue Button to join the game.
- BOTH triggers (SpectatorQueueJoinWaitlist and SpectatorQueuePlay) are launched.

This causes two chat messages ("Player joined game" and "Player joined waitinglist") where the last message/trigger is wrong in this case. To solve this, the SpectatorQueueJoinWaitlist-trigger should only be activated if there are no free playerslots available at the server. This should fix this bug :thumbsup:
GermanINSOMNIAClan!
Multigaming Fun-Clan since 1998!
» www.I-N-S-O-M-N-I-A.de «

Visit our TM2 and SM Clanserver or download the INSOMNIA TM2-Trackpack or SM-Mappack !
You also find us at both Mania-Exchanges - search "German INSOMNIA Clan"
User avatar
vni
Posts: 221
Joined: 02 Oct 2011, 09:56

Re: [SMART] Plugin SpectatorQueue 1.1

Post by vni »

Fix: Don't use the Waitlist-Trigger! Nobody cares about who is waiting. Thank you vni! No problem, you are welcome.
SMART - The smarter Servertool for Shootmania
Download SMART at http://smarttool.org
Changelog: here
Frequently Asked Questions: here

IRC: #smart @ QuakeNet (WebChat)
Post Reply

Return to “SMART Servercontroller”

Who is online

Users browsing this forum: No registered users and 0 guests