Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Cabal Online > Cabal Guides & Templates
You last visited: Today at 18:42

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

Advertisement



[Guide] Simple AutoIt for BL retarget - leech-friendly

Discussion on [Guide] Simple AutoIt for BL retarget - leech-friendly within the Cabal Guides & Templates forum part of the Cabal Online category.

Reply
 
Old   #1
 
168Atomica's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 72
Received Thanks: 85
Smile [Guide] Simple AutoIt for BL retarget

Description:
Claw retargetting is awesome. But tiring. So instead of damaging my fingers and my keyboard keys, i created a very small code to retarget.

Here is the meat of the code, you need a little background on how autoit works but nonetheless, all the code you need is here ;0

Update: You DO NOT NEED A BYPASS for this to work

Requirements:
You need to set "X" as bind to "Select character"
You need to put normal atk (or anything that will cause claw attack) to slot "2" of your skill slots

OR you could modify the code to suit your needs

Note: modify the attack sleep values based on your retarget frequency (retarget after 2 hits or 1 hit)

Code:
Global $Toggle
HotKeySet("{PAUSE}", "Retarget")
HotKeySet("{ESC}", "Terminate")
AutoItSetOption("SendKeyDownDelay", 10)

While 1
    Sleep(100)
WEnd

Func Retarget()
	$Toggle = Not $Toggle
	while $Toggle
		if WinActive("CABAL", "") then
			sendkey("x")
			sleep(100)
			sendkey("z")
			sleep(100)		
			sendkey("2")
			sleep(200)
		endif
		Tooltip("Paused",0,0)
		sleep(100)
	WEnd
	Tooltip("Retarget OFF",0,0)
EndFunc   ;==>Terminate

Func Terminate()
    Exit 0
EndFunc   ;==>Terminate

Func SendKey($keys)
   $length = stringlen($keys)
   
   for $i=1 To $length
	  $chr = stringmid($keys,$i,1)

	  send($chr)
	  ToolTip("Sending key to window: " & $keys, 0,0)
	  ;sleep(150)
   next
EndFunc
FAQ:
1. Why do I need sendkey function? Why not use send?
- I made a custom send function to insert codes between characters. I could add another 1 sec delay between the characters being sent and use it for other purposes (HINT: auto log-in, debugging, etc)

2. How to invoke the program?
- Compile it to make an exe. PAUSE key is the one used in the code above.

3. How to stop retargetting?
- Click away from cabal window - this is a temporary pause. Retargetting resumes after you click back to cabal window.
To turn off retargetting, hit PAUSE key.
To stop the program completely, hit ESCAPE key.

4. Your code is useles.
- I don't care. It is useful for me though. Someone might benefit from it. No flaming please

5. Does this work on normal cabal? (Actually I find this question irrelevant...)
Yes it works on all versions that supports key bind.

Note that this is only a replacement of the grueling task of pressing 2 keys (or 3 keys) repeatedly. Save yourself from damaging your fingers.

Thanks are always appreciated
168Atomica is offline  
Thanks
15 Users
Old 10/16/2012, 09:35   #2
 
elite*gold: 0
Join Date: Dec 2011
Posts: 209
Received Thanks: 41
Thumbs up Good Job!

Quote:
Originally Posted by 168Atomica View Post
4. Your code is useles.
I don't care. It is useful for me though. Someone might benefit from it. No flaming please
~ Don't worry Sir, your code is very useful for The Leech King

Thanks in advance
joxof is offline  
Old 10/16/2012, 09:51   #3
 
genesisVI's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 796
Received Thanks: 434
will these work w/ GG/xtrap

never encountered sendkeys b4

but if it can its much easier than dllcall
genesisVI is offline  
Old 10/16/2012, 09:57   #4
 
168Atomica's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 72
Received Thanks: 85
Quote:
Originally Posted by genesisVI View Post
will these work w/ GG/xtrap

never encountered sendkeys b4

but if it can its much easier than dllcall
It should. It works on my client with GG. The code is just the equivalent of pressing repetitive keys so I find no reason for it to be detected by GG.
168Atomica is offline  
Thanks
1 User
Old 10/16/2012, 10:13   #5
 
genesisVI's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 796
Received Thanks: 434
nc ill try it later

whats ur OS btw?
genesisVI is offline  
Old 10/16/2012, 11:21   #6
 
168Atomica's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 72
Received Thanks: 85
Quote:
Originally Posted by genesisVI View Post
nc ill try it later

whats ur OS btw?
Win7 64bit
168Atomica is offline  
Old 10/16/2012, 12:00   #7
 
