I know there have been many object/object manager threads before, but i have read them all and my question has not been answered. I can get my code to give me a list of nearby objects but if the objectGUID is Uint64, they get very long and does not coropsond to wowheads ids. This is made in autoit and i know that you guys hate it.
I get my objectmanager:
Code:
$currMgr_pre = _MemoryRead("0x" & Hex($WowBase + $ClientConnection), $hWow , "dword")
$currMgr = _MemoryRead("0x" & Hex($currMgr_pre + $CurMgrOffset), $hWow , "dword"
Then to get the objects in a list, i have done a while loop:
Code:
Func GetObjects()
$NextObject = _MemoryRead("0x" & Hex($currMgr + $FirstObjectOffset), $hWow , "dword")
$ObjType = _MemoryRead("0x" & Hex($NextObject + $GameObjTypeOffset), $hWow , "dword")
while (($ObjType <=7) And ($ObjType > 0))
$NextObject1 = $NextObject
$NextObject1 = _MemoryRead("0x" & Hex($NextObject + $ObjectGUIDOffset), $hWow, "UINT64")
$counter = FileReadLine($file);read file contents
$counter += 1
FileWriteLine($file, $NextObject1)
$NextObject = _MemoryRead("0x" & Hex($NextObject + $NextObjectOffset), $hWow , "dword")
$ObjType = _MemoryRead("0x" & Hex($NextObject + $GameObjTypeOffset), $hWow , "dword")
Wend
Return 0;
EndFunc
I am very uncertain if i am getting the objects correctly, because when i am standing close to many players and only want my object list to look for them, i get like one GUID.
The output i get from this function is this:
Code:
2376071118993290480
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
2334097649150001592
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
7291112726236561848
11082288
11082288
2314861469883761080
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
2338277996653773240
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
3403706932927201720
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
11082288
7291112764891267512
11082288
11082288
11082288
11082288
8026097822332420536
2334393379123167672
7310575258869236152
7294740818255479224
11082288
4120847681153728952
2233079185124426168
-5389719726338795472
-4990627521198751576
11072752
6486707682893439800
11072752
11072752
11072752
11072752
11072752
-5445752247639533520
11072752
3075885655615150128
-6635292725016455120
6505367413124044848
651626712968796208
6403228439375583280
-725732392204429264
6532961036107585584
5325043153880291376
-7220497352129701840
-9014082992088734920
8874278529566057272
2821425688188887864
5882380903600694072
11084600
6510041574492676920
-596445509998533832
-6293029882164600008
3323929440117391528
6015690963277119656
-8995759888509885640
6339634512186120240
11072752
11072752
5900949460265542456
11072752
11081776
1004472454022240304
-72340220054792144
7630640280511256624
-4209785699233621968
-6133646566387804112
11072752
8599621289451791160
-6597837552178620368
-5390010276581402576
-9014055899435034576
-94950894995954888
-6644581403542871240
-2891315380282121416
281470692827960
11084600
-4283882696
3255303370330153784
362266150532883256
11084600
7117511947723547448
2466313011857007416
-7165036856048281552
-4773889079007176656
-4209513162083854288
6257396247928841016
-7221014650875731144
-6542413640628624584
-8346105592038218952
-6151814089071320264
3586772651129512760
8681508195319489336
11084600
11072752
2078728815104294648
11072752
11072752
2158382660100620024
406216151440883448
281470692827960
2440450892053937912
I hope that you guys can help me.
-lut4