d2jsp
Log InRegister
d2jsp Forums > Other Games > Archived Games > Hellgate > Bot Creation...
Prev123456Next
Closed
Member
Posts: 2,187
Joined: Sep 3 2006
Gold: 16,500.02
Oct 8 2011 09:21pm
Is there anyway to modify this so that it just goes into SH, destroys the pots on the ground, loots, then leaves and resets?
Member
Posts: 15
Joined: Sep 30 2011
Gold: 0.00
Oct 9 2011 02:53pm
LOL,I just realised that the unstuck command was necesarry so the character can go back

Add this to your code so you don't need unstuck macro.
Code
Send("{ENTER}")
  Send("/unstuck")
  Send("{ENTER}")


Edit: Also,how much is one second on Sleep?Is it 1000?

This post was edited by Kasad on Oct 9 2011 03:06pm
Member
Posts: 15
Joined: Sep 30 2011
Gold: 0.00
Oct 9 2011 06:32pm
Say I want to leave it farm afk forever.

Is there any way to control the mouse without the need to be in the game?ControlSend fixes that problem for keyboard only.

And we do want bots that work underground,right?
Member
Posts: 15
Joined: Sep 30 2011
Gold: 0.00
Oct 10 2011 03:33pm
Also,need the code to work on x64,despite hellgate running on x86...How is that even possible o.0
Member
Posts: 2,187
Joined: Sep 3 2006
Gold: 16,500.02
Oct 15 2011 09:32pm
Evoker Bot v1
---cheers to Ispanika for the original code, you should DONATE to him for his hard work---

NOTES:
The timings aren't EVER perfect, I find with the walking, so it can be hit or miss.
I would like some help w/ loading screen recognition or reset button recognition or area recognition
Timings on portal entering and exiting can change, I change them and it's ALWAYS too much or too little, even with the same times; it can cause the bot to walk back into SH, which essentially breaks the loop
If you have a ton of splash damage %, it will pull the mobs too early when it destroys the pots in the first room, just remove the code:

Keybinds:
Left Click = Demonspine or Flameshards
Right Click = Hellfire
Middleclick = Arcane Shield

Code
;### Tidy Error: next line creates a negative tablevel.
;### Tidy Error: next line creates a negative tablevel for the line after it.
#ce ----------------------------------------------------------------------------

#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>

#region
$Form1 = GUICreate("Hellgate Bot", 268, 257, 637, 331)
$Form1 = GUISetBkColor(0xb83f5d)
$Form1 = GUICtrlSetFont(-1, 12, 800, 0, "Comic Sans Ms")
$Form1 = GUISetState()
$Button1 = GUICtrlCreateButton("GO GO > START", 20, 40, 190, 50, 0)
$Button2 = GUICtrlCreateButton("Pause Button = Pause / ESC = Quit", 20, 120, 190, 50, 0)
$Button3 = GUICtrlCreateButton("USE 1024x768 RESOLUTION - FULLSCREEN", 20, 180, 250, 50, 0)
GUISetState(@SW_SHOW)
$Mouse = MouseGetPos()
#endregion

_WinWaitActivate("Hellgate (x86 DX9)", "")
Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Terminate")

Func _WinWaitActivate($title,$text,$timeout=0)
WinWait($title,$text,$timeout)
If Not WinActive($title,$text) Then WinActivate($title,$text)
WinWaitActive($title,$text,$timeout)
EndFunc

Func _move($loop, $key)
For $i = $loop To 1 Step -1
ControlSend("Hellgate (x86 DX9)", "", "", $key)
Next
EndFunc;==>_move

Func TogglePause()
  $Paused = NOT $Paused
  While $Paused
      sleep(100)
      ToolTip('BOT IS PAUSED ATM',0,0)
  WEnd
  ToolTip("Use 1024x768")
EndFunc

Func Terminate()
  Exit 0
EndFunc


While 1
$nMsg = GUIGetMsg()

Select

Case $Button1
 While 1

  Sleep(5000); TO PORTAL  
  _move(260, "s"); I NEED HELP LETTING THE BOT KNOW TO STOP USING THIS KEY IF IT HAS ENTERED THE INSTANCE
  Sleep(5)
  _move(14, "w")
  Sleep(5)
  _move(14, "s")
  Sleep(10000); INSIDE BELOW THIS LINE
