Guild icon
Teeworlds
IRC / bridge
One-way IRC channel bridge. If you want to be able to send messages to IRC, contact @Dune or @heinrich5991. https://www.teeworlds.com/?page=docs&wiki=rules/irc_rules
Between 2019-12-03 00:00:00Z and 2019-12-04 00:00:00Z
Avatar
ChillerDragon 2019-12-03 12:00:51Z
What is a good way of counting ingame players? I usually check for character but that does not track players that are in deathscreen which should be counted as ingame.
Avatar
ChillerDragon 2019-12-03 12:13:48Z
well i ended up checking for team spec guess thats fine
Avatar
you could also check whether the chr exists or the player is in dead spec mode
14:08
but yea, i guess !TEAM_SPECTATOR works
Avatar
depends on your view of "not ingame"
15:02
but usually player must exist and not be in team speactators
15:03
instead of iterating you could count the ingame players by tracking joins and leaves
Avatar
ChillerDragon 2019-12-03 15:04:39Z
performance boost huh?
Avatar
yes, performance boost by memorizing
16:13
a c++ vector doesn't count it's length when calling size(), instead it has an internal counter
Avatar
[quakenet] rand BOT 2019-12-03 16:14:23Z
looking stl for any array with bounded size in tw
Avatar
[quakenet] rand BOT 2019-12-03 17:00:44Z
for now, client are identified by their network slot index, I wonder if adding some abstraction could be nice
17:02
like uid on join, dyn array everywhere, and associative tables for translation
17:03
then, the client does not care about maxclients and trust the server (until some point)
17:04
uid could match with network slot index or could not
17:06
the server would be able to spawn any resonable amount of characters whitout taking account of real client
Avatar
ChillerDragon 2019-12-03 21:00:23Z
is there a rcon command to mute players? I dont think so. Would be nice as an alternative for banning if the person just uses intensive chat spam.
Avatar
I was thinking that as well
Avatar
I'd propose votebans + mutes + range bans(if they don't already exist) to be part of vanilla
Avatar
agree mute should also mute votes
Avatar
nah, that's kinda two different things, flaming doesn't necessarily mean funvoting and, at least I, would want to prevent each of these two types separately.
Avatar
you would be able to say things abusing the vote reason
Avatar
ChillerDragon 2019-12-03 22:05:06Z
oh removing permission to vote is best ❤️ but i was afraight to wish that for vanilla xd
22:06
@Dune same as you were able to bypass mute by name changing and you can still reconnect name change to annoy but sometimes muting helps even if there might be channels of bypassing it
Avatar
you can already bypass spec locking
Exported 26 message(s)