Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2018-10-11 00:00:00Z and 2018-10-12 00:00:00Z
Avatar
FindPythonInterp is deprecated since CMake version 3.12. Use Python to automatically detect Python 3 or 2.
Avatar
Ooh, could go into ISUPPORT
Avatar
btw, since i updated to 11.4.4 the client has these freezes, but since the update also older clients have it (different config_directories)
Avatar
@noby how do i access a gameclient.h var from client.cpp?
10:29
GameClient()-> wont let me do it
Avatar
is it private var
10:32
or @noby, how can i access a gameclient.h var in client.cpp or a client.h var in gamneclient.cpp?
10:32
not owrking xd
10:39
@Ryozuki help
10:39
xd
Avatar
sry im doing otherstuff rn
10:39
dealing with huffman
Avatar
the server admin can edit sv_ddrace_score in his autoexec file. if its 1, it allows the client to use ddrace scoreboard, if its 0 it disallows it. this would work nicely with IsDDNet by timakro, to have a server with a custom gametype, ddrace features, but also the normal score (not ddrace score with times). it can also be used to run mutliple gametypes on a single server without having weird time scores (need more editing serverside ofc).
Avatar
why tw uses huffman with a hardcoded frequency table? wouldnt it be better to create the freq table based on the packet and put it on the header or somewhere
11:10
or maybe i didnt get how huffman works..
11:10
but i think what i say makes sense
11:10
you also get more compressed data i think
11:11
-test-
Avatar
[quakenet] <Ryozuki> test
Avatar
because that's table based on already computed character frequency for accumulated possible tw messages if you will be recompute new tabel for each packet that's will be more slow and packets size will be bigger than now
11:54
if i right understand y
Avatar
hmm not sure
Avatar
Bojidar Marinov 2018-10-11 11:54:59Z
Also, sending the table with the packet is going to be useful only for large packets (since otherwise you won't decrease the size)
Avatar
yeah i thought that too
Avatar
Bojidar Marinov 2018-10-11 11:55:41Z
and there is a limit on UDP packet size, anyway
Avatar
and why use huffman and not another algorithm?
11:56
i never heard of it until tw xD
11:56
tho im not much into these things anyway
Avatar
tw use small packets more often, 95-99% packets small (small for any compressing advantages with recomputed included table), can y give an example of often used big packets? (edited)
Avatar
c1523d9 CMakeLists.txt: Replace PythonInterp with Python - yangfl 865678a Merge #1344 - bors[bot]
Avatar
@Ryozuki Huffman is fast and simple, should be the default choice for something like this. What else would you use?
Avatar
you mean
13:11
I joined the server that full players (edited)
13:15
also, people playing with testing
Avatar
will 0.7 bring us normal (and awesome) official client updating like in ddnet?
Avatar
0.7 lol
Avatar
I ask because somebody write on forum that's 0.7 so fresh for using and it's not rly good idea release it as solution for current connection without handshake problem, but if there are updating system be available, I think official (maybe marked as beta) must me released as soon as it possible
Avatar
@deen i was just curious if there was an alternative
Avatar
Arithmetic coding is a form of entropy encoding used in lossless data compression. Normally, a string of characters such as the words "hello there" is represented using a fixed number of bits per character, as in the ASCII code. When a string is converted to arithmetic encodi...
Avatar
#1344 bumped the minimum required CMake version without us noticing, that shouldn't happen. I think our current minimum version was somewhere around 2.8.12.
Avatar
am i dumb or this doesnt make sense?
14:29
CNode m_aNodes[HUFFMAN_MAX_NODES];
14:30
isnt this undefined behaviour or smth like that, it increades m_Numnodes when its already HUFFMAN_MAX_SYMBOLS
14:30
am lost
14:30
m_aNodes[m_NumNodes] shouldn't even work?
Avatar
HUFFMAN_MAX_NODES != HUFFMAN_MAX_SYMBOLS?
Avatar
@timakro
14:40
OH
14:40
ok
14:40
i didnt see the *2
14:40
xD
14:41
twinbop
Avatar
after some hours i ported huffman to python... sendhelp
Avatar
if anyone wants to look at uglycode
☣ 2
17:30
i doubt this is pythonic
17:30
xD
17:34
dont download
Avatar
@Ryozuki letz code tw in scratch (edited)
18:31
im kinda doing that
Avatar
wat
Avatar
i just want to make a headless client in python
Avatar
I meant in SCRATCH
18:32
i understood from scratch
18:32
xdd
18:32
SCRATCH is shit
Avatar
x)
18:32
ik 😄
Avatar
u can do networking on scratch?
Avatar
idk, too shitty to test this gay thing
Avatar
yeah xD
18:34
@Deleted User
18:34
wtf
Avatar
@Ryozuki do you mean this?
Avatar
wtf
18:34
there is rly a tw version in scratch
Avatar
Make games, stories and interactive art with Scratch. (scratch.mit.edu)
18:34
doesnt load for me
18:34
xd
18:35
@Im 'corneum that shit is shit
18:35
what i find most funny
18:36
is that he takes it seriously
18:36
explaining it
18:36
to the kids
18:36
xD
Avatar
all i remember is that he did networking. if understand it right
Avatar
networking is creating sockets sending packets etc
18:36
did he do that
18:38
@Im 'corneum oh, u send the yt link with a timestamp, i didnt see the actual drone video xD
Avatar
oh.. it was rigth at the end then
Avatar
Cellegen | HU 2018-10-11 18:39:14Z
wtf
19:03
GWqlabsFeelsGoodMan Teeworlds 0.7 finally released
Avatar
ChillerDragon 2018-10-11 19:24:28Z
xd
Avatar
whats tw 0.7
19:30
is it actually coming or just a meme
Avatar
Cellegen | HU 2018-10-11 19:31:43Z
first why it was made by 2 person, second what the hell it was made, third why the red tee has pistol bullets, fourth why the heart looks like a bad copy of Minecraft texture?
19:32
and i have so many questions about 0.7
Avatar
the server admin can edit sv_ddrace_score in his autoexec file. if its 1, it allows the client to use ddrace scoreboard, if its 0 it disallows it. this would work nicely with IsDDNet by timakro, to have a server with a custom gametype, ddrace features, but also the normal score (not ddrace score with times). it can also be used to run mutliple gametypes on a single server without having weird time scores (need more editing serverside ofc). with this addition we could also merge IsBlockWor...
Avatar
!base profile screenshot 2018 10 11 - 22 15 10 80 its only for the positive numbers because negative should stay at max -999. level server for examples can often reach the players level over 1000, and then the scoreboard is just a mess. also its not looking bad and the numbers arent over the edge, so i personally think this is a good addition.
Exported 111 message(s)