← Browse

@ziwenhahaha/qqsg-struct

B

主要是针对技能数值表未知列的研究。

skillclaude

Install

agr install @ziwenhahaha/qqsg-struct --target claude

Writes 17 files into .claude/skills/, pinned to git-95f74e23.

  • .claude/skills/qqsg-struct/.gitignore
  • .claude/skills/qqsg-struct/Backpack
  • .claude/skills/qqsg-struct/Camera.md
  • .claude/skills/qqsg-struct/Charactor.md
  • .claude/skills/qqsg-struct/CtrlState.md
  • .claude/skills/qqsg-struct/FIX_ROLLBACK.cpp
  • .claude/skills/qqsg-struct/GameBug.md
  • .claude/skills/qqsg-struct/GameSecurityUpdateLog.md
  • .claude/skills/qqsg-struct/LICENSE
  • .claude/skills/qqsg-struct/MoveLap.md
  • .claude/skills/qqsg-struct/OverWorld.md
  • .claude/skills/qqsg-struct/README.md
  • .claude/skills/qqsg-struct/Skill.md
  • .claude/skills/qqsg-struct/UIControl.cpp
  • .claude/skills/qqsg-struct/inject.md
  • .claude/skills/qqsg-struct/lua_hook.md
  • .claude/skills/qqsg-struct/status.md

Document

技能数据的研究

主要是针对技能数值表未知列的研究。

F列,技能标志位:

枚举值

0x1 物理伤害招式
0x2 魔法伤害招式
0x4 治疗类招式
0x8 挑衅类招式
0x10 恐惧类招式
0x20 增益类招式
0x40 减益类招式
0x100 未知,此类招式会让受击者进入攻击状态
0x200 未知,此类招式会让受击者进入攻击状态
0x1000 怪物控制类
0x4000 瞬移类技能,目前仅有JS的90技能的第二段
0x8000 具有遮罩动画的技能
0x10000 具有飞行动画的招式
0x100000 冲锋类技能,会导致受击者大幅度击退/击飞
0x800000 冲锋子类,效果比冲锋类更弱,会小幅度击退受击者
0x4000000 特殊动画的招式,110XS

防止有人使用此数据作弊,我就不提供如何找 ComboItem 的方法了

struct ComboItem_vftable
{
  int pad;
  int (__thiscall *serverPos)(PComboItem combo);
  int pad1[68];
  int (__thiscall *level)(PComboItem combo);
};

// 玩家技能
struct ComboItem
{
  ComboItem_vftable *vftable;
  int pad[9];
  SkillMeta *Meta;
};
// 数值表
struct SkillMeta
{
  int SkillId;
  char name[32];
  char desc[304];
  int values[6];
  int Flag;
  int values2[29];
  // 修改为0可以无视僵直效果(仅客户端生效,可僵直结束后瞬移,但不能发招)
  int yinzhiTime;
  int values3[3];
  int MixStatusId;
  int values4[7];
  // 通过修改此值貌似可以实现连击的伤害增幅效果
  int LianJiCount;
  int values5[2];
  SkillLvlMeta *LvlMeta;
  int values6[20];
};
struct SkillLvlMeta
{
  int id;
  int maxLvl;
  // 持续时间增益
  int TimeAddon;
  int pad1[178];
  // 混合异常状态id
  int lvlMixStatuId;
  int pad2[20];
};

Repository README

Describes ziwenhahaha/qqsg_struct as a whole, which may contain artifacts other than this one. Where this artifact had no useful description of its own, its summary was taken from here.

qqsg_struct

此项目包含了QQ三国的结构体和常见的数据偏移量

重要说明:最近刷贴吧看到有人说GITHUB有个写挂的,所以还是补充说明一下。本人不是什么外挂从业者,自身拥有一份相当可观薪水的收入,并不需要开发外挂来牟利。个人是很热爱这款游戏,但是三国自身的许多bug和糟糕的设计,让我萌生了给自己写一些插件和修复bug的想法。如果你也想自己开发自己的插件(非内存外挂),可以联系我的邮箱,我可以提供lua_State的基地址给你,当然,你需要自己学习LUA。

目录

项目的结构

GameWorld

  • Camera
  • CurMap
    • GameEntity
      • Speed
      • Status

UIRoot

  • children
  • luaEnv

说明

有些结构中使用了Unknown 类似的字段,一方面是这些数据很敏感,有人去利于这些做外挂。还有一方面是我自己还没研究出来。

此游戏的近乎所有的战斗逻辑使用的是服务端重演的模式,也就是说不存在增加攻击力、增加防御力、攻击过程变速(提高攻击频率)、无视道具/技能cd的功能。主要是脚本类为主(比如在玩家受控制时自动使用解控技能。)

灵兽系统存在一些bug,如形若坚冰状态在某些情况下无法被移除,这使得玩家全程处于形若坚冰的减伤状态下,从而让其他玩家攻击该玩家时会出现全程的miss/只掉1滴血。目前客户端暂时没有任何途径使用此bug。

Trustgrade B

  • passBody integrity

    Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.

  • passType matchnot applicable to this artifact type

    Whether the artifact is really the kind of thing its metadata claims it is.

  • warnFreshnessvery stale (>2y)

    How long since the source repository was last pushed to.

  • passPrompt injection

    Scans the artifact's own text for instructions aimed at your agent rather than at you.

  • passLicense

    Whether the source repository declares an SPDX license permissive enough to redistribute.

How the grade is calculated

Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:

  • Aevery check passed
  • Bone warning
  • Ctwo warnings
  • Dprompt injection or body integrity failed, or three warnings
  • Fone of those failed, and something else is wrong

These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.

Versions

  • git-95f74e23241d2026-07-31