Author Topic: 1.0.5.1 - Updating Books - Crashes  (Read 1994 times)

0 Members and 1 Guest are viewing this topic.

Offline trechriron

  • Initiate
  • *
  • Posts: 136
  • OIC Points +0/-0
  • Bard, Dreamer, & RPG Enthusiast
1.0.5.1 - Updating Books - Crashes
« on: November 08, 2014, 01:08:52 AM »
Every time I set the base rules to "true" for Martial Law or College of Magics the app crashes. :-(

Thoughts?
Trentin C Bergeron (TreChriron)
Bard, Dreamer, & RPG Enthusiast

Offline DavidKlecker

  • Senior Adept
  • **
  • Posts: 698
  • OIC Points +0/-0
  • Everything is coming up Milhouse!
Re: 1.0.5.1 - Updating Books - Crashes
« Reply #1 on: November 08, 2014, 04:33:22 PM »
I am also a little confused on this one. When you say "base rules" do you mean you are setting the baseRules for all the xml databases to true for Martial Law or that you are just setting Martial Law to use=true? If you are setting all xml databases under martial law and college of magics to baseRules=true then yes you will get a conflict and I would be surprised to hear if the app would be stable.

Changing the database settings is certainly encouraged, but it must be done with prudence and knowing what that change means to its communication in the software. Baserules only apply to those xml database you want to be the base rule in the software. You can't have the same xml database in Martial Law and in College of Magics both be true for baseRules. Only one xml database can be set to baseRules true. Here's a clearer example.

Harp Fantasy, Martial Law and College of Magics all have the same xml database structure. For example a profession database exists for Harp Fantasy, Martial Law and College of Magics regardless if there is no information from the book to provide. I but the database in there on the off chance the user wants to add something of their own. In the case of the profession database only one profession database can be set to baseRules=true, be that the profession database in Martial Law, College of Magics or Harp Fantasy. If you set one of these databases to baseRules=true one needs to make sure there are base rules defined. I admit, it's not a perfect system, and it can be improved, but this should be enough to help in making sure the databases talk well to the application. If you have any further questions, I will be happy to fill in the blanks. This part of the application I have noticed is the trickiest part. So I do plan to look into ways to improve it, but for now, it is where it is. :(

The best way to know if you have the baserules defined correctly is to make sure you have only set database set to true between all the other databases. I believe there are 17 database files per database installed. Therefore in the whole config.xml file, there should be only 17 databases set to baseRules=true. The rest should be set to false.

Offline trechriron

  • Initiate
  • *
  • Posts: 136
  • OIC Points +0/-0
  • Bard, Dreamer, & RPG Enthusiast
Re: 1.0.5.1 - Updating Books - Crashes
« Reply #2 on: November 08, 2014, 05:57:48 PM »
So, it all is available for use then? Even with CoM and ML set to "false"?
Trentin C Bergeron (TreChriron)
Bard, Dreamer, & RPG Enthusiast

Offline DavidKlecker

  • Senior Adept
  • **
  • Posts: 698
  • OIC Points +0/-0
  • Everything is coming up Milhouse!
Re: 1.0.5.1 - Updating Books - Crashes
« Reply #3 on: November 08, 2014, 10:52:27 PM »
If you set the book itself to use=true, that means the book will be used. You can have all three books set to use. There should be no conflict in that. Although I would actually be surprised in a conflict happening with base rules after checking the code. You might have to help me out with telling me where it is crashing and perhaps sending me your config.xml. This can be found in the Harp Database/Harp Fantasy folder. You can send it to perfecthundred@gmail.com

Cheers.