curl https://master1.ddnet.org/ddnet/15/servers.json
ddnet-server.exe
are you using a windows executable?ddnet-server.exe
are you using a windows executable? ddnet-server on wine
(edited)AnimePdf
xdcd && git clone --recursive https://github.com/ddnet/ddnet
in my vps. It all worked. I dont wanna fuck things up now so im asking this xD how can i build the server now ? Don't i have to edit autoexec_server.cfg first ?1. Install Required Dependencies
Make sure you have the essential packages and dependencies installed. Run the following command:
bash
sudo apt update
sudo apt install build-essential libsdl2-dev libglew-dev libglfw3-dev libavformat-dev libavcodec-dev libavutil-dev libjpeg-dev libpng-dev libfreetype6-dev git
### 2. Build the Server
Navigate to the directory where you cloned the DDNet repository:
bash
cd ~/ddnet
Now, compile the server by executing the following command:
bash
make server
This will start the build process for the server. Once completed, you should see a message indicating that the server was successfully built.
### 3. Start the Server
After the build process is complete, start the server with the following command:
bash
./ddnet-server
You might need to pass additional arguments or configurations depending on how you want to run your server. For example:
bash
./ddnet-server -f ../maps/my_map.ddnet
Make sure to replace `my_map
mkdir build && cd build && cmake .. && make
2024-08-12 05:59:44 I chat: *** Ewan finished in: 2 minute(s) 57.32 second(s)
2024-08-12 05:59:44 I client: disconnecting. reason='unknown'
2024-08-12 05:59:44 I demo_recorder: Stopped recording to 'demos/auto/race/Tutorial_tmp_44488.demo'
2024-08-12 05:59:44 I demo_recorder: Stopped recording to 'demos/replays/replay_tmp_Tutorial_2024-08-12_05-56-17.demo'
2024-08-12 05:59:44 I client: offline error='Server shutdown'
curl https://master2.ddnet.org/ddnet/15/servers.json
ip a
perfection@vps-93b36b94:~/ddnet/build$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether fa:16:3e:b5:a7:d0 brd ff:ff:ff:ff:ff:ff
altname enp0s3
inet 162.19.251.95/32 metric 100 scope global dynamic ens3
valid_lft 78186sec preferred_lft 78186sec
inet6 2001:41d0:701:1100::5bc0/56 scope global
valid_lft forever preferred_lft forever
inet6 fe80::f816:3eff:feb5:a7d0/64 scope link
valid_lft forever preferred_lft forever
perfection@vps-93b36b94:~/ddnet/build$
curl -6 https://master2.ddnet.org/ddnet/15/servers.json
sudo su
for exampleecho 1 > /proc/sys/net/ipv6/conf/default/disable_ipv6
echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6
2024-08-12 06:16:52 E http: https://master1.ddnet.org/ddnet/15/register failed. libcurl error (7): Failed to connect to master1.ddnet.org port 443 after 68 ms: Couldn't connect to server
2024-08-12 06:16:52 E register/6/ipv6: error sending request to master
2024-08-12 06:17:03 I register/6/ipv6: registering...
2024-08-12 06:17:03 E http: https://master1.ddnet.org/ddnet/15/register failed. libcurl error (7): Failed to connect to master1.ddnet.org port 443 after 199 ms: Couldn't connect to server
2024-08-12 06:17:03 E register/6/ipv6: error sending request to master
2024-08-12 06:17:04 I server: player has entered the game. ClientId=0 addr=<{213.162.80.101:65050}> sixup=0
2024-08-12 06:17:04 I sql: [3] load player data done on read database 0
2024-08-12 06:17:04 I chat: *** 'SL4' entered and joined the game
2024-08-12 06:17:04 I ddnet: cid=0 version=18040
2024-08-12 06:17:04 I register/6/ipv4: registering...
2024-08-12 06:17:04 E register/6/ipv4: ERROR: the master server reports that clients can not connect to this server.
2024-08-12 06:17:04 E register/6/ipv4: ERROR: configure your firewall/nat to let through udp on port 8303.
2024-08-12 06:17:05 I register/6/ipv6: registering...
2024-08-12 06:17:05 E http: https://master1.ddnet.org/ddnet/15/register failed. libcurl error (7): Failed to connect to master1.ddnet.org port 443 after 199 ms: Couldn't connect to server
2024-08-12 06:17:05 E register/6/ipv6: error sending request to master
2024-08-12 06:17:07 I chat: *** 'SL4' has left the game
2024-08-12 06:17:07 I game: leave player='0:SL4'
2024-08-12 06:17:08 I register/6/ipv4: registering...
2024-08-12 06:17:08 E register/6/ipv4: ERROR: the master server reports that clients can not connect to this server.
2024-08-12 06:17:08 E register/6/ipv4: ERROR: configure your firewall/nat to let through udp on port 8303.
sv_register ipv4
2024-08-12 06:18:41 I server: +-------------------------+
2024-08-12 06:18:41 I register/6/ipv4: registering...
2024-08-12 06:18:55 I register/6/ipv4: registering...
2024-08-12 06:18:55 E register/6/ipv4: ERROR: the master server reports that clients can not connect to this server.
2024-08-12 06:18:55 E register/6/ipv4: ERROR: configure your firewall/nat to let through udp on port 8303.
2024-08-12 06:18:56 I server: player has entered the game. ClientId=0 addr=<{213.162.80.101:65050}> sixup=0
2024-08-12 06:18:56 I sql: [3] load player data done on read database 0
2024-08-12 06:18:56 I chat: *** 'SL4' entered and joined the game
2024-08-12 06:18:56 I ddnet: cid=0 version=18040
2024-08-12 06:18:56 I register/6/ipv4: registering...
2024-08-12 06:18:56 E register/6/ipv4: ERROR: the master server reports that clients can not connect to this server.
2024-08-12 06:18:56 E register/6/ipv4: ERROR: configure your firewall/nat to let through udp on port 8303.
still :cip a
look different now?1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether fa:16:3e:b5:a7:d0 brd ff:ff:ff:ff:ff:ff
altname enp0s3
inet 162.19.251.95/32 metric 100 scope global dynamic ens3
valid_lft 77832sec preferred_lft 77832sec
git clone --recursive git@github.com:user/somerepo
the actual repository is cloned via ssh, but all submodules are trying to clone over https, because it's hardcoded within .gitmodules, but even changing the url. in there doesnt helpgit remote -v
show's me i cloned over ssh
trying to git submodule update --init --recursive
- will attempt to do so over httpDDNet.exe
(as well as steam_api.dll
) in /build
instead of /build/Debug
using cmake? (edited)Secret:
http header, then the masterserver will merge both into the same entry (edited)tw-0.6+udp://91.232.28.130:8309,tw-0.7+udp://91.232.28.130:8309
. I think it should just be 91.232.28.130:8309
Suggested by @Jupeyy : https://discord.com/channels/252358080522747904/293493549758939136/1272465742100566068perf recording
[2024-08-12 16:35:49][datafile]: loading data index=49 size=4359 uncompressed=4000000
[2024-08-12 16:35:49][datafile]: loading data index=0 size=85 uncompressed=147
[2024-08-12 16:35:49][tuning]: grenade_fire_delay in zone 1 changed to 100.00
[2024-08-12 16:35:49][tuning]: gravity in zone 3 changed to 0.50
[2024-08-12 16:35:49][tuning]: gravity in zone 2 changed to 0.05
[2024-08-12 16:35:49][tuning]: shotgun_fire_delay in zone 1 changed to 100.00
[2024-08-12 16:35:49][tuning]: gravity in zone 4 changed to 0.00
[2024-08-12 16:35:49][filescore]: opening 'records/BlmapInOne_record.dtb' for reading failed
[2024-08-12 16:35:49][console]: executing 'bans.cfg'
[2024-08-12 16:35:49][console]: executing 'whitelist.cfg'
[2024-08-12 16:35:49][whois]: init_ips: couldnt open
[2024-08-12 16:35:49][dummy]: Dummy connected: 0, Dummymode: 99
[2024-08-12 16:35:49][game]: team_join player='0:flappy' team=0
[2024-08-12 16:35:49][chat]: *** 'flappy' entered and joined the game
[2024-08-12 16:35:49][register/7/ipv6]: registering...
[2024-08-12 16:35:49][register/7/ipv4]: registering...
Segmentation fault
[2024-08-12 16:35:49][datafile]: loading data index=49 size=4359 uncompressed=4000000
[2024-08-12 16:35:49][datafile]: loading data index=0 size=85 uncompressed=147
[2024-08-12 16:35:49][tuning]: grenade_fire_delay in zone 1 changed to 100.00
[2024-08-12 16:35:49][tuning]: gravity in zone 3 changed to 0.50
[2024-08-12 16:35:49][tuning]: gravity in zone 2 changed to 0.05
[2024-08-12 16:35:49][tuning]: shotgun_fire_delay in zone 1 changed to 100.00
[2024-08-12 16:35:49][tuning]: gravity in zone 4 changed to 0.00
[2024-08-12 16:35:49][filescore]: opening 'records/BlmapInOne_record.dtb' for reading failed
[2024-08-12 16:35:49][console]: executing 'bans.cfg'
[2024-08-12 16:35:49][console]: executing 'whitelist.cfg'
[2024-08-12 16:35:49][whois]: init_ips: couldnt open
[2024-08-12 16:35:49][dummy]: Dummy connected: 0, Dummymode: 99
[2024-08-12 16:35:49][game]: team_join player='0:flappy' team=0
[2024-08-12 16:35:49][chat]: *** 'flappy' entered and joined the game
[2024-08-12 16:35:49][register/7/ipv6]: registering...
[2024-08-12 16:35:49][register/7/ipv4]: registering...
Segmentation fault
teeworlds_srv -f ./data/autoexec_server.cfg
gdb --args ./teeworlds_srv -f ./data/autoexec_server.cfg
gdb --args teeworlds_srv -f autoexec_server.cfg
(edited)