rescue bug
Re: rescue bug
g_Config.m_SvRescue isn't useless. The sv_rescue command only exists to ensure it's not enabled/disabled at runtime (like with sv_test_cmds).
- babak2010
- Posts: 101
- Joined: Sun Jan 18, 2015 8:06 pm
- Location: IR
- Player profile: http://ddnet.org/players/GoJE-32-GrEEN-32--33-/
- Mapper profile: http://ddnet.tw/mappers/GoJE-32-GrEEN-32--33-/
Re: rescue bug
so if you can change g_Config.m_SvRescue to enable (1) I mean from consol not cfgeast wrote:g_Config.m_SvRescue isn't useless. The sv_rescue command only exists to ensure it's not enabled/disabled at runtime (like with sv_test_cmds).
Last edited by babak2010 on Wed Aug 19, 2015 3:53 pm, edited 1 time in total.
Click Me : Happy Halloween
<3

- babak2010
- Posts: 101
- Joined: Sun Jan 18, 2015 8:06 pm
- Location: IR
- Player profile: http://ddnet.org/players/GoJE-32-GrEEN-32--33-/
- Mapper profile: http://ddnet.tw/mappers/GoJE-32-GrEEN-32--33-/
Re: rescue bug
the problem is : same name sv_rescue
MACRO_CONFIG_INT(SvRescue, sv_rescue, 0, 0, 1, CFGFLAG_SERVER, "Allow /rescue command so players can teleport themselves out of freeze")
pConsole->Register("sv_rescue", "", CFGFLAG_SERVER, CServer::ConRescue, pConsole, "Allow /rescue command so players can teleport themselves out of freeze");
MACRO_CONFIG_INT(SvRescue, sv_rescue, 0, 0, 1, CFGFLAG_SERVER, "Allow /rescue command so players can teleport themselves out of freeze")
pConsole->Register("sv_rescue", "", CFGFLAG_SERVER, CServer::ConRescue, pConsole, "Allow /rescue command so players can teleport themselves out of freeze");
Click Me : Happy Halloween
<3

- babak2010
- Posts: 101
- Joined: Sun Jan 18, 2015 8:06 pm
- Location: IR
- Player profile: http://ddnet.org/players/GoJE-32-GrEEN-32--33-/
- Mapper profile: http://ddnet.tw/mappers/GoJE-32-GrEEN-32--33-/
Re: rescue bug
ok I got that.east wrote:g_Config.m_SvRescue isn't useless. The sv_rescue command only exists to ensure it's not enabled/disabled at runtime (like with sv_test_cmds).
Click Me : Happy Halloween
<3

Re: rescue bug
Yes, it's the same for sv_test_cmds. The registered command sv_rescue overwrites the config variable sv_rescue and makes it non-accessible from the console. So sv_rescue is read-only at runtime.
Who is online
Users browsing this forum: Semrush [Bot] and 4 guests