Lineage 2 - Auto Clicker

ac2usb.jpg

ac2usb is a small usb piece, like a usb pen-drive. It actually is keyboard mouse combo which used for automate key press and mouse click for online game, specifically Lineage II. It’s programmable that works on all LineageII servers with or without gameguard, smartguard or whatever-guard there might be. Yes, it works just like the very real-life keyboard mouse you are using, but without any button :D

THE HARDWARE
The circuit schematic is not important since you can use whatever ATmega32u4 board you can get your hands on, arduino leonardo, teensy2.0 or even some crazy stuff like wearing-thing adafruit flora.

ac2usb_arduinoleonardo.jpg ac2usb_teensy2.0.jpg ac2usb_flora.jpg

Instead, you just simply use neat solutions such as rubber ducky, with nice plastic shell case looks like a legit usb pen-drive, or tiny board beetle arduino, or a metal case one that I use.

ac2usb_rubber_ducky.jpg ac2usb_beetle_arduino.jpg ac2usb_metalcase.jpg

THE FIRMWARE
ac2usb_IDE.jpg

Using Arduino IDE, you can make it just in a few minutes. There are built-in samples for USB keyboard and mouse. You just take that sample, edit it a little bit, put some custom key-press of your own, plug in your hardware and press upload sketch.

Yeah, that is how you make a custom macro keyboard / mouse just like a commercial gamming keyboard mouse with macro function. The problem is, the macro keys are hard-coded in the firmware, it is quite hard to change it in run-time. To achieve that, you have to put more effort than just a few minutes.

There are some methods to make that:
+ Hardware approach - add LCD module, buttons, few lines of code.
+ Software approach - Serial port, USB port, hundreds lines of code.

Well, adding some buttons and LCD is a lot easier than writing software on the computer side.

THE SOFTWARE
acs1.0usb-main.jpg

Written in C, based on the skeleton of the auto clicker tools that I have been developing in 4 years just for hobby. Which tools I didn’t make public yet because I didn’t want people take advantage of my free tools and spamming all LineageII servers that I occasionally play. I still play LineageII until now. But, this one is different. It depends on a specific hardware, ac2usb, in order to work. And I have no intention to public my code.

acs1.0usb-beta2.rar built 15-Oct-2017

DESCRIPTIONS
ac2usb or AutoClicker-to-USB is an Auto Hotkey tool for online games. It is mainly developed for an old game Lineage II, the game with tedious farming procedure. Like most of MMORPG, it could take months farming to get good gears. This tool will help you to bypass some boring tasks by automate key presses and mouse clicks so you can concentrate on the fun of online game.

Unlike those software auto clicker, this tool achieves that by using hardware level key press and mouse click, the same way you actually press a button on your real keyboard. It has many benefits: works on all games or software that needs automate-mouse click, doesn’t hack into games, and no antivirus could raise an alarm on this. Although this tool is quite complicated, it doesn’t have some advanced features like a real bot does, eg: l2tower, l2adrenaline…, which tools hack into the game and gain advanced functions that a normal keyboard can never give.

Anyway, the software acs1.0 is just a script-interpreter, which load the script and send the script data to ac2usb and tell it to run the script. What can it do depends on the script you put in.

SCRIPT LANGUAGE
I develop my own script language, a very simple one, still adding more actions if I feel I need to. It is easy to write a simple script for acs1.0:

Action key words:

;AC Script 1.0 
;sample script
;-------------

HotKey 	num+		;set hotkey for this script as Numpad +
Loop 	1		;set it loop
TimerKey f10 800	;special timer key which press each 800 milisec

;script sequence
Key 	C
KeyDown A
KeyUp	A

MouseDown	1
MouseUp 	1
Mouse 		2

Movex 100
Movey 100
Movexy 300 200
Delay 1000

StoreCurPos 	;save current mouse position
RestoreCurPos	;move back to where it was

This is actual script that I use to save of me tiring myself from moving tens of rubbish items to the warehouse

;---------------------------------------
;The following sample will double click on an item at cursor, move cursor 
; click on button ALL on moving window just pops up then move cursor and 
; click on confirm button then move back to where your cursor was
storecurpos 	;save current mouse position
mouse 1
delay 50
mouse 1 	;double click
delay 100
movexy 915 455 	; move to button [all]
delay 100 
mouse 1		; click
delay 150
movex 646 464	; move to button [confirm]
delay 100
mouse 1		; click
delay 100
restorecurpos	; move back to where cursor was

This boring task, moving item to the warehouse, just bugging for weeks that force me to write a script software instead of using my old trusty auto-clicker. Anyway, depends on your needs, you can write your own script for automate enchanting, augmenting, creating SS / BSS that keep running all day long…

The coordinate used in action MoveXY (or MoveX, MoveY) is relative, which original at the top left of the game, not the desktop. So, as long as you don’t resize the game window and game window is active, your script still works just fine wherever your game window is.

NOTE
- Control software acs1.0 must run as Administrator to catch Hotkey from the game if the game run as administrator.
- Currently acs1.0 built for ac2usb firmware 2.4 (almost a year ago) which does not support action KeyUp/KeyDown, but only action Key.
- Software is free to copy but it won’t work without ac2usb stick anyway.

DISCLAIMER
You use this tool with your own risk. I take no responsibility for your game account banned, jailed or whatever bad thing happens. It’s your own game account you take the fall over your bad using. Please use automating tool with precaution and responsibility.

 

Add comment

Fill out the form below to add your own comments

User data




Add your comment