xash3d icon indicating copy to clipboard operation
xash3d copied to clipboard

game.cfg priority over server.cfg

Open mittorn opened this issue 7 years ago • 5 comments

gamecfg should have LOWER priority than server.cfg on dedicated server

mittorn avatar Sep 21 '16 08:09 mittorn

Is gamecfg must be executed on dedicated at all? 21.09.2016 11:50 пользователь "mittorn" [email protected] написал:

gamecfg should have LOWER priority than server.cfg on dedicated server

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/FWGS/xash3d/issues/189, or mute the thread https://github.com/notifications/unsubscribe-auth/ADEJgW4bL3IOUkuEi-acpAM3nhEEDytUks5qsO_cgaJpZM4KCjKR .

a1batross avatar Sep 21 '16 11:09 a1batross

It is executed by hl library itself. https://github.com/ValveSoftware/halflife/blob/master/dlls/gamerules.cpp

mittorn avatar Sep 21 '16 19:09 mittorn

https://github.com/ValveSoftware/halflife/blob/master/dlls/multiplay_gamerules.cpp Oops, i thought that server.cfg is executed here too. We need to add it in engine to simulate WON behaviour or remove game.cfg at all, replacing it by scr.

mittorn avatar Sep 21 '16 19:09 mittorn

http://pastebin.com/vfSaeUTb

nekonomicon avatar Oct 21 '16 15:10 nekonomicon

Да я изучил этот вопрос. Механизмы в won и steam различаются. Осталось 2 вопроса: Когда выгружается сервер в won Когда выгружается сервер в steam

mittorn avatar Oct 21 '16 16:10 mittorn