![]() |
|
|
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: XP points are sometimes displayed with many decimals Next bug: No skill or XP displayed in the playerstat dropdown until a weapon has been fired Bugfix 014 - Changed some ints to floats where they were being misusedProblem:I actually haven't noticed any problems with constructible_chargebarreq, however it seems wrong to use an integer when it is a float.Solution:Simply change the format to use %f instead of %i.Notes:The bug was fixed in version 2.602.56 Code
g_mover.c @ 5135
ent->constructibleStats = g_constructible_classes[i];
// CHRUKER: b014 - This was using integers when it should use floats
G_SpawnFloat( "constructible_chargebarreq", va( "%f", ent->constructibleStats.chargebarreq ), &ent->constructibleStats.chargebarreq );
G_SpawnFloat( "constructible_constructxpbonus", va( "%f", ent->constructibleStats.constructxpbonus ), &ent->constructibleStats.constructxpbonus );
G_SpawnFloat( "constructible_destructxpbonus", va( "%f", ent->constructibleStats.destructxpbonus ), &ent->constructibleStats.destructxpbonus );
Show index Previous bug: XP points are sometimes displayed with many decimals Next bug: No skill or XP displayed in the playerstat dropdown until a weapon has been fired Color codingSample = New codeSample = Changed code (the new version is what is displayed) Sample = Deleted code |
| ©2013 Chruker | |