Urgent! Raw Yanfly script corrupting battles.

Koi

Veteran
Veteran
Joined
Aug 8, 2013
Messages
358
Reaction score
14
First Language
English
Primarily Uses
RMVXA
I felt that this needed its own thread, since this is technically an entirely other poblem.

I made a post concerning a Yanfly battle engine feature a while ago that has not been solved yet, but in the process of trying to fix that issue another one came up. Taking out the extra scripts we tried to use, and replacing the edited Yanfly battle engine script with its original version, still comes up with this error message when trying to enter a battle:



I even went to a back-up file that I had of the game and pasted in the battle engine script and a few other scripts that I had prior to the ones I tried using to fix the problem in my other thread, but it still had the same error.

I am using a number of different scripts. A combination of a couple of Victor Engine ones and Yanfly, but I have never had a problem combining these specific ones till now. And the other ones that I have are simple user scripts that were made for tiny stuff, like a line break fix and a region event ID thing Shaz made for me.

I have a .zip file of the game ready for anyone to look into it.

Please help, I am completely at a loss :c
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
It has to be something you have done in the project, because Yanfly's battle engine hasn't been changed in a long time and is probably one of the most used battle engines in the community.

Try to make the scripts work with their originals (no edits) in a new project, and check if you still get the error, and link us to the script's you're using.

If you edited a lot in those scripts, please also link the project file for us to get the edits.
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,846
First Language
English
What's Window_MACIM_Help.


I'm not sure if that is a yanfly window.
 
Last edited by a moderator:

ShinGamix

DS Style 4Ever!
Veteran
Joined
Mar 18, 2012
Messages
3,905
Reaction score
451
First Language
April Fools
Primarily Uses
N/A
please tell me your not using the continue option to test play!?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Should it be @actor_window= instead of actor_window= ? That would depend on what class that line belongs to, and where actor_window is defined.
 

Koi

Veteran
Veteran
Joined
Aug 8, 2013
Messages
358
Reaction score
14
First Language
English
Primarily Uses
RMVXA
please tell me your not using the continue option to test play!?

 
I'm choosing New Game.

What's Window_MACIM_Help.
I'm not sure if that is a yanfly window.
When it closes out of the playtest window and I go into scripts, it shows me this part of Yanfly's script:

Code:
  #--------------------------------------------------------------------------  # new method: set_help_window  #--------------------------------------------------------------------------  def set_help_window    @help_window.actor_window = @actor_window    @help_window.enemy_window = @enemy_window  end
 
Last edited by a moderator:

Yato

(aka Racheal)
Veteran
Joined
Mar 17, 2012
Messages
825
Reaction score
346
Primarily Uses
That still doesn't tell us what Window_MACIM_Help is. Use Ctrl+Shift+F in the scripts section, look for class Window_MACIM_Help, and let us know what script it's from. The issue is almost guaranteed to be with it and not yanfly or at least a compatibility issue between it and YF.
 
Last edited by a moderator:

Koi

Veteran
Veteran
Joined
Aug 8, 2013
Messages
358
Reaction score
14
First Language
English
Primarily Uses
RMVXA
That still doesn't tell us what Window_MACIM_Help is. Use Ctrl+Shift+F in the scripts section, look for class Window_MACIM_Help, and let us know what script it's from. The issue is almost guaranteed to be with it and not yanfly or at least a compatibility issue between it and YF.
Oh! It's on line 653 of Modern Algebra's customizable item menu! That's so weird. They have nothing to do with each other, and I have never had an issue with these two scripts! D:

For some reason I can't find that script on the internet anymore, so I just put the script into Pastebin here.
 

orochii

Abomination of life, or life itself.
Veteran
Joined
Apr 29, 2012
Messages
652
Reaction score
364
First Language
Spanish
Okay, that explains MACIM (Modern Algebra's Custom Item Menu). So, I'm pretty sure it is an incompatibility between those two. 

This could help with THAT specific portion, look for that Window_MACIM_Help class and add this line:

attr_accessor :actor_window, :enemy_windowStill this doesn't warranties the proper behaviour of the script neither stopping it from spitting any other errors.
So, try that, and let's see what else it throws to us (?),

Orochii Zouveleki
 

Yato

(aka Racheal)
Veteran
Joined
Mar 17, 2012
Messages
825
Reaction score
346
Primarily Uses
It is a compatibility problem between the two scripts. The YF battle system makes a new help window, Window_BattleHelp, for use in the battle screen. MACIM, which I'm not familiar with in the least, is making a modified standard help window to show more lines or an image? if I'm quickly skimming the comments correctly. It's hard to say without studying the scripts in depth what the best solution for compatibility might be. You could try placing the YF script below MACIM and see if it helps. That should at least make the help window in the battle screen a BattleHelp window again.
 
Last edited by a moderator:

Koi

Veteran
Veteran
Joined
Aug 8, 2013
Messages
358
Reaction score
14
First Language
English
Primarily Uses
RMVXA
Wow, that actually helped!

...But now the free-turn battle script doesn't work. Man, this has never happened before...

My friend has a copy of the game I sent to her, which is more recent then my last back-up, so I think I'm just going to work from that :c And try not to mess with any more scripts that I already have in place.

Thank you though!
 

Yato

(aka Racheal)
Veteran
Joined
Mar 17, 2012
Messages
825
Reaction score
346
Primarily Uses
Free turn needs to be under the standard YF battle system as it builds and expands on it. Script order can be really important, and there's no catch-all answer without looking at the scripts individually.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,859
Messages
1,017,030
Members
137,566
Latest member
Fl0shVS
Top