Help - Search - Members - Calendar
Full Version: can anyone help me out o.o
RPG RPG Revolution Forums > Scripting > Event Emporium
SloaTheDemon
ok ik i pobably put in the place but i didn't know where else to put it but here so anyway

i keep getting this error come up when i start playtesting

script 'scene_battle' line 616 NoMethodError occured

undefined method `-@ for Nil:Class

can anyone help?
lilcooldude69
QUOTE (SloaTheDemon @ Oct 16 2011, 02:02 PM) *
ok ik i pobably put in the place but i didn't know where else to put it but here so anyway

i keep getting this error come up when i start playtesting

script 'scene_battle' line 616 NoMethodError occured

undefined method `-@ for Nil:Class

can anyone help?

did you check line 616 in the scene_battle script, to see if there was an error, if not go see if u can copy and paste that area on to here, it should look like this

CODE
     text = sprintf(Vocab::ObtainGold, gold, Vocab::gold)
      $game_message.texts.push('\.' + text)
    end
    wait_for_message
  end
  #--------------------------------------------------------------------------
  # * Display Gained Drop Items
  #--------------------------------------------------------------------------
  def display_drop_items
    drop_items = $game_troop.make_drop_items
    for item in drop_items
      $game_party.gain_item(item, 1)
SloaTheDemon
i've checked it but it's saying that the end is an error idk wats up >.<
SloaTheDemon
ok dw i fixed by creating a new project and replacing the Scene_battle from the new project to my new lol. Idk why i didn't think of that in the first place xD
lilcooldude69
lol i was about to tell you to do that xD, glad you fixed it though.
Redd
It IS in fact the wrong place, you should've just put it in RMVX General, but since you've found your answer I'll lock the topic for you wink.gif
lock.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.