Register for your free account! | Forgot your password?

You last visited: Today at 15:51

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

Advertisement



lvlBot

Discussion on lvlBot within the FFXI Exploits, Hacks, Bots, Tools & Macros forum part of the Final Fantasy XI category.

Reply
 
Old   #1
 
Lowfyr's Avatar
 
elite*gold: 235
The Black Market: 135/1/0
Join Date: Jul 2003
Posts: 16,562
Received Thanks: 17,758
Requirements: AutoIt

Code:
; BASIC Level bot 
; use a "full" keyboard with default settings 
; resolution 1024x768 background res 1024x1024 
; set crtl-9 to /echo . if u want to know this script is working 
; start ffxi and open up the character u want, leave the bot alone! 

;sleep to give ffxi time to start 
sleep (40000); 
;auto start 

WinWaitActive("FFXiApp"); 
AutoItSetOption("SendKeyDelay", 40); 
send ("{ENTER}"); 
sleep (10250); 
Send ("{ENTER}"); 
Sleep (10250); 
Send ("{ENTER}"); 
Sleep (10250); 
Send ("{ENTER}"); 

;Variables Here 
$mainloop = 1 



;---------------------------------Main commands----------------------------------- 
sleep(10000); 
findenemy(); 

;---------------------------------End Main---------------------------------------- 





;--------------------------------Func Find Enemy------------------------------- 
Func findenemy() 
While $mainloop = 1 

  sleep(0250); 
  AutoItSetOption("SendKeyDelay", 0235); 
  AutoItSetOption("SendKeyDownDelay", 0100); 
  Send("^9"); 
  $tempvar = Int(Random(1,5)); 

;go a random direction and check for an enemy 

  If $tempvar = 1 Then 
   Send("{NUMPAD8 down}"); 
   $temp = Random(2000,6000); 
   sleep($temp); 
   Send("{NUMPAD8 up}"); 
   sleep(Random(0100,0500)); 
    
   CheckEnemy(); 
   sleep(Random(0100,0500)); 
  


  EndIf 

  If $tempvar = 2 Then 
   Send("{NUMPAD2 down}"); 
   $temp = Random(2000,6000); 
   sleep($temp); 
   Send("{NUMPAD2 up}"); 
   sleep(Random(0100,0500)); 
    
   CheckEnemy(); 
   sleep(Random(0100,0500)); 
  


  EndIf 

  If $tempvar = 3 Then 
   Send("{NUMPAD4 down}"); 
   $temp = Random(2000,6000); 
   sleep($temp); 
   Send("{NUMPAD4 up}"); 
   sleep(Random(0100,0500)); 
    
   CheckEnemy(); 
   sleep(Random(0100,0500)); 
  


  EndIf 

  If $tempvar = 4 Then 
   Send("{NUMPAD6 down}"); 
   $temp = Random(2000,6000); 
   sleep($temp); 
   Send("{NUMPAD6 up}"); 
   sleep(Random(0100,0500)); 
    
   CheckEnemy(); 
   sleep(Random(0100,0500)); 
  


  EndIf 


WEnd 
EndFunc 
;------------------------------End Func Find Enemy----------------------------- 

;------------------------------Func Check Enemy-------------------------------- 
Func CheckEnemy() 
sleep(Random(0100,0400)); 

CheckAggro(); 




sleep(Random(0100,0400)); 

Send("{NUMPAD0}"); 

sleep(Random(0100,0400)); 

PixelSearch( 900, 682, 989, 702, 10736855); 

If Not @error Then 

;this is a valid monster so attack it 
  
  
  Attack(); 

EndIf 

sleep(Random(0100,0500)); 

PixelSearch( 900, 682, 989, 702, 11328992); 

If Not @error Then 

;this is a valid monster so attack it 
  
  
  Attack(); 

EndIf 

sleep(Random(0100,0500)); 


Send("{ESC}"); 
EndFunc 
;-----------------------------End Func Check Enemy------------------------------ 

;------------------------------Func Check Aggro-------------------------------- 
;check if we have been attacked 

Func CheckAggro() 

sleep(Random(0100,0400)); 

;see if we have been aggroed 

PixelSearch( 922, 700, 928, 709, 11068359); 

If NOT @error Then 

;we have been aggroed! attack! 

  Attack(); 

EndIf 

EndFunc 

;----------------------------End Func Check Aggro-------------------------------- 




;------------------------------Func Attack-------------------------------------- 

Func Attack() 



;Hit enter twice to turn on autoattack 

sleep(Random(0100,0400)); 
Send("{ENTER}"); 
sleep(Random(0200,0600)); 
Send("{ENTER}"); 

;check lockon and lockon if not already locked on 
;check every 1/10-3/10 sec to check that we are engaged 
Lockon(); 

sleep(0100); 
Send("{NUMPAD8 down}"); 

While PixelGetColor(26,31) = 16777200 OR PixelGetColor(22,32) = 16777215 
  
  Lockon(); 
  sleep(0100); 
    
  
  

WEnd 

sleep(0100); 
Send("{NUMPAD8 up}"); 
sleep(0100); 

; now that we have won, autosort (in case we got something) and heal 

Autosort(); 

sleep(Random(0300,0500)); 

Heal(); 

EndFunc 

;-----------------------------End Func Attack---------------------------------------- 

;------------------------------Func Lockon------------------------------------- 
;this function also checks if we are attacking the target 
Func Lockon() 

