You code is a good example but i have certain problems with this: in some autoit version your bot will crash ( not guild wars) because variables are not declared, here is a better way:
Code:
Func UseSummoningStone()
; always declare the used variables at the top of the function
; dont use global in the for loop
Local $item
Local $bagSlots
Local $ImpID = 30847
For $bag = 1 To 4
;use a variable here instead that way you save some processor time, and dont have to
;check the whole struct for every iteration it makes
$bagSlots = DllStructGetData(GetBag($bag), 'Slots')
For $slot = 1 To $bagSlots
$item = GetItemBySlot($bag, $slot)
If DllStructGetData($item, 'ModelID') == $ImpID Then
UseItem($item)
RndSleep(500)
Return
EndIf
Next
Next
EndFunc
I checked up on this doing GWA2 edits - don't AutoIt For loops check the upper limit once anyway?
I checked up on this doing GWA2 edits - don't AutoIt For loops check the upper limit once anyway?
Good point!
I honestly didnt know it myself, i looked it up and you are right:
Quote:
For...Next statements may be nested. The For loop terminates when the value of variable exceeds the stop threshold. If stepVal or stop is a variable, its value is only read the first time the loop executes.
My main programming language isnt AutoIt But IMO its a better way to read a value one time, but you are free to do it as you want
n0futur3 put it on the topic "GW Working Bots 2020".
i don't try if it runs correctly
Yep this works thanks!
Fixed the header for using an item which should be 85, located in "GWA2_16.02.2020.au3" - line 83.
Wanted to use the code below but GW crashes. Works fine in other bots I use. Anyone know a fix?
I haven't played Guild Wars for a long time and when I came back I noticed that someone had hacked my old account so I had to start from scratch
Since I am quite busy and am quite a beginner in bots, I would like to ask for help here and would also pay some money (via PayPal) for it.
It would be cool if a bot veteran here could help me run one of the best kurzick farmbots (and maybe some other ones).
Discord: SmilodeX | Max#4033
There is no need to pay any money - most of the bots are public if you need help people will give you a hand if show some effort yourself and don't just push all the "work" on others
Working Kurzick Title Bot 05/06/2018 - GW Exploits, Hacks, Bots, Tools & Macros - 1 Replies HM in faction !
House Zu Heltzer (Kurzick side)
Feed on the Name.Ini the Name IGN of your char.
You must be on a Kurzick guild to dump faction (donate function), else it fail xD
Equipement : Feel free with armor,
Vanquish RSPS 03/30/2014 - Runescape Private Server - 7 Replies http://i.imgur.com/nM1NEtM.png
The new age is upon us, the future of Runescape private servers is soon to be unveiled and we shall rise amongst the ranks of our competitors, crushing them to claim our title as the number one server. This will be an experience like no other that you have embarked on before, begin your quest to become a legend in our community of players. We invite any patrons to join us in making history and creating a legacy for those to follow. New and Old players will find...
wtb vanquish title 04/04/2012 - Guild Wars Trading - 0 Replies i want to pay someone to run me the title vanquish legendary
vanquish rootkit 07/02/2009 - Kal Online - 2 Replies weiß da jemand zufällig nen download link oder kennt jemand ein tutorial dazu?
Does some1 know a download link for the rootkit?Or a tutorial for it?
MasterOfHunT