Register for your free account! | Forgot your password?

You last visited: Today at 18:47

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


Here Is a Simple Bot

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2008
Posts: 236
Received Thanks: 112
Smile Here Is a Simple Bot

edit by St!gmata: Itīs only for Cabal North America because there exist now a bypass.

Like the title reads real simple bot. I do not like the pixel detection to much because it is too slow for me. So the idea behind this bot is that you make the monsters come to you (so pick a spot where they go after you). Then you just click the monsters around you and attack them 1-4 and Spam HP potions on 6. This is Autoit simply copy the code below save as Name.au3 and then double click it on your desktop. Wrote this pretty fast so ask me any questions and I am currently working on a combo bot and a faster pixel bot updates soon.

Code:
While 1
If WinActivate("CABAL") Then
	MouseClick("left")
If Not @error Then
  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}")
 	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



Bobs16 is offline  
Thanks
3 Users
Old 02/23/2008, 05:17   #2
 
elite*gold: 0
Join Date: Feb 2008
Posts: 21
Received Thanks: 1
wow thanks and also do you mind teaching me how to make these scripts?


wossen is offline  
Old 02/23/2008, 05:21   #3
 
elite*gold: 0
Join Date: Feb 2008
Posts: 236
Received Thanks: 112
Trial and error. Also Autoit forums help a lot as well.
Bobs16 is offline  
Thanks
1 User
Old 02/23/2008, 06:38   #4
 
elite*gold: 0
Join Date: Feb 2008
Posts: 9
Received Thanks: 0
it doesn't click the monsters, do I need to get the winactive program or something?


Zeleran is offline  
Old 02/23/2008, 06:47   #5
 
elite*gold: 0
Join Date: Feb 2008
Posts: 236
Received Thanks: 112
Quote:
Originally Posted by Zeleran View Post
it doesn't click the monsters, do I need to get the winactive program or something?
It does not specifically click monsters it spams click so as the screen rotates have the cursor on you or around you so when the monsters are near you it clicks them. Was just using it for 3+ hours so I know it works. And Winactive? If you read the script it is already codded to run when the CABAL is running. ALso this is probably only for NA/CN version unless you have a GG bypass for EU. Message me back if this did not help.
Bobs16 is offline  
Thanks
1 User
Old 02/23/2008, 07:04   #6
 
elite*gold: 0
Join Date: Dec 2007
Posts: 80
Received Thanks: 61
Hey some things wrong, i runned Cabal bypassin X-trap, logged in Picked a good spot, runned the Autoit, i wont work. I copied the same script. Any ideas why? Im using Vista is that it maybe?
takerslair is offline  
Old 02/23/2008, 07:48   #7
 
elite*gold: 0
Join Date: Feb 2008
Posts: 9
Received Thanks: 0
Is there any way to make it more effective? Like...not stopping on key 4, and just keep cycling through the keys? Also maybe having it rotate faster? No clue. It seems to be half as effective as it would be if I were playing myself.
Zeleran is offline  
Old 02/23/2008, 09:19   #8
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1
Received Thanks: 0
It does nothing. I think I didnt bypassed Xtrap. Or does it for NA version?
screamseller is offline  
Old 02/23/2008, 12:04   #9
 
elite*gold: 0
Join Date: Jan 2008
Posts: 3
Received Thanks: 0
it works!! thx, now i just need autopot when i get to 50% health left

neone mind sharing where i can get it? i searched for it, cant find nething...
DeadBabies is offline  
Old 02/23/2008, 13:00   #10
 
