Autoit: Autologin + Bot

07/10/2007 21:21 Jam3s1#1
Hey
When i have time, I make these scripts for 1024x768.

Ive maked some Scripts, it work with:


-m_ragg gameguard bypass
-Screen size 1024x768 (window mode) and full screened
-Cheat Engine 5.3
-If you have the "Disconnected before World loadet" error, the relogin script will auto restart cheat engine and set speed to: 18 and sleep time to 1 (perfekt settings)
-Skills in the range 1-4 and mana positions to 6
-For the auto-Relogin script, please not save ID, the script will enter your name, when youve set it
-When you bot, make the vies on high top!

Guide:

1. Downlaod and Install AutoIt 3:
[Only registered and activated users can see links. Click Here To Register...]

2.After Finish installation, start the AutoIt Script Editor (Start -> Programms -> AutoIt x3 -> SciTE Script Editor.exe

3. Copy the Code of the Bot/Relogin cript

4. Save it to Desktop:
FILENAME.au3

5. Start Cabal With m_ragg.exe in Cabal folder(gameguard bypass)

6. then start game and disable Save ID and use Window mode!

7. then make dopple klick on blue top, then cabal will ge bigger

8. change graphic settings to:
[Only registered and activated users can see links. Click Here To Register...]
(Click for Bigger-Image Size)

9. go to login screen for relogin script, then start the relogin script, then make make cabal full, that you see the login screen (dont change size or whatever!), the login script will now login you fast!

10. For the bot: go to War Server, then go to Yellow or Orange Monsters, then make screen like
user posted image
and then the bot will click on monsters and make skills from 1-4 and use mana potitions from slot 6

11. Please give me a feedback^^



:End Guide:


Bot Keysettings:
1: Skill
2: SKill
3: skill
4: Skill
6: Mana Potions
9: Hp Potions
Updates:
Bot:
-The Bot Screen is roate, thats help to find more monsters.
-The Bot detect when you have How HP and use a HP Position.

Relogin script:
--No Updates--

Relogin Script:
Code:
While 1
	If Hex(PixelGetColor(398, 295),6) = "BEBDBD" Then
 Sleep(1000)
 WinActivate("CABAL")
	Send("{Backspace 15}")
	Send("LOGINNAME")
	Send("{TAB}")
 Send("{Backspace 10}")
	Send("PASSWORD") 
	Send("{Enter}") 
	EndIf
	If Hex(PixelGetColor(574, 335),6) = "191919" Then
	Send("{Right}")
	Send("{Down 7}") 
	Send("{Enter}") 
	EndIf
	If Hex(PixelGetColor(753, 180),6) = "CECECD" Then
 Send("{Down 1}")&#59;Make a&#59; bevore Send to login with first character and write behind Down 16 to change Character
	Send("{Enter}")&#59;Enter 1-6 für Charakter 1-6
EndIf
WEnd

The Bot:
Code:
While 1
 	If Hex(PixelGetColor(24, 43),6) = "EAECEC" Then
  WinActivate("CABAL")
$coord = PixelSearch( 100, 100, 1024, 718, 0xFF8000, 1, 2)&#59;Orange Monsters
If Not @error Then
  MouseMove($coord[0],$coord[1],0)
  MouseClick("right",$coord[0],$coord[1])
  Sleep (50)
	EndIf
	Send("{Right 4}")
Send("1")
Sleep(50)
Send("2")
Sleep(50)
Send("3")
Sleep(50)
Send("4")
Send("{Right 4}")
Sleep(50)
Send("{Space}")
Sleep(50)
Send("6")
Send("{Space}")
Send("{Right 4}")
$coord = PixelSearch( 100, 100, 1024, 718, 0xFFFF00, 1, 2)&#59;Yellow Monsters
If Not @error Then
  MouseMove($coord[0],$coord[1],0)
  MouseClick("right",$coord[0],$coord[1])
  Sleep (50)
EndIf
Send("{Right 4}")
Send("1")
Sleep(50)
Send("2")
Sleep(50)
Send("3")
Sleep(50)
Send("4")
Sleep(50)
Send("{Space}")
Send("{Right 4}")
Sleep(50)
Send("6")
Send("{Space}")
Send("{Right 4}")
 	If Hex(PixelGetColor(337, 659),6) = "232223" Then
  Send("{Enter}")
  Sleep(100)
  Send("{Up 20}")
    Send("{Down 4}")
   	EndIf
If Hex(PixelGetColor(100, 44),6) = "1C1C1C" Then
	Send("9")
	EndIf
EndIf
WEnd
07/10/2007 22:13 KamikadZee#2
can you just try someway leard c++ and creat program witch wont be seeing with GameGuard
07/10/2007 22:45 krakersik#3
Can u make bot atack Grey monsters ? i want use it only for skill uping , what about dude ? i think what would be not much problem for u ?

Anyway it doesnt work , still nothing happend :) i dont now how this work to u , i do as exactly as u say and when i "start" script , just ... nothing happends ;]
07/10/2007 23:50 strik3r2k5#4
Start Cabal With m_ragg.exe in Cabal folder(gameguard bypass)

