View Single Post
 
Reply
Posted 2008-10-13, 09:41 PM in reply to flappykun2349's post "guys this is pissin me off what do i..."
flappykun2349 said: [Goto]
ok in my "bunch o addons script" theres this caterpillar part that allows you to have our party members following you,or come out of the main character like in the old school FF games,etc. anyways my prob is this


def update_buffer(next_move)
if next_move == nil
@members.each {|member| member.buffer = []}
else
@members.each {|member| member.update_buffer(
next_move == 'reset' ? nil : next_move)}
end
end


there is something wrong with this line

@members.each {|member| member.buffer = []}

and it keeps sayingscript 'bunch of addons' 2129:NoMethodError ocurred "underfined method 'each' for nil:Nil Class"


can someone help my prob?

Can you post the entire script. I know Ruby now. So I can probably figure out the problem. However, I want to see the entire script.
 
Work List
疲れていますから 寝むってありますね。 むずかしいです。 また、ケーキ屋で ケーキを食べていました。

I've considered being a translator, but I dunno. It feels like a lot of work. If someone gets angry then I have to deal with it, you know? I'd rather just relax.

 
Speed Test
 
Favorite Anime/Manga
#01 Clannad ~After Story~
#02 Trigun {Maximum}
#03 Koi Kaze
#04 Berserk
#05 Outlaw Star
#06 Slayers
#07 Desert Punk
#08 Spirited Away
#09 Fullmetal Alchemist
#10 Shakugan no Shana
#11 Death Note
#12 FLCL
#13 Tokyo Magnitude 8.0
#14 Toradora
#15 Gunslinger Girl

 
Anime List
Old
Profile PM WWW Search
Goodlookinguy seldom sees opportunities until they cease to beGoodlookinguy seldom sees opportunities until they cease to beGoodlookinguy seldom sees opportunities until they cease to beGoodlookinguy seldom sees opportunities until they cease to be
 
 
Goodlookinguy