标题: 请教freeimage错误
赤色的唯一
会员
Rank: 1



UID 1511
精华 0
积分 44
帖子 11
阅读权限 5
注册 2008-11-9
 
发表于 2008-11-12 21:57  资料  短消息  加为好友 
请教freeimage错误

21:22:01 ================================================================================
21:22:01 Scenario loaded : open.ks
21:22:01 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
21:22:01 open.ks : jumped to : *ok
21:22:01 open.ks : returned to : *ok line offset 12
21:22:01 open.ks : call stack depth after returning : 0
21:22:01 open.ks : [cl layer=message1]
21:22:01 ==== An exception occured at mainwindow.tjs(6818)[(function expression) (anonymous)], VM ip = 13 ====
21:22:01 -- Disassembled VM code --
21:22:01 #(6818)                 getLayerFromElm(elm).freeImage(elm);
21:22:01 00000007 calld %1, %-2.*2(%-3)        // *2 = (string)"getLayerFromElm"
21:22:01 00000013 calld %0, %1.*3(%-3)        // *3 = (string)"freeImage"
21:22:01 -- Register dump --
21:22:01 %-3=(object)(object 0x0235A510:0x0235A510)  %-2=(object)(object 0x0012F19C:0x00000000)
21:22:01 %-1=(object)(object 0x0239AE88:0x0239AE88)  %0=(void)  %1=(object)(object 0x0210E3E8:0x0210E3E8)
21:22:01 -----------------------------------------------------------------------------------------------------
21:22:01 无法找到成员 "freeImage"  at mainwindow.tjs(6818)[(function expression) (anonymous)]
21:22:01 trace : conductor.tjs(448)[(function) onTag] <-- conductor.tjs(104)[(function) timerCallback]
21:22:01 发生了错误
文件 : open.ks   行 : 49
标记 : freeimage ( ← 可能显示了错误前后的标记 )
无法找到成员 "freeImage"
21:22:01 script exception : 发生了错误
文件 : open.ks   行 : 49
标记 : freeimage ( ← 可能显示了错误前后的标记 )
无法找到成员 "freeImage"  at conductor.tjs(197)[(function) timerCallback]



上面是我的报错。

下面是我打算读取的命令。
[cl message1]
[cl message0]
同时我也尝试过了用
[cl message=1]
[cl message=0]

希望能够得到大家的指点。


哦。睡觉前在加上一个小白的问题,就是在宏里面设好调入姓名框了,每次需要在姓名框中出现不同的名字就写@name name=xx,然后性命框里就会显示xx。
但是我现在还有一个问题,就是我是自定义用户名字的。自定义的命令是[emb exp="f.name0"],
现在怎么能让宏引用的是[emb exp="f.name0"],生成的名字呢?

如果写成@name name=[emb exp="f.name0"],显示的就是[emb exp(我知道是因为我性命框短,不能显示完全。)

怎么能显示生成的名字?

谢谢大家。

[ 本帖最后由 赤色的唯一 于 2008-11-12 23:27 编辑 ]

顶部
全局变量D
亲友
Rank: 2



UID 14
精华 1
积分 1262
帖子 719
阅读权限 50
注册 2006-12-20
 
发表于 2008-11-13 11:22  资料  短消息  加为好友 
大小写的问题
用freeimage就没问题了...
--------------------------------
@name name=&f.name0





顶部
赤色的唯一
会员
Rank: 1



UID 1511
精华 0
积分 44
帖子 11
阅读权限 5
注册 2008-11-9
 
发表于 2008-11-13 18:11  资料  短消息  加为好友 
感激不尽,我马上去试试。

顶部
 



清除 Cookies - 联系我们 - [Key Fans Club] the Council of Doujin-game Development and Promotion - Archiver - WAP
Powered by Discuz! 5.5.0 © 2001-2006 Comsenz Inc.
Processed in 0.021540 second(s), 9 queries , Gzip enabled
粤ICP备05060595号
[ 当前模板 - 天高云淡 v 设计制作 - 七星论坛 v 请使用1024*768或以上分辨率浏览本模板 ]
请勿删除或修改此处版权图示