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 2018-12-14 00:00:00Z and 2018-12-15 00:00:00Z
Avatar
[quakenet] <nameless_tee54> hi
08:21
[quakenet] <nameless_tee54> anybody of developers can help me?
Avatar
[quakenet] <nameless_tee54> slaps minus around a bit with a large fishbot
Avatar
ask your question, and someone can help you, nameless_tee54
Avatar
[quakenet] <minus> rude
Avatar
teeworlds 0.7.1-1 (x86_64/Community) "Fast-paced multiplayer 2D shooter game" <2018-12-13>
Avatar
[quakenet] <minus> hm, i wonder how the maintainer got notified so fast
Avatar
[quakenet] <minus> i see
13:26
[quakenet] <minus> i was hoping he had some kind of notification system
Avatar
there is one at least for debian stuff with launchpad
13:27
if teeworlds had a launchpad, we could notify packages downstream
Avatar
[quakenet] <day> Dune you are the arch maintainer?
13:39
[quakenet] <Dune> lol no
13:39
[quakenet] <Dune> I just click on buttons
13:39
[quakenet] <day> manager dune
13:40
[quakenet] <day> triggering those worker drones :^)
13:40
[quakenet] <Dune> no but seriously I'm impressed how quickly they reacted
13:40
[quakenet] <Dune> debian is still on like 0.6.2 with a bunch of security issues
13:40
[quakenet] <day> lol
13:41
[quakenet] <rand> arch is upstream, waiting implies more work later, debian is about stable version and secure build
13:43
[quakenet] <day> not debian unstable
13:43
[quakenet] <rand> debian unstable is about unstability and breaking changes
13:44
[quakenet] <rand> giving the possibility to easily fuck up
13:45
[quakenet] <Dune> didn't know about https://status.tw they have a really nice design now
13:45
[quakenet] <minus> too low information density
13:46
[quakenet] <day> the domain is nice
13:46
[quakenet] <Dune> aka modern
13:46
[quakenet] <Ryozuki> u plain wrong guys, debian stable has 0.6.5
13:46
[quakenet] <Ryozuki> stable: 0.6.5+dfsg-1~deb9u1
13:47
[quakenet] <Dune> huh, nvm then, guess I was looking at jessie
Avatar
[quakenet] <Dune> can someone investigate 37.201.117.120:35417 on 0.7?
14:59
[quakenet] <Dune> it seems like a modified server broadcasting dummies as players
14:59
[quakenet] <Dune> (thanks @Slayer *gV* for the report)
Avatar
The server is already offline. But there is a second one: 149.28.164.22:8303
Avatar
[quakenet] <rand> hm, this should be filtered from serverbrowser (for another reason)
15:20
[quakenet] <rand> the server only reports dummies (as spectators) and not the players
15:20
[quakenet] <rand> oh, i did not update my build
15:22
[quakenet] <Dune> right, isn't the server browser supposed to drop 16+ players in vanilla
15:23
[quakenet] <rand> no, it is supposed to drop server with more clients than max_clients
15:23
[quakenet] <rand> (the issue here)
15:23
[quakenet] <rand> here, max player is 12, so it is fine
15:23
[quakenet] <Dune> ah, right
15:25
[quakenet] <rand> hm, this is weird
15:27
[quakenet] <rand> 'num_clients': 128
15:27
[quakenet] <rand> wat
15:27
[quakenet] <rand> 'max_players': 8
15:27
[quakenet] <rand> 'max_clients': 1
15:28
[quakenet] <rand> this starts becoming weird
15:28
[quakenet] <rand> my tw_api is wrong
15:32
[quakenet] <Dune> huh
15:32
[quakenet] <retek> hi
15:33
[quakenet] <Dune> hi
15:33
[quakenet] <retek> can you help me in teeworlds sockets?
15:34
[quakenet] <rand> han… 64 is to high and is represented on 2 bytes
15:35
[quakenet] <retek> So, i use this for 0.6: \xff\xff\xff\xff\xff\xff\xff\xff\xff\xffreq2 and what i need to use for 0.7?
15:36
[quakenet] <rand> 0.7.1 adds an handshake to requests
15:36
[quakenet] <rand> so you have to start asking a (5s?) token from the server before requesting anything
15:38
[quakenet] <retek> uhh, thats a bit high for me :D
15:38
[quakenet] <rand> you can look at the scripts/tw_api.py on github
15:39
[quakenet] <rand> it uses the whole mechanism for getting server list and servers info
15:41
[quakenet] <retek> i check it, thanks
15:47
[quakenet] <retek> i dont't have an idea how to port it to php :/
15:50
[quakenet] <rand> Dune: ok, the CClient::UnpackServerInfo don't check if NumClients < MaxClients
15:51
[quakenet] <rand> pInfo->m_NumClients > MAX_CLIENTS should be pInfo->m_NumClients > pInfo->m_MaxClients
15:55
[quakenet] <retek> I dont get it, what do you want to say by this :/
15:56
[quakenet] <Dune> rand: nice find
15:57
[quakenet] <rand> > '62.141.44.42:8324' seems to give a wrong server_info
15:59
[quakenet] <rand> I suspect that is because changing the max_players can lead more than max_players but it's a guess
16:00
[quakenet] <rand> yep, that's it
16:02
[quakenet] <Dune> so it's a teeworlds bug, not a modification? huh
16:02
[quakenet] <rand> for the last issue, yep
16:03
[quakenet] <rand> but the reported server was lying
16:03
[quakenet] <rand> two bugs, two issues
16:07
[quakenet] <rand> (I will update tw_api later)
16:08
[quakenet] <Dune> cool thx
16:09
[quakenet] <Dune> which reported server are you talking about, the one that's online now?
16:10
[quakenet] <rand> the one reported by slayer
16:11
[quakenet] <rand> (that was lying in player list with 64 fake clients)
16:11
[quakenet] <rand> (named "Temp. Aussie Server")
16:11
[quakenet] <Dune> that should eventually be reported to minus then
16:12
[quakenet] <rand> the server disappeared
16:12
[quakenet] <retek> rand
16:12
[quakenet] <minus> pls not me
16:13
[quakenet] <rand> retek: me
16:13
[quakenet] <retek> maybe you can help me in the sockets for 0.7.1 in php?
16:14
[quakenet] <rand> I don't know php
16:14
[quakenet] <retek> maybe you minus?
16:14
[quakenet] <rand> the thing is the protocol became a bit more complex
16:14
[quakenet] <retek> i know
16:15
[quakenet] <retek> thats the problem
16:15
[quakenet] <rand> but the python code does the minimal to request things to servers
16:15
[quakenet] <rand> this is extracted from the C source so you don't have to do this by yourself
16:16
[quakenet] <rand> you only have to translate it from python to php
16:16
[quakenet] <retek> i know, but i dont have too much skills in python
16:16
[quakenet] <rand> before requesting info/list, the client has to send to the server its token
16:17
[quakenet] <rand> then the server sends the token back with it's own token
16:17
[quakenet] <rand> then the client does the request with both tokens
16:17
[quakenet] <rand> and the server answers with both tokens too
16:18
[quakenet] <rand> the main part of the code is building request header containing those tokens
16:19
[quakenet] <rand> building and decode
16:19
[quakenet] <rand> there is also a special function that unpack an integer from the input buffer
16:21
[quakenet] <rand> (only used for decoding players info and in few hours, client/player numbers from server info)
16:22
[quakenet] <retek> uhh, i try to move project to python, then write a json api in django for the php :D
16:22
[quakenet] <rand> why not ^^
16:23
[quakenet] <rand> good luck
16:24
[quakenet] <Dune> ^
16:24
[quakenet] <retek> ty
16:30
[quakenet] <retek> when i try to run the twapi, i get there in 0 servers: 0 servers 0 players (0 bots) and 0 spectators , do you have an idea?
16:30
[quakenet] <rand> don't you have other messages ?
16:31
[quakenet] <retek> no
16:31
[quakenet] <retek> just this
16:32
[quakenet] <rand> look for the lines #import traceback and #traceback.print_exc()
16:32
[quakenet] <rand> uncomment them
16:32
[quakenet] <rand> they appear twice each
16:33
[quakenet] <rand> then re-run the script
16:33
[quakenet] <retek> Traceback (most recent call last): Traceback (most recent call last): File "tw_api.py", line 187, in get_list data, addr = sock.recvfrom(1024) timeout: timed out
16:34
[quakenet] <rand> hm, this should count as a OSError :c
16:34
[quakenet] <rand> how many of these lines ?
16:35
[quakenet] <rand> if 4, you don't have answer from master servers
16:36
[quakenet] <rand> it looks like master servers don't like you
16:36
[quakenet] <retek> the master servers are ping back, and the 0.6 master servers with php are give answer
16:38
[quakenet] <retek> you dont have an idea?
16:39
[quakenet] <rand> what version of python do you have ?
16:40
[quakenet] <retek> 2
16:40
[quakenet] <retek> now installing 3 for test
16:41
[quakenet] <rand> the script is not tested on python 2
16:42
[quakenet] <rand> python 2 will be deprecated in 1 year though
16:42
[quakenet] <rand> https://pythonclock.org/ :3
16:43
[quakenet] <retek> haha :D i currently not using too much python, but 2y ago i use it so much :D
16:43
[quakenet] <retek> now with python 3 is something like working but only 1 master server is giving answer
16:43
[quakenet] <retek> > Master ('master2.teeworlds.com', 8283) did not answer > Master ('master4.teeworlds.com', 8283) did not answer 34 servers > Server ('137.74.129.182', 8303) did not answer 30 players (4 bots) and 1 spectators
16:44
[quakenet] <rand> has just tried to run the script with python 2 and it failed in 30ms
16:44
[quakenet] <rand> then it works now :D
16:44
[quakenet] <Ryozuki> finally
16:44
[quakenet] <rand> master2 and master4 are not 0.7 ready
16:44
[quakenet] <retek> in every run print an another error xD
16:45
[quakenet] <retek> File "tw_api.py", line 153, in get_server_info player["player"], data = unpack_int(data) File "tw_api.py", line 70, in unpack_int Sign = (l[i]>>6)&1; IndexError: list index out of range
16:45
[quakenet] <retek> then
16:45
[quakenet] <retek> File "tw_api.py", line 149, in get_server_info player["clan"] = slots[1].decode() IndexError: list index out of range
16:45
[quakenet] <rand> and I don't know why the server 137.74.129.182 is not responding
16:46
[quakenet] <rand> yeah, there is a bug when a server has 64 max clients
16:46
[quakenet] <rand> should be fix soon
16:46
[quakenet] <retek> ok
16:47
[quakenet] <rand> you can re-add the # before the traceback's lines
16:47
[quakenet] <rand> (it will hide these errors)
16:49
[quakenet] <retek> ok, thanks for your help :)
16:49
[quakenet] <retek> i need to learn python again :D
16:53
[quakenet] <retek> wow, there is a server with 64/8 players xD
Avatar
[quakenet] <Ryozuki> i thought 0.7 solved the bug where u fill servers, i connected to the 64/8 server and there is only 3 ppl
17:09
[quakenet] <Dune> Ryozuki: look at the IRC log, we were talking about that
17:09
[quakenet] <Dune> this isn't the bug anymore, this is a server lying
17:09
[quakenet] <Dune> according to rand at least
17:09
[quakenet] <rand> but, the 0.7 can't fix a lying server without joining it
17:09
[quakenet] <Dune> minus: ban?
17:10
[quakenet] <Dune> yeah that's another thing
17:12
[quakenet] <rand> '95.223.185.17:27911' lying
17:13
[quakenet] <rand> but, this is also a bug… well, wait for 0.7.2 :)
17:13
[quakenet] <Dune> calling it a bug is a bit misleading, I mean yeah the client should do something about it, but it's the server fault
17:13
[quakenet] <rand> ^^
17:14
[quakenet] <Dune> minus's ban hammer was getting rusty anyway
17:14
[quakenet] <rand> the client could fix part of the issue but then the server could improve its lie :]
17:14
[quakenet] <Dune> yeah :)
17:14
[quakenet] <rand> the guy is spawning lying server, there is another
17:15
[quakenet] <rand> but, the thing is… there is a inconsistency in its server info
17:17
[quakenet] <Ryozuki> it's unfair for legit servers
17:17
[quakenet] <Ryozuki> and misleading to people who wants to play with ppl
17:18
[quakenet] <Dune> yes, hence why they get banned, Ryozuki :)
17:19
[quakenet] <Dune> report all the IPs if there are new ones that spawn
17:20
[quakenet] <rand> oh, the issue on my script was that 1024 bytes is not enough anymore to get the whole serverinfo x)
17:21
[quakenet] <Ryozuki> Dune: if u put "! [" and things like that you still get first on list in case of even players?
17:21
[quakenet] <Ryozuki> ppl do that on 0.6
17:21
[quakenet] <Ryozuki> on servername
17:21
[quakenet] <rand> I don't know why people want players to play on their own servers
17:22
[quakenet] <Ryozuki> well who doesnt like it?
17:22
[quakenet] <Ryozuki> its the point on making a server
17:22
[quakenet] <Ryozuki> xD
17:22
[quakenet] <rand> I join server when ping is good and there are player I know, using favorites
17:22
[quakenet] <Ryozuki> did you host any server
17:23
[quakenet] <rand> I do
17:23
[quakenet] <rand> names start with Random
17:23
[quakenet] <Ryozuki> well most ppl join to the sv with most people
17:25
[quakenet] <Ryozuki> Dune: is it possible to create the "damage indicator" on 0.7?
17:25
[quakenet] <Ryozuki> i mean those stars
17:25
[quakenet] <rand> multicolored ?
17:25
[quakenet] <Ryozuki> ?
17:25
[quakenet] <rand> armor vs health ?
17:25
[quakenet] <Ryozuki> they are always equal
17:25
[quakenet] <Ryozuki> they appear when u shoot ugn and it hits
17:25
[quakenet] <Ryozuki> a tee
17:27
[quakenet] <rand> afaik damage inds are deduced from actual damages now
17:27
[quakenet] <Ryozuki> oh nvm
17:28
[quakenet] <Ryozuki> i found it
17:29
[quakenet] <Ryozuki> https://i.imgur.com/nbjJrZg.png :D
Avatar
[quakenet] <retek> it's not a problem if somebody cast their server ip to multiple master servers?
17:48
[quakenet] <Dune> 1024 bytes ought to be enough for any teeworlds server list, rand :P
17:52
[quakenet] <retek> Dune
17:55
[quakenet] <minus> maybe i should write a post about relinquishing all my teeworlds powers
17:55
[quakenet] <minus> so that Dune stops bugging me
18:00
[quakenet] <rand> Dune: server info
18:03
[quakenet] <Dune> aight, sorry. I don't know anyone else around with masterserver powers.
18:03
[quakenet] <Dune> I think I may have got instructions about that at some point, but lost em :/
18:03
[quakenet] <Dune> rand: hm?
18:04
[quakenet] <Dune> ah, the 1024 bytes aren't enough
18:06
[quakenet] <Dune> someone's having strange issues https://www.teeworlds.com/forum/viewtopic.php?pid=122143#p122143
Avatar
[quakenet] <Dune> might want to update https://www.teeworlds.com/forum/viewtopic.php?id=3101 if anyone else has push access on https://www.teeworlds.com/master-bans.cfg
Servers running modifications as DM, TDM or CTF will be banned (Page 1) — Modifications — Teeworlds Forum — Everything Teeworlds!
Avatar
[quakenet] <retek_> Dune
Avatar
[quakenet] <Teeworlds> [teeworlds] nheir opened pull request #1864: Fix: invalid serverinfo (master...fix/invalid-serverinfo) https://git.io/fpbCb
19:47
[quakenet] <retek_> slaps Dune around a bit with a large fishbot
Avatar
[quakenet] <Dune> yes?
19:57
[quakenet] <retek_> it's not a problem if somebody cast their server ip to multiple master servers?
19:58
[quakenet] <Dune> Sorry, I don't know. I would guess not
19:58
[quakenet] <rand> the server will be shown only once in the server browser
19:58
[quakenet] <retek_> i know
19:58
[quakenet] <retek_> just found some servers what listed in multiple masters
Avatar
[quakenet] <Dune> rand: someone says 64/8 happened to them out of the box
22:47
[quakenet] <rand> with 64 dummies named "Name %d" and "Clan %d" ?
22:51
[quakenet] <rand> like running the server from the official build makes 64/8 to happen
Avatar
[quakenet] <Dune> "Uh, so my server was lying too?(i tried hosting earlier and got 64/8)(edited)
23:17
[quakenet] <Dune> Pure server just out of the zip"
23:17
[quakenet] <Dune> @Uncle
Avatar
[quakenet] <rand> then, either the zip is not official or the binaries are from a test build
Exported 224 message(s)