Giter VIP home page Giter VIP logo

more-auto-shoutouts's Introduction

Monster Hunter: World - More Auto Shoutouts Plugin

MHW 更多定型文mod

目录

安装和使用时出现问题?查看 >常见问题<

版本更新内容不明白?查看 >更新日志<

支持功能

盾斧的部分动作出现复用,可能导致误判断。后续更新会有解决方案,例如延迟触发等。

当前支持

通用配置

  • 动作
  • 任务状态
  • 使用道具/衣装
  • 伤害统计

通用配置与武器无关,所有武器均支持检测动作。

某些武器有特殊状态,例如太刀、斩斧等,才会支持专有触发器。例如片手是否红jr等都可以通过动作判断。

武器专有

  • 太刀:开刃等级
  • 虫棍:红白黄三灯时间
  • 盾斧:
    • 红盾时间
    • 红剑时间
    • 电锯时间
    • 瓶子数量
    • 剑能量(瓶子外框)

游戏内命令

  • !mas reload 重新加载配置文件(若加载失败不会覆盖当前已经加载的配置)
  • !mas enbale 启用插件(插件加载时默认启用)
  • !mas disable 禁用插件

计划功能

更多计划功能请查看 >里程碑<

配置文件

配置文件在使用时放置于 <游戏根目录>/nativePC/plugins/mas-config.toml

配置文件使用时出现问题?查看 >常见问题<

结构

参考 示例文件,在此基础上修改

如果能够阅读源码,推荐阅读 configs.rs

编译

  1. 拉取工具库 https://github.com/eigeen/mhw-toolkit
  2. 在同一目录下,拉取本仓库内容
  3. 拉取MHW前置(本人fork版本内含一个FFI静态库,用于该插件发送日志) https://github.com/eigeen/MHW-QuestLoader,编译并获取 loader.libLoaderFFI.lib 两个静态库
  4. 将静态库放在 more-auto-shoutouts/lib 目录内
  5. 确保当前工作目录包含 mhw-toolkitmore-auto-shoutouts
  6. more-auto-shoutouts 目录内运行 cargo build --release --features use_logger,hooks

如果你不需要log功能,则可以忽略 3-4 步,并使用 cargo build --release 编译。

Features

  • use_logger 启用log功能:将会静态链接到 stracker's loader 的日志输出模块
  • hooks 启用钩子功能:启用MinHook钩子事件监听,额外增加一些可选配置项
    • 钩子功能提供攻击伤害获取,订阅怪物创建和销毁事件

more-auto-shoutouts's People

Contributors

eigeen avatar jianqoq avatar

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.