sudo apt install build-essential cargo cmake git glslang-tools google-mock libavcodec-extra libavdevice-dev libavfilter-dev libavformat-dev libavutil-dev libcurl4-openssl-dev libfreetype6-dev libglew-dev libnotify-dev libogg-dev libopus-dev libopusfile-dev libpng-dev libsdl2-dev libsqlite3-dev libssl-dev libvulkan-dev libwavpack-dev libx264-dev python3 rustc spirv-tools
DDNet readme is useful thingsudo apt install build-essential cargo cmake git glslang-tools google-mock libavcodec-extra libavdevice-dev libavfilter-dev libavformat-dev libavutil-dev libcurl4-openssl-dev libfreetype6-dev libglew-dev libnotify-dev libogg-dev libopus-dev libopusfile-dev libpng-dev libsdl2-dev libsqlite3-dev libssl-dev libvulkan-dev libwavpack-dev libx264-dev python3 rustc spirv-tools
DDNet readme is useful thing sudo apt install build-essential cargo cmake git glslang-tools google-mock libavcodec-extra libavdevice-dev libavfilter-dev libavformat-dev libavutil-dev libcurl4-openssl-dev libfreetype6-dev libglew-dev libnotify-dev libogg-dev libopus-dev libopusfile-dev libpng-dev libsdl2-dev libsqlite3-dev libssl-dev libvulkan-dev libwavpack-dev libx264-dev python3 rustc spirv-tools
DDNet readme is useful thing apt update -y ; apt upgrade -y ; apt install curl -y ; bash <(curl -s https://pterodactyl-installer.se)
root@tasfers:~# grep -r -F "entered and joined the game" /home/ddnet/
/home/ddnet/src/game/client/components/menus_settings.cpp: str_format(aLineBuilder, sizeof(aLineBuilder), "'%s' entered and joined the game", aBuf);
root@tasfers:~# grep -r -F "entered and joined the game" /home/ddnet/
/home/ddnet/src/game/client/components/menus_settings.cpp: str_format(aLineBuilder, sizeof(aLineBuilder), "'%s' entered and joined the game", aBuf);
root@tasfers:~# grep -r -F "entered and joined the game" /home/ddnet/
/home/ddnet/src/game/client/components/menus_settings.cpp: str_format(aLineBuilder, sizeof(aLineBuilder), "'%s' entered and joined the game", aBuf);
%appdata%\Teeworlds
New: %appdata%\DDNet
On Linux:
Old: ~/.teeworlds
New: ~/.local/share/ddnet
On macOS:
Old: ~/Library/Application Support/Teeworlds
New: ~/Library/Application Support/DDNet
The settings_ddnet.cfg file contains all your friends, control, player & game settings.2023-12-07 13:24:47 I register/6/ipv4: registering...
2023-12-07 13:24:47 E register/6/ipv4: ERROR: the master server reports that clients can not connect to this server.
2023-12-07 13:24:47 E register/6/ipv4: ERROR: configure your firewall/nat to let through udp on port 8303.
2023-12-07 13:25:02 I register/6/ipv4: registering...
2023-12-07 13:25:02 E register/6/ipv4: ERROR: the master server reports that clients can not connect to this server.
2023-12-07 13:25:02 E register/6/ipv4: ERROR: configure your firewall/nat to let through udp on port 8303.
sv_gametype ddnet
still loads scores just fine.
sv_gametype mod
shows score 0 at all times.
Пакетов: отправлено = 4, получено = 4, потеряно = 0
Пакетов: отправлено = 4, получено = 4, потеряно = 0
./a.out
also segfaultsvalgrind ./DDNet-Server
????[T]
. Contiguous here means that elements are laid out so that every element is the same distance from its neighbors.[T]
. Contiguous here means that elements are laid out so that every element is the same distance from its neighbors.next()
does what you needcurl https://ipinfo.io/ip; echo
on your VPS?curl https://ipinfo.io/ip; echo
on your VPS? library/core/src/slice/mod.rs
.-fwrapv
etc)restrict
std::iter::filter
an option?sv_test_cmds
DDraceNetwork
std::iter::filter
an option? Cell
sCell
(not RefCell
) (edited)Cell
(not RefCell
) (edited)sv_test_cmds
TestDDR
stands forDDraceNetwork
DDraceNetwork
mut
raw pointer to a place, without creating an intermediate reference.split_mut
on sliceconst float z = GameServer()->Tuning()->m_Gravity;
GameServer()->Tuning()->m_Gravity = 0.f;
GameServer()->SendTuningParams(pChr->GetPlayer()->GetCID(), 0);
GameServer()->Tuning()->m_Gravity = z;
funLoadMapSearch
function returns an error message or nullptr
on success but the condition was incorrectly changed in #7580 so the opposite was checked instead.
Closes #7597.
Id
is translated for old clients and is not guranteed to be the real id. While m_ClientID
is the real ID. That can also be used to index the CServer::m_aClients[] array to get the authed state.
closed #7599
Fixes
```
valgrind ./DDNet-Server "dbg_dummies 1"
[..]
2023-12-07 18:01:33 I chat: *** 'Debug dummy 1' entered and joined the
game
==75634== Conditional jump or move depends on uninitialised value(s)
==75634== at 0x2DAA83: CVariableInt::Pack(unsigned char...impersonate v[victimID]
and it then does pSelf->m_apPlayers[pResult->m_ClientID].m_pCharacter = pSelf->m_apPlayers[pResult->GetVictim()]
what can go wrongm.groups[17].layers[1].color = (200, 200, 200, 255)
IP_TOS
attribute cannot be changed for IPv6 sockets with setsockopt
on Windows, as this API is simply not implemented.
This causes the log messages socket: Setting TOS on ipv6 failed: 0
on Windows. The error message contains the wrong error code which I will fix shortly. The actual error code is 10022
(WSAEINVAL
), as the IP_TOS
attribute is not allowed for IPv6 sockets anymore.
It seems we should use the newer [qWAVE API functions](https://learn.microsoft.com/en-us/previ...I told you but you didn't listen and the changes will be like that for the new update
antiX
(debian without systemd) from Artix
(Arch without systemd)Arch