TopHatGuy

Villager
Member
Joined
Feb 15, 2022
Messages
17
Reaction score
5
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,280
Reaction score
1,167
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
209
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
17
Reaction score
5
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 Profile Posts


and an original idea of people having alter egos is back... finally.
Another camping area.
I just found out somebody pirated my 3,99$ game. I spent over a year making it and somebody just publish it for free a week after early access released.

I should be glad, cuz if they pirate you, that means your game has to be good, but im not. I barely sold any copy. Didn't get any info from most of the sites I wrote.
So I'm hoping that I get an MRI on my knee soon, but until then, I'm on a prescription dosage of ibuprofen. It's definitely helping, but my knee is still hurting and occasionally locks up. The urgent care doctor was convinced it's a meniscus tear due to it locking, and said that if it is, I'll need surgery. :(

Forum statistics

Threads
124,639
Messages
1,164,915
Members
163,460
Latest member
Wilprodd
Top