Flour Bot (for script savvy ppl)

Posts 1–10 of 10 · Page 1 of 1
L2Noob's Flour Bot (for script savvy ppl)
Since it's patched already, I thought it'd be okay to discuss about how to make L2noob's bot


My guess, after buying 4800 flour, it holds down the enter key then detects all 48 slots in inventory for the black pixel color, and while it's not black, right click it, until they're all black. Rinse and repeat.

The problem is, I've tried send("{enter down}") but it doesn't work. Any ideas?
Yep, that was a nice bot.
The question is, how is it simultaneously checking all 48 slots. Maybe something like,

While PixelGetColor(1044, 144) <> 0x05090A, PixelGetColor(1087, 144) <> 0x05090A, PixelGetColor(1130, 144) <> 0x05090A, PixelGetColor(1173, 144) <> 0x05090A, ...for all 48 coords
ControlClick("Vindictus", "", "", "right", 1, 1044, 144)
ControlClick("Vindictus", "", "", "right", 1, 1087, 144)
ControlClick("Vindictus", "", "", "right", 1, 1130, 144)
ControlClick("Vindictus", "", "", "right", 1, 1173, 144)
...for all 48 coords
WEnd

I haven't tried it, just brainstorming at the top of my head lol

EDIT: and there's something wrong with the enter key. It's as if using send("{enter}") presses the enter key internally, but you need to send it externally (as if you were physically pressing the enter key on your keyboard). I still haven't figured out how to do this..
anyone got their accs back after the flour exploiting?
Quote Originally Posted by sacrecoeur View Post
anyone got their accs back after the flour exploiting?
Not banned.
Quote Originally Posted by sacrecoeur View Post
anyone got their accs back after the flour exploiting?
As Nico said. No one got banned, only the Gold gained from the flour exploit was removed from all accounts. As for Caessa, she had a few characters temporarily locked until she had the items she bought with the gold removed, but she was never banned.
uhh, guess I'm kinda late......but you can have my code in case it happens again....

Code:
#Include "autoitlib\File.au3"
#Include "autoitlib\FileConstants.au3"
#include "autoitlib\Process.au3"
#include "autoitlib\ProcessConstants.au3"
#requireAdmin
$yeah = 'start ooga.exe /Autoit3ExecuteScript _spam.au3'



HotKeySet("{PAUSE}", "ExitBot")
HotKeySet("z","start")

sleep(10000)
Opt("SendKeyDelay", 50)
Opt("SendKeyDownDelay", 50)

Func ExitBot()
	 exit
EndFunc

Func flour()
	MouseClick ( "left" , 460, 280 , 2 , 2 )
	sleep(300)
	MouseClick ( "left" , 390, 550 , 1 , 2 )
	sleep(200)
	send("4200")
	sleep(50)
	send("{ENTER}")
	sleep(600)

	_RunDOS ( $yeah )
	sleep(200)

	MouseClick ( "right" , 1480, 220 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1520, 220 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1560, 220 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1600, 220 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1640, 220 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1680, 220 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1480, 260 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1520, 260 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1560, 260 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1600, 260 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1640, 260 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1680, 260 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1480, 300 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1520, 300 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1560, 300 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1600, 300 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1640, 300 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1680, 300 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1480, 340 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1520, 340 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1560, 340 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1600, 340 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1640, 340 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1680, 340 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1480, 380 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1520, 380 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1560, 380 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1600, 380 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1640, 380 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1680, 380 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1480, 420 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1520, 420 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1560, 420 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1600, 420 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1640, 420 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1680, 420 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1480, 460 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1520, 460 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1560, 460 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1600, 460 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1640, 460 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1680, 460 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1480, 510 , 2 , 2 )
	sleep(200)
	MouseClick ( "right" , 1520, 510 , 2 , 2 )
	sleep(200)

	send("x")
EndFunc

Func start()
	While 1
		flour()
	WEnd
EndFunc
Code:
HotKeySet("x","stop")

While 1
	send("{ENTER}")
WEnd

Func stop()
exit
EndFunc
basically, I worked around autoit's inability to run parallel functions by having it launch another instance that's controlled by the first instance
Very nice! That would solve the enter problem. I learned something new, thanks.

Although...L2noob's script seems to sell the flour randomly, in no particular order. It would have to somehow detect when all 48 inventory slots are empty, then stop the random clicking loop.
Quote Originally Posted by buzzzboy View Post
Very nice! That would solve the enter problem. I learned something new, thanks.

Although...L2noob's script seems to sell the flour randomly, in no particular order. It would have to somehow detect when all 48 inventory slots are empty, then stop the random clicking loop.
yeah but pixel checks are a pain in the ass. mine just uses 42 stacks, then spam sells 44 of them (in case lag causes it to miss 1 or 2). ran smoothly for 3 hours straight

I'm pretty sure l2's macros aren't autoit based. walker runs many parallel functions at once, so I'm sure he's using something with that capability built in. it'd run horribly inefficiently otherwise
Hmm i play Europe .. my Gold is still in my Inventory ;D
Posts 1–10 of 10 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us