menu
-
Member
IsAtLoadScreen?
Hey guys,
I was investigating various ways on checking whether my character is at a loading screen. I am not talking about the loading screen which appears after the character selection screen, but rather the loading screen that may appears between zoning, (clicking portals, spawning at a GY etc..).
Some suggestions are made about detouring the BroadcastEvent as documented in WoWX, but I was interested in a simpler approach to the said problem. Has anyone came across a global static for this? Or am I pretty much wasting my time trying to search for such a thing?
Thanks if anyone has come across a solution to this in their travels.
-
Angry Penguin
You should look into the EnterWorld related funcs. IIRC, one of them sets a global value to tell the game 'wait while we load shit'.
-
Member
Cheers Apoc,
I'll look into those functions tomorrow
-
Banned for scamming
IsLoadingSomething = 0x00B03C10
It return Int32, you can get usefull information with IDA using his xref
-
Member
Thanks Apoc,
CGGameUI__EnterWorld (0x004CD5E0 - Patch 3.3.2) indeed gave me what I needed. For those that are interested in determining if you are in game or at load screen, the static 0x00B695AA returns a byte for the game state.
1 = In Game
0 = Load Screen (Also zero when not logged in, at character selection screen etc...)
-
Member
I had post explaining auto-login and GlueXML functions here and you can combine this with current state of Glue window i.e if CURRENT_GLUE_SCREEN == nil and "In Game" == 0 mean load something and so on
It's only if you want do it without injection I don't know how to read this global LUA fields from memory.