random_map
and random_unfinished_map
(pic. 2)
I set up MariaDB database and downloaded all maps from https://github.com/ddnet/ddnet-maps and there commands don't work at all.
1. Flexvotes works properly: if I vote for map catefory (like Solo or Novice), i can see there's new votes
2. Map records writes properly (pic. 1)
Setup:
1. Kubernetes cluster with MariaDB 11.2 version
2. Vanilla DDNet server built with these flags and works in Alpine Linux container in k8s cluster:
cmake .. -Wno-dev \
-DANTIBOT=ON \
-DAUTOUPDATE=OFF \
-DCLIENT=OFF \
-DIPO=ON \
-DPREFER_BUNDLED_LIBS=OFF \
-DVIDEORECORDER=OFF \
-DVULKAN=OFF \
-DWEBSOCKETS=OFF \
-DMYSQL=ON \
-GNinja
3. Main config file looks like this:
sv_region_name RUS
sv_register 0
sv_reset_file "types/novice/flexreset.cfg"
sv_sql_servername RUS
sv_use_sql 1
add_sqlserver r ddnet ddnet ddnet <password> ddnet-db 3306
add_sqlserver w ddnet ddnet ddnet <password> ddnet-db 3306
Where ddnet-db
is domain name of MariaDB in k8s cluster
4. Structure of files in container with DDNet server:
./arrow.png
./assets
./audio
./autoexec_server.cfg
./blob.png
./censorlist.txt
./console.png
./console_bar.png
./countryflags
./debug_font.png
./editor
./emoticons.png
./extras.png
./fonts
./game.png
./gui_buttons.png
./gui_cursor.png
./gui_icons.png
./gui_logo.png
./hud.png
./languages
./mapres
./maps
./maps7
./menuimages
./particles.png
./race_flag.png
./shader
./skins
./strong_weak.png
./themes
./wordlist.txt
./config
./types
./reset.cfg
./storage.cfg
Where types
contains all maps and configs for them from https://github.com/ddnet/ddnet-maps
Did i really forgot something? Help me… (edited)random_map
and random_unfinished_map
(pic. 2)
I set up MariaDB database and downloaded all maps from https://github.com/ddnet/ddnet-maps and there commands don't work at all.
1. Flexvotes works properly: if I vote for map catefory (like Solo or Novice), i can see there's new votes
2. Map records writes properly (pic. 1)
Setup:
1. Kubernetes cluster with MariaDB 11.2 version
2. Vanilla DDNet server built with these flags and works in Alpine Linux container in k8s cluster:
cmake .. -Wno-dev \
-DANTIBOT=ON \
-DAUTOUPDATE=OFF \
-DCLIENT=OFF \
-DIPO=ON \
-DPREFER_BUNDLED_LIBS=OFF \
-DVIDEORECORDER=OFF \
-DVULKAN=OFF \
-DWEBSOCKETS=OFF \
-DMYSQL=ON \
-GNinja
3. Main config file looks like this:
sv_region_name RUS
sv_register 0
sv_reset_file "types/novice/flexreset.cfg"
sv_sql_servername RUS
sv_use_sql 1
add_sqlserver r ddnet ddnet ddnet <password> ddnet-db 3306
add_sqlserver w ddnet ddnet ddnet <password> ddnet-db 3306
Where ddnet-db
is domain name of MariaDB in k8s cluster
4. Structure of files in container with DDNet server:
./arrow.png
./assets
./audio
./autoexec_server.cfg
./blob.png
./censorlist.txt
./console.png
./console_bar.png
./countryflags
./debug_font.png
./editor
./emoticons.png
./extras.png
./fonts
./game.png
./gui_buttons.png
./gui_cursor.png
./gui_icons.png
./gui_logo.png
./hud.png
./languages
./mapres
./maps
./maps7
./menuimages
./particles.png
./race_flag.png
./shader
./skins
./strong_weak.png
./themes
./wordlist.txt
./config
./types
./reset.cfg
./storage.cfg
Where types
contains all maps and configs for them from https://github.com/ddnet/ddnet-maps
Did i really forgot something? Help me… (edited)+showhookcoll
binded on 's' by default