MouseClick("right"); DESTROYS POTS WITH HELLFIRE TO LOOT
  Sleep(1000)  
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(1000)
  _move(50, "w")
  Sleep(5)
  _move(60, "a")
  _move(60, "w")
  Sleep(10)
  _move(40, "a")
  Sleep(10)
  _move(60, "w")
  Sleep(10)
  _move(30, "a")
  Sleep(10)
  _move(120, "w")
  Sleep(10)
  _move(60, "a")
  Sleep(10)
  _move(200, "w")
  Sleep(10)
  _move(50, "a")
  Sleep(1000)
MouseClick("middle")
Sleep(500)
  _move(200, "w")
  Sleep(500)
MouseClick("left")
  Sleep(1000)
MouseClick("right")
  Sleep(1000)
MouseClick("right")
  Sleep(1000)
MouseClick("left")
  Sleep(1000)
MouseClick("right")
  Sleep(1000)
MouseClick("left")
  Sleep(1000)
MouseClick("left")
  Sleep(1000)
MouseClick("right")
  Sleep(1000)
MouseClick("right")
  Sleep(1000)
MouseClick("left")
  Sleep(1000); 2ND ATTACK PLUS LOOTING BELOW THIS LINE
  _move(500, "w")
  Sleep(1000)
MouseClick("right")
  Sleep(1000)  
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(1000)
MouseClick("middle"); BEFORE /UNSTUCK CASTS ARCANE SHIELD
  Sleep(1000)
Send("{ENTER}")
  Sleep(500)
Send("/unstuck")
  Sleep(500)
Send("{ENTER}")
  Sleep(16000)
  _move(260, "s");  I NEED HELP LETTING THE BOT KNOW TO STOP USING THIS KEY IF IT HAS EXITED THE INSTANCE
  Sleep(50)
  _move(14, "w")
  Sleep(50)
  _move(14, "s")
  Sleep(50)
  _move(14, "w")
  Sleep(50)
  _move(14, "s")
  Sleep(12000)
Send("{ALTDOWN}"); RESET
  Sleep(1000)
MouseClick("primary", "834", "63", 10)
  Sleep(1400)
MouseClick("primary", "445", "426", 10)
  Sleep(1400)
MouseClick("primary", "508", "410", 10)
  Sleep(1400)
  Send("{ALTUP}")
  Sleep(250)

 WEnd

Case $Button2
 GUIDelete()
 ExitLoop

EndSelect


WEnd


This post was edited by chumly on Oct 15 2011 09:44pm
Member
Posts: 2,187
Joined: Sep 3 2006
Gold: 16,500.02
Oct 15 2011 11:45pm
EvokerBot v1.1


changes:
-Entrance/Exit code fixed - Now more reliable
-Additional moving taken away from code, bot was dying occasionally.
-Arcane Shield switched to number 8 (I do not know if there was a bug in my code, but I could not get it to cast on middle mouse button regularly)
-Timers more polished, bot runs faster
-Bot now attacks before moving forward and casting arcane shield and attacks again, much cleaner.

After a few hour stress test of this, it may indeed be my final code, it seems to be running very smoothly.
I will release the .exe for public as soon as I'm sure.

Code
;### Tidy Error: next line creates a negative tablevel.
;### Tidy Error: next line creates a negative tablevel for the line after it.
#ce ----------------------------------------------------------------------------

#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>

#region
$Form1 = GUICreate("Hellgate Bot", 268, 257, 637, 331)
$Form1 = GUISetBkColor(0xb83f5d)
$Form1 = GUICtrlSetFont(-1, 12, 800, 0, "Comic Sans Ms")
$Form1 = GUISetState()
$Button1 = GUICtrlCreateButton("GO GO > START", 20, 40, 190, 50, 0)
$Button2 = GUICtrlCreateButton("Pause Button = Pause / ESC = Quit", 20, 120, 190, 50, 0)
$Button3 = GUICtrlCreateButton("USE 1024x768 RESOLUTION - FULLSCREEN", 20, 180, 250, 50, 0)
GUISetState(@SW_SHOW)
$Mouse = MouseGetPos()
#endregion

_WinWaitActivate("Hellgate (x86 DX9)", "")
Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Terminate")

Func _WinWaitActivate($title,$text,$timeout=0)
WinWait($title,$text,$timeout)
If Not WinActive($title,$text) Then WinActivate($title,$text)
WinWaitActive($title,$text,$timeout)
EndFunc

Func _move($loop, $key)
For $i = $loop To 1 Step -1
ControlSend("Hellgate (x86 DX9)", "", "", $key)
Next
EndFunc ;==>_move

