Kajtekk, nie wiem co skłoniło Cię do tej wersji, nowa wersja 3 RC13 ma połatana stare błędy z 2.x i co najważniejsze jest nadal aktualizowana no ale ok
Zapis Do bazy:
// Warcraft 3 Frozen Throne Configuration File
mp_savexp 1 // Enables saving of experience (uses a vault, default is 0)
sv_sql 0 // Save using a SQL module (a module needs to be turned on, note: to use this mp_savexp must also be 1, default is 0)
FT_saveby 2 // What should I save this as? steam id = 0, IP = 1, name = 2 (default is 0)
FT_admin_flag "m" // Admin flag required to give/take <img src='https://amxx.pl/public/style_emoticons/<#EMO_DIR#>/tongue2.gif' class='bbc_emoticon' alt='xP' /> (default is m)
// SQL configuration
FT_sql_host "127.0.0.1" // Host Name
FT_sql_user "root" // User Name
FT_sql_pass "" // Password
FT_sql_db "" // Database Name
o ile się nie myle coś takiego cvary podane w pliku są troszke źle opisane... gdyby zapis nie działa cvar
sv_sql ustaw na
1Zapis vault (plik)
// Warcraft 3 Frozen Throne Configuration File
mp_savexp 0 // Enables saving of experience (uses a vault, default is 0)
sv_sql 0 // Save using a SQL module (a module needs to be turned on, note: to use this mp_savexp must also be 1, default is 0)
FT_saveby 2 // What should I save this as? steam id = 0, IP = 1, name = 2 (default is 0)
FT_admin_flag "m" // Admin flag required to give/take <img src='https://amxx.pl/public/style_emoticons/<#EMO_DIR#>/tongue2.gif' class='bbc_emoticon' alt='xP' /> (default is m)