GW Working Bots 2019!

08/14/2019 11:35 oneshout#1351
Quote:
Originally Posted by Bibopp View Post
more effective version
- Survivability is way better (good job ;) )
- the ball-up of enemy mobs is no effective for the moment (but enough to test and have an idea of effective)
- Possible to have character who take the drop of gemstones margonites on the run before the end of the run ? if it fail before the end, drop are lost (have done manually before the end of the run and i was right...my character die just after)

Quote:
Margonite gemstone
- ModelId : 21128
Good job Bibopp :handsdown:
08/14/2019 13:29 Bibopp#1352
I think it’s working pretty well now.
New...
08/14/2019 15:44 oneshout#1353
Quote:
Originally Posted by Bibopp View Post
I think it’s working pretty well now.
New...
noob questions :
- are there a function for target a specific foe like margo ki ?
- What is the condition for bot to stop the run ? (apart from being dead :) )
08/14/2019 18:32 tonreuf#1354
Quote:
Originally Posted by oneshout View Post
noob questions :
- are there a function for target a specific foe like margo ki ?
I did it in my plains farm bot to target riders only :

Code:
Func GetTargetRider($aAgent = -2, $aRange = 1700)
	 If GetIsDead(-2) Then Return
	 Local $rider = 2323
	 If GetMapLoading() == 2 Then Disconnected()
	  Local $lAgent, $lDistance, $lNearestDistance, $TargetRider
	  Local $lAgentArray = GetAgentArray(0xDB)
	  If Not IsDllStruct($aAgent) Then $aAgent = GetAgentByID($aAgent)
	  $lNearestDistance = 9999
	  For $i = 1 To $lAgentArray[0]
		 $lAgent = $lAgentArray[$i]
		 If BitAND(DllStructGetData($lAgent, 'typemap'), 262144) Then
		 If StringLeft(GetAgentName($lAgent), 7) <> "Servant" Then ContinueLoop
		 EndIf
		 If DllStructGetData($lAgent, 'Allegiance') <> 3 Then ContinueLoop
		 If DllStructGetData($lAgent, 'HP') <= 0 Then ContinueLoop
		 If BitAND(DllStructGetData($lAgent, 'Effects'), 0x0010) > 0 Then ContinueLoop
		 $lDistance = GetDistance($lAgent)
		 If $lDistance > $aRange Then ContinueLoop


		 If DllStructGetData($lAgent, 'PlayerNumber') <> $rider Then ContinueLoop


		 If $lDistance < $lNearestDistance Then
			$TargetRider = $lAgent
			$lNearestDistance = $lDistance
		 EndIf
	  Next
   Return $TargetRider
EndFunc
Code:
Func GetNumberOfRidersInRangeOfAgent($aAgent = -2, $aRange = 1700)
   If GetIsDead(-2) Then Return
   Local $rider = 2323
   If GetMapLoading() == 2 Then Disconnected()
   Local $lAgent, $lDistance
   Local $lCount = 0, $lAgentArray = GetAgentArray(0xDB)
   If Not IsDllStruct($aAgent) Then $aAgent = GetAgentByID($aAgent)
   For $i = 1 To $lAgentArray[0]
	  $lAgent = $lAgentArray[$i]
	  If BitAND(DllStructGetData($lAgent, 'typemap'), 262144) Then
		If StringLeft(GetAgentName($lAgent), 7) <> "Servant" Then ContinueLoop
	  EndIf
	  If DllStructGetData($lAgent, 'Allegiance') <> 3 Then ContinueLoop
	  If DllStructGetData($lAgent, 'HP') <= 0 Then ContinueLoop
	  If BitAND(DllStructGetData($lAgent, 'Effects'), 0x0010) > 0 Then ContinueLoop
	  $lDistance = GetDistance($lAgent)
	  If $lDistance > $aRange Then ContinueLoop


	  If DllStructGetData($lAgent, 'PlayerNumber') <> $rider Then ContinueLoop


	  $lCount += 1
   Next
   Return $lCount
EndFunc
Quote:
Originally Posted by oneshout View Post
- What is the condition for bot to stop the run ? (apart from being dead )
What do you mean ?
08/14/2019 20:02 oneshout#1355
Quote:
Originally Posted by tonreuf View Post
[B]
What do you mean ?
I wanted to know conditions for the bot to stop the run, resign and go again... It's not clear in my mind

PS : Tks for the script tonreuf, Phat34 help me too with similar thing :handsdown:
08/14/2019 20:03 Coaxx123#1356
Code:
 CombatLoop()
;~ 	BackToTown()
Presume that's what youre asking?
08/14/2019 20:08 oneshout#1357
Quote:
Originally Posted by Coaxx123 View Post
Code:
 CombatLoop()
;~ 	BackToTown()
Presume that's what youre asking?
humm not really... just wanted to know if there is a kind of timer, specific number of foe killed etc... Seem bot resign randomly for me...maybe it's just me :D
08/14/2019 20:38 Coaxx123#1358
Quote:
Originally Posted by oneshout View Post
humm not really... just wanted to know if there is a kind of timer, specific number of foe killed etc... Seem bot resign randomly for me...maybe it's just me :D
Can only see the timers for deadlock and can't see any other reason it would end, are you sure that's not being triggered early?
08/14/2019 22:12 phat34#1359
I noticed he resigned early as well... will be looking at this more closely..
08/15/2019 09:57 Coaxx123#1360
Anyone have an old rups evolved bot I could attempt to update at all?

Nevermind I have found them
08/15/2019 14:08 NiliyaFlamme#1361
Rupt bot in 2k19 luls xD
08/15/2019 14:24 Coaxx123#1362
Quote:
Originally Posted by NiliyaFlamme View Post
Rupt bot in 2k19 luls xD
Missing something?
08/15/2019 14:42 NiliyaFlamme#1363
Quote:
Originally Posted by Coaxx123 View Post
Missing something?
No,all okay, it was just funny, no flame or anything
08/16/2019 16:55 pseudopseudogw#1364
hello! i was wondering if there was any public working destroyer cores bot available?
08/16/2019 17:23 oneshout#1365
Quote:
Originally Posted by pseudopseudogw View Post
hello! i was wondering if there was any public working destroyer cores bot available?
not for the moment and the older one done by [Only registered and activated users can see links. Click Here To Register...] was build around a GWapi...
But again, the farm is really easy and can be done afk :D :

-> [Only registered and activated users can see links. Click Here To Register...]

Cheers