Muting/banning player ingame
Moderator: Moderators
Muting/banning player ingame
Is there anyway to ban a player from a game in such a way that he can't reconnect to the game until the ban is lifted?
Failing that, is there anyway to mute a player ingame?
Zangeeph is annoying.
Failing that, is there anyway to mute a player ingame?
Zangeeph is annoying.
Re: Muting/banning player ingame
+1 for this one.Jazcash wrote:Failing that, is there anyway to mute a player ingame?
Re: Muting/banning player ingame
I think not engine side, but adding that to chat console widgets should be possible.Failing that, is there anyway to mute a player ingame?
- Funkencool
- Posts: 542
- Joined: 02 Dec 2011, 22:31
Re: Muting/banning player ingame
+1 If it could, that would be neat. I have always very much appreciated the ability to mute trolls in modern console FPS, and it would probably help with the Trolling/ban complaints here as well.
Re: Muting/banning player ingame
I dunno, I think engine side would kind of make sense. When would a game ever not want this function? Just a nice /ignore {playername} is simple enough.knorke wrote:I think not engine side, but adding that to chat console widgets should be possible.Failing that, is there anyway to mute a player ingame?
Re: Muting/banning player ingame
because I might want to still log the shit an ignored player was saying.
Re: Muting/banning player ingame
That sounds kind of like a feature that would seem nice but would never get used.smoth wrote:because I might want to still log the shit an ignored player was saying.
Re: Muting/banning player ingame
Truthfully I am still unsure why mute is not a widget thing. Seems like ban could be a gadget thing..
Re: Muting/banning player ingame
Yea, ultimately it would be better engine side. But it would take longer, because there are fewer devs and release are further apart. Some things are technically possible "today" already:Jazcash wrote:I dunno, I think engine side would kind of make sense. When would a game ever not want this function? Just a nice /ignore {playername} is simple enough.knorke wrote:I think not engine side, but adding that to chat console widgets should be possible.Failing that, is there anyway to mute a player ingame?
-One could add a mute-button to advanced playerlist, which does a Spring.SendLuaUImessage thing to the red_console.lua (or what its called) to not show messages from the muted player.
/ignore {playername} would need autocomplete (not sure if that is possible unless you redo the "enter chat" thing) for trolltastic long playernames. (with button it would not be needed anyway)
-kicking from game might be possible by having a gadget that executs Spring.SendCommands ("quit") (?) when recieving a message to do so.
Preventing rejoin is not possible I think..of course you could just kick again but thats not so nice. This would need change in engine(?) or autohost (?)
Re: Muting/banning player ingame
I added that to BA's red console chat: (original widget by Regret)Jazcash wrote:Just a nice /ignore {playername} is simple enough.
The "blocked message by xxx" was just for test. (put it back in if you want to go all "lalala i cant hear you")
Works like this:
/mute playername
mutes a player
/mute playerA playerB
mutes playerA and playerB (seperate by space)
/unmute playername
unmutes a player
/unmute
unmute everybody
must use correct spelling of names
http://pastebin.com/kGqLkAME
It is a bit hacky...the parts where I made changes are marked with --mute--
In F11 it shows as "Red Console (knorke mute test)"
So disable the original.
I only tested briefly with a replay so report back how fail it is.
Re: Muting/banning player ingame
Epic! That's an awful lot of code you're rockin' there. I wanna try and implement this into IceUI, as they're different frameworks would it be an easy job? Or would it take quite a bit of unique code I'd have to write myself?knorke wrote:I added that to BA's red console chat: (original widget by Regret)Jazcash wrote:Just a nice /ignore {playername} is simple enough.
The "blocked message by xxx" was just for test. (put it back in if you want to go all "lalala i cant hear you")
Works like this:
/mute playername
mutes a player
/mute playerA playerB
mutes playerA and playerB (seperate by space)
/unmute playername
unmutes a player
/unmute
unmute everybody
must use correct spelling of names
http://pastebin.com/kGqLkAME
It is a bit hacky...the parts where I made changes are marked with --mute--
In F11 it shows as "Red Console (knorke mute test)"
So disable the original.
I only tested briefly with a replay so report back how fail it is.
Re: Muting/banning player ingame
no, no I did not write all that.
It is the gui_red_console.lua from BA, I only added the muting which was just some dozen lines.
Yes, basically it would work the same for IceUI. (did not look at it though)
Find the part where a new message is added to chat, if the player is muted, do not add the message. If you have a link to IceUI I could probally add it.
It is the gui_red_console.lua from BA, I only added the muting which was just some dozen lines.
Yes, basically it would work the same for IceUI. (did not look at it though)
Find the part where a new message is added to chat, if the player is muted, do not add the message. If you have a link to IceUI I could probally add it.
Re: Muting/banning player ingame
I mean, ideally the lobby protocol should have the same sort of features as a channel should plus more. Like in a channel, you can mute a player for a number of minutes. Would be nice if that was possible in a battle/battle lobby too.
-
- Posts: 16
- Joined: 28 Nov 2011, 03:53
Re: Muting/banning player ingame
Hahaha, oh wow.Jazcash wrote:the lobby protocol
Re: Muting/banning player ingame
Sorry, meant server protocol. If that's even the right thing. I just guess most of the time.
Re: Muting/banning player ingame
just noted that it should actually be "ignore" and not "mute" but w/e.
http://pastebin.com/imDTNnYc
works the same as the red gui version.
open widgets\IceUI\console.lua and replace the content with this:Jazcash wrote:http://springfiles.com/spring/lua-scripts/iceui-r83
http://pastebin.com/imDTNnYc
works the same as the red gui version.
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: Muting/banning player ingame
One problem still remains: the sound effect *bing* still remains when a muted player says something which is a bit irritating. Any idea how to prevent that?
I guess that sound effect is from the engine's console. Best would be to disable that entirely and play a sound effect from within the widget.
I guess that sound effect is from the engine's console. Best would be to disable that entirely and play a sound effect from within the widget.
Re: Muting/banning player ingame
yup. Those are the sounds: http://springrts.com/wiki/Sounds.lua#Re ... SoundItemsvery_bad_soldier wrote:I guess that sound effect is from the engine's console. Best would be to disable that entirely and play a sound effect from within the widget.
Mods could set them to silent/empty, then use Lua. As player maybe put ui volume to silent in springsettings?
Re: Muting/banning player ingame
knorke wrote:just noted that it should actually be "ignore" and not "mute" but w/e.open widgets\IceUI\console.lua and replace the content with this:Jazcash wrote:http://springfiles.com/spring/lua-scripts/iceui-r83
http://pastebin.com/imDTNnYc
works the same as the red gui version.
<3