FWGS / xash3d

DEPRECATED in favor of https://github.com/FWGS/xash3d-fwgs. Only bugfixes are accepted.
https://xash.su
GNU General Public License v3.0
553 stars 109 forks source link

game.cfg priority over server.cfg #189

Open mittorn opened 8 years ago

mittorn commented 8 years ago

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

a1batross commented 8 years ago

Is gamecfg must be executed on dedicated at all? 21.09.2016 11:50 пользователь "mittorn" notifications@github.com написал:

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 .

mittorn commented 8 years ago

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

mittorn commented 8 years ago

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.

nekonomicon commented 8 years ago

http://pastebin.com/vfSaeUTb

mittorn commented 8 years ago

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