diff --git a/dist/game.cfg b/dist/game.cfg index 5f299c5b..f58b2bc2 100644 --- a/dist/game.cfg +++ b/dist/game.cfg @@ -1,3 +1,5 @@ +echo Executing ReGameDLL Configuration File + // The style of gameplay where there aren't any teams (FFA mode) // 0 - disabled (default behaviour) // 1 - enabled @@ -208,12 +210,6 @@ mp_kill_filled_spawn "1" // Default value: "0" mp_allow_point_servercommand "0" -// Sets mins/maxs hull bounds for the player. -// 0 - disabled (default behaviour, sets engine) -// 1 - enabled (sets gamedll) -// Default value: "1" -mp_hullbounds_sets "1" - // Show 'HP' field into a scoreboard // 0 - don't send any update for 'HP' field to any clients // 1 - show only Terrorist 'HP' field to all clients diff --git a/dist/game_init.cfg b/dist/game_init.cfg new file mode 100644 index 00000000..fc91e7b9 --- /dev/null +++ b/dist/game_init.cfg @@ -0,0 +1,5 @@ +// Sets mins/maxs hull bounds for the player. +// 0 - disabled (default behaviour, sets engine) +// 1 - enabled (sets gamedll) +// Default value: "1" +mp_hullbounds_sets "1" diff --git a/publish.gradle b/publish.gradle index 4588d973..6268eb18 100644 --- a/publish.gradle +++ b/publish.gradle @@ -44,7 +44,12 @@ task publishPrepareFiles { // copy files from folder dist copy { from('dist') - into 'publish/publishRoot' + into 'publish/publishRoot/bin/win32/cstrike' + } + + copy { + from('dist') + into 'publish/publishRoot/bin/linux32/cstrike' } // cssdk diff --git a/regamedll/dlls/game.cpp b/regamedll/dlls/game.cpp index 41431d51..785e2832 100644 --- a/regamedll/dlls/game.cpp +++ b/regamedll/dlls/game.cpp @@ -317,7 +317,7 @@ void EXT_FUNC GameDLLInit() #ifdef REGAMEDLL_ADD // execute initial pre-configurations - SERVER_COMMAND("exec game.cfg\n"); + SERVER_COMMAND("exec game_init.cfg\n"); SERVER_EXECUTE(); #endif diff --git a/regamedll/dlls/gamerules.cpp b/regamedll/dlls/gamerules.cpp index 654d6b4a..f3e562ad 100644 --- a/regamedll/dlls/gamerules.cpp +++ b/regamedll/dlls/gamerules.cpp @@ -133,11 +133,6 @@ LINK_HOOK_CHAIN2(CGameRules *, InstallGameRules) CGameRules *EXT_FUNC __API_HOOK(InstallGameRules)() { -#ifdef REGAMEDLL_ADD - // execute post-configurations - SERVER_PRINT("Executing ReGameDLL Configuration File\n"); -#endif - SERVER_COMMAND("exec game.cfg\n"); SERVER_EXECUTE();