RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
HELP!!!

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 82
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 =).



*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
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.

**
Rep:
Level 82
Thanks, I'll do that when I get home :blizj:



**
Rep:
Level 82
This is the link to the Yanfly battle script

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
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?





*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
No, you should leave it in, but change its name in one or the other script.

So instead of

Code: [Select]
alias displaypartydata_initialize initialize unless $@
def initialize
  displaypartydata_initialize

just change it to:

Code: [Select]
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.

**
Rep:
Level 82
Damn. It's that simple?



*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
yeah, pretty much. You could also just delete one of the methods altogether since they both do the same thing.

**
Rep:
Level 82
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.



*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
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.

**
Rep:
Level 82
Yip, did that and it works perfectly. Thanks a lot!