Func TogglePause()
  $Paused = NOT $Paused
  While $Paused
      sleep(100)
      ToolTip('BOT IS PAUSED ATM',0,0)
  WEnd
  ToolTip("Use 1024x768")
EndFunc

Func Terminate()
  Exit 0
EndFunc


While 1
$nMsg = GUIGetMsg()

Select

Case $Button1
 While 1

  Sleep(3000); TO PORTAL  
Send("{s down}")
  Sleep(1200)
Send("{s up}")
  Sleep(200)
Send("{w down}")
  Sleep(250)
Send("{w up}")
  Sleep(200)
Send("{s down}")
  Sleep(250)
Send("{s up}")
  Sleep(5)
  _move(10, "w")
  Sleep(5)
  _move(10, "s")
  Sleep(6000); INSIDE BELOW THIS LINE
  _move(50, "w")
  Sleep(5)
  _move(60, "a")
  _move(60, "w")
  Sleep(10)
  _move(40, "a")
  Sleep(10)
  _move(60, "w")
  Sleep(10)
  _move(30, "a")
  Sleep(10)
  _move(120, "w")
  Sleep(10)
  _move(60, "a")
  Sleep(10)
  _move(200, "w")
  Sleep(10)
  _move(50, "a")
  Sleep(1000)
MouseClick("right")
  Sleep(1000)
MouseClick("left")
  Sleep(1000)
MouseClick("left")
  Sleep(1000)
MouseClick("left")
  Sleep(1000)
ControlSend("Hellgate (x86 DX9)", "", "", "{8}")
  Sleep(1000)
  _move(200, "w")
  Sleep(500)
MouseClick("left")
  Sleep(1000)
MouseClick("right")
  Sleep(1000)
MouseClick("right")
  Sleep(1000)
MouseClick("left")
  Sleep(1000)
MouseClick("right")
  Sleep(1000)
MouseClick("left")
  Sleep(1000)
MouseClick("left")
  Sleep(1000)
MouseClick("right")
  Sleep(1000)
MouseClick("right")
  Sleep(1000)
MouseClick("left")
  Sleep(1000); 2ND ATTACK PLUS LOOTING BELOW THIS LINE  
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(1000)
ControlSend("Hellgate (x86 DX9)", "", "", "{8}")
  Sleep(1000)
Send("{ENTER}")
  Sleep(500)
Send("/unstuck")
  Sleep(500)
Send("{ENTER}")
  Sleep(15000)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(100)
ControlSend("Hellgate (x86 DX9)", "", "", "{F}"); Loot
  Sleep(1000)
Send("{s down}")
  Sleep(1200)
Send("{s up}")
  Sleep(200)
Send("{w down}")
  Sleep(250)
Send("{w up}")
  Sleep(200)
Send("{s down}")
  Sleep(250)
Send("{s up}")
  Sleep(5)
  _move(10, "w")
  Sleep(5)
  _move(10, "s")
  Sleep(8000)
Send("{ALTDOWN}"); RESET
  Sleep(1000)
MouseClick("primary", "834", "63", 10)
  Sleep(1400)
MouseClick("primary", "445", "426", 10)
  Sleep(1400)
MouseClick("primary", "508", "410", 10)
  Sleep(1400)
  Send("{ALTUP}")
  Sleep(250)

 WEnd

Case $Button2
 GUIDelete()
 ExitLoop

EndSelect


WEnd
Member
Posts: 15
Joined: Sep 30 2011
Gold: 0.00
Oct 16 2011 12:52am
I suggest adding Loops to greatly shorten your code.
Member
Posts: 2,187
Joined: Sep 3 2006
Gold: 16,500.02
Oct 16 2011 11:43am
EvokerBot v1.2

changes:
-Added Boneshard Attack, keybind 7 - for looting pots on the ground before exiting
-Fixed looting
-Further tidying of timers

Instructions:

1. Set resolution to 1024x768
2. Set ALL graphics to minimum (all on low, uncheck everything)
3. Set key bindings:
-Left click - Demonspine of Flameshards
-Right Click - Hellfire
-Button 8 - Arcane Shield
-Button 7 - Boneshards or Leave Blank
4. Go to Harrow Deep, enter then exit, do not move
5. Run bot

For max experience, I suggest maxing splash radius.
For looting, I suggest Auto Dismantlers set at Legendary.

Download Here:
http://www.megaupload.com/?d=OVKP22XF

Code
;### Tidy Error: next line creates a negative tablevel.
;### Tidy Error: next line creates a negative tablevel for the line after it.
#ce ----------------------------------------------------------------------------

