
标题: [疑问] 大大来看看这失败的脚本 [打印本页]
作者: chenww 时间: 2009-1-22 17:14 标题: 大大来看看这失败的脚本
代码:
'---------------
#org 0x1E3C55
msgbox 0x81E4560 0x2 '"pokesy,5d6d,com"
checkflag 0x501
if 0x0 goto 0x8AA4544
release
end
'---------------
#org 0xAA4544
giveitem 0x1 0x1 0x1
end
'---------
' Strings
'---------
#org 0x1E4560
= pokesy,5d6d,com
作者: 海洋之囧 时间: 2009-1-22 17:34
LZ写的脚本是哪种工具的?
不过看起来应该是XSE的= =
如果是XSE的话,那就是格式错了
还有怎么只有检查标识没有设立标识?那不就重复发生了?
http://www.poketb.com/bbs/thread-6639-1-1.html
具体格式看这里。
PS:我就看到说话那段和得到物品那段少了个命令……
而且得到物品那里XSE应该只有2个数字?怎么跑出3个了?
[ 本帖最后由 海洋之囧 于 2009-1-22 20:36 编辑 ]
作者: liuyanghejerry 时间: 2009-1-22 17:59
代码:
dynamic 0x80000'地址自己换吧,换成空的
#org @1
msgbox @4 0x2
checkflag 0x501‘这个你可要谨慎,不要和NPC ID重了……
if 0x0 goto @3 ’不存在的情况跳转了,但是存在的情况不够完备,完善一下
msgbox @1 0x2
release
end
'---------------
#org @3
additem 0x1 0x1'这里我把命令换了,最新版XSE里giveitem第三个参数我还不会用- -
setflag 0x501
release
end
#org @1
= You've already got this before...
#org @4
= pokesy,5d6d,com
| 欢迎光临 口袋社区-Poke The BBS (https://poketb.com/bbs/) | Powered by Discuz! 6.1.0F |