Quote:
Originally Posted by richpianagroyper
hey @ [Only registered and activated users can see links. Click Here To Register...] i once looked into some mods for eotn i think 2 of the better inscriptions are forget me not and measure for measure here are the codes if youre interested:
Local $ModStruct = GetModStruct($aItem)
Local $MeasureForMeasure = StringInStr($ModStruct, "1F0208243E0432251")
Local $forgetmenot20 = StringInStr($ModStruct, "142828060CC")
you can implement this for example like this
if $MeasureForMeasure > 0 Then
Sleep(GetPing() + Random(300, 1000, 1))
StartSalvage($aItem,True)
Sleep(GetPing() + Random(300, 1000, 1))
if $r <> $RARITY_WHITE then
Sleep(GetPing() + Random(300, 1000, 1))
SalvageMaterials()
Sleep(GetPing() + Random(300, 1000, 1))
EndIf
hard to just give you my code though because many ppl have diffrent gwa2
|
Thanks, those were the codes I had been using so far:
Code:
Global $array_mods[17][4] = [ _
[896, "Insightful Staff Head", 8, "0500D822"], _ ; +5 energy
[896, "Adept Staff Head", 8, "00140828"], _ ; +20% FC
[896, "Hale Staff Head", 8, "001E4823"], _ ; +30 HP (Focus)
[15551, "Focus Core of Fortitude", 8, "001E4823"], _ ; +30 HP (Focus)
[15551, "Focus Core of Aptitude", 8, "00140828"], _ ; +20% FC
[15554, "Shield Handle of Fortitude", 8, "001E4823"], _ ; +30 HP
[909, "Sword Pommel of Enchanting", 8, "1400B822"], _ ; +20% Enchantment Duration
[908, "Staff Wrapping of Enchanting", 8, "1400B822"], _ ; +20% Enchantment Duration
[908, "Staff Wrapping of Fortitude", 8, "001E4823"], _ ; +30 HP
[908, "Staff Wrapping of Mastery", 8, "00143828"], _ ; +1 Attribute (Focus) $t = 12 is offhand, 24 is shield, 26 is staff
[896, "Inscription: I have the power!", 8, "0500D822"], _ ; +5 energy (Sword) also exists for other weapons (2/5/15/27/32/35/36)
[15540, "Inscription: Forget me Not", 8, "1400B822"], _ ; +20% FR
[15541, "Focus Inscription: Master of my Domain", 8, "14011824"], _ ; +1 Attribute (Focus)
[15541, "Shield Inscription: Master of my Domain", 8, "14011824"], _ ; +1 Attribute (Shield)
[19122, "Staff Inscription: Master of my Domain", 8, "14011824"], _ ; +1 Attribute (Staff)
[19122, "Inscription: Aptitude not Attitude", 8, "00140828"], _ ; +20% FC
[19122, "Inscription: Hale and Hearty", 8, "05320823"]] ; +5 energy while health > 50%
The way I implemented this in my code was to have all of them in an array and then test it against an array of whitelisted mods. I used the codes from this thread:
[Only registered and activated users can see links. Click Here To Register...]
The way I test this is using an array instead of a single variable:
Code:
If StringInStr($lModStruct, $array_mods[$i][3]) > 0 Then
It is working for the runes but not for the mods. So maybe the codes need to be updated, they seem different to the ones you contributed.