Chaos Project

RPG Maker => RPG Maker Scripts => Script Troubleshooting => Topic started by: BetaGod on April 15, 2013, 09:59:41 pm

Title: [RESOLVED] - A little help with an incompatibility issue?
Post by: BetaGod on April 15, 2013, 09:59:41 pm
So i have the Passive Augments (http://forum.chaos-project.com/index.php/topic,5125.0.html) script by Xelias and the Threat System (http://forum.chaos-project.com/index.php/topic,4174.0.html) one by Fantasist.

There seems to be a problem with Passive Augments that causes my actors to not gain any threat at all when dealing damage. Can anybody help me out to identify the problem and edit the script properly?
Title: Re: [RMXP] - A little help with an incompatibility issue?
Post by: G_G on April 15, 2013, 10:08:57 pm
Try placing the Threat System underneath the Passive Augments script. The Passive Augments overwrites certain methods in Game_Battler where Threat System used the aliasing technique to prevent incompatibilities.
Title: Re: [RMXP] - A little help with an incompatibility issue?
Post by: BetaGod on April 15, 2013, 10:29:14 pm
Oh i see. I thought the placement order would not be important since i did some major modifications on the Passive Augments script.  :shy: Sorry for the silly question and thanks for your help!
Title: Re: [RMXP] - A little help with an incompatibility issue?
Post by: G_G on April 15, 2013, 10:57:26 pm
Script placement shouldn't have to be important but it is because there are some lazy scripters out there, there are scripters who don't know how to alias, and there are times when you just can't alias a method and you have to overwrite it. Which is why Blizzard recommends placing all of his scripts below everyone else's because he aliases every single method (or tries to) and usually doesn't screw anything up.
Title: Re: [RMXP] - A little help with an incompatibility issue?
Post by: BetaGod on April 15, 2013, 11:24:29 pm
I actually didn't know that  :huh: Thanks for the info, i am sure it will save me a lot of trouble in the future.