Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » How to fix the 0 bug with packages (How to fix the 0 bug)
How to fix the 0 bug with packages [message #278088] Thu, 09 August 2007 14:09 Go to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3808
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
Okay, earlier today I was informed about something called the 0 bug, this is a bug that you play a mod and after you play it so long you become unable to damage any thing, about 1 year ago I found out what causes this, it is a mis match with the armor.ini files. Level editor gets armor.ini file from the always.dbs file, although this would work normally, level editor was made prior to Renegades patch, this patch creates a file called always2.dbs. In this file there is a newer version of armor.ini which contain several different damage warheads and armor types. When you export your mod package with this out of date armor.ini file contained in it you give it the zero bug. If the client shoots an object with the flame thrower it will be unable to find the warhead that is being called for in the armor file, after it is unable to do this, it disables your ability to damage anything. But if the host were to shoot something with the flame thrower, it will crash the game out to desktop, because Renegade will be unable to find the warhead, which it takes slightly more seriously on the hosts side. I suppose your credits go to zero because the game thinks you are cheating or something like that, if I recall correctly it will zero out your credits every time something is shot with a weapon that the warhead can not be found in level editor.

Luckily this is a problem with a very easy to fix solution, take any mix extracting tool,and extract all the .ini files in always2.dbs then place these .ini files in your level editor folder (you can also delete all the .ini files before exporting your mod but this prevents you from making any new warhead types).

So basically make sure that all your weapons warheads are actually listed and set up in the armor .ini and you will never see the 0 bug.

Note: Dazzle.ini was also changed so you should also place this in the "*mod package name*\ALWAYS\INI" folder along with the armor.ini

Oh fine I will make it even easier, the two files are now listed below:
  • Attachment: armor.ini
    (Size: 40.94KB, Downloaded 78 times)
  • Attachment: dazzle.ini
    (Size: 11.06KB, Downloaded 116 times)


Re: How to fix the 0 bug with packages [message #278109 is a reply to message #278088] Thu, 09 August 2007 16:14 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
That's some pretty useful information. I'm pretty amazed you noticed the difference. Nice find.


Re: How to fix the 0 bug with packages [message #278145 is a reply to message #278088] Thu, 09 August 2007 19:13 Go to previous message
YSLMuffins is currently offline  YSLMuffins
Messages: 1144
Registered: February 2003
Location: Moved a long time ago (it...
Karma: 0
General (1 Star)
Moderator - Mod Forum
This is FAQ worth--mind posting this in the sticky? Thumbs Up

-YSLMuffins
The goddess of all (bread products)
See me online as yslcheeze
Previous Topic: Script
Next Topic: Parachutes
Goto Forum:
  


Current Time: Mon Sep 16 14:50:32 MST 2024

Total time taken to generate the page: 0.00629 seconds