cappuccino 发表于 2015-6-21 02:16 AM http://pkuxkx.net/forum/images/common/back.gif
mcl是每个id一个文件,但lua是公用的,都用同一个lua脚本文件。版本是4.94的,应该是蛮新的。 mush还是要强大不少,zmud都没有办法双开,逍遥行只认一个。 本帖最后由 xkxyu 于 2015-10-16 07:31 AM 编辑
我一个mush开多个world,测试了一下,没发现你说的问题,,
mush的帮助文档摘录,
----------------------------------------------------------------------------
ReloadScriptFile
Summary
Forces script source file to be reprocessed
Details
This causes the script file associated with this world to be recompiled.
You should do this after correcting any syntax errors which have been reported in your script.
Reloading the script file also re-initializes the script engine, thus clearing any variables which were established during a previous script execution.
In the case of Lua scripts it also causes the Lua 'sandbox' to be re-executed.
Menu
Game -> Reload Script File
Keyboard Shortcut
Shift+Ctrl+R
Example of script call
world.DoCommand "ReloadScriptFile" Reload Script File is a command forthemush client ,not only for one world. Tested in 4.96 为什么不是one world one file?
页:
1
[2]