The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: Zetara on February 16, 2011, 04:52:26 PM

Title: (resolved) Poker script help.
Post by: Zetara on February 16, 2011, 04:52:26 PM
So I'm making a game and you can play poker, I got a poker playing script from. Author: ehime. I t was all in Japanese I translated it and put it into a test game to see if it would work in English. It works except every time I shop and than try to leave the shop I get this error. Script 'Game_Interpreter' line 750: NoMethodError occurred. undefined method '[]' for nil:NilClass (See picture)
I'll also post the original Demo and the test Demo I did.
Here's the link to the demo http://www.mediafire.com/?7lmvdm9rtshctvc (http://www.mediafire.com/?7lmvdm9rtshctvc)

Thanks A LOT!!! For the Help!!!
Zetara 
Title: Re: Poker script help.
Post by: pacdiggity on February 16, 2011, 08:10:00 PM
Doesn't that just mean that you've left an array blank? Sorry, I'm not a scripter, but I'm quite good at troubleshooting game problems. Go through this poker script in search of your blank array and tell us what you find. I'll download the demo tonight and repost it if I fix it. :P
Title: Re: Poker script help.
Post by: Zetara on February 16, 2011, 08:43:16 PM
Quote from: Welfare-Daddy Pacman on February 16, 2011, 08:10:00 PM
Doesn't that just mean that you've left an array blank? Sorry, I'm not a scripter, but I'm quite good at troubleshooting game problems. Go through this poker script in search of your blank array and tell us what you find. I'll download the demo tonight and repost it if I fix it. :P

Thanks for the help. Why didn't I think about that before :lol: Again thank you for you help.