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-16 00:00:00Z and 2018-10-17 00:00:00Z
Avatar
This skin editor is incredibly good
Avatar
mine says "failed to find autoexec.cfg"
03:31
and closes
03:31
is it broken or am i just a stupid nobo
Avatar
what even is autoexec.cfg
Avatar
@plsplsplslol like the name implies it is cfg settings that are automatically executed when u launch the game
03:56
does ddnet have that
Avatar
yes and the first line of it says "abcqwerty" is gay
03:58
if u dont believe me check ur client
Avatar
no u
Avatar
@Brokecdx- use brownbear body and twinbop decoration feelsamazingman the system could be good, but its not improved..
Avatar
oh lol lmao
Avatar
@Brokecdx- why so long awake?
Avatar
i just woke up lol
05:10
went to bed at 5am?
Avatar
no i stood up 3:30
05:10
am
Avatar
i have different sleep shedules
Avatar
I hope, now official 0.7 will be not less reliable and get updates as often as ddnet, and with community help reach stable state very fast and we all will have a wonderful future and all that.. πŸ˜€
Avatar
Go play 0.7 and give them feedback
07:13
show them their community is active
Avatar
Its bad
f3 2
07:15
Done xD
Avatar
@heinrich5991 what about https://github.com/ddnet/ddnet/pull/1333 PR it's waits for checking or?
sv_use_sql 1 add_sqlserver "w" "teeworlds" "record" "root" "" "localhost" "3306" "1" add_sqlserver "r" &quo...
Avatar
are you kinggta?
09:27
but i wait this fix πŸ˜ƒ
Avatar
@heinrich5991 i am kinggta
Avatar
@heinrich5991 how do i compile 0.7 with vs and cmake? do i need to download sdl? if yes what are the next steps?
Avatar
you can't. download bam 0.5
10:26
you also need to download sdl and freetype manually
Avatar
doesnt bam 4 work?
Avatar
no
Avatar
or wait
10:26
what bam version is for ddnet 9.0.2?
Avatar
compatible with 0.4 and 0.5 (edited)
Avatar
really?
10:27
where do i get Freetype and sdl?
10:28
and how do i Update bam 0.4 to 0.5?
Avatar
Bam is a fast and flexible build system. Bam uses Lua to describe the build process. It's takes its inspiration for the script files from scons. While scons focuses on being 100% correct when b...
Avatar
@deen if you have plan to migrate to ddnet with teeworlds 7.0 base i create a mac ban system that i want to you use this in your new ddnet
Avatar
You can't know the MAC address so you can't ban based on it
Avatar
No you cant find mac from server
11:55
But you can get mac from client and send it to server
11:55
Wait i'll give you screenshot
Avatar
Yeah, but you can modify the client to just pretend to have another mac
11:56
If someone writes a bot the first thing they'd do is to randomize the mac address
11:57
and on most network cards you can change the mac address on the fly
11:57
On my laptop for example I configured it to have a different mac address every time I connect to a network to make tracking me a bit harder
Avatar
oh i didn't think about that
11:58
so forget mac ban
11:58
but ddnet and teeworlds ban is very weak
11:58
all my players can change their ip and even their range ip address
Avatar
Thats.... Concerning...
Avatar
that's Sv3N's custom client
Avatar
Cellegen | HU 2018-10-16 12:10:35Z
PlayerPcName: i like banana troll 🍌
12:12
@Cellegen | HU me too
Avatar
Cellegen | HU 2018-10-16 12:12:19Z
alright 🍌
Avatar
ChillerDragon 2018-10-16 12:49:24Z
@heinrich5991 are you sure ddnet 9.0.2 is compatible with bam4 and bam5 i dont think so
12:49
ah and nice u use ddg c:
Avatar
yes, I'm sure
12:50
bam 0.4 and 0.5* btw
12:51
what is this ddnet++ commit then?
12:52
ddnet++ is 9.0.2 based...
Avatar
hm. then it was added later maybe
Avatar
ChillerDragon 2018-10-16 12:52:51Z
but i guess fokkonaut asked for ddnet 9.0.2 because he wants to know if his ddnet++ compiler setup works for 0.7 so your answer might be correct xd
Avatar
@ChillerDragon I looked at your character.cpp in DDNetPP, that's absolutely looks like code "Hell" with more than 10000 lines in one tick method as "Hell" center and million if blocks around like "Circles of Hell", pls make something with this
Avatar
ChillerDragon 2018-10-16 14:20:32Z
sowwy
Avatar
code that works is good code
Avatar
@Faulty we make a new mod for 0.7 either xd
14:27
and make everything in tick functionsfeelsamazingman feelsamazingman feelsamazingman
14:27
with many if states
14:27
feelsamazingman pepeH
14:27
@ChillerDragon youre right, sherlock
14:29
@Faulty the DummyTick function is many thousands of lines long, we shouldve put all that code into a single class. @ChillerDragon we wont do such messy code ever again!
14:29
@jao wrong
14:30
if (!m_Var) m_Var = true; else m_Var = false; would be bad code even if it works (edited)
14:31
instead use m_Var = !m_Var; or m_Var ^= true;
Avatar
why is it bad
Avatar
too much code
Avatar
so using as few lines as possible is best GWchadMEGATHINK
14:33
I mean in many cases yes
14:33
but id say there are possibly things that are good even if not the shortest form of it
Avatar
so you don’t know πŸ˜„
Avatar
true
Avatar
Code that works is good code? You would be fired at my company if you say that
14:39
my heart broke
14:42
its about readability, structure, increase of performance, stability and much more
Avatar
how does freetype work?
Avatar
what if it’s readable and well structured but doesn’t work
Avatar
The code should work ofc, what is this argument
Avatar
it depends on the situation. f.e. code where performance is actually needed can be ugly as long as it's faster than the pretty solution (example of a CMS: switch case with > 20 cases to pass the arguments is faster than using the reflection class, another example from game engineering is the widely known fast inverse square root) in the most case it's about readability and structure so if the employee is leaving another employee can actually work with the code instead of trying to figure out wtf the previous guy tried to do. obviously the code has to work in all cases, not working code is never good code (edited)
πŸ‘Œ 1
Avatar
Thats why you go solo :3
14:50
Then ur code can work in all messy ways!
Avatar
@Deleted User how to compile 0.7 now? what do i need to do? where to get sdl and freetype? what to do? i cant do it xd
Avatar
U still use bam
14:50
xD
14:51
why don’t you read the docs
Avatar
Tho u do need Bam 0.5
14:56
Welp. Seems like theres an error in compiling it xD
Avatar
sdl and freetype needed
14:56
nobo
Avatar
@fokkonaut lol heinrich even gave u the links to download
15:06
u need a tutorial to klick on urls?
Avatar
i just never used this stuff
15:07
so sorry xd
Avatar
download then
15:07
them for x86_64
15:08
then in directory "other" in tw directory there is SDL and freetype both need additional directories: /include /lib/x64
15:08
in lib/x64 goes the .lib and .dll
15:09
in include goes the include from the downloads
15:13
if u cant find freetype binaries
15:13
Precompiled libraries and headers of the dependencies of DDNet - ddnet/ddnet-libs
15:14
ddnet has them, just collect the .lib and .dll
Avatar
I used to checkout the other directory from 0.6 back in the day
15:41
Doubt thats a great idea though :D
Avatar
is it possible to only release server in 0.7?
Avatar
bam conf=release server
Avatar
Calculate it once and store the result instead of recalculating all the time. Also fix the number of players shown when friends only is selected as filter. It should still show the total number of players on the server, not the number of friends on the server. @timakro Are you working on this?
Avatar
where to define a new CNetMsg?
Avatar
@heinrich5991
Avatar
you don't define any in src/engine/shared/protocol.h
Avatar
i mean something like CNetMsg_Sv_Motd
Avatar
src/engine/shared/protocol_ex_msgs.h for engine messages and datasrc/network.py for CNetMsgs
Avatar
oh sorry, i am on vanilla 0.7 and not ddnet^^
19:35
forgot to say that
19:35
ahh
Avatar
hm ok
Avatar
datasrc
19:35
i will look at it
Avatar
remember that the tw protocol might be extended in a potential 0.7.1. or similar, so don't clash with these IDs
19:36
thanks btw, worked
Avatar
did you read "[9:35 PM] heinrich5991: remember that the tw protocol might be extended in a potential 0.7.1. or similar, so don't clash with these IDs"
Avatar
yes, it was just a test for me
Avatar
[quakenet] <Learath2> The safe way to handle new messages on 0.7 would be to port over heinrich5991's extended-protocol patch
Exported 149 message(s)