genesisVI's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 796
Received Thanks: 434
Quote:
Originally Posted by 168Atomica View Post
Win7 64bit
oh thats why

i dont think it will work on 32bit
genesisVI is offline  
Old 10/16/2012, 12:07   #8
 
168Atomica's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 72
Received Thanks: 85
Quote:
Originally Posted by genesisVI View Post
oh thats why

i dont think it will work on 32bit
My answer is partially correct. I run Win7 64 bit "Virtual PC"
168Atomica is offline  
Old 10/17/2012, 21:31   #9
 
elite*gold: 0
Join Date: Jul 2008
Posts: 39
Received Thanks: 2
thanks, i'll try this later on war...
krazeenookie is offline  
Old 10/19/2012, 06:10   #10
 
elite*gold: 0
Join Date: Jul 2012
Posts: 74
Received Thanks: 11
Spoonfeed me please?!
LOL
elitepvpersdummy is offline  
Old 10/20/2012, 20:54   #11
 
lintekens02's Avatar
 
elite*gold: 0
Join Date: Jun 2012
Posts: 61
Received Thanks: 79
didn't work for me. both bypass and normal. i have win7 64 bit ph.

btw,the tooltip shows that it is sending x z and 2 but nothing happens in game.
lintekens02 is offline  
Old 10/21/2012, 02:35   #12
 
elite*gold: 0
Join Date: Jul 2012
Posts: 12
Received Thanks: 0
noob here...how to compile the codes to make exe...? please share knowledge....
m00n_fox is offline  
Old 10/22/2012, 05:19   #13
 
168Atomica's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 72
Received Thanks: 85
Quote:
Originally Posted by lintekens02 View Post
didn't work for me. both bypass and normal. i have win7 64 bit ph.

btw,the tooltip shows that it is sending x z and 2 but nothing happens in game.
Actually, it doesn't matter whether your client is bypassed or not. It just send the keys to the game.

Have you pressed PAUSE key after running the program?
{Hint: Press PAUSE -o u t s i d e- cabal window }

My advice, learn the program and how I constructed it. (Although the code is a little dumb )



If you want it to be functional i-n-s-i-d-e cabal window, you may want to learn dll creation and ... well inject it. (But that is another topic of its own).

Quote:
Originally Posted by m00n_fox View Post
noob here...how to compile the codes to make exe...? please share knowledge....
After installing autoit, you could create scripts. Copy my code and save it.
Right clicking on a file would give you options to choose from - one of them is to compile using 64Bit.

Ok. Enough spoonfeeding. The code is working for me. Learn from this simple code and you could go on from there. I will no longer entertain questions on autoit. But questions related to my code are always welcome.
168Atomica is offline  
Thanks
1 User
Old 10/22/2012, 15:28   #14
 
elite*gold: 0
Join Date: Oct 2012
Posts: 10
Received Thanks: 1
what version of autoit do i need to run this with gameguard? i tried this code but it only works without gameguard.thanks anyway
Moookie is offline  
Old 10/25/2012, 03:51   #15
 
stephyoneg4ever's Avatar
 
elite*gold: 0
Join Date: Jul 2012
Posts: 56
Received Thanks: 12
what version of AUTO IT?
stephyoneg4ever is offline  
Reply


Similar Threads Similar Threads
[Guide] Using edxSilkroadProxy to Create a Simple AutoIt Clientless
11/09/2014 - SRO Coding Corner - 38 Replies
Warning: Do not use on ISRO due to the 7 day ban on a wrong opcode.. Use this only for educational purposes and a reference! Here it is! The third and final guide in my small series relating to the Silkroad proxy project. From here you will learn how to make a simple clientless that can spawn in game using the edxSilkroadProxy. Included is support for character listing and server stats. Be sure to read through the entire guide and code before trying to make your own version! Using...
Autoit Cabal Blader Retarget Script
01/09/2012 - Cabal Online - 0 Replies
I can't find times for this script. Is it will be good or bad ? Send("Z") Sleep(30) Send("1") Sleep(30) Send("2") Sleep(30)
[Guide] Blader 1Hit Retarget
04/23/2011 - Cabal Guides & Templates - 2 Replies
Hello, i want to show you this video seeing how to 1Hit Retarge with a blader. Its not my video, but i think its helpfull ¡ÚCabal¡ÛÄÞ¥*¥ã¥ó»£¤Ã¤Æ¤ß¤¿ ¡Ú¼ê¸µEscÈÇ¡Û ¤Þ¤£¤Ú¤§¤Â¡£ - ư²è¶¦Í*¥µ¥¤¥Èzoome



All times are GMT +1. The time now is 18:43.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.