azalin 0 Posted August 21, 2002 I've had quite a few problems with some of the new O2 (I guess) addons. Often times Resistance quits due to some error when enumerating the addons or something. This happened with quite a few addons like the Tornado and few others (ITA_TORNADO.pbo+ITA_Pilot.pbo & DKMM_XA188.pbo f.ex. etc......) Which directory OPF/Res? would be the best to place addons in? An how does Res handle multiple instances of identical addons from/for either version? Could it be beneficial to remove all addons from the original flashpoint addon or would this mess it all up? Any suggestions to make a foolproof way of adding an addon? I'm not asking for a miracle but some sort of guide. Maybe a patch could solve some of my problems but untill then..... Any suggestions would be appreciated. Share this post Link to post Share on other sites
JAP 2 Posted August 22, 2002 I think the best place to put addons is still the original Addon folder. If you put it in the res\addon some addons will load before the o.pbo and screw up settings. Had a problem too that the fuelstations didn t have fuel and it was caused because Kegetys editor upgrade 1.02 was in the new addonfolder and loaded before the o.pbo Hope this helps, Cheers Share this post Link to post Share on other sites
Major Fubar 0 Posted August 22, 2002 I have been putting all my addons since I installed OFP:R in the res/addons folder, and haven't had a problem. I think the main reason for the two folders is so that you don't put addons which require 1.75 in the normal addons folder...which will cause problems if you try to run the original OFP 1.46 exe. Share this post Link to post Share on other sites
theavonlady 2 Posted August 22, 2002 Search The FAQ for "resistance unofficial addons". Share this post Link to post Share on other sites
kegetys 2 Posted August 22, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (theavonlady @ Aug. 22 2002,13:15)</td></tr><tr><td id="QUOTE">Search The FAQ for "resistance unofficial addons".<span id='postcolor'> A little correction to "However, if the addon is only compatible with OFP: Resistance, you should place it in the new \Operation Flashpoint\Res\Addons subdirectory." This sometimes causes problems, like JAP said with things that need o.pbo from resistance. Safest place to put all addons is the "old" addons dir, though the new resistance-only addons there will then cause old ofp not to run, but thats something one has to live with Share this post Link to post Share on other sites
Major Fubar 0 Posted August 22, 2002 Any examples of what addons cause problems when in the res/addons folder? I haven't found any so far... Share this post Link to post Share on other sites
kegetys 2 Posted August 22, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Major Fubar @ Aug. 22 2002,16:24)</td></tr><tr><td id="QUOTE">Any examples of what addons cause problems when in the res/addons folder? I haven't found any so far...<span id='postcolor'> My Editor Addon and Smith & Wesson revolver addons at least. Share this post Link to post Share on other sites
theavonlady 2 Posted August 22, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Kegetys @ Aug. 22 2002,16:17)</td></tr><tr><td id="QUOTE"></span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (theavonlady @ Aug. 22 2002,13:15)</td></tr><tr><td id="QUOTE">Search The FAQ for "resistance unofficial addons".<span id='postcolor'> A little correction to "However, if the addon is only compatible with OFP: Resistance, you should place it in the new \Operation Flashpoint\Res\Addons subdirectory." This sometimes causes problems, like JAP said with things that need o.pbo from resistance.<span id='postcolor'> Getting technical, what causes the problem? I would think that unofficial Resistance addons in the same directory as O.PBO would be the best thing for the addon. Could you elaborate, please? Share this post Link to post Share on other sites
kegetys 2 Posted August 22, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (theavonlady @ Aug. 22 2002,16:56)</td></tr><tr><td id="QUOTE"></span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Kegetys @ Aug. 22 2002,16:17)</td></tr><tr><td id="QUOTE"></span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (theavonlady @ Aug. 22 2002,13:15)</td></tr><tr><td id="QUOTE">Search The FAQ for "resistance unofficial addons".<span id='postcolor'> A little correction to "However, if the addon is only compatible with OFP: Resistance, you should place it in the new \Operation Flashpoint\Res\Addons subdirectory." This sometimes causes problems, like JAP said with things that need o.pbo from resistance.<span id='postcolor'> Getting technical, what causes the problem? I would think that unofficial Resistance addons in the same directory as O.PBO would be the best thing for the addon. Could you elaborate, please?<span id='postcolor'> http://www.flashpoint1985.com/cgi-bin....t=17468 Share this post Link to post Share on other sites
theavonlady 2 Posted August 22, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Kegetys @ Aug. 22 2002,16:59)</td></tr><tr><td id="QUOTE">http://www.flashpoint1985.com/cgi-bin....t=17468<span id='postcolor'> (Sorry, in a rush). To summarize: 1. This has to do with addon dependencies. 2. It is caused by the order in which addons may be loaded. 3. BIS is working on patching to allow specifying addon dependencies. Is this correct? Did I miss anything? TIA. Share this post Link to post Share on other sites
azalin 0 Posted August 22, 2002 Thanks for the feedback. So to my understanding this could be what happens when I'm starting OPF version 1.75: The executeable starts to enumerate each addon from the original directory (1.46 (or earlier?)) defining a class object from each of the different .pbo files. Probably starting by using a framework of masterclass definitions from the resistance BIN dir.? So at this point there's a class hierachy consisting of all of the "old" addons? Maybe with some of the classdefinitions (object/addons-properties) being invalid at this point, since the objects are using the resisitance BIN definitions?? Am I'm being vague here? hmm sorry 'bout that Well....When done with the first directory OPF starts to enumerate all the addons from the resistance addon folder, discarding 'old' .pbo's (objects) when a duplicate is found in the res folder. And here's where things goes awry? or?? If some addon from the old folder were dependent on a different addon from the old folder, which were discarded due to it being defined again in the o.pbo but with other properties...??? Catch my drift? Does the logic compute?? Share this post Link to post Share on other sites
kegetys 2 Posted August 22, 2002 Avon: yes, thats pretty much how it goes. azalin: The problem with the addons loading is, that Resistance added classes are in res/addons/o.pbo, and the game loads the addons in alphabetical order starting from res/addons, and then the "old" addons/. When loading in alphabetical order, "editorupgrade102.pbo" and "KEGsw66.pbo" comes before "O.pbo", and therefore those two pbo's will be loaded before O.pbo, and as KEGsw66.pbo has some classes that use the root classes from O.pbo the engine thinks those classes originally came from KEGsw66.pbo, and not O.pbo where they really are defined in. When placing KEGsw66.pbo in the "old" addons dir it will be loaded after O.pbo and it works correctly as the classes are correctly associated in O.pbo like they should be. With the editor addon its pretty much the same situation, but the game justs seeks for the models in the world file from the configs, and it finds them first from the editor addon and uses those instead of O.pbo, and in the editor addon some houses have a bit different parameters (Like I forgot the fuelstation things from the fuelstation so it doesnt work). Share this post Link to post Share on other sites
theavonlady 2 Posted August 22, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Kegetys @ Aug. 22 2002,20:28)</td></tr><tr><td id="QUOTE">azalin: The problem with the addons loading is, that Resistance added classes are in res/addons/o.pbo, and the game loads the addons in alphabetical order starting from res/addons, and then the "old" addons/.<span id='postcolor'> Wouldn't a simple bypass be to rename your addons to something alphabetically greater than O.PBO? Share this post Link to post Share on other sites
kegetys 2 Posted August 22, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (theavonlady @ Aug. 22 2002,20:32)</td></tr><tr><td id="QUOTE"></span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Kegetys @ Aug. 22 2002,20:28)</td></tr><tr><td id="QUOTE">azalin: The problem with the addons loading is, that Resistance added classes are in res/addons/o.pbo, and the game loads the addons in alphabetical order starting from res/addons, and then the "old" addons/.<span id='postcolor'> Wouldn't a simple bypass be to rename your addons to something alphabetically greater than O.PBO? <span id='postcolor'> Yes, it would also bypass OFPEC tagging Share this post Link to post Share on other sites