@Thaelion : Got this error, apparently ActorAtrib_4 is not defined what is it?
@Thaelion : Got this error, apparently ActorAtrib_4 is not defined what is it?
Last edited by Thaelion; 07-11-2012 at 04:16 AM.
Hi, im getting errors when i run the script.
NomadMemory.au3
Line 231: Const $TOKEN_ADJUST_PRIFILEGES = 0x0020
Error: Can not redeclare a constant.
I tried to quote the lines in NomadMemory.au3 and i get these errors:
Diablo III.au3 (the script from the first post)
Line 609: global $StringListDB = IndexStringList($Object_File_StringList[$index][0])
Error: Array variable subscript badly formatted.
tried to add this line: If $ACDIndex = -1 Then Return False ;FIX in the function, still no changes
any help please?![]()
Rename it to Line 231: Const $TOKEN_ADJUST_PRIV from whatever it was earlier than rerun the UDF again.
Remember to make change this everywhere in NomadMemory.au3 too.
i renamed it to
and now i still get this error:Code:Const $TOKEN_ADJUST_PRIVILEGES2 = 0x0020 Const $TOKEN_QUERY2 = 0x0008 Const $SE_PRIVILEGE_ENABLED2 = 0x0002
ImageShack® - Online Photo and Video Hosting
Global $Object_File_StringList = IndexSNO($ofs_StringListDef, 0) ;//THIS LIST IS HUGE, NO NEED TO DO IT MORE OFTEN THAN ONCE =)
$index = _ArraySearch($Object_File_StringList, Hex($_MonsterNameStringListID), 0, 0, 0, 1, 1, 1)
;; ##### Add this line here START #####
If ( $index > 0 ) Then
Global $StringListDB = IndexStringList($Object_File_StringList[$index][0]) ;$StringListDB is debricated in this code
Else
ConsoleWrite("Offsetlist(): $_MonsterNameStringListID is empty!" & @CRLF)
EndIf
;; ##### Add this line here END #####
$index = _ArraySearch($Object_File_StringList, Hex($_GizmoNameStringListID), 0, 0, 0, 1, 1, 1)
;; ##### Add this line here START #####
If ( $index > 0 ) Then
IndexStringList($Object_File_StringList[$index][0])
Else
ConsoleWrite("Offsetlist(): $_GizmoNameStringListID is empty!" & @CRLF)
EndIf
;; ##### Add this line here END #####
U probably got this error cuz the UDF didnt run and those array were empty just add those lines in and see if it fixes the problem.
Thanks UnknOwned for this valuable information!
Is there an available flag to check if char's durability flag is yellow or red?
@SYY99 - Did u change these values?
Global $ofs_MonsterDef = 0x15DBE00 ;0x015DCE00 ;0x15DBE00
Global $ofs_StringListDef = 0x015E8808 ;0x015E9808
Global $ofs_ActorDef = 0x15EC108 ;0x015ED108 ;0x15EC108
Global $ofs_ActorAtrib_Base = 0x15A1EA4 ;0x015A2EA4;0x015A1EA4
Global $ofs_ObjectManager = 0x15A0BEC ;0x015A1BEC;0x15A0BEC
Global $ofs_InteractBase = 0x15A0BD4 ;0x015A1BD4;0x15A0BD4
The patch yesterday will break the old UDF, u need to update those offsets.