메뉴 건너뛰기

창조도시 기록보관소

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번째 줄에서 오류가 나네요..

번호 제목 글쓴이 날짜 조회 수
4779 rpg2003툴 질문입니다 [1] *늘푸른달빛* 2005.06.02 660
4778 서프라이시아 2부에서 [4] 아돌 2006.04.20 653
4777 rpg xp 여러가지 질문 [4] 人生은 鸞誌라 2005.06.19 652
4776 rpg만들기게임실행하면 검은화면에소리만나요 [1] 젤후다 2007.03.11 648
4775 RPG XP 긴급질문!!!! 나철 2005.08.20 643
4774 rpgxp 런타임패키지 [3] 알거엄서 2006.03.30 640
4773 C언어로 게임 만들기에 대해.. [1] †호크† 2009.07.17 634
4772 RPGxp설치하고.. 실행할때 오류가.. [3] file 가람군 2005.05.22 633
4771 RPG2003액알 모션 어떻게 만들어요? 어둠의축복 2007.01.10 629
4770 '리스트의 인덱스가 범위를 초과하는 에러' 해결좀... [1] 닝구 2008.07.20 628
4769 RPGXP 칩만들기? 암튼 제발봐주세요 [2] file GenTry 2005.07.04 627
4768 rpgxp 스크립트에 사용되는 루비어? [2] 모스쿠바 2005.08.06 624
4767 [RPGXP]액션 알피지에서 몬스터가 2가지 이상 공격하는 법(빠른답변부탁드립니다) [2] cyverjen 2007.02.25 624
4766 RPG 2000을 실행하면 검은 화면만 ; [2] 세지 2006.11.03 622
4765 rpg만들기xp에 대한 질문 3개 [1] 코로네 2006.04.26 620
4764 이펠리아 대륙전기 2 [1] 화니인 2009.07.09 619
» rpgxp]avi 실행시키는 스크립트에서 오류가 납니다... file 오렌지맨 2005.09.17 612
4762 (RPG2003)그림표시에 관해 질문. [1] 미토스 2007.01.26 612
4761 RPGVX 에서 세트 아이템 설정하려고 하는데 잘 안되네요 [2] 열정적으로 2008.11.26 611
4760 이펠리아대륙전기EP2 자하드사막의전설의검 어디서찾나요 ???? 자하드전설의검점 2009.07.13 608