Jump to content
A Nonny Moose

Binary Search for Plugins Conflicts

16 posts in this topic Last Reply

Highlighted Posts

Posted:
Last Online:  
 

First of all, let me say that this method assumes you have only one bad plugin that is causing trouble and that your test when you installed it didn't find the problem and you accepted it not knowing that there would be trouble later.

Start:

Save your entire plugins folder to some safe folder.

Divide your plugins into approximately two equal halves.

Put one of the halves into your Plugins folder

Test the game, thoroughly to provoke the problem

If the problem does not occur, this set is safe. It remains in your plugins folder.

If not swap the two halves and test again.

If this set is OK, it becomes your first safe set and stays in the plugins folder.

If not, you are outside this algorithm because you have more than one bad plugin. You will have to seek other solutions.

Point X:

From this point we assume that you have a safe set of plugins in the Plugins folder and the remaining set elsewhere.

Divide the remaining set into halves.

Put one of them in the Plugins folder being sure you can get them out easily (use a folder)

Test the game.

If all is well, go to Point X:

If this set now fails, remove the last set and replace it with the other half.

Test again.

This should be OK, but if not, you have more than one problem, so exit.

Otherwise go to Point X:

Continue dividing until you have a set of only one plugin that tests bad. This is the culprit.

You can then restore your saved plugins suite, and remove the guilty party.

End:

  • Like 9

Beware: Emancipated user.  No Windoze for me.
The teacher opens the door but the student must enter himself. - Ancient Chinese Saying

Every minute of hate in which one indulges oneself is sixty seconds of happiness lost.
Music expresses that which cannot be put into words and that which cannot remain silent. -- Victor Hugo
If you always do what you've always done, you'll mostly get what you've always got.
JohnNewSig.gif
"We have met the enemy, and he is us" - Walt Kelly

Come join us at the Moose Factory

Share this post


