Thanks @ i will try it later. I tried bot for about 8 h without crash.
I found out some issues. If u die bot have trouble to start again. I hope i can improve that.
Hi guys,
Currently the norn farm on the omnifarmer bot crashes every time a map piece drops.. would anyone be able to assist me in fixing this issue?
; Checks if should pick up the given item. Returns True or False
Func CanPickUp($aItem)
Local $lModelID = DllStructGetData(($aItem), 'ModelId')
Local $t = DllStructGetData($aItem, 'Type')
Local $aExtraID = DllStructGetData($aItem, 'ExtraId')
Local $lRarity = GetRarity($aItem)
Local $Requirement = GetItemReq($aItem)
If $lModelID > 21785 And $lModelID < 21806 Then Return True ; Elite/Normal Tomes
If ($lModelID == 2511) Then
If (GetGoldCharacter() < 99000) Then
Return True ; gold coins (only pick if character has less than 99k in inventory)
Else
Return False
EndIf
ElseIf ($lModelID == $ITEM_ID_Dyes) Then ; if dye
If (($aExtraID == $ITEM_ExtraID_BlackDye) Or ($aExtraID == $ITEM_ExtraID_WhiteDye)) Then ; only pick white and black ones
Return True
EndIf
ElseIf ($lRarity == $RARITY_Gold) Then ; gold items
Return True
ElseIf ($t == $TYPE_KEY) Then ; dungeon key
Return True
ElseIf($lModelID == $ITEM_ID_Lockpicks) Then
Return True ; Lockpicks
ElseIf($lModelID == $ITEM_ID_Glacial_Stones) Then
Return True ; glacial stones
ElseIf($lModelID == $Carving) Then
Return True ; charr carvings
ElseIf CheckArrayPscon($lModelID) Then ; ==== Pcons ==== or all event items
Return True
ElseIf CheckArrayMapPieces($lModelID) Then ; ==== Map Pieces ====
Return True
ElseIf ($lRarity == $RARITY_White) And $PickUpAll Then ; White items
Return False
Else
Return False
EndIf
EndFunc ;==>CanPickUp
EDIT: if dont want to pick up -> Return False
have fun.
Quote:
Originally Posted by honigkuchenpferd2
I have this one, but it crashes after leaving the town. Maybe you can try and fix it.
hey i fixed the bot. I will try one run today or tomorrow and upload it after finish one successfull run.
Hi all i use vaettir bot. Its possible to manage the bot for put q9 weapon only in storage and sell all other weapon
Sorry for m'y Bad english :/....i am french
Have fun
MyssStick
Hi all i use vaettir bot. Its possible to manage the bot for put q9 weapon only in storage and sell all other weapon
Sorry for m'y Bad english :/....i am french
Have fun
MyssStick
You could add something like that in your CanSell Function - that will at least keep the Q9 item in your inventory and then you could write a function to store weapons
Code:
Local $Rarity = GetRarity($aItem)
Local $aType = DllStructGetData($aItem, 'Type')
Local $aReq = GetItemReq($aItem)
Switch $aType
Case 2, 5, 12, 15, 22, 24, 26, 27, 32, 35, 36
If $Rarity = 2624 And $aReq = 9 Then
Return False
EndIf
EndSwitch
Im looking for an enter battle bot (i dont care if it is not working i'll try to adjust it!)
I tried the search button but probably im too tard to find it