#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>

#region
$Form1 = GUICreate("Hellgate Bot", 268, 257, 637, 331)
$Form1 = GUISetBkColor(0xb83f5d)
$Form1 = GUICtrlSetFont(-1, 12, 800, 0, "Comic Sans Ms")
$Form1 = GUISetState()
$Button1 = GUICtrlCreateButton("GO GO > START", 20, 40, 190, 50, 0)
$Button2 = GUICtrlCreateButton("Pause Button = Pause / ESC = Quit", 20, 120, 190, 50, 0)
$Button3 = GUICtrlCreateButton("USE 1024x768 RESOLUTION - FULLSCREEN", 20, 180, 250, 50, 0)
GUISetState(@SW_SHOW)
$Mouse = MouseGetPos()
#endregion

_WinWaitActivate("Hellgate (x86 DX9)", "")
Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Terminate")

Func _WinWaitActivate($title,$text,$timeout=0)
WinWait($title,$text,$timeout)
If Not WinActive($title,$text) Then WinActivate($title,$text)
WinWaitActive($title,$text,$timeout)
EndFunc

Func _move($loop, $key)
For $i = $loop To 1 Step -1
ControlSend("Hellgate (x86 DX9)", "", "", $key)
Next
EndFunc ;==>_move

Func TogglePause()
  $Paused = NOT $Paused
  While $Paused
      sleep(100)
      ToolTip('BOT IS PAUSED ATM',0,0)
  WEnd
  ToolTip("Use 1024x768")
EndFunc

Func Terminate()
  Exit 0
EndFunc


While 1
$nMsg = GUIGetMsg()

Select

Case $Button1
 While 1

  Sleep(3000); TO PORTAL  
Send("{s down}")
  Sleep(1200)
Send("{s up}")
  Sleep(200)
Send("{w down}")
  Sleep(250)
Send("{w up}")
  Sleep(200)
Send("{s down}")
  Sleep(250)
Send("{s up}")
  Sleep(5)
  _move(20, "w")
  Sleep(5)
  _move(20, "s")
  Sleep(6000); INSIDE BELOW THIS LINE
  _move(50, "w")
  Sleep(5)
  _move(60, "a")
  _move(60, "w")
  Sleep(10)
  _move(40, "a")
  Sleep(10)
  _move(60, "w")
  Sleep(10)
  _move(30, "a")
  Sleep(10)
  _move(120, "w")
  Sleep(10)
  _move(60, "a")
  Sleep(10)
  _move(100, "w")
  Sleep(10)
  _move(30, "a")
  Sleep(1000)
MouseClick("right")
  Sleep(1000)
MouseClick("left")
  Sleep(1000)
MouseClick("left")
  Sleep(1000)
MouseClick("left")
  Sleep(1000)
ControlSend("Hellgate (x86 DX9)", "", "", "{8}")
  Sleep(1000)
  _move(20, "w")
  Sleep(500)
MouseClick("right")
  Sleep(1000)
MouseClick("left")
  Sleep(1000)
MouseClick("left")
  Sleep(1000)
MouseClick("left")
  Sleep(1000)
MouseClick("right")
  Sleep(1000)
MouseClick("left")
  Sleep(1000)
MouseClick("left")
  Sleep(1000)
MouseClick("left")
  Sleep(1000)
MouseClick("right")
  Sleep(1000)
MouseClick("left")
  Sleep(1000)  
Send("{f down}"); Loot
  Sleep(150)
Send("{f up}")
  Sleep(150)
Send("{f down}"); Loot
  Sleep(150)
Send("{f up}")
  Sleep(150)
Send("{f down}"); Loot
  Sleep(150)
Send("{f up}")
  Sleep(150)
Send("{f down}"); Loot
  Sleep(150)
Send("{f up}")
  Sleep(150)
Send("{f down}"); Loot
  Sleep(150)
Send("{f up}")
  Sleep(150)
Send("{f down}"); Loot
  Sleep(150)
Send("{f up}")
  Sleep(150)
Send("{f down}"); Loot
  Sleep(150)
Send("{f up}")
  Sleep(150)
Send("{f down}"); Loot
  Sleep(150)
Send("{f up}")
  Sleep(150)
Send("{f down}"); Loot
  Sleep(150)
Send("{f up}")
  Sleep(150)
Send("{f down}"); Loot
  Sleep(150)
Send("{f up}")
  Sleep(150)
Send("{f down}"); Loot
  Sleep(150)
Send("{f up}")
  Sleep(150)
