Auto Talent Assistant

Auto Talent Assistant

Chinese tutorial
https://www.bilibili.com/read/cv5916825
You can use translation software to read, maybe

End-game video
Old: https://www.bilibili.com/video/BV1dV411R7LE/
New: https://www.bilibili.com/video/BV15f4y1v7oM/
(The entire process of using the addon was recorded)

Simple example video
https://www.bilibili.com/video/BV16a4y1L7H9/

The interface description is a little bit more detailed
更新汉化

Update:
V2.3.0
fix bug
修复bug
Improve the equipment management system
完善装备管理系统
Judging the conditions of the kill can now be used in scoring systems
过时的斩杀判断条件,现在可以用于打分系统
Added conditions for judging the difference in relative values, such as acc to def
添加了判断相对数值差的条件,例如命中之于闪避
Special judgments can be made to determine whether they are close to unsafe places
特殊判断里可以判断是否靠近不安全的地点
V2.2.13
Conditional judgment, which adds a skill level judgment
条件判断,添加了技能等级的判断
V2.2.11
Fixed several bugs in the SaveSyS
存档系统修复了几个bug
Equipment filter system added collecting breath
装备收集添加了收集呼吸装备
V2.2.7
Added a random grid, which allows you to set the nearest and furthest random distances, in order to use talents that require targets when not in combat, such as NEC's Summon skull
增加了一个技能释放方式 —— 随机格子,可以设置最近最远随机距离,主要是为了在非战斗状态下使用一些需要目标的技能,例如NEC的召唤骷髅
V2.2.4
AutoTimer adds a special timer "StopRest" that will StopRest when it is present
计时器 添加特殊计时器“StopRest”,当有它的时候会停止休息
The command team skill has been modified, when you order it to "anchor", its "anchor distance" is changed to 1, when you order it to target an enemy, its "anchor distance" is changed to 100
指挥队友的技能做了修改,当你命令它“抛锚”时,它的“抛锚距离”会被修改成1,当你命令它以敌人为目标时,他的“抛锚距离”会被修改成100

