TopHatGuy

Villager
Member
Joined
Feb 15, 2022
Messages
19
Reaction score
6
First Language
English
Primarily Uses
RMVXA
I start a battle then it says this error :(

Script 'Window_Selectable' line 61: ZeroDivisionError occured

divided by 0

This is Window_Selectable line 61

def row_max
[(item_max + col_max - 1) / col_max, 1].max
end
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
4,287
Reaction score
1,168
First Language
English
Primarily Uses
RMVXA
Check to make sure there are enemies and they have graphics for them.
Do you have actors in the party?
Is this a test battle or game play?
What scripts do you have?
 

AkiraKotatsuhime

炬燵姫
Veteran
Joined
Jan 2, 2013
Messages
210
Reaction score
159
First Language
DE / ドイツ語
Primarily Uses
N/A
There has to be something in the code that re-defines #col_max as 0. Or maybe defines it flexible, but the result of calculation is 0 for whatever reason.

If there is a script in your game that uses an object-instance based on Window_Selectable or any class that inherits from it inside battle, it may contain the problem's source. With pure default code I don't think this error could ever happen.

~炬燵あ
 

TopHatGuy

Villager
Member
Joined
Feb 15, 2022
Messages
19
Reaction score
6
First Language
English
Primarily Uses
RMVXA
Check to make sure there are enemies and they have graphics for them.
Do you have actors in the party?
Is this a test battle or game play?
What scripts do you have?
a script was on that stops battles sorry for wasting your time
 

Latest Threads

Latest Posts

Latest Profile Posts

Food for thought. Factorio: Spaghetti belts make your factory inefficient as you fight for space constantly. Satisfactory: Spaghetti belts and massive clipping is the most efficient way to run your factory since it's the shortest distances.
ScreenShot_8_19_2022_8_51_4.png
Both Mike and Ray here are in a "HYPE!" state after Mike uses "Wild Party", which also heals everyone. they'll do more damage and counter more often, but defense is lower along with hit rate.
WHEEL3.gif
Ooker spookers and fun attack mechanics! What a Friday!
Not today... Not today...
I guess I should send my CV to Hasbro. I've made Monopoly cheaters edition more fun and challenging. I've developed custom cheats and chest/chance cards for it. And I've cleared many nightmares through my cards and rules.

Forum statistics

Threads
124,708
Messages
1,165,418
Members
163,521
Latest member
Balalaika
Top