elite*gold: 0
Join Date: Feb 2008
Posts: 11
Received Thanks: 18
I believe it doesn't work with EU version :'(
Noxox is offline  
Thanks
2 Users
Old 02/23/2008, 14:30   #11
 
elite*gold: 0
Join Date: Sep 2007
Posts: 691
Received Thanks: 452
Nope doesnt work with GG protected versions
vi0l3nt is offline  
Old 02/23/2008, 18:54   #12
 
elite*gold: 0
Join Date: Feb 2008
Posts: 60
Received Thanks: 3
can u explain this line to me?

If Hex(PixelGetColor(337, 659),6) = "232223" Then

so i can slowly modify it to fit my neeed XD thnxs
kenv202 is offline  
Old 02/23/2008, 19:31   #13
 
elite*gold: 0
Join Date: Feb 2008
Posts: 236
Received Thanks: 112
Quote:
Originally Posted by kenv202 View Post
can u explain this line to me?

If Hex(PixelGetColor(337, 659),6) = "232223" Then

so i can slowly modify it to fit my neeed XD thnxs
Ya sure If the color pixel in Hex format 232223 "shade of black" is found at coordinates (337,659) Then

Kind of useless in this bot so you can take i off. Glad to see people wanting to teach themselves Auoit. I am going to re do this script so you wont DC near as much and it is a lot cleaner. So if you have any script post them here for us to see.


Edit: Here is what I have learned so far. To shed some knowledge on you all.

Pixel searching:
Code:
 = PixelSearch (5, 300, 1024, 560, 0xF6F6F6, 30, 4)
Here you are searching for a pixel right? Well ya you already know that by "PixelSearch" but what does the rest mean? Let me break it down for you first look at the numbers 5, 300, 1024, 560 all this is saying is Searches from coordinates 5, 300 to 1024, 560 so we can easily adjust this to fit our needs. The 0xF6F6F6 is just looking for that pixel you can change this by useing the Autoit Spy Window. Now last but not least the 30, 4. The 30 is how many shades would you like it to look for so its not EXACTLY 0xF6F6F6 it can be a little lighter or darker. The higher the number the faster it goes but may not be too specific. The lower the number slower it will search but the more specific it will be. The 4 just means it search ever 4th pixel instead of every pixel because there are A LOT of pixels on your screen.

Pixel Searching and then a mouse click:
Code:
Dim , , , 
Dim , , , , , , 

 = RegRead("HKEY_CURRENT_USERControl PanelMouse", "SwapMouseButtons")
If  = 1 Then
	 = "right"
	 = "left"
Else
	 = "left"
	 = "right"
EndIf

; ************************************************* ;
; Change your settings here                         ;
; vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv ;
 = "{ESC}"
 = 0xff00ff
 = 0
 = 0
 = 200
 = 200
 = 
; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ;
; Change your settings here                         ;
; ************************************************* ;

HotKeySet(, '_Exit')

While 1
	 = PixelSearch(, , , , )
	If Not @error Then
		MouseClick(, , , 1, 0)
	EndIf
WEnd

Func _Exit()
	Exit
EndFunc
I think the CODE codes are broken wont let me post 90% of that last code.
Bobs16 is offline  
Thanks
1 User
Old 02/23/2008, 20:26   #14
 
elite*gold: 0
Join Date: Feb 2008
Posts: 60
Received Thanks: 3
hm i notice that pixel detection is a bit hard since say for example, if u were to go to moscutter in GD, u will notice the ground color is almost the same as the mob, which is what make this color deteciton business so hard, i do recall an easier way was to mod the game to force all the mob u see in a certain color (ex: pink), anyone has any experience in doing this color modding? would greatly further the bot scripting =P

PS: i cant wait to see ur clean and improved script bobs16, and im glad someone like you are willing to share with the community =)
kenv202 is offline  
Old 02/23/2008, 20:35   #15
 
elite*gold: 0
Join Date: Feb 2008
Posts: 236
Received Thanks: 112
Quote:
Originally Posted by kenv202 View Post
hm i notice that pixel detection is a bit hard since say for example, if u were to go to moscutter in GD, u will notice the ground color is almost the same as the mob, which is what make this color deteciton business so hard, i do recall an easier way was to mod the game to force all the mob u see in a certain color (ex: pink), anyone has any experience in doing this color modding? would greatly further the bot scripting =P

PS: i cant wait to see ur clean and improved script bobs16, and im glad someone like you are willing to share with the community =)
It is not THAT hard just a little trial and error. All you need is time on your hands look at the post above that should help you out as well. And the changing monsters colors is exactly what I was thinking 15 mins ago so I will try to do that later because that should be easy. I can't really do anything right now because I am at work.


Bobs16 is offline  
Thanks
1 User
Reply



« [Request] hack | RC-1 numb-bot. Na Cabal. »

Similar Threads
Simple questions, simple answers :)
Hello guys :) I've been reading this forum for a while, and I found very nice information here but still, some threads in german can't provide me...
2 Replies - Kal Online
Simple Question Needs Simple Answer[If CR gone what bot we can use]
If CR is not free what BOT can we use in PH... Many players in Ph asking that question.... TY...
2 Replies - Cabal Main - Discussions / Questions
Need a simple bot
Hi guys, It would be great if you guys could help me out I am looking for a simple bot that can cast spells, follow a specific person and autopot...
0 Replies - Dekaron
[SIMPLE] Bot on L2J
Hi to all, I read much tread on this forum and I work harder to use bot on my (L2J) private server, but without success...now, to clarify my ideas...
3 Replies - Lineage 2



All times are GMT +2. The time now is 18:47.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.