Send("{f down}"); Loot
  Sleep(150)
Send("{f up}")
  Sleep(150)
Send("{f down}"); Loot
  Sleep(150)
Send("{f up}")
  Sleep(150)
Send("{f down}"); Loot
  Sleep(150)
Send("{f up}")
  Sleep(150)
Send("{f down}"); Loot
  Sleep(150)
Send("{f up}")
  Sleep(150)
Send("{f down}"); Loot
  Sleep(150)
Send("{f up}")
  Sleep(1000)
ControlSend("Hellgate (x86 DX9)", "", "", "{8}")
  Sleep(1000)
Send("{ENTER}")
  Sleep(500)
Send("/unstuck")
  Sleep(500)
Send("{ENTER}")
  Sleep(12000)
ControlSend("Hellgate (x86 DX9)", "", "", "{7}")
  Sleep(250)
Send("{f down}"); Loot
  Sleep(150)
Send("{f up}")
  Sleep(150)
Send("{f down}"); Loot
  Sleep(150)
Send("{f up}")
  Sleep(150)
Send("{f down}"); Loot
  Sleep(150)
Send("{f up}")
  Sleep(150)
Send("{f down}"); Loot
  Sleep(150)
Send("{f up}")
  Sleep(150)
Send("{f down}"); Loot
  Sleep(150)
Send("{f up}")
  Sleep(150)
Send("{f down}"); Loot
  Sleep(150)
Send("{f up}")
  Sleep(150)
Send("{f down}"); Loot
  Sleep(150)
Send("{f up}")
  Sleep(150)
Send("{f down}"); Loot
  Sleep(150)
Send("{f up}")
  Sleep(150)
Send("{f down}"); Loot
  Sleep(150)
Send("{f up}")
  Sleep(150)
Send("{f down}"); Loot
  Sleep(150)
Send("{f up}")
  Sleep(150)
Send("{f down}"); Loot
  Sleep(150)
Send("{f up}")
  Sleep(150)
Send("{f down}"); Loot
  Sleep(150)
Send("{f up}")
  Sleep(150)
Send("{f down}"); Loot
  Sleep(150)
Send("{f up}")
  Sleep(150)
Send("{f down}"); Loot
  Sleep(150)
Send("{f up}")
  Sleep(150)
Send("{f down}"); Loot
  Sleep(150)
Send("{f up}")
  Sleep(150)
Send("{f down}"); Loot
  Sleep(150)
Send("{f up}")
  Sleep(250)
Send("{s down}")
  Sleep(1200)
Send("{s up}")
  Sleep(200)
Send("{w down}")
  Sleep(250)
Send("{w up}")
  Sleep(200)
Send("{s down}")
  Sleep(250)
Send("{s up}")
  Sleep(5)
  _move(20, "w")
  Sleep(5)
  _move(20, "s")
  Sleep(6000)
Send("{ALTDOWN}"); RESET
  Sleep(1000)
MouseClick("primary", "834", "63", 10)
  Sleep(2000)
MouseClick("primary", "445", "426", 10)
  Sleep(2000)
MouseClick("primary", "508", "410", 10)
  Sleep(250)
  Send("{ALTUP}")
  Sleep(250)

 WEnd

Case $Button2
 GUIDelete()
 ExitLoop

EndSelect


WEnd
Member
Posts: 15
Joined: Sep 30 2011
Gold: 0.00
Oct 16 2011 01:45pm
Hey Chumly,that looks legit alright.Did you try it for many hours without your character dying?
Member
Posts: 2,187
Joined: Sep 3 2006
Gold: 16,500.02
Oct 16 2011 03:04pm
Quote (Kasad @ Oct 16 2011 02:45pm)
Hey Chumly,that looks legit alright.Did you try it for many hours without your character dying?


8 hours no problems. I've found however, using that _move function that the other guy created can work sometimes and not other times. But it works REALLY well for getting into and out of the portal when left at ~20 or so. The problem is, in the instance, it can be VERY random and it changes based on computer speeds, ie. it will work on mine, but not other people's.

I spent so long getting it tuned right that I really don't want to have to go back in and change it to:
Code
Send("{s down}")
 Sleep(1200)
Send("{s up}")
 Sleep(200)
Send("{w down}")
 Sleep(250)
Send("{w up}")
 Sleep(200)
Send("{s down}")
 Sleep(250)
Send("{s up}")
 Sleep(5)

ETC....

I'm curious as to why he made a function like this one in the first place.
Go Back To Hellgate Topic List
Prev123456Next
Closed