Notice: fwrite(): Write of 44 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96

Notice: fwrite(): Write of 8192 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96
[request]Script wont work
Main Menu
  • Welcome to The RPG Maker Resource Kit.

[request]Script wont work

Started by Bearrick, October 26, 2008, 12:30:14 AM

0 Members and 1 Guest are viewing this topic.

Bearrick

i cant seem to get this full screen script to work

the scene title keeps having an error on line 7

[spoiler]
#==============================================================================
# Scene_Title
#==============================================================================

class Scene_Title
 
  alias main_fullscreen? main
  def main
    if TONS_OF_ADDONS::FULLSCREEN && !$DEBUG
      unless $game_started
        Graphics.freeze
        $data_system = load_data('Data/System.rxdata')
        $game_system = Game_System.new
        @window = Window_FullScreen.new(320, ['Yes' ,'No'])
        @window.x = 320 - @window.width / 2
        @window.y = 240 - @window.height / 2
        @window.opacity = 0
        Graphics.transition(10)
        loop do
          Graphics.update
          Input.update
          @window.update
          update_window
          break if $game_started
        end
        Graphics.freeze
        @window.dispose
        @window = nil
        Graphics.transition(10)
        Graphics.freeze
      end
    else
      $game_started = true
    end
    main_fullscreen?
  end
 
  def update_window
    if Input.trigger?(Input::C)
      if @window.index == 0
        $game_system.se_play($data_system.decision_se)
        keybd = Win32API.new 'user32.dll', 'keybd_event', ['i', 'i', 'l', 'l'], 'v'
        keybd.call 0xA4, 0, 0, 0
        keybd.call 13, 0, 0, 0
        keybd.call 13, 0, 2, 0
        keybd.call 0xA4, 0, 2, 0
      else
        $game_system.se_play($data_system.cancel_se)
      end
      $game_started = true
    elsif Input.trigger?(Input::B)
      $game_system.se_play($data_system.cancel_se)
      $game_started = true
    end
  end

end
[/spoiler]

ahref


DeathLock~

You were using Blizzard's Tons of Addons, but made the full screen individual script so that's why you're getting an error. You could either use the whole tons of addons scripts or ask someone to make the full screen script individual.

Tons of Addons Link