Register for your free account! | Forgot your password?

You last visited: Today at 11:32

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



GW Working Bots 2020

Discussion on GW Working Bots 2020 within the GW Exploits, Hacks, Bots, Tools & Macros forum part of the Guild Wars category.

Reply
 
Old 08/27/2020, 15:12   #826
 
Restia Ashdoll's Avatar
 
elite*gold: 0
Join Date: Apr 2016
Posts: 305
Received Thanks: 163
Quote:
Originally Posted by lemoutondu10 View Post
Hi there is there currently a buy and sell mats bot? Or an old one i could try to update?
Would be very much appreciated
Ty guys for the great work
just use toolbox for that?
Restia Ashdoll is offline  
Old 08/27/2020, 15:47   #827
 
elite*gold: 0
Join Date: Jul 2020
Posts: 1
Received Thanks: 0
Any chestrunning bot for kurz/lux chests like Eternal Grove?
biohazardrain is offline  
Old 08/27/2020, 16:33   #828
 
elite*gold: 0
Join Date: Jul 2008
Posts: 78
Received Thanks: 12
Quote:
Originally Posted by Restia Ashdoll View Post
just use toolbox for that?
Wait how?
lemoutondu10 is offline  
Old 08/27/2020, 17:38   #829
 
Restia Ashdoll's Avatar
 
elite*gold: 0
Join Date: Apr 2016
Posts: 305
Received Thanks: 163
Quote:
Originally Posted by lemoutondu10 View Post
Wait how?
they have a buy or sell option just speak with the trader select how much you wanna buy/sell and u done
Restia Ashdoll is offline  
Thanks
1 User
Old 08/27/2020, 18:01   #830
 
elite*gold: 0
Join Date: Feb 2014
Posts: 181
Received Thanks: 337
Quote:
Originally Posted by ForgottenRelic View Post
Okay so here goes once again a horrible attempt at creating something...


So lets say I wanna make an EXTREMELY NOOBISH script.....
(Farming a green boss w/heroes) <---- childish, right? its 2020.

I have kinda copied and pasted some functions that I know work from other scripts.

I have already figured out how to travel to said outpost, add heroes that I want with specific build needed and load my build for my character.

The bloody problem i'm having is this...

option 1 : just run to said place of boss and let heroes farm it ( no attacking required)
or option 2: target nearest foe and start attacking.


I have tried different ways all day yesterday and kept on getting errors. will attach my noobish script to it, any helpful pointers is much appreciated.
"Option 1"
First, To solve your first issue, load up a program to get your coordinates. Toolbox works fine for this. Move from your spawn point to the nearest exit and again get your coordinates (ensure you select the best path that prevents you from getting stuck. You may need to add more coordinates to move around obstacles).

Once you have your coordinates, then write out your movements. You can just simply write something like the below:

Code:
MoveTo(2331, 7832)
MoveTo(5478, 9872)
MoveTo(4312, 4391)
When I first write a script I might make some minor notes like:

Code:
MoveTo(2331, 7832) ;Stairs
MoveTo(5478, 9872) ;Near Merch
MoveTo(4312, 4391) ;Exit Portal
Once you do this then of course test and make sure its working smoothly and you don't get stuck anywhere. Also, try starting from a different town to make sure you don't get stuck when you zone to your target town and have a different spawn point.

Next get your portal way point and make sure to write this as:

Code:
Move(4532, 3421)
Remember, your MoveTo() function will send the command for your character to move to a certain location and then when it arrives it will go to the next movement or command so if you try to Zone with MoveTo() then you will often have a disconnect so always use Move() as this will simply begin to walk through the portal and immediately go to your next command which should be:

Code:
WaitMapLoading()
This will have your char wait until the map is loaded before proceeding to the next command.

Test a few times to ensure its working smoothly.

Next, map out your next path and get the coordinates to your boss. If there are no enemy between you and the boss and therefore no fighting then you can continue to use MoveTo() otherwise try something like MoveAggro() or MoveAggroing() or MoveKill() pull an example of a good moving and fighting function from a different script. Check scripts like Feather farmers, Kilroy, UW, or Froggy. Also, make sure to go through and look at the functions in GWA2 and become familiar with them as well.

"Option 2"
For your final fight, you can TargetNearestEnemy() and Attack() but you also want to try to work in some sort of cast engine for yourself. You should look at other scripts to see how they use the skills but you can also simply write a basic order for casting like:

Code:
UseSkill(1,-2)
UseSkill(2)
UseSkill(3)
UseSkill(4)
UseSkill(5,-2)
UseSkill(6)
UseSkill(7)
UseSkill(8)
From GWA2:
Code:
;~ Description: Use a skill.
Func UseSkill($aSkillSlot, $aTarget, $aCallTarget = False)
	Local $lTargetID

	If IsDllStruct($aTarget) = 0 Then
		$lTargetID = ConvertID($aTarget)
	Else
		$lTargetID = DllStructGetData($aTarget, 'ID')
	EndIf

	DllStructSetData($mUseSkill, 2, $aSkillSlot)
	DllStructSetData($mUseSkill, 3, $lTargetID)
	DllStructSetData($mUseSkill, 4, $aCallTarget)
	Enqueue($mUseSkillPtr, 16)
EndFunc   ;==>UseSkill
Here is an example of skill casting sequence from the Dervish Feather script and also the modified function:

Code:
Func KillOldVersion()
   If GetMapLoading() == 2 Then Disconnected()
   If GetIsDead(-2) Then Return
   If GetEffectTimeRemaining(1516) <= 0 Then UseSkillEx(8,-2)
   If GetEffectTimeRemaining(1540) <= 0 Then UseSkillEx(7,-2)
   If GetEffectTimeRemaining(1510) <= 0 Then UseSkillEx(1,-2)
   TargetNearestEnemy()
   WaitForSettle(800, 210)
   If IsRecharged(2) Then UseSkillEx(2,-2)
   If GetEnergy(-2) >= 10 Then
	  UseSkillEx(3,-2)
	  UseSkillEx(4,-1)
   EndIf
   While GetNumberOfFoesInRangeOfAgent(-2,900) > 0
	  If GetMapLoading() == 2 Then Disconnected()
	  If GetIsDead(-2) Then Return
	  TargetNearestEnemy()
	  If GetEffectTimeRemaining(1516) <= 0 Then UseSkillEx(8,-2)
	  If GetEffectTimeRemaining(1540) <= 0 Then UseSkillEx(7,-2)
	  If GetEffectTimeRemaining(1510) <= 0 And GetNumberOfFoesInRangeOfAgent(-2,300) > 1 Then UseSkillEx(1,-2)
	  If GetEffectTimeRemaining(1759) <= 0 Then UseSkillEx(2,-2)
	  Sleep(100)
	  Attack(-1)
   WEnd
   RndSleep(200)
   PickUpLoot()
   EndFunc
Another Example:

Code:
   If IsRecharged(2) Then UseSkillEx(2,-2)
   If GetEnergy(-2) >= 10 Then
	  UseSkillEx(3,-2)
	  UseSkillEx(4,-1)
   EndIf
   Attack(-1)
And here is the function for UseSkillEx()
Code:
Func UseSkillEx($lSkill, $lTgt = -2, $aTimeout = 3000)
    If GetIsDead(-2) Then Return
    If Not IsRecharged($lSkill) Then Return
    Local $Skill = GetSkillByID(GetSkillBarSkillID($lSkill, 0))
    Local $Energy = StringReplace(StringReplace(StringReplace(StringMid(DllStructGetData($Skill, 'Unknown4'), 6, 1), 'C', '25'), 'B', '15'), 'A', '10')
    If GetEnergy(-2) < $Energy Then Return
    Local $lAftercast = DllStructGetData($Skill, 'Aftercast')
    Local $lDeadlock = TimerInit()
    UseSkill($lSkill, $lTgt)
    Do
	    Sleep(50)
	    If GetIsDead(-2) = 1 Then Return
	    Until (Not IsRecharged($lSkill)) Or (TimerDiff($lDeadlock) > $aTimeout)
    Sleep($lAftercast * 1000)
EndFunc   ;==>UseSkillEx

Func CountFreeSlots($NumOfBags = 4)
   Local $FreeSlots, $Slots

   For $Bag = 1 to $NumOfBags
	  $Slots += DllStructGetData(GetBag($Bag), 'Slots')
	  $Slots -= DllStructGetData(GetBag($Bag), 'ItemsCount')
   Next

   Return $Slots
EndFunc
I like this function because it uses the skill and adds in the needed time before moving to the next skill so you do not need to add in sleep time or anything before your next skill or command.

Some skills are attack skills that target others and some are self targeting so that is why you see some written like:

Code:
UseSkillEx(1)
UseSkillEx(2)
UseSkillEx(3)
and some skills written like:

Code:
UseSkillEx(1, -2)
UseSkillEx(2, -2)
UseSkillEx(3, -2)
You just have to take note of this and the parameters of the skill function.

