魔兽地图编辑器吧 关注:65,034贴子:3,836,328
  • 5回复贴,共1

jasshelper 的问题

只看楼主收藏回复

我最近在鼓捣用命令行调jasshelper。
经过一番折腾现在我不管是在YDWE保存地图还是在everedit检查语法还是在任何一个路径用命令行都会弹出图中这种报错:

迷,有没有懂的,求解


IP属地:湖北1楼2018-04-05 12:03回复
    没遇到这个问题,大神反正已经star了我的图,可以看下。
    忽略掉nodejs的部分(主要是处理物编数据),剩下的是纯vjass/zinc。
    jasshelper的原理是处理地图里面自带的war3map.j代码,然后编译成JASS
    原文:
    The basic command line syntax is:
    jasshelper.exe <path_to_common.j> <path_to_blizzard.j> <path_to_map.w3x>
    This will make jasshelper to process the source map, and update the map with a new compiled script. You can extract common.j and blizzard.j from the scripts folder in war3patch.mpq.
    所以一般如果脚本外置的话,在执行 [cli]jasshelper.exe 之前,最好复制一份地图出来,这样原图里面的 //! import 就不会被替换成编译后的JASS。


    IP属地:湖北3楼2018-04-20 15:37
    回复(2)
      楼主请问搞定了吗? 求分享一下


      IP属地:广东4楼2018-11-26 17:04
      回复
        (づ ●─● )づ


        IP属地:湖北来自Android客户端6楼2018-11-26 17:52
        回复