Comments (8)
Do you re-initialize StringLinker with new version? Variable names linked to skill description is stored in string.wz, so you should do that.
from wzcomparerr2.
@KENNYSOFT I actually opened two WCR2. One loading the current version and one with the new update.
from wzcomparerr2.
(That's the reason why I leave a default '0' there 😆 )
SummaryParser.cs
from wzcomparerr2.
@Kagamia Ah, @KENNYSOFT commented that line. If I uncomment it, I will see this:
indieIgnoreMobpdpR
25 + x (x=15) = 40% - Yet it outputs as 0%.
Also, I've encountered another bug.
Mana Cost: #epCon, Transformation Duration: #time sec.\n#cBreath of the Unseen:# Haku grants +#prop% Knockback Resistance and +#a% Ignore Enemy Defense.\n#cHaku's Gift:# Haku restores up to #u% of your Max HP.\n#cFoxfire:# Haku summons #y foxfires for #w sec. Has #z% chance to nullify magic. Reflects #x% of damage. Each reflected attack consumes 1 fire.\n#cHaku's Blessing:# Haku casts a spell lasting #v sec that increases Defense by #indiePdd, and Magic ATT by #indieMad% of the equipped fan's Magic ATT.\n#cIncreases Final Damage by #q% for each party member affected by Haku's buffs\n#c[Passive Effect - Magic ATT: +#madX]#"
See last line. The simulated tooltip says Magic ATT: +10]0
- It should be: Magic ATT: +100]
EDIT: Ah, it seems to be related to sb.Append(0);//默认值
. If I uncomment it, that will happen, if I comment it, it won't happen and it will output as it should.
↑ in-game version
↑ Simulated version
If I uncomment sb.Append(0);//默认值
, it will show in-game version. If I comment it, it will show like simulated version. This issue or the 10]0 issue, one of the two will always exist.
from wzcomparerr2.
@KENNYSOFT said he commented sb.Append(0);//默认值
due to the following issue with skill ID 400001024:
String:
MP Cost: #mpCon, Duration: #s sec, Max Stacks: #x, Each stack provides an additional buff.\n#cStack 1# - Skill Cooldown: -#w% (excludes skills unaffected by cooldown reduction)\n#cStack 2# - Knockback Resistance: +#z%\n#cStack 3# - All Stats: +#q\n#Stack 4# - Attack Power & Magic ATT: +#u\n#Stack 5# - Boss Damage: +#v%\n#Stack 6#: Invincible for duration of skill\nCooldown: #cooltime sec. Cooldown increased to #y sec when buff expires (including character death) or max stack count is reached."
It should say Stack 4
, yet it doesn't on both outputs and it shows orange text where it should not show.
In-game version:
from wzcomparerr2.
@Sunaries
I've simply tested with the skill summary.
Yes, this annoying bugs maybe only appear from GMS/MSEA client. 😞
Here explains the working model of SummaryParser class:
1> Find a '#' character. (L26)
2> Get a vaild property name after '#', as long as it could be, allows empty. (L29-42)
3> Matching with common
properties. (L45-56)
4> If failed, matching with global reserved properties. (L64-89)
5> If failed, and already in orange font color (beginC), then close it. (L91-96)
6> Else, a 'c' character is after '#', then begin orange color. (L97-102)
7> If not find a word after '#' (important!!!!!!!!! A single '#' character is treated as '#c'), the same as <6>. (L103-108)
8> If all failed, consider that the given property name is missing, return a '0' as default. (L109-121)
The issue is, <7> will never take effect, because in GMS/MSEA, It could always find an valid property name after '#' at most time (they are always English characters 😃), if I fix that, <8> could never be triggered.
I need both common properties and skill H summary in string.wz for testing. I'm sure that CMS/KMS can't find these bugs.
from wzcomparerr2.
Right. So we should make assumption like 'all of property names are like camelCase'; which starts with small letters.
BTW, let's see this string: Mana Cost: #epCon, Transformation Duration: #time sec.\n#cBreath of the Unseen:# Haku grants +#prop% Knockback Resistance and +#a% Ignore Enemy Defense.\n#cHaku's Gift:# Haku restores up to #u% of your Max HP.\n#cFoxfire:# Haku summons #y foxfires for #w sec. Has #z% chance to nullify magic. Reflects #x% of damage. Each reflected attack consumes 1 fire.\n#cHaku's Blessing:# Haku casts a spell lasting #v sec that increases Defense by #indiePdd, and Magic ATT by #indieMad% of the equipped fan's Magic ATT.\n#cIncreases Final Damage by #q% for each party member affected by Haku's buffs\n#c[Passive Effect - Magic ATT: +#madX]#"
. For the last two lines, it has '#c ~ #c ~ #' structure: nested #c.
from wzcomparerr2.
So, what is the right order?
beginC(#c) -> single#(# as #c) -> endC(#) -> missing Property(#blabla = default(0))
Does it make sense?
I have to check all common property names from skill.wz, Nexon make a joke again. 😆
from wzcomparerr2.
Related Issues (20)
- 最新的 20230914 build 无法渲染 KMST 1.2.1161 的任何地图 HOT 4
- QuickView NPC Tooltip Render doesn't display NPCs with an outlinked Default thumbnail HOT 1
- MapRenderer: transparency not applied to background color (argb) selection HOT 9
- MapRender: png output on maps with transparent objects HOT 3
- KMS和KMST客户端比对后有部分新增图片未输出到对比档案 HOT 2
- 对比客户端的文件,感觉好像把每个文件都对比了一下 HOT 2
- Add CuttableCount display support in QuickView HOT 1
- 帧动画合成GIF的问题,每一帧的位置有偏差 HOT 5
- Spine does not account for phaseAtlas HOT 2
- All png files are not saved HOT 6
- MapRender 在高于 1920 x 1080 分辨率的显示器下,不会以 1920x1080 的分辨率窗口化 HOT 5
- 武器伤害上限加入单位 HOT 1
- 只会出现在 BUFF 中的技能 500061002 中的数值 #strX 无法正确被解析,能否将技能效果说明的部分隐藏 HOT 2
- 最新KMS客户端1.2.388中NPC功能文字颜色变了,希望maprender也能相应变色。 HOT 1
- KMST 1170 到 1171 更新文件有特别变化 HOT 5
- WzPatcher 希望加入跳过更新前校验检查功能 HOT 1
- KMST 1.2.1172 的活动地图渲染不正确 HOT 5
- 将林之灵的武器和副武器更改成“记忆长杖”以及“飞越”
- CMS V207 的 WorldMap177 渲染不正常 HOT 1
- KMST 1.2.173: Certain Skill Tooltips give an error HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wzcomparerr2.