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-10-06 00:00:00Z and 2019-10-07 00:00:00Z
Avatar
ChillerDragon 2019-10-06 11:21:27Z
Cool what does it do?
Avatar
just two basic functions, one is to look for an online player and the other one is to look for active tw servers based on a gametype.
Avatar
might add more functions if someone has any ideas
Avatar
Make it livestreamable
12:11
Discord has live streams
12:11
make it controllable
12:11
!connect
12:11
!watch name
12:11
or id
12:12
only spectator mode
Avatar
seems to be too much of a hassle and I don't quite get what you exactly mean.
12:45
the bot doesn't connect to servers, it just retrieves server information that one can also obtain from the server browser.
Avatar
Yes, but you could connect it to some client thing
12:49
I know its hard xd
Avatar
it's written in python xD I'm surely not going to reimplement the client in python.
Avatar
ChillerDragon 2019-10-06 15:04:06Z
lol rewriting whole tw client in python
Avatar
what kind of player disconnects are actually propagated to the CGameController ?
20:23
only default ones or the timeout ones?
Avatar
hm, k seems to be called as callback in CServer::DelClientCallback
Avatar
so all of them
20:42
even those that CGameController isn't aware of yet
Avatar
ah no, there's a check about that
20:46
hmmm
20:46
>= CClient::STATE_READY
Avatar
I replaced the normal m_apPlayer iteration with std::vector and I'm adding players (ids)to the vector whenever a player is constructed and removing the player when he's destroyed, dunno whether that adds any performance improvements or rather none
20:47
I seem to be getting invalid ids in that vector
20:49
hm, ok, might be something different there ._.. wrong vector
20:54
basically even tho the client is not yet known by the controller, is can be dropped, but if it's not known, then there shouldn't exist any CPlayer object yet?
Avatar
[quakenet] rand BOT 2019-10-06 21:13:51Z
there shouldn't be a CPlayer without client at least
Avatar
if you use a vector and delete a random player
21:48
the id is NOT the index in the vector, so be careful
Avatar
I know 😄
Avatar
forum spam bs.
23:13
maybe start an alternative forum test instance? this one has more spam lately than actual topics or posts :/
Exported 35 message(s)