求助:mush提示溢出 help!!!!
错误号: -2146828282事件: 执行 568 行 7 列
描述:溢出
调用者: Function/Sub: on_kill called by trigger
Reason: 正在处理触发器 "kl_die"
//以上是出错时候的描述
//以下的568行上下的代码
var delay, delay2;
if (cmd == "guard" || cmd == "set no_teach maze") {
var lt = world.GetVariable("num_cmds") - 0;
if (step_walk.stepnum < 0)
step_walk.stepnum = 0;
var num = Math.floor(lt / (step_walk.stepnum + 1));
if (num <= 0)
num = 1;
delay2 = 1000 / num;
delay = getcmddelay();
world.speedwalkdelay = delay > delay2 ? delay : delay2;
} else {
delay = getcmddelay();
var wk = query("walk");
if (wk != "multi" && delay < 3)
world.speedwalkdelay = 3;
else if (wk == "multi")
world.speedwalkdelay = 0;
else
568行 world.speedwalkdelay = delay;
玩的是另外一个游戏,mush在挂机宝上运行,差不多半个小时就要报错,但同样的脚本在自己电脑上挂就一直不出问题,有人说是网速问题,真的是这样吗?
还是可能有其他技术解决这个问题呢?或者是挂机宝的电脑设置?
求助!!!!!
万分感谢!!!!
北大侠客行MUD,中国最好的MUD
页:
[1]