V2.2.0
Add equipment filtering system, the button is in the upper right corner, after entering the middle of the HELP button to explain how to use. If you don't want to Filter the scores, you can do some simple filtering on the Filter button. After filtering is enabled, in the equipment view interface, you can get two ways to view equipment, one is to view the equipment combat attributes (but needs to score support), the other is to view the attributes of the equipment. After all, with this little system, you can filter out most of the junk you don't want to look at.
新增装备过滤系统,按钮在右上角,进入后中间有帮助按钮说明使用方式。不想进行打分过滤,也能在过滤按钮进行一些简单的过滤。开启过滤后,在装备查看界面,能获得2种装备查看方式,一种查看装备战斗属性(但是需要打分支持),另一种则是查看加属性的装备。总之使用这个小系统,可以筛选掉大部分你看都不想看一眼的废物装备。
The equipment interface to view gems, provides a selling function, selling gems is no longer a headache.
装备界面查看宝石,提供了一个贩卖功能,贩卖宝石不再是头疼的问题。
A simple change to SimpleAI, which defaults to 0 as a command for all teammates. (Also, probably not many people have used it, because it tells the AI who to target based on the player's point of view, for example "all enemies" are enemies close to the player, so)
简单修改了一下简单AI,默认值为0时视为命令所有队友。(另外可能没啥人用过,这个功能命令AI以谁为目标时,是以玩家的视角为准,例如“所有敌人”是距离玩家近的敌人)
In the SimpleAI interface, there is an option to learn a skill, which makes it very convenient to command your teammates to fight, tell them who to attack or where to move (of course moving actually means "anchoning" to a certain location). Of course, you can't command what you can't command.
简单AI界面中,添加了一个选项可以学习一个技能,可以非常方便的指挥队友战斗,命令它们攻击谁或者移动到哪里(当然实际上移动就是“抛锚”到某个位置)当然你并不能命令不能命令的事物。
AI tactical talents,added an option to turn off all skills that are not set at once
AI技能策略,添加了一个选项,可以关闭所有一次也没有设置的技能
- Added another movement skill, which is different from the previous movement skill, to solve the problem of not being able to find the path due to vision problems, such as the rogues who have no light but can see an enemy in the dark distance.
添加了另一个移动技能,和之前的移动技能有所不同,是为了解决因为视野问题导致无法寻路的问题,例如盗贼没有光照但是却可以看见黑暗的远方有个敌人 。

v2.0.5
In the game, if you open the edit panel to update the function, you will not report an error. The bug of judging skill conditions has been fixed (now the release conditions of the same skill in and out of combat will no longer interfere with each other)
游戏中打开编辑面板更新函数就不会报错了,修复了技能条件判断的bug(现在同一个技能战斗中战斗外的释放条件不再会互相干扰)
v2.0.0
This time, some things have been updated and the previous code structure has been changed. It should be the first and last time
这一次更新更新了一些东西,动了以前的代码结构,应该是第一次也是最后一次动结构了
Therefore, to use version 2.0.0, a new game must be opened, and the old game must use the previous version
因此使用2.0.0版本必须开新档,旧档必须用以前的版本

The content of this update is still in the video link, starting from p23
这次更新的内容依然在这个视频链接中,从P23开始演示
https://www.bilibili.com/video/BV16a4y1L7H9/
v1.1.0
Improve automatic combat and automatic Z, and add "duration of armistice determination" to be set
改善自动战斗和自动Z,设置增加“停战判定的持续时间”可以设定
v1.0.7
Quick setting to turn on SuS talent during resting
休息时开启持续技能的快捷设置
Z ignores special terrain
Z无视特殊地形
restCD default 100~100, but 1~100 if CD>xx (default 30)
休息CD默认100~100,但是如果CD大于xx(默认30)就会默认设置1~100
v1.0.5
Right talent can see THE ID, but also can switch automatically; An option to disable Auto Combat and Auto Z has been added to the panel; Automatic Z is no longer forced, and stopping is much easier
右键技能可以查看id,同时也能开关自动;面板中上多了个关闭自动战斗和自动Z的选项;自动Z不再有强迫性,停下来轻松多了


Auto Talent Assistant on Steam's Workshop
See addon usage in the character's vault.
4
Your rating: None Average: 4 (4 votes)

Simply awesome

I am now playing this game like the first time. I always didn't enjoy some of the manual aspects of the ToME, but this solves it. Now I am playing "build your AI" and enjoying in immensely.

I have one major complaint though, which I would be very happy if you could resolve. Since I am always trying to go as complex and in depth as possible, it is very frustrating for me to go into each of the talents, each of the score systems individually, in order to save them. If you could do "save everything" button inside your class SaveSyS, that would be amazing. I tried to modify your code to do it, but failed.

Anyways, love this very much, thank you very much

one button "save everything"

one button "save everything" is difficult, I didn't expect to write so many features myself, so the whole code wasn't well planned from the start

Save file broken

This seems to happen pretty frequently whenever I am using the addon: when I enter an area (especially Last Hope) I will sometimes get a popup saying the save file is broken and I have to force quit. And then there is a positive chance that I would fail to reload.

Game breaking bug

It worked for a while, but now I have some bug which is making me unable to use any talents with a target. The error says something about a nil value in function useAutoTalent. This happens even when auto use is turned off.

More detailed BUG information

More detailed BUG information is required
How do you set up skills, preferably with screenshots
And a screenshot of the BUG or a log file (te4_log is the last one to report an error when the BUG is triggered) copy the text

Simply amazing

I don't know if I'll even continue to play tome4 without this addon. It completely eliminates the most boring part of the game, cleaning mobs while pressing Z mindlessly, leaving only the challenging fights to the players. In the author's video, it shows the entire game can be completed on insane using this addon with minimal user intervention. There's a bit of learning to do to make the addon work (and would become a little bit more challenging if you don't know Chinese). But it is definitely worth it.
The addon is extremely powerful and customizable. For me, I've found the following basic settings work well in most scenarios:

"Assistant move" talent is a must-set for both melee and ranged characters. For melee, if you just want to bump attack mobs, just set the target to be "nearest enemy". For ranged, set the target to "self", so you will just wait a turn when there's nothing else to do. In most cases, you should set a high priority value (corresponding to actually low priority, which is counter intuitive).

In "Combat" at the bottom row, you can specify conditions you want the automation to stop. The conditions can be specified as a tree with branches indicating "logical and" or "or" (I'm not sure about the more complicated ones). I usually just put the stopping condition to be "health reaches 90%" and "mana reaches 30%" (equivalent for other resources). You'll want to be conservative here. I sometimes also add conditions such as "more than 4 negative effects". For specific statuses, "Warnings" will cover them.

In "Warnings", tick stun/freeze/confused/slow etc. This means when you get one of these statuses the automation will pause. In "Settings", turn on "ignore lore", "turn off default automatic".

Now to configure your talents, I found even just the "default" logic works well in most cases. For AoE I will change target to "most enemies", and for single target control/debuff talents I will change target to "nearest rare". Set the priorities accordingly.

There's a keyboard shortcut to stop the assistant (Ctrl + P on my PC) which is also handy.

I have found that using this addon makes me less likely to make stupid mistakes that lead to untimely deaths. If you want to be extra careful in "Combat" you can set a stopping criterion to include "there is a rare or unique within 10 squares" etc.

Wish

An English manual or at least a video tutorial would be better.
Installed, but nothing is clear, sorry.)

I use translation software

I use translation software for my English, but I've made a little video, so maybe you can use some of it

Part of the tutorial translation, translation is not finished
https://www.bilibili.com/read/cv6018276

Nec full video
https://www.bilibili.com/video/BV15f4y1v7oM/

Part of the function sets recording
https://www.bilibili.com/video/BV16a4y1L7H9/