메뉴 건너뛰기

창조도시 기록보관소

RPG2K rpgxp]avi 실행시키는 스크립트에서 오류가 납니다...

2005.09.17 07:17

오렌지맨 조회 수:612



첨부파일 1번은 그 스크립트를 사용하고 나오는 오류입니다.


이 스크립트 http://rpgxp.zetyx.net/ 여기서 찾았는데요..
여기서 하라는 데로 폴더 만들고 파일도 넣었는데도 이러네요..
어디에 문제가 있는건가요?

참고로 그 스크립트가 있는 주소는
http://lee5948.cafe24.com/zeroboard/zboard.php?id=rgss1&page=1&sn1=&divpage=1&sn=off&ss=on&sc=on&keyword=avi&select_arrange=headnum&desc=asc&no=11
입니다.

아래는 스크립트 원본 입니다.
class Scene_Movie

def initialize(movie,length,exit_to_game=true)
   @readini = Win32API.new 'kernel32', 'GetPrivateProfileStringA', %w(p p p p l p), 'l'
   @movie_name = Dir.getwd()+"\\Movies\\"+movie+".<font color=FF001E style=background-color:FFF000;>avi</font>"
   @counter = length*10
   @exit_to_game = exit_to_game
   main
end

def main
   game_name = "\0" * 256
   @readini.call('Game','Title','',game_name,255,".\\Game.ini")
   game_name.delete!("\0")
   Graphics.transition
   @wnd = Win32API.new('user32','FindWindowEx','%w(l,l,p,p)','L')
   @temp = @wnd.call(0,0,nil,game_name).to_s
   @movie = Win32API.new('winmm','mciSendString','%w(p,p,l,l)','V')
   @movie.call("open \""+@movie_name+"\" alias FILE style 1073741824 parent " + @temp.to_s,0,0,0)
   @message = Win32API.new('user32','SendMessage','%w(l,l,l,l)','V')
  
   @detector = Win32API.new('user32','GetSystemMetrics','%w(l)','L')
   @width = @detector.call(0)
   if @width == 640
     fullscreen
     Screen::update
     sleep(1)
     Screen::update
     sleep(1)
     Screen::update
     sleep(1)
   end
  
   @movie.call("play FILE",0,0,0)
   loop do
    sleep(0.1)
    @message.call(@temp.to_i,11,0,0)
    Graphics.update
    @message.call(@temp.to_i,11,1,0)
    Input.update
    if Input.trigger?(Input::B)
      Input.update
      break
    end
    @counter = @counter - 1
    if @counter <= 0
      break
     end
   end
   @movie.call("close FILE",0,0,0)
   if @exit_to_game
     $scene = Scene_Map.new
   else
     $scene = nil
   end
   Graphics.freeze
   if @width == 640
     fullscreen
   end
end
end

def fullscreen()

$full.call(18,0,0,0)
$full.call(13,0,0,0)
$full.call(18,0,2,0)
$full.call(13,0,2,0)
end
$full = Win32API.new('user32','keybd_event','%w(l,l,l,l)','')

여기까지 입니다. 5번째 줄에서 오류가 나네요..

번호 제목 글쓴이 날짜 조회 수
7090 RPGXP 게임을 실행하는데 화면이 ; [1] 쪼리기 2007.01.31 625
7089 [RPGXP]액션 알피지에서 몬스터가 2가지 이상 공격하는 법(빠른답변부탁드립니다) [2] cyverjen 2007.02.25 624
7088 rpgxp 스크립트에 사용되는 루비어? [2] 모스쿠바 2005.08.06 624
7087 RPG 2000을 실행하면 검은 화면만 ; [2] 세지 2006.11.03 622
7086 rpg만들기xp에 대한 질문 3개 [1] 코로네 2006.04.26 620
7085 이펠리아 대륙전기 2 [1] 화니인 2009.07.09 619
7084 알만툴2000은 프레임이 99가 한계인데 늘릴수는 없는것인가요? [3] 카이샬리 2008.05.17 619
7083 RPG XP 조작키 변경에 대해 가르쳐주세요 [1] Raview 2007.09.19 617
7082 rpgxp 스크립트 에러 질문 [3] DJMAX 2008.02.16 614
7081 RPGXP 동영상 재생방법 rkskekfk 2007.04.02 613
7080 (RPG2003)그림표시에 관해 질문. [1] 미토스 2007.01.26 612
» rpgxp]avi 실행시키는 스크립트에서 오류가 납니다... file 오렌지맨 2005.09.17 612
7078 RPGVX 에서 세트 아이템 설정하려고 하는데 잘 안되네요 [2] 열정적으로 2008.11.26 611
7077 이펠리아대륙전기EP2 자하드사막의전설의검 어디서찾나요 ???? 자하드전설의검점 2009.07.13 608
7076 RPG만들기2003 패치문제 [1] 카르고의날개 2007.03.18 607
7075 RPG2000에 대해서 정말로 많이 궁금한게있습니다. [1] 이누야샤RPG만들쟈! 2005.08.20 607
7074 거기 잘생기고 예쁜분들. 'RPGXP'는 어디서 구합니까..? KBOY∮ 2005.07.21 606
7073 rpg2000 주인공 일행수에 대해 질문이요.... [4] 디에프나나 2007.07.21 603
7072 rpg2000 03 xp 그리고 런타임패키지 페라리a 2005.12.25 602
7071 게이지 바 만들기 [3] file †호크† 2010.01.07 600