Problem in line 266 of Game_Actor

Joined
Jun 10, 2014
Messages
2
Reaction score
0
First Language
English
Primarily Uses
Alright, so this is interesting.

My line 266 in Game_Actor looks like this. item.etype_id == equip_slots &&

Now, I'm not really sure if this is wrong, but every time I hit optimize in the equipment section while playtesting, the game crashes. Pretty game-breaking.

 

In a possibly related error, when loading a game all equipment a player has except for weapons is wiped. Completely gone. Are the two related? I got no idea. I can work around equipment disappearing with an in-game mechanic and shrug it off as a high difficulty piece, but I really need this optimization thing fixed up.

 

For those that ask, here's the full error message.

 

Script 'Game_Actor' line 266: NoMethodError occured.

 

undefined method 'etype_id' for nil:NilClass
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
38,482
Reaction score
12,025
First Language
English
Primarily Uses
RMMV
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.


I'm guessing you're using extra scripts? Which one(s)? Please provide links.
 
Joined
Jun 10, 2014
Messages
2
Reaction score
0
First Language
English
Primarily Uses
Sorry, I wasn't really sure what kind of issue it was.

Here's the only scripts I'm using.

Weapon/Armor Randomization

http://forums.rpgmakerweb.com/index.php?/topic/14771-weaponarmor-randomization/

Ace Save Engine

http://yanflychannel.wordpress.com/rmvxa/menu-scripts/ace-save-engine/

Ace Battle Engine

http://yanflychannel.wordpress.com/rmvxa/battle-scripts/ace-battle-engine/

Edit:

Just tested those three scripts together in a blank project, and I couldn't recreate the problem.

I need like a bump to this problem, I just got it again after fixing it. No clue how I fixed it, no clue what caused it.
 
Last edited by a moderator:

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

Latest Threads

Latest Posts

Latest Profile Posts


The main character of the book)
Things you can say about your rpg maker project but not your bf/gf: I'm not super committed but it's fun to play around with it.
putting a puzzle in my game that BSODs the player's computer if they complete it
I finally got a book out the door after seven years of nothing \^-^/ Now if I can get a game out the door too, that'd be great...

Forum statistics

Threads
94,366
Messages
920,300
Members
124,131
Latest member
Tharene
Top