![]() |
|
Mapping Mapping sizes Limits Entities Bugs & Work-a-rounds Notes Scripting reference Mapping - Tutorials Brushwork from blueprint Tools Brush generator Vehicle generator MD3 Tag The Dummy Modding Project: Bug Fix Project: Crockett Other stuff Forum Server Info Colors Voice Chats Scripts Links |
Project: Bug FixThe objectiveThe goal of this project is to provide modders in the ET community with a SDK code base that contains fixes for various bugs which are present in the stock etmain game (version 2.60).26th september 2006: Sadly bugfix 088 had a bug :-( There were 3 lines that should have been deleted for the fix to work correctly. Show index Previous bug: Rifle grenade through door exploit Next bug: Coverts can steal uniforms while wounded Bugfix 005 - Referee commands doesn't work in server consoleProblem:Referee commands doesn't work in the server console.Solution:The referee command is expecting the next argument however the code never removed the ref part, it was given the entire commandline.References:Original fixNotes:The bug is still present in version 2.602.56 & 2.60 Code
g_svcmds.c @ 1038 (2.56) @ 1341 (2.60)
// OSP - console also gets ref commands
if(!level.fLocalHost && Q_stricmp(cmd, "ref") == 0) {
// CHRUKER: b005 - G_refCommandCheck expects the next argument (warn, pause, lock etc).
trap_Argv(1, cmd, sizeof(cmd));
if(!G_refCommandCheck(NULL, cmd)) {
G_refHelp_cmd(NULL);
}
return(qtrue);
}
Show index Previous bug: Rifle grenade through door exploit Next bug: Coverts can steal uniforms while wounded Color codingSample = New codeSample = Changed code (the new version is what is displayed) Sample = Deleted code |
©2018 Chruker |