Link to post
Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     

    Well, yes.  But first I'd try the second half to see if it is OK.  If so, this releases the second half into the plugins suite to make the testing more thorough.  If not, you have two problems.  The whole thing is binary, and you keep halving until you find your problem.  If you have 1000 plugins you only need a maximum of nine tries.

    • Like 1

    Beware: Emancipated user.  No Windoze for me.
    The teacher opens the door but the student must enter himself. - Ancient Chinese Saying

    Every minute of hate in which one indulges oneself is sixty seconds of happiness lost.
    Music expresses that which cannot be put into words and that which cannot remain silent. -- Victor Hugo
    If you always do what you've always done, you'll mostly get what you've always got.
    JohnNewSig.gif
    "We have met the enemy, and he is us" - Walt Kelly

    Come join us at the Moose Factory

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    What about when the game says plugin 123456789 is missing, is there a tool out that has a database to id a plugin by number when the game gives a complaint on the city loading screen with a code for a specific missing dependancy and not a name for it?

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    What about when the game says plugin 123456789 is missing, is there a tool out that has a database to id a plugin by number when the game gives a complaint on the city loading screen with a code for a specific missing dependancy and not a name for it?

    That particular number is basically a decimal representation of the hexadecimal Instance ID (IID) of the exemplar that refers to a prop or building model that happens to be missing in that city.  There's no database--let alone a tool--out there with that information, and for all intents and purposes, that number is not remotely useful in diagnosing issues.

     

    -Tarkus

    Share this post


    Link to post
    Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     

    The only recourse is after the city is open.  Look for brown boxes and use the query operator to find out what the lot is.  You can then either delete it, or fix the plugin.


    Beware: Emancipated user.  No Windoze for me.
    The teacher opens the door but the student must enter himself. - Ancient Chinese Saying

    Every minute of hate in which one indulges oneself is sixty seconds of happiness lost.
    Music expresses that which cannot be put into words and that which cannot remain silent. -- Victor Hugo
    If you always do what you've always done, you'll mostly get what you've always got.
    JohnNewSig.gif
    "We have met the enemy, and he is us" - Walt Kelly

    Come join us at the Moose Factory

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    I am just starting this process hooray.

    I assume its a single plug in effectinjg me now. I can start a new reigon and grow it out with no hassles. I have two maps that if I let run for 10 seconds they crash. I assume it's because its about to build a building that will kill it.

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    3.84GB Plugins, 2 that gave a crash. This method took me only 25 mins. 

     

    Thank you again!

    • Like 1

    ★★ Visit my YouTube Channel: Adoxx Productions for SimCity 4 Tutorials & Let's Plays! ★★

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    3.84GB Plugins, 2 that gave a crash. This method took me only 25 mins. 

     

    Thank you again!

     

    Could you name them, please? If they're available on Simtropolis, it may behoove us all that they not be. If not, perhaps someone will have an easier time identifying their crash.

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

     

    3.84GB Plugins, 2 that gave a crash. This method took me only 25 mins. 

     

    Thank you again!

     

    Could you name them, please? If they're available on Simtropolis, it may behoove us all that they not be. If not, perhaps someone will have an easier time identifying their crash.

     

     

    One of them was a terrain mod which bugged out with another terrain mod. Obvious conflict.

    The other one is SHK HD Rock mod, still figuring out what the problem is with this one.


    ★★ Visit my YouTube Channel: Adoxx Productions for SimCity 4 Tutorials & Let's Plays! ★★

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    One of them was a terrain mod which bugged out with another terrain mod. Obvious conflict.

    The other one is SHK HD Rock mod, still figuring out what the problem is with this one.

     

    Seeing as the rock mod uses HD textures, it'd require hardware rendering to work. If you're using software rendering, it would trigger a crash to desktop.

    • Like 1

    Quick Links

    “SimCity 4 is not just a game, but a tool driven by our own imagination and creativity.”

    Buy me a coffee

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

     

    One of them was a terrain mod which bugged out with another terrain mod. Obvious conflict.

    The other one is SHK HD Rock mod, still figuring out what the problem is with this one.

     

    Seeing as the rock mod uses HD textures, it'd require hardware rendering to work. If you're using software rendering, it would trigger a crash to desktop.

     

     

    Yes, Nonny told me too. My game crashes when I use hardware..


    ★★ Visit my YouTube Channel: Adoxx Productions for SimCity 4 Tutorials & Let's Plays! ★★

    Share this post


    Link to post
    Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     

     

    One of them was a terrain mod which bugged out with another terrain mod. Obvious conflict.

    The other one is SHK HD Rock mod, still figuring out what the problem is with this one.

     

    Seeing as the rock mod uses HD textures, it'd require hardware rendering to work. If you're using software rendering, it would trigger a crash to desktop.

     

    Just a quick note.  Running HD textures in software mode on my system does not trigger a CTD.  The objects do look funny though.  Windoze is obviously too delicate.

    • Like 1

    Beware: Emancipated user.  No Windoze for me.
    The teacher opens the door but the student must enter himself. - Ancient Chinese Saying

    Every minute of hate in which one indulges oneself is sixty seconds of happiness lost.
    Music expresses that which cannot be put into words and that which cannot remain silent. -- Victor Hugo
    If you always do what you've always done, you'll mostly get what you've always got.
    JohnNewSig.gif
    "We have met the enemy, and he is us" - Walt Kelly

    Come join us at the Moose Factory

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    As part of our ongoing reorganization, this topic has been unpinned. You can still post in it and the master list is the Crashes and Problems - Look Here First thread.

    -Cori


    Chance favors the prepared mind. ― Louis Pasteur  
    Remember, a few hours of trial and error can save you several minutes of looking at the README. -- I Am Devloper (on Twitter)

    Clickable ---> The Best of Cori's Posts  (scroll down a wee bit there)    Something fun: MySimtropolis - Invitation to become a SimCity 4 MySim

    Are you new here? Check out the Introduction and Guide to Simtropolis.

    Share this post


    Link to post
    Share on other sites

    Sign In or register to comment...

    To comment in reply, you must be a community member

    Sign In  

    Already have an account? Sign in here.

    Sign In Now

    Create an Account  

    Sign up to join our friendly community. It's easy!  

    Register a New Account


    • Recently Browsing   0 members

      No registered users viewing this page.

    ×

    Thank You for the Continued Support!

    Simtropolis depends on donations to fund site maintenance costs.
    Without your support, we just would not be in our 24th year online!  You really help make this a great community. *:thumb:

    But we still need your support to stay online. If you're able to, please consider a donation to help us stay up and running. This helps sustain a platform where we can share our community creations for years to come.

    Make a Donation, Get a Gift!

    Expand your city with the best from the Simtropolis Exchange.
    Make a Donation and get one or all three discs today!

    STEX Collections

    By way of a "Thank You" gift, we'd like to send you our STEX Collector's DVD. It's some of the best buildings, lots, maps and mods collected for you over the years. Check out the STEX Collections for more info.

    Each donation helps keep Simtropolis online, open and free!

    Thank you for reading and enjoy the site!

    More About STEX Collections