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-30 00:00:00Z and 2019-12-31 00:00:00Z
Avatar
does anyone use golang on a more advanced level?
Avatar
I'm not. what's your question? 😉
Avatar
trying to parallelize my "strap-on" vpn detection for tw servers in order to have a go routine for every server the user asks to monitor., kinda getting errors I don't quite get the cause of I've been learning the language for days, so I don't know much there.
02:57
"read tcp 192.168.178.25:55587->server_ip:port: use of closed network connection"
02:58
for 3 days*
Avatar
os?
Avatar
this here, https://github.com/jxsl13/TeeworldsEconVPNDetectionGo trying to add a sync.WaitingGroup in order for the main thread to block
02:59
currently macOS
02:59
I'd guess it might behave exactly the same on linux
03:01
also trying to start the monitoring function by simply prefixing it with go(BanCaller.go the function call in CallTELNET(...))
Avatar
(added a new branch with the latest parallel attempt): https://github.com/jxsl13/TeeworldsEconVPNDetectionGo/tree/wip_parallel
Avatar
[freenode] JewZeus BOT 2019-12-30 03:29:49Z
so what's the problem? just make the goroutines, but also make sure you manage the collections and disposals of them
Avatar
the problem was some socket stuff being in the main thread.
05:41
so shifting the go to the main function helped
Avatar
into the main function*
Avatar
._. if someone wants to ban vpn users, have fun >:D https://github.com/jxsl13/TeeworldsEconVPNDetectionGo
Avatar
ChillerDragon 2019-12-30 08:17:54Z
Oh cool so this can be slapped on a vanilla server huh?
13:33
whoops
13:33
looks like code duplication :D
Avatar
[quakenet] Oy BOT 2019-12-30 13:56:03Z
kinda :)
Avatar
[quakenet] Dune_ BOT 2019-12-30 14:00:05Z
should put weapon stats on by default at next release. they should be well rounded by then
Avatar
yes, it can @ChillerDragon, any server with econ enabled
14:59
I see Sublime Merge love there :o
17:14
wonder if it has it too
17:16
yeah
17:16
Oy: this breaks autocomplete for nicks :D
Avatar
[quakenet] Oy BOT 2019-12-30 18:47:07Z
Dune_: hm, works for me
Avatar
[quakenet] Dune_ BOT 2019-12-30 18:47:14Z
huh really
Avatar
[quakenet] Oy BOT 2019-12-30 18:47:48Z
how is it broken?
Avatar
[quakenet] Dune_ BOT 2019-12-30 18:48:30Z
if you press tab, nicks don't get autocompleted
18:48
it erases the parameter
Avatar
[quakenet] Oy BOT 2019-12-30 18:48:43Z
just tested, works for me
Avatar
[quakenet] Dune_ BOT 2019-12-30 18:49:21Z
tried /whisper Du<Tab> or /rank O<tab> ?
18:49
both break for me
Avatar
[quakenet] Oy BOT 2019-12-30 18:50:25Z
no just opened chat and used tab completion at the start of the msg
Avatar
[quakenet] Dune_ BOT 2019-12-30 18:51:09Z
oh yeah, that works. But you need tab completion at least for /w
Avatar
[quakenet] Oy BOT 2019-12-30 18:51:59Z
ah ok
Avatar
[quakenet] Fels BOT 2019-12-30 21:19:58Z
oink
Avatar
[quakenet] Fels BOT 2019-12-30 22:53:38Z
what
Avatar
[quakenet] Fels BOT 2019-12-30 23:22:38Z
oink
Avatar
oink
Avatar
teesmash coloration doesn't reset in respawn
Exported 47 message(s)