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 2021-03-21 00:00:00Z and 2021-03-22 00:00:00Z
Avatar
Avatar
Deleted User
hello, ddnet econ gui does exist? https://github.com/Malekblubb/tw_econ_gui i tried this one but i think is outdated
simple telnet has cool cli
Avatar
what does econ stand for? (edited)
Avatar
[quakenet] deen BOT 2021-03-21 08:56:22Z
external console
08:56
yes
Avatar
isn't telnet kinda insecure?
Avatar
@Deleted User no gui I think
08:58
@becc sure, but you should only open it for localhost and then you have to trust your local machine, nothing else
08:59
we don't use it for official ddnet servers, instead we use fifo console and write into the fifo files with shell scripts
Avatar
what's the "fifo console"? I only know fifo files (named pipes)
Avatar
Yeah, it's a fifo file, and you can write into it
09:04
and every line you write in gets interpreted as a console command (like in F2)
Avatar
Ahh thanks How do I enable this feature?
Avatar
Avatar
deen
@becc sure, but you should only open it for localhost and then you have to trust your local machine, nothing else
What are the settings for setting up the telnet access? can't find anything under https://ddnet.tw/settingscommands/ Are this commands (eg ec_port) working? https://www.teeworlds.com/?page=docs&wiki=server_settings
Avatar
@becc telnet sends stuff without any "encryption" tho you can see the user name & password 4example
09:06
if I remember everything has to be configured before the server starts
Avatar
Avatar
Deleted User
@becc telnet sends stuff without any "encryption" tho you can see the user name & password 4example
Yeah i know, thanks
09:07
https://www.teeworlds.com/?page=docs&wiki=server_settings There is no asterisk which means it can be changed at runtime I think
Avatar
Oh, I'm not printing them out to settings & commands, will fix
09:07
yeah, ec_bindaddr localhost and ec_port 7000 should work
Avatar
MACRO_CONFIG_STR(EcBindaddr, ec_bindaddr, 128, "localhost", CFGFLAG_ECON, "Address to bind the external console to. Anything but 'localhost' is dangerous") MACRO_CONFIG_INT(EcPort, ec_port, 0, 0, 0, CFGFLAG_ECON, "Port to use for the external console") MACRO_CONFIG_STR(EcPassword, ec_password, 32, "", CFGFLAG_ECON, "External console password") MACRO_CONFIG_INT(EcBantime, ec_bantime, 0, 0, 1440, CFGFLAG_ECON, "The time a client gets banned if econ authentication fails. 0 just closes the connection") MACRO_CONFIG_INT(EcAuthTimeout, ec_auth_timeout, 30, 1, 120, CFGFLAG_ECON, "Time in seconds before the the econ authentication times out") MACRO_CONFIG_INT(EcOutputLevel, ec_output_level, 1, 0, 2, CFGFLAG_ECON, "Adjusts the amount of information in the external console")
Avatar
and ec_password has to be set too
09:11
Avatar
And what are the possible output_levels? (0-7?)
Avatar
Avatar
deen
Ok, now documented properly on https://ddnet.tw/settingscommands/#econ-settings
Wow that fix happened quickly
Avatar
looks like ci/cd
Avatar
@becc 0-2
09:13
where 2 is the most output
Avatar
1442217 Add min/max and replace constants with their value - def-
09:28
bd8ff70 Add min/max and replace constants with their value - def-
11:23
Every DDNet server is full of failed team ranks in ddnet-server.sqlite, even though they seemed to have succeeded. This leads to duplicate team ranks after running the move_sqlite.py script. Logs show this: [2021-03-21 11:34:15][sql]: found team rank from same team (old time: 839.919983, new time: 830.780029) [2021-03-21 11:34:15][sql]: save team score failed: (fetch:stmt:2014): Commands out of sync; you can't run this command now Probably related to the MySQL C API change...
Avatar
Does anyone have experience with webtropia? (edited)
Avatar
yes, used them in the beginning for ddnet. was not great
Avatar
cant see the "Info" tab with ger2 servers
14:33
ger1
14:33
ger2
Avatar
@I.K.U incoming DoS attack, GER1's hoster seems to be handling it surprisingly well
Avatar
@deen why, do they have bad hardware? I am looking for a new hoster and their price/performance ratio looks too good
Avatar
i don’t remember honestly
Avatar
[quakenet] ChillerDragon BOT 2021-03-21 16:25:01Z
@NeXus use servercompass.com with code CHILLER to get good prices :D
Avatar
Seems like the least invasive fix

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test if it works standalone, system.c especially
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet...
Avatar
^ why not move it to the config directory instead? 😄
Avatar
they changed the working directory for now, which is already enough
Avatar
ah the file doesn't get generated on first startup like the configs, it's shipped with the client itself
18:26
even if it's missing completely :p
Avatar
what about hotkeys for groups and tile layers in map editor? that would make mapping way smoother (edited)
19:53
by default it could eg be the numbers on keyboard
22:00
amazing
Exported 58 message(s)