pre cw with probe and a bunch script to read game behavior

This commit is contained in:
CAtlas0784 committed 2026-10-21 20:40:13 +07:00
1 parent 5120219ae2
commit da8a32f60d
310 files changed
+219693 -872

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
-- Inspect the active Guide page's Lua state; no UI actions or module writes.
do
if not _G.__gacCwGuide1 then
_G.__gacCwGuide1=true
local function log(v)CS.UnityEngine.Debug.Log('[GAC_CW_GUIDE] '..tostring(v))end
local ok,err=pcall(function()
local ui=CS.RPG.Client.GlobalVars.s_UIManager
local names=ui:GetAllPageNames()
for i=0,names.Count-1 do
local name=tostring(names[i])
if name:find('Handbook') or name:find('Guide') or name:find('DailyMission') then
log('PAGE '..name)
local page=ui:GetPageByName(name)
if page then
local lua=page.LuaTable
if type(lua)=='table' then
local n=0
for k,v in pairs(lua)do log('FIELD '..tostring(k)..' '..type(v)..' '..tostring(v));n=n+1;if n>=60 then break end end
end
end
end
end
end)
if not ok then log('ERROR '..tostring(err))end
end
end