It seems they changed the argument passed to:
004CCE10 CGGameUI__HandleTerrainClick
It has been a while since i used it and i would swear that it took a pointer to a WOWPOS.
Anyway now it takes a pointer to the following struct:
Can anyone confirm that it previously took a WOWPOS pointer?Code:struct ClickPos { uint32_t unk_1; // always 0 uint32_t unk_2; // always 0 WOWPOS position; uint32_t unk_3; // always 1 };
Code:struct CTerrainClickEvent { WGUID GUID; D3DXVECTOR3 Pos; MOUSEBUTTON Button; };Also, the function at 0x7E5640 (Spell_C__HandleTerrainClick) is the one we use in HB to enable remote AOE spell casts.Code:enum MOUSEBUTTON { MOUSE_BUTTON_NONE = 0x0, MOUSE_BUTTON_LEFT = 0x1, MOUSE_BUTTON_MIDDLE = 0x2, MOUSE_BUTTON_RIGHT = 0x4, MOUSE_BUTTON_XBUTTON1 = 0x8, MOUSE_BUTTON_XBUTTON2 = 0x10, MOUSE_BUTTON_ALL = 0x0, };
Related struct:
Code:struct SpellCast { DWORD Unk[10]; DWORD CastFlags; DWORD Unk2[7]; WGUID SpellTarget; WGUID SpellTarget2; D3DXVECTOR3 SpellRangedAOECenter; D3DXVECTOR3 SpellDestination; };
Last edited by MaiN; 02-12-2010 at 06:14 AM.
[16:15:41] Cypher: caus the CPU is a dick
[16:16:07] kynox: CPU is mad
[16:16:15] Cypher: CPU is all like
[16:16:16] Cypher: whatever, i do what i want
Hm in patch 3.3.0 may was get Loading screen if my character died (256 in offset), now I can not get Loading screen in offset [IsInGame = 0xB695AA]. How now get Loading screen?
I am not sure if that is what you want to accomplish but alternatively you can use the function ClntObjMgrGetActivePlayer to check if you are currently logged in. It returns 0 when you are logged out.
Code:bool loggedIn() { uint32_t (*ClntObjMgrGetActivePlayer)() = (uint32_t (*)()) 0x0047A5C0; return (ClntObjMgrGetActivePlayer() != 0); }
951388dcb8e5be825c2c10a7f53c16fcd84fc6c8b76ff0483237eeff745eaeac
thanks apoc, that explains why it worked a few patches ago and main for clarifying the unks.
CInputControl = 0x00C3E164
CInputControl__SetFlags = 0x00592460
Zomfg. And no, don't ask. - Dombo did it.
How do i find the playerbase and x,y,z, r offsets?
I posted player pointer on the first page. Player base is
(((p_Ptr)+0x34)+0x24)
Current Offsets for X,Y,Z,R are
0x798 X coord
0x79C Y coord
0x7A0 Z coord
0x7A8 rotation
Offsets rarely change on new patch, but it happens sometimes. When there's no major change, only player pointer should change.![]()
Any one found adress for mapID?
As I know it's a static adress.
Edit:
I've found following:
'GetCurrentMapZone' - A6D824
'GetCurrentMapAreaID' - A6D828
'GetCurrentMapContinent' - A6D830
Edit2:
'mapID' - look like static adress A11C10
But all they are stored like a word? Why?
How can I get numbered value like WoW shows?
ex:
Map: 1 - Orgrimmar zone (All Kalimdor)
Map: 0 - Stormwind zone (All Estern Kingdoms)
Map: 603 - Ulduar
Last edited by Marikafka; 02-18-2010 at 04:29 PM.
Man I love you +rep
How have you found it?(
I was searching for it whole day found nothing
Edit:
Damn I don't get it.
First test showed that this adres is the one I need.
I ported to Ulduar and value changed to 603.
After I ported to Stormwind, but value has not changed to 0 as it should.
Ported to Orgrimmar gave still no changes, but should change to 1.
So I don't get it. How it works? :S
Last edited by Marikafka; 02-19-2010 at 02:50 PM.