PixelSearch(931,710,973,713,4342527); 

If @error Then 

Send("{NUMPADMULT}"); 

EndIf 

PixelSearch(20,54, 35, 65, 7235991) 

If @error Then 

Send("{ENTER}"); 

EndIf 

EndFunc 

;----------------------------End Func Lockon----------------------------------- 


;-----------------------------Func AutoSort--------------------------- 

Func Autosort() 
Sleep(9000); 
AutoItSetOption("SendKeyDelay", 0235); 
AutoItSetOption("SendKeyDownDelay", 0100); 
Send ("!i"); 
Sleep(0250); 
Send ("{NUMPADADD}"); 
Sleep (0250); 
Send ("{ENTER}"); 
sleep(0350); 
Send ( "{UP}" ); 
sleep(0350); 
Send ("{ENTER}"); 
sleep(0250); 
Send ("{ESCAPE}"); 
sleep(0250); 
Send ("{ESCAPE}"); 
Sleep (0250); 
EndFunc 

;-----------------------------------End Func AutoSort-------------------- 



;------------------------------Func Heal--------------------------------------------- 

Func Heal() 

;press asterisk to heal, get up at full health 

Send("{NUMPADMULT}"); 

Do 

  sleep(0100); 
  CheckAggro(); 

Until PixelGetColor(991,732) = 10658536 

Send("{NUMPADMULT}"); 

;sleep a bit cuz it takes a while to get up 

sleep(2000); 

EndFunc
Lowfyr is offline  
Old 06/02/2005, 20:08   #2
 
elite*gold: 0
Join Date: Apr 2005
Posts: 2
Received Thanks: 0
ich hab's mal mit AutoIT v2.64 ausprobiert, und da funktioniert das nicht. bei der version ist z.b. statt "sleep (40000);" einfach nur "sleep, 40000" und alle ; am ende werden weggelassen. aber selbst nachdem ich das alles geändert habe funktioniert es immernoch nicht, weil manche befehle gibt's irgendwie garnicht bei der AutoIT version wie z.b.: AutoITSetOption oder SendKeyDelay (ich hab da nur SetKeyDelay gefunden, allerdings gibt es dazu kein SetKeyDownDelay). also kannst du bitte nochmal posten mit welcher AutoIT version es funktioniert ? vielen dank im voraus

gruss
sansi
sansi is offline  
Old 06/02/2005, 21:19   #3
 
Lowfyr's Avatar
 
elite*gold: 235
The Black Market: 135/1/0
Join Date: Jul 2003
Posts: 16,562
Received Thanks: 17,758
hasts auch mit autoit3 versucht?
Lowfyr is offline  
Old 06/02/2005, 21:48   #4
 
elite*gold: 0
Join Date: Apr 2005
Posts: 2
Received Thanks: 0
also mit version 3 gibt's zwar keine fehler was die befehle angeht, aber der bot ist nicht zu gebrauchen, nachdem man einloggt und man erwischt zufälligerweise ein mob dann attackt er das halt bis es tot ist, aber danach war's das dann. dann läuft er halt in random richtungen hin und her, wählt auch mobs aus, aber er attackt nicht mehr, er läuft einfach wieder los und wählt was anderes aus was so in der gegend rumsteht (mob oder player) und läuft dann wieder weiter, usw. und wenn das erste nach dem einloggen ein player is was ausgewählt wird, dann attackt er nichtmal ein einziges mob.
sansi is offline  
Old 06/03/2005, 13:05   #5
 
Lowfyr's Avatar
 
elite*gold: 235
The Black Market: 135/1/0
Join Date: Jul 2003
Posts: 16,562
Received Thanks: 17,758
kann mich noch dran erinnern als ich den benutzt habe, hatte glaube das gleiche prob
Lowfyr is offline  
Old 07/11/2005, 04:21   #6
 
elite*gold: 0
Join Date: Jul 2005
Posts: 7
Received Thanks: 0
i dont understand this all
smack11238 is offline  
Reply


Similar Threads Similar Threads
Lvlbot??
05/30/2010 - Metin2 - 8 Replies
Hallo an alle:) Ich suche nach einem gutem Lvlbot der potten/skills benutzen kann und auf stehen wenn ich sterbe am besten wenn er jeweils nur eine gruppe pullt und dann die nächste kennt einer von euch solche???
lvlbot
04/20/2010 - Metin2 Private Server - 1 Replies
hallo da ich schon viele bot ausprobiert habe also lvl bot wollte ich fragen ob einer einen guten lvl bot kennt wo 100% funzt und auch gut ist. da ich bei der section hack,bots etc nix besonderes gefunden habe alles so mässig gut also nicht die besten
LvLbot
06/06/2009 - WoW Bots - 10 Replies
Hey, war nun 5Monate im Botbereich nicht mehr aktiv,und benutzte bis dato immer glider...Da dies nur nicht mehr geht wollte ich fragen welche guten alternativen es nun gib im bereich lvln :>
help for lvlbot=(
05/16/2006 - World of Warcraft - 5 Replies
Hello guys! I just want to know if any levelbot accist ? If there is any programm please let me know that ^^ My english is very bad and I don't understand much more english like that :ops: If there is any german people here write it please in german thx Send me a message on my ICQ number Here is is: ---------- thx



All times are GMT +2. The time now is 15:51.


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.