pre cw with probe and a bunch script to read game behavior
This commit is contained in:
1 parent
5120219ae2
commit
da8a32f60d
310 files changed
+219693
-872
No files matched your search
@@ -0,0 +1,22 @@
|
||||
do
|
||||
if not _G.__gacDamageLiveValues1 then
|
||||
local source=_G.__gacDamageStatField1
|
||||
if source and source.owner then
|
||||
_G.__gacDamageLiveValues1=true
|
||||
local function log(v)CS.UnityEngine.Debug.Log('[GAC_DAMAGE_LIVE_VALUE] '..tostring(v))end
|
||||
local ok,err=pcall(function()
|
||||
local owner=source.owner
|
||||
local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60)
|
||||
for _,n in ipairs({'_totalBattleTurns','_totalBattleRounds','_lastSimulateTime','_totalSkillPerformTime','_totalAutoTurns'})do
|
||||
log('VALUE '..n..' '..tostring(owner:GetType():GetField(n,flags):GetValue(owner)))
|
||||
end
|
||||
local chars=owner:GetType():GetField('_LightTeamStt',flags):GetValue(owner)
|
||||
for i=0,math.min(chars.Length-1,3)do
|
||||
log('AVATAR '..i..' '..CS.System.Convert.ToBase64String(CS.Google.Protobuf.MessageExtensions.ToByteArray(chars[i].avatarBattleInfo)))
|
||||
log('DAMAGE '..i..' '..CS.Newtonsoft.Json.JsonConvert.SerializeObject(chars[i].FNFFCPLHPGI))
|
||||
end
|
||||
end)
|
||||
if not ok then log('ERROR '..tostring(err))end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user