6. then start game and disable Save ID and use Window mode!

7. then make dopple klick on blue top, then cabal will ge bigger

9. go to login screen for relogin script, then start the relogin script, then make make cabal full, that you see the login screen (dont change size or whatever!), the login script will now login you fast!

10. For the bot: go to War Server, then go to Yellow or Orange Monsters, then make screen like
user posted image
and then the bot will click on monsters and make skills from 1-4 and use mana potitions from slot 6

lol
07/11/2007 00:15 kozak#5
i start the scripts and nothing happenz....
07/11/2007 00:29 ackada#6
James add mich ma bitte ICQ oder Schreib mir ma plz im Game back
07/11/2007 00:52 krakersik#7
>"C:\Program Files\AutoIt3\SciTE\..\autoit3 .exe" /ErrorStdOut "C:\Documents and Settings\Blaseczki\Pulpit\Bot.au3"

something like that

Process failed to respond; forcing abrupt termination...
07/11/2007 05:07 Pakato#8
man, i have some questions...

Cheat engine is needed to run the bot?
if yes, what we have to do?

Can u make a better tutorial step by step with more images please? :]

Thanks :D
07/11/2007 05:09 bafao#9
Cheat engine is just a memory editor, d'oh.

Read the first post, you need AutoIT.

Lazy ass -_-
07/11/2007 09:17 AnNuM#10
I Make everything and nothing happened run relogin scrip he's dont write login and password after that i write password and login with my help and run the bot character dont do anything i dont understand how to run these script.
07/11/2007 09:37 Jam3s1#11
I eally dont know why it dont work to your all
Have you all the right graphic settings?
Gamma 1.00!

and I ave a Flat(Flachbildschirm) I dont know the diffrends from a box montior

I must pack out my box monitor and re-write my script, I self DONT KNOW why it doesnt work....
07/11/2007 12:31 Dizzydbd#12
how did u get the pixel colors? directly from the game, made a picture? what kind of picture?
07/11/2007 13:06 strik3r2k5#13
google.de/com and search getpixel or use Autoit Window Info
07/11/2007 15:23 dalindi#14
i tested the 1280x1024 version of bot and autologin. both didnt work.
so i started searching the mistake(s) and i found them. i made screenshots of the used screens and looked the color of the pixel with photoshop and there was the error.
i replaced the colors in the *.au3 files with mine and all workes fine now :)
i started coding the bot and the login a bit more. now ive got a bot who runs through the map and fights against yellow and orange enemies, takes all items and alz, warps himself into the city, buys HP and MP, sells all items and goes back to his area (but it only works partly. i have to fix the 6-7 errors before i post it here) :)
have fun with coding ;)
07/11/2007 15:42 Dizzydbd#15
Quote:
Originally posted by strik3r2k5@Jul 11 2007, 13:06
google.de/com and search getpixel or use Autoit Window Info
lol? i know how to get a freaking pixel color. I'm programing for about 6 years already. I wanted to see if he got them correctly since it doesn't seems to work to anyone