You last visited: Today at 10:07
Advertisement
[GWA2] Killroy bot rework
Discussion on [GWA2] Killroy bot rework within the GW Exploits, Hacks, Bots, Tools & Macros forum part of the Guild Wars category.
05/05/2018, 15:23
#1
elite*gold: 0
Join Date: Jan 2012
Posts: 7
Received Thanks: 0
[GWA2] Killroy bot rework
Hello guys,
I'm pretty new to bot coding in GWA2 and I would request your help for a project about last killroy bot. I wanna made this bot to only pickup golds item and id them and to open chest if lockpick is found in inventory! I'll post my current rework I have no credit for this at all only want to push this bot to a new horizon!
tyvm guys!
PS: If someone know lockpicks item Id's it would be awsome!
05/05/2018, 16:20
#2
elite*gold: 0
Join Date: Mar 2018
Posts: 77
Received Thanks: 132
Quote:
Originally Posted by
purownage
Hello guys,
PS: If someone know lockpicks item Id's it would be awsome!
I attached a file that contains most item ids.
Attached Files
Global Items2.rar
(9.6 KB, 58 views)
05/05/2018, 16:32
#3
elite*gold: 0
Join Date: Aug 2015
Posts: 113
Received Thanks: 42
Edit: nvm
05/06/2018, 01:53
#4
elite*gold: 0
Join Date: Jan 2012
Posts: 7
Received Thanks: 0
thanks alot Rheek for supporting me i'll post what i've done tomorrow!
05/10/2018, 19:18
#5
elite*gold: 0
Join Date: Sep 2014
Posts: 354
Received Thanks: 120
...as you see its easier said then done...
---> c'mon bro and step up to my level!!!
The reward outweighs the effort... I know Newton was wrong!
05/11/2018, 01:10
#6
elite*gold: 0
Join Date: Jan 2012
Posts: 7
Received Thanks: 0
no time atm due to work im in busness but ill take some time too add chest function + added consumable festival item ill be back soon
05/12/2018, 04:44
#7
elite*gold: 0
Join Date: Dec 2017
Posts: 46
Received Thanks: 24
This was public one if you want to work from it
Attached Files
GWA² Kilroy v5 Chose Iron vHeroes.rar
(11.6 KB, 59 views)
05/12/2018, 07:07
#8
elite*gold: 0
Join Date: Nov 2012
Posts: 134
Received Thanks: 49
Quote:
Originally Posted by
ayyy_lmao
This was public one if you want to work from it
I removed most of what the OP is seeking out of that bot long ago.
Also, I am glad to see my GlobalItems list is still getting around.
05/12/2018, 15:52
#9
elite*gold: 0
Join Date: Dec 2017
Posts: 46
Received Thanks: 24
Code:
Func Cheest()
; Out("IS THERE A CHEST???")
Local $ChestSpawn = 0
; If GetIsDead(-2) Then Mainloop()
rndsleep(250)
For $i = 0 To 4
; If GetIsDead(-2) Then Mainloop()
TargetNextItem()
Sleep(50)
$Target = GetCurrentTarget()
Sleep(50)
$Name = GetIsStatic($Target)
Sleep(50)
;~ If GetIsDead(-2) = True Then Mainloop(
If $Name = True Then
$ChestSpawn = $ChestSpawn + 1
; Out("YEAH!!! THERE IS!")
$ChestX = DllStructGetData($Target, 'X')
$ChestY = DllStructGetData($Target, 'Y')
; Out("BADABOUM!! OPENING")
; Global $oStats_Lockpicks = DllStructGetData(GetItemByModelID(22751), 'Quantity')
GoSignpost($Target);go to chest
OpenChest();open chest
; Sleep(350)
; GUICtrlSetData($lblchests, GUICtrlRead($lblchests) + 1)
; $nStats_Lockpicks = DllStructGetData(GetItemByModelID(22751), 'Quantity')
; If $nStats_Lockpicks = $oStats_Lockpicks Then
; Out("Lockpick Not broken!!")
; GUICtrlSetData($lblretained, GUICtrlRead($lblretained) + 1)
; EndIf
; If $nStats_Lockpicks <> $oStats_Lockpicks Then
; Out("Argh! Broken..")
; GUICtrlSetData($lblbroken, GUICtrlRead($lblbroken) + 1)
; EndIf
; $nStats_LuckyPoints = GetLuckyTitle() - $oStats_LuckyPoints
; GUICtrlSetData($lbllucky, $nStats_LuckyPoints)
; $nStats_UnLuckyPoints = GetUnLuckyTitle() - $oStats_UnLuckyPoints
; GUICtrlSetData($lblunlucky, $nStats_UnLuckyPoints)
EndIf
Next
;add drop handling here or let drop handing of fight func pick it up
If $ChestSpawn > 0 Then
;Out("Is it gold?")
DropHandling()
Else
GUICtrlSetData($lblnochest, GUICtrlRead($lblnochest) + 1)
;Out("Oh, no chest!")
EndIf
EndFunc ;==>Cheest
this from pongmei think I used this back in the day to add chest opening to mqsc bot should help?
05/12/2018, 17:13
#10
elite*gold: 0
Join Date: May 2011
Posts: 111
Received Thanks: 94
Quote:
Originally Posted by
ayyy_lmao
Code:
Func Cheest()
; Out("IS THERE A CHEST???")
Local $ChestSpawn = 0
; If GetIsDead(-2) Then Mainloop()
rndsleep(250)
For $i = 0 To 4
; If GetIsDead(-2) Then Mainloop()
TargetNextItem()
Sleep(50)
$Target = GetCurrentTarget()
Sleep(50)
$Name = GetIsStatic($Target)
Sleep(50)
;~ If GetIsDead(-2) = True Then Mainloop(
If $Name = True Then
$ChestSpawn = $ChestSpawn + 1
; Out("YEAH!!! THERE IS!")
$ChestX = DllStructGetData($Target, 'X')
$ChestY = DllStructGetData($Target, 'Y')
; Out("BADABOUM!! OPENING")
; Global $oStats_Lockpicks = DllStructGetData(GetItemByModelID(22751), 'Quantity')
GoSignpost($Target);go to chest
OpenChest();open chest
; Sleep(350)
; GUICtrlSetData($lblchests, GUICtrlRead($lblchests) + 1)
; $nStats_Lockpicks = DllStructGetData(GetItemByModelID(22751), 'Quantity')
; If $nStats_Lockpicks = $oStats_Lockpicks Then
; Out("Lockpick Not broken!!")
; GUICtrlSetData($lblretained, GUICtrlRead($lblretained) + 1)
; EndIf
; If $nStats_Lockpicks <> $oStats_Lockpicks Then
; Out("Argh! Broken..")
; GUICtrlSetData($lblbroken, GUICtrlRead($lblbroken) + 1)
; EndIf
; $nStats_LuckyPoints = GetLuckyTitle() - $oStats_LuckyPoints
; GUICtrlSetData($lbllucky, $nStats_LuckyPoints)
; $nStats_UnLuckyPoints = GetUnLuckyTitle() - $oStats_UnLuckyPoints
; GUICtrlSetData($lblunlucky, $nStats_UnLuckyPoints)
EndIf
Next
;add drop handling here or let drop handing of fight func pick it up
If $ChestSpawn > 0 Then
;Out("Is it gold?")
DropHandling()
Else
GUICtrlSetData($lblnochest, GUICtrlRead($lblnochest) + 1)
;Out("Oh, no chest!")
EndIf
EndFunc ;==>Cheest
this from pongmei think I used this back in the day to add chest opening to mqsc bot should help?
You'll throw a million errors if you just drop that into any other script.
Code:
Func FindChest()
Local $ChestSpawn = 0
If GetIsDead(-2) Then Return
rndsleep(250)
For $i = 0 To 4
If GetIsDead(-2) Then Return
TargetNextItem()
Sleep(50)
$Target = GetCurrentTarget()
Sleep(50)
$Name = GetIsStatic($Target)
Sleep(50)
If $Name = True Then
$ChestSpawn = $ChestSpawn + 1
$ChestX = DllStructGetData($Target, 'X')
$ChestY = DllStructGetData($Target, 'Y')
GoSignpost($Target)
Sleep(50)
OpenChest()
EndIf
Next
If $ChestSpawn > 0 Then
PickUpLoot()
Else
Return False
EndIf
EndFunc
05/12/2018, 23:38
#11
elite*gold: 0
Join Date: Dec 2017
Posts: 46
Received Thanks: 24
Code:
Local $lChests = GetAgArray()
Local $lPickUp = False
For $i = 1 To $lChests[0]
If (MemoryRead($lChests[$i] + 156, 'long') = 0x200) Then
GoSignpost($lChests[$i])
OpenChest()
Sleep(GetPing() * 2)
$lPickUp = True
EndIf
Next
Sleep(GetPing() * 3 + 500)
If $lPickUp Then PickShitUp()
think this is another way of doing chest?
05/13/2018, 07:41
#12
elite*gold: 0
Join Date: May 2014
Posts: 269
Received Thanks: 328
A Chest isn't the only Agent with Agent Type 0x200.
05/13/2018, 14:54
#13
elite*gold: 0
Join Date: Jan 2012
Posts: 7
Received Thanks: 0
I get an disconnect error each time I zone in the dungeon when I try to fix the scroll function any idea?
05/17/2018, 18:41
#14
elite*gold: 0
Join Date: Dec 2017
Posts: 46
Received Thanks: 24
uhh post the code? cuz rn we can only grasp at straws, might be header might be badly worded func ect
05/18/2018, 03:15
#15
elite*gold: 0
Join Date: Jun 2009
Posts: 94
Received Thanks: 66
try this
Code:
Local $aChestName = "Xunlai Chest"
Local $lChest = GetAgentByName($aChestName)
If IsDllStruct($lChest) Then
Out("Going to " & $aChestName)
GoToNPC($lChest)
RndSleep(Random(3000, 4200))
EndIf
Quote:
Originally Posted by
ayyy_lmao
Code:
Local $lChests = GetAgArray()
Local $lPickUp = False
For $i = 1 To $lChests[0]
If (MemoryRead($lChests[$i] + 156, 'long') = 0x200) Then
GoSignpost($lChests[$i])
OpenChest()
Sleep(GetPing() * 2)
$lPickUp = True
EndIf
Next
Sleep(GetPing() * 3 + 500)
If $lPickUp Then PickShitUp()
think this is another way of doing chest?
Similar Threads
wtb killroy bot
07/29/2017 - Guild Wars Trading - 1 Replies
add me skype or pm here
Killroy Bot Help Please
02/26/2012 - GW Bots - 0 Replies
Globeul Globeul Fixxed it Good Job !!
Kaufe Killroy Bot
07/24/2011 - Guild Wars Trading - 0 Replies
Suche funktionierenden Killroy Bot mit Support !
Zahle in Ektos
wsp me
suche bot für Killroy steinsip!!!!!!
06/28/2011 - GW Bots - 19 Replies
Heiii is wichtig wenn wer ein KOSTENLOSEN bot für killroy steinsip in gunnars feste hat bitte per pn melden
knbb funktionird bei mir irgentwie nicht wenn vlt dort jemand sogar ne lösung für mein problem weiß pn ich gebe teamviewer daten raus!!
Fehler:
1- Also wie im video von knbb beschrieben muss ich erst gw starten tuh ich danach führe ich die run-inject aus
da muss ich administration aktzeptieren danach kommt aber nicht die meldung gw.exe konte nicht gefunden werden ich habe...
[S] Killroy BoT [B] PayPal or Ektos / Ectos
06/06/2011 - Guild Wars Trading - 0 Replies
Hey,
wie im Titel genannt suche ich ein Killroy Bot !
Wer ein hat , bitte melden.
MfG
*-*Techno*-*
All times are GMT +1. The time now is 10:08 .