I have this problem right, that I get a "Script 'YEZ Battle Engine Zealous' line 3284 : SystemStackError occurred. stack level too deep.Any idea what is causing the problem? I've got a whole bunch of custom scripts in the game so it might be a bit tedious to sort through all of them but anyway here is the list of the scripts I have:
WORA_MissFilePrevent
KGC_MapLightening
KGC_LimitBreak
KGC_InterfaceForWin32API
KGC_FileEncryption2
KGC_CompressSaveFile
KGC_ScreenCapture
KGC_ChangeSystemTerms
KGC_BitmapExtensions
KGC_HelpExtension
KGC_DrawFormatText
KGC_FrameShadowText
KGC_MathReinforce
KGC_OldEventCommands
YERD_SkillSlots
YERD_Subclass
KGC_CategorizeSkill
YEZ_BattleEngineZealous
KGC_HiddenSkill
YERD_ShopDiscounts
YERD_SkillDisplay
YERD_ItemDisplay
WORA_NeoSaveSystem3
YERD_StatusResistFix
YERD_MonsterReappearFix
YERD_InterfaceFix
YERD_BitmapFix
YERD_UseItemFix
YERD_ShowSkillFix
YERD_AnimationFix
YERD_TurnOrderFix
WORA_GradientBugFix
MITH_ItemSelectFix
MITH_Phys/MagAmbFix
MALG_ParagraphFormatter
MALG_ATSVersion2.0
MALG_ATSExtractionFix
MALG_ATSRandomPitch
MALG_ATSColorFix
MALG_ATSSkipFix
MALG_MessageSkipFix
YERD_BattleAggro
YERD_BattleBarehand
YERD_BattleMorale
YERD_CustomBattleAction
YERD_DmgFormula
YERD_ElementAffinity
YERD_UsableEquipment
YERD_SkillEffects
YERD_StatusEffects
YERD_TargetEffects
YERD_TurnOrderDelay
YERD_PartyDisplay2.0
YERD_EnemyLevelControl
YERD_VictoryAftermath
YERD_VictoryExtend
MALG_YerdAfterMathFix
YERD_JPDisplay
SYNTH_GuardRevover
KGC_ExtraDropItem
KGC_BattleDifficulty
KGC_VariableExpGold
KGC_ForceStopVictoryME
KGC_CatagorizeItem
KGC_Steal
KGC_SlipDamageExtension
KGC_ReverseDamage
YERD_SceneShop
ORIW_DebugTools
ORIW_F9BattleDebug
YERD_IconView
WORA_AutoBackup
YERD_IconReference
It would be the absolute fucking best if somone could help me =).
Well, it's probably a recursion error, but with that many scripts it will be tough to figure out which one is incompatible. The most I can say is that it's probably one of the YERD scripts, since he might've used an alias name that he had used previously without thinking about it. But it could be any of them as far as I know. Start by making a new project with all those scripts and start removing the others one by one until the error goes away - the last one you removed is probably the one that is incompatible, but to test it, then try to make a project with only that script and the battle one and see if the error still occurs. If so, then post me links to those two scripts and I'll see if I can fix it.
Thanks, I'll do that when I get home :blizj:
This is the link to the Yanfly battle script
http://www.pockethouse.com/mambo/scripts/battle_engine_zealous.txt (http://www.pockethouse.com/mambo/scripts/battle_engine_zealous.txt)
I don't know if this helps but here is the screenshot of where the error is coming from:
Scripting Prob(1)
And here is the script that is conflicting with it
http://www.pockethouse.com/rpgvx/scripts/displaypartydata.txt (http://www.pockethouse.com/rpgvx/scripts/displaypartydata.txt)
I went to the area that was conflicting, and i searched for "displaypartydata_initialize" in all of the Yerd scripts until i found this
Scripting prob(2)
I tried taking out the alias and it worked fine with no bugs or errors. Is that an okay thing to do?
No, you should leave it in, but change its name in one or the other script.
So instead of
alias displaypartydata_initialize initialize unless $@
def initialize
displaypartydata_initialize
just change it to:
alias nathanael_displaypartydata_initialize initialize unless $@
def initialize
nathanael_displaypartydata_initialize
in one of the scripts; doesn't matter which one, as long as it isn't both.
Damn. It's that simple?
yeah, pretty much. You could also just delete one of the methods altogether since they both do the same thing.
New problem: I can't go into items or skills when I'm battling.
It gives a "Script 'YEZ Battle Engine Zealous' line 3268: ArgumentError Occurred. wrong number of arguments(2 for 1)"
And call me an idiot, but here's what I did:
alias nathanael_refresh refresh unless $@
def refresh
nathanael_refresh
self.contents.clear
@item_max = 1
draw_item($scene.active_battler.index, true)
end
And yeah. Thanks dude.
Well, are you sure you need this YERD Display Party Data script? Since YEZ is an upgrade, maybe that system includes it already, and you might be able to just delete it.
Yip, did that and it works perfectly. Thanks a lot!