Code:
Func UseSkillEx($lSkill, $lTgt = -2, $aTimeout = 3000)
So in summary, there are many ways to write a basic boss farm script but I tried to make it as simple as I could here. Make these adjustments and try again. Post your results and lets see if you can get it.

Function Summary Example:

Code:
MoveTo(2331, 7832) ;Stairs
MoveTo(5478, 9872) ;Near Merch
MoveTo(4312, 4391) ;Exit portal near tree
Move(4532, 3421) ;Zoning 
WaitMapLoading() ;Waiting to load into Domain of Anguish
MoveAggroing(3455, 6532)  ;1st group of enemy
MoveAggroing(3421, 4321)  ;2nd group of enemy
MoveAggroing(3421, 2351)  ;3rd group of enemy
MoveAggroing(3421, 4321)  ;4th group of enemy near rock
MoveAggroing(3421, 2351)  ;5th group of enemy with monks
KillBoss()
PickUpLoot()
UpdateStats()
BackToTown()
RiflemanX is offline  
Thanks
4 Users
Old 08/27/2020, 20:59   #831
 
elite*gold: 0
Join Date: Jan 2019
Posts: 53
Received Thanks: 22
Dude, thank you. this is exactly what i needed... I will update this into my script and learn the casting function.



Edit : Sorry LOL
ForgottenRelic is offline  
Old 08/28/2020, 01:37   #832
 
phat34's Avatar
 
elite*gold: 0
Join Date: Sep 2014
Posts: 354
Received Thanks: 120
please don't reply with quote on messages that long... omg!

phat34 is offline  
Thanks
2 Users
Old 08/29/2020, 15:45   #833
 
elite*gold: 0
Join Date: Mar 2012
Posts: 5
Received Thanks: 1
Hello,

I use actually the Moss Farmer updated by Jokai93.

I need help, I don't think he recycles the roots but he sells them.

Someone can help me for script to modify as I wish.

Thanks

Jungle-
Junglestyle is offline  
Old 08/30/2020, 01:11   #834
 
elite*gold: 0
Join Date: Aug 2020
Posts: 2
Received Thanks: 0
Hello,

Looks like Kilroy is not working for me. The first dialog has changed to x084 instead of x085. After entering the map, the bot does not attack. What needs to be changed for it to attack?
dev0x is offline  
Old 08/30/2020, 02:30   #835
 
elite*gold: 0
Join Date: Jan 2019
Posts: 53
Received Thanks: 22
I have been using the kilroy all day, no problems for me. Can you link your script so i can take a look at it?
ForgottenRelic is offline  
Old 08/30/2020, 13:20   #836
 
elite*gold: 0
Join Date: Oct 2012
Posts: 11
Received Thanks: 1
Quote:
Originally Posted by FriendlyFarmer View Post
Assuming you are already at the correct NPC (so not sending packets when not near him)

It's either
  • Wrong dialog Id (like Zvend said)
    [*]You have more unspend kurzick factions than luxon faction, so you need an extra dialog. See for more info

What Rifleman said is incorrect.
Hey, it was this, thank you ;o
azerty8585 is offline  
Old 08/30/2020, 14:51   #837
 
elite*gold: 0
Join Date: Feb 2013
Posts: 20
Received Thanks: 0
Quote:
Originally Posted by Aimcorp View Post
anyone interested in an updated ss/lb bot? the worm run.
got it running, if there is interest id be fixing the rest of the bot aswell.
+1 interested
MMOLuisChi is offline  
Old 08/30/2020, 23:07   #838
 
elite*gold: 0
Join Date: Aug 2020
Posts: 2
Received Thanks: 0
Quote:
Originally Posted by ForgottenRelic View Post
I have been using the kilroy all day, no problems for me. Can you link your script so i can take a look at it?
It happens with every kilroy link in this thread. What else should I do to troubleshoot?
dev0x is offline  
Old 08/30/2020, 23:22   #839
 
elite*gold: 0
Join Date: Jan 2020
Posts: 41
Received Thanks: 4
Can anyone tell me "Type" numbers for Spears, Dagger, Bow, Wand?
OriginsEXE is offline  
Old 08/31/2020, 01:23   #840
 
elite*gold: 0
Join Date: Dec 2010
Posts: 51
Received Thanks: 25
my bad old info
corey54321 is offline  
Reply


Similar Threads Similar Threads
[WTT] UPlay Anno 2020 Complete Key gegen Anno 1404/Anno 2020 Complete STEAM
08/12/2015 - Steam Trading - 0 Replies
Want to Trade UPlay Anno 2020 Complete Key gegen Anno 1404 oder Anno 2020 Complete STEAM only with Middleman



All times are GMT +2. The time now is 11:32.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.