OLD: [Guide] Source Code: Quick-Update Cheat Sheet
#1
Last edited by mrpeanut188 on Wed Apr 09, 2014 2:54 am, edited 9 times in total.
The underlined text has no actual use. There, it's checking if the game's version number is "0.9", which isn't ever true, so if you remove that or change it to And strtemp <> "0.9", no harm is done. In fact, you should remove it if the mod changes the VersionNumber variable.If strtemp <> VersionNumber Or VersionNumber = "0.9" Then RuntimeError("The save files of v"+strtemp+" aren't compatible with SCP - Containment Breach v"+VersionNumber+".")
Yeah, I saw that, but just for simplicities' sake and for those not so new to the source code I'm trying to put changes no matter how small.juanjpro wrote:Items.bb in the Box of Horrors is just a copy of the old one with the "Ignot" typo fixed.
Oh, I see what you mean, that should be changed if you are trying to mod the game and you change the version number. Since I've never changed the version number and loaded a save with another edited number, I've never run into this. Great find!juanjpro wrote: And in Save.bb:The underlined text has no actual use. There, it's checking if the game's version number is "0.9", which isn't ever true, so if you remove that or change it to And strtemp <> "0.9", no harm is done. In fact, you should remove it if the mod changes the VersionNumber variable.If strtemp <> VersionNumber Or VersionNumber = "0.9" Then RuntimeError("The save files of v"+strtemp+" aren't compatible with SCP - Containment Breach v"+VersionNumber+".")
Wait, WinMerge can show the differences in the files themselves? I've been using WinMerge this whole time...InnocentSam wrote:Just a tip for in case mrpeanut is unable to update the cheat sheet in a new update, you can do the comparisons yourself using a program using WinMerge. Functions near-same as Diff Checker but runs locally so no internet required.