Git Product home page Git Product logo

Comments (3)

a244729016 avatar a244729016 commented on August 11, 2024

卡死的表述不太准确,就是点开任务但是任务窗口没有弹出,整个画面似乎不再接受点击事件。点esc能退出,但是重新点任务依然打不开任务窗口

from battle-brothers-cn.

shabbywu avatar shabbywu commented on August 11, 2024

要看下你的 Mod 列表,翻译器会往 root_state.cnut 注入一个函数 RenderTemplate, 从日志来看是注入的 RenderTemplate 函数没了。

排查方式:

  1. 确认 zdata_cn.zip 里面有 scripts/root_state.cnut 这个文件

如果 zdata_cn.zip 里面没有 scripts/root_state.cnut 这个文件,就是翻译器出 bug

  1. 确认 data 目录的 Mod 加载顺序

在 data 目录按名称排序,需要保证 zdata_cn.zip 是在最下面。
如果有名称排序比 zdata_cn.zip 更后的 mod, 需要检查这些 Mod 里面没有 scripts/root_state.cnut 或 scripts/root_state.nut
如果排序更后的 mod 有 root_state 脚本,就会导致这个问题,解决方法是把 zdata_cn.zip 的 scripts/root_state.cnut 解压出来放到 /data/scripts 目录里面

  1. 确保 data 目录没有名字叫 scripts 的文件夹

游戏的 Mod 加载顺序是优先使用未压缩的脚本文件
如果 data/scripts/ 里面有 root_state 脚本,就会导致这个问题,解决方法是把 zdata_cn.zip 的 scripts/root_state.cnut 解压出来放到 /data/scripts 目录里面

from battle-brothers-cn.

a244729016 avatar a244729016 commented on August 11, 2024

感谢大佬!我进行了第三步操作,已经解决问题了

from battle-brothers-cn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.