设为首页收藏本站|繁體中文

Project1

 找回密码
 注册会员
搜索

【求助】修改合成系统后的毛病

查看数: 1910 | 评论数: 6 | 收藏 0
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2012-5-26 15:03

正文摘要:

#============================================================================== # 本脚本来自www.66RPG.com,使用和转载请保留此信息 #======================================================================= ...

回复

chd114 发表于 2012-5-26 16:31:07
kangxi0109 发表于 2012-5-26 16:19
之前有接触过一个添加了成功率的脚本,希望对你有帮助。
如何让合成脚本合成成功率显示出来?再次提高悬赏
...

我说的是简介···而且现在已经解决···

点评

刚才在忙其他的事,没注意看。  发表于 2012-5-26 16:51
kangxi0109 发表于 2012-5-26 16:19:51
之前有接触过一个添加了成功率的脚本,希望对你有帮助。
如何让合成脚本合成成功率显示出来?再次提高悬赏
http://rpg.blue/thread-230304-1-1.html
chd114 发表于 2012-5-26 15:52:12
LOVE丶莫颜 发表于 2012-5-26 15:40
以前解决这类问题的地址↓
http://rpg.blue/forum.php?mod=viewthread&tid=217495
http://bbs.66rpg.c ...

刚才我P了下脚本,是介绍出不来有错误···和这些错误无关啊


‘‘──chd114于2012-5-26 15:52补充以下内容

加了照样出错
’’


‘‘──chd114于2012-5-26 15:53补充以下内容

[@]LOVE丶莫颜[/@]······你要搞清楚我放的是装备介绍不是学习出错
’’


‘‘──chd114于2012-5-26 15:58补充以下内容

[@]hcm[/@]······[@]kangxi0109[/@]······
’’

点评

表示你的@失灵了.. 这样都不行的话,坐等大大吧....我...路过。  发表于 2012-5-26 15:54
LOVE丶莫颜 发表于 2012-5-26 15:40:05
本帖最后由 hcm 于 2012-5-27 00:20 编辑

以前解决这类问题的地址↓
http://rpg.blue/forum.php?mod=viewthread&tid=217495
http://rpg.blue/forum.php?mod=viewthread&tid=183697
http://rpg.blue/forum.php?mod=viewthread&tid=182626

要是不行就加一个“容错V3吧。”
  1. #==============================================================================
  2. # ■ 容错脚本第3版                                              BY 轮回者
  3. #------------------------------------------------------------------------------
  4. #  本脚本基于星大叔的容错脚本第2版,区别只是“下手”的地方不同而已。
  5. #  说明请参看星大叔的容错脚本第2版。
  6. #==============================================================================

  7. $need_file_bitmap = []
  8. if FileTest.exist?("log_bitmap.txt")
  9.   f = File.open("./log_bitmap.txt","r")
  10.   $need_file_bitmap = f.read.split(/\n/)
  11.   f.close
  12. end

  13. module Graphics
  14.   @transition = method("transition")
  15.   def self.transition(*arg)
  16.     begin
  17.       @transition.call(*arg)
  18.     rescue Errno::ENOENT
  19.       ary=[*arg]
  20.       filename=ary[1]
  21.       unless $need_file_bitmap.include?(filename)
  22.         $need_file_bitmap.push(filename)
  23.         f = File.open("./log_bitmap.txt","a")
  24.         f.write(filename + "\n")
  25.         f.close
  26.       end
  27.       @transition.call(ary[0])
  28.     end
  29.   end
  30. end

  31. class Bitmap < Object
  32.   alias ini initialize
  33.   def initialize(*arg)
  34.     begin
  35.       ini(*arg)
  36.     rescue Errno::ENOENT
  37.       filename=[*arg][0]
  38.       unless $need_file_bitmap.include?(filename)
  39.         $need_file_bitmap.push(filename)
  40.         f = File.open("./log_bitmap.txt","a")
  41.         f.write(filename + "\n")
  42.         f.close
  43.       end
  44.       ini(32,32)
  45.     end
  46.   end
  47. end

  48. $need_file_audio = []
  49. if FileTest.exist?("log_audio.txt")
  50.   f = File.open("./log_audio.txt","r")
  51.   $need_file_audio = f.read.split(/\n/)
  52.   f.close
  53. end

  54. module Audio
  55.   @me_play = method("me_play")
  56.   def self.me_play(*arg)
  57.     begin
  58.       @me_play.call(*arg)
  59.     rescue Errno::ENOENT
  60.       filename=[*arg][0]
  61.       unless $need_file_audio.include?(filename)
  62.         $need_file_audio.push(filename)
  63.         f = File.open("./log_audio.txt","a")
  64.         f.write(filename + "\n")
  65.         f.close
  66.       end
  67.       me_stop
  68.     end
  69.   end
  70.   @bgm_play = method("bgm_play")
  71.   def self.bgm_play(*arg)
  72.     begin
  73.       @bgm_play.call(*arg)
  74.     rescue Errno::ENOENT
  75.       filename=[*arg][0]
  76.       unless $need_file_audio.include?(filename)
  77.         $need_file_audio.push(filename)
  78.         f = File.open("./log_audio.txt","a")
  79.         f.write(filename + "\n")
  80.         f.close
  81.       end
  82.       bgm_stop
  83.     end
  84.   end
  85.   @se_play = method("se_play")
  86.   def self.se_play(*arg)
  87.     begin
  88.       @se_play.call(*arg)
  89.     rescue Errno::ENOENT
  90.       filename=[*arg][0]
  91.       unless $need_file_audio.include?(filename)
  92.         $need_file_audio.push(filename)
  93.         f = File.open("./log_audio.txt","a")
  94.         f.write(filename + "\n")
  95.         f.close
  96.       end
  97.       se_stop
  98.     end
  99.   end
  100.   @bgs_play = method("bgs_play")
  101.   def self.bgs_play(*arg)
  102.     begin
  103.       @bgs_play.call(*arg)
  104.     rescue Errno::ENOENT
  105.       filename=[*arg][0]
  106.       unless $need_file_audio.include?(filename)
  107.         $need_file_audio.push(filename)
  108.         f = File.open("./log_audio.txt","a")
  109.         f.write(filename + "\n")
  110.         f.close
  111.       end
  112.       bgs_stop
  113.     end
  114.   end
  115. end
复制代码
���
chd114 发表于 2012-5-26 15:21:07
LOVE丶莫颜 发表于 2012-5-26 15:20
貌似这个合成脚本是旧的了吧?
论坛有人发过补丁的,找到补丁脚本放在物品合成脚本的下面即可。 ...

补丁的名字是什么?


‘‘──chd114于2012-5-26 15:25补充以下内容

没有···没有补丁···
’’


‘‘──chd114于2012-5-26 15:37补充以下内容

在吗??????????
’’

点评

搜索一下“物品合成脚本”在搜索目录里面找找、  发表于 2012-5-26 15:22
LOVE丶莫颜 发表于 2012-5-26 15:20:20
貌似这个合成脚本是旧的了吧?
论坛有人发过补丁的,找到补丁脚本放在物品合成脚本的下面即可。
拿上你的纸笔,建造一个属于你的梦想世界,加入吧。
 注册会员
找回密码

站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作

GMT+8, 2025-2-18 21:01

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表