[SPADS] Addbox spectator spam

[SPADS] Addbox spectator spam

SpringRTS Perl Autohost for Dedicated Server

Moderators: Moderators, Lobby Developers, SPADS AutoHost

Post Reply
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14600
Joined: 17 Nov 2005, 02:43

[SPADS] Addbox spectator spam

Post by Forboding Angel » 08 Apr 2014, 01:21

Can we have a setting where specs can't use the addbox command?
0 x

User avatar
Jools
XTA Developer
Posts: 2804
Joined: 23 Feb 2009, 16:29

Re: [SPADS] Addbox spectator spam

Post by Jools » 08 Apr 2014, 10:08

Edit the addbox command in commands.conf of spads.

Code: Select all

#?source:status:gameState|directLevel:voteLevel

 status: status of the client calling the command (string)
#   playing -> player currently playing in game
#   player -> player in battle lobby and/or in game
#   spec -> spectator in battle lobby
#   outside -> user outside battle
0 x

User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14600
Joined: 17 Nov 2005, 02:43

Re: [SPADS] Addbox spectator spam

Post by Forboding Angel » 09 Apr 2014, 08:43

Code: Select all

[addBox]
#battle,pv:player,spec:stopped|10:10
battle:player:stopped|100:10
::|30:
I don't think this could possibly make less sense.
0 x

User avatar
Jools
XTA Developer
Posts: 2804
Joined: 23 Feb 2009, 16:29

Re: [SPADS] Addbox spectator spam

Post by Jools » 09 Apr 2014, 13:04

Yes, it's a bit confusing. I have this:

Code: Select all

[addBox]
battle,pv:player,spec:stopped|10:10
::|100:
I think it means that the first row specifies a list of conditions and then two required levels, directlevel and votelevel. Then the second row acts as an "else" statement. So you could try to set it like this:

Code: Select all

[addBox]
battle,pv:player:stopped|10:10
battle,pv:spec:stopped|100:100
::|100:
Maybe?
0 x

User avatar
Jools
XTA Developer
Posts: 2804
Joined: 23 Feb 2009, 16:29

Re: [SPADS] Addbox spectator spam

Post by Jools » 09 Apr 2014, 13:40

By the way if you make me an admin no your hosts I can help out with all that. And I also speak a lot of languages: Swedish, English, Finnish, German, Spanish and French.
0 x

User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14600
Joined: 17 Nov 2005, 02:43

Re: [SPADS] Addbox spectator spam

Post by Forboding Angel » 21 Apr 2014, 09:00

Ok I will do. Thanks :-)
0 x

Post Reply

Return to “SPADS AutoHost”