Register for your free account! | Forgot your password?

Go Back   elitepvpers > General Gaming > General Gaming Discussion
You last visited: Today at 09:15

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

 

PayUp's LastChaos Project

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2008
Posts: 109
Received Thanks: 29
auto attack complete - Released code.



I am currently working on a way better version of this everyday. ill just post the codes as i make them and compile.exe's for those who are to lazy to download the actual auto it program. currently the code is not up to date it works but its bugged at this time. it's still not working quite the way i want it to ... so ill post the program as progress is made.

What is it?
* An Auto It coded Auto Attack,Loot and skill attack at this time.

Why am i doing this?
* I am learning AutoIt code and Last Chaos just happens to be the game I want to learn with. I know most of this seams basic but I have noticed there is nothing out there for last chaos, as in, "exploits" or working bots... not apparent anyway.

What are the tools i am useing?
Well of course AutoIt v.3 - Freeware

http://www.autoitscript.com/autoit3/index.shtml

For my graphic user interface i have chosen the koda form designer - this is a must have for anybody that wants to learn more about AutoIt Gui creation!
Koda Link -

http://koda.darkhost.ru/formdesign.html

Apparently i have had help with a few tutorials on elitepvpers thanks to jata for sure i got alot of help looking at his jata bot
Jata's AutoIt/Macro Bots Share thread-

http://www.elitepvpers.com/forum/requiem/191159-share-autoit-macro-bots.html

Another thanks to Dizzydbd and his tut on AutoIt-
http://www.elitepvpers.com/forum/cabal-guides-templates/89770-how-script-simple-auto-bot-autoit.html

Now to what i have to release for last chaos so far...
Version 2-
it will auto attack yellow, green, white, and blue mobs.
it will rotate until mob is found.
it will loot after mob death.
it will use 1 skill at this time

Now thats basicly what this dose at the moment. it works for the LastChaos - Aeria Games & Entertainment (Window 1024x768). I know there is a way to convert the pixel code to all window resolution as posted on Dizzy's tut for 1 and also apparently discribed in the help files of the autoit program but i have not gotten that far... this is still a crude program... heres the code for the auto attack witch will be all i release till i make my GUI pretty enough for public.

* I need to figure out a alternative way of resolution detection. or ill preset all the codes for each individual client resolution in the gui and make it user setup.


Code:
Opt("PixelCoordMode",2)
Opt("MouseCoordMode",2)

$mobGreen = "0x5B9600"
$BlueMob = "0x0089AA"
$YellowMob = "0xD7A700"
$WhiteMob = "0xC4C1C4"

HotKeySet ("{ESC}","Quit")
Func Quit()
    Exit
EndFunc
winactivate ("LastChaos - Aeria Games & Entertainment (Window 1024x768)")
WinWaitActive ("LastChaos - Aeria Games & Entertainment (Window 1024x768)")
sleep (1000)
while 1        
    $coord = PixelSearch(150,120,866,508,$WhiteMob,5)
    $n = @error
    If NOT @error Then 
 while $n = 0
 $x = Random($coord[0], $coord[0]+45, 1)

 $y = Random($coord[1], $coord[1]+100, 1)
 MouseClick("right", $x, $y, 2, 0)
 $mm = PixelGetColor ( 580 , 9 )
 $mob = Hex($mm, 6)
 If $mob Then
     ExitLoop
$coord = PixelSearch(150,120,866,508,$mobGreen,5)
EndIf    
$n = @error
 wend 
 
 If $mob = "1C1E14" Then  
     while $mob = "1C1E14" 
      Send("{F1}")
      sleep(350)
      Send("{F3}")
   $mm = PixelGetColor ( 508, 9 )
   $mob = Hex($mm, 6)
      wend
    Sleep (1000)
    Send("{F2}")
    Sleep(1000)
    Send("{F2}")
    Sleep(1000)
    Send("{F2}")
    Sleep(1000)
    Send("{F2}")
    Sleep(1000)
    Send("{F2}")
    Sleep(1000)
    EndIf
Else
$coord = PixelSearch(150,120,866,508,$mobGreen,5)
    $n = @error
    If NOT @error Then 
 while $n = 0
 $x = Random($coord[0], $coord[0]+50, 1)

 $y = Random($coord[1], $coord[1]+100, 1)
 MouseClick("right", $x, $y, 2, 0)
 $mm = PixelGetColor ( 580 , 9 )
 $mob = Hex($mm, 6)
 If $mob Then
     ExitLoop
$coord = PixelSearch(150,120,866,508,$mobGreen,5)
EndIf    
$n = @error
 wend 
 
 If $mob = "1C1E14" Then  
     while $mob = "1C1E14" 
      Send("{F1}")
      sleep(350)
      Send("{F3}")
   $mm = PixelGetColor ( 508, 9 )
   $mob = Hex($mm, 6)
      wend
    Sleep (1000)
    Send("{F2}")
    Sleep(1000)
    Send("{F2}")
    Sleep(1000)
    Send("{F2}")
    Sleep(1000)
    Send("{F2}")
    Sleep(1000)
    Send("{F2}")
    Sleep(1000)
    EndIf
Else
    $coord = PixelSearch(150,120,866,508,$BlueMob,5)
    $n = @error
    If NOT @error Then 
 while $n = 0
 $x = Random($coord[0], $coord[0]+50, 1)

 $y = Random($coord[1], $coord[1]+50, 1)
 MouseClick("right", $x, $y, 2, 0)
 $mm = PixelGetColor ( 580 , 9 )
 $mob = Hex($mm, 6)
 If $mob Then
     ExitLoop
$coord = PixelSearch(150,120,866,508,$mobGreen,5)
EndIf    
$n = @error
 wend 
 
 If $mob = "1C1E14" Then  
     while $mob = "1C1E14" 
      Send("{F1}")
      sleep(350)
      Send("{F3}")
   $mm = PixelGetColor ( 508, 9 )
   $mob = Hex($mm, 6)
      wend
    Sleep (1000)
    Send("{F2}")
    Sleep(1000)
    Send("{F2}")
    Sleep(1000)
    Send("{F2}")
    Sleep(1000)
    Send("{F2}")
    Sleep(1000)
    Send("{F2}")
    Sleep(1000)
    EndIf
Else    
        $coord = PixelSearch(150,120,866,508,$YellowMob,5)
    $n = @error
    If NOT @error Then 
 while $n = 0
 $x = Random($coord[0], $coord[0]+45, 1)

 $y = Random($coord[1], $coord[1]+100, 1)
 MouseClick("right", $x, $y, 2, 0)
 $mm = PixelGetColor ( 580 , 9 )
 $mob = Hex($mm, 6)
 If $mob Then
     ExitLoop
$coord = PixelSearch(150,120,866,508,$mobGreen,5)
EndIf    
$n = @error
 wend 
 
 If $mob = "1C1E14" Then  
     while $mob = "1C1E14" 
      Send("{F1}")
      sleep(350)
      Send("{F3}")
   $mm = PixelGetColor ( 508, 9 )
   $mob = Hex($mm, 6)
      wend
    Sleep (1000)
    Send("{F2}")
    Sleep(1000)
    Send("{F2}")
    Sleep(1000)
    Send("{F2}")
    Sleep(1000)
    Send("{F2}")
    Sleep(1000)
    Send("{F2}")
    Sleep(1000)
    EndIf
Else

Send("{Right 6}")
Endif
EndIf
EndIf
EndIf
WEnd


Now i did all this really fast before i have to go out , it is new years eve :P... this is the code at this time i will release an .exe and the actualy .au3 files once i return. hopefully ill have time to code in a bit of GUI.

Instructions -
Attack - Function on F1
Pick - Function on F2
Attack - Skill on F3
Exit - Hit Esc

Step on - turn off all other apps that may screw with the client window.
Step two - find a good spot to bot. mobs that hit you for one sense an Auto-Pot has not be implemented yet.
Step three Open script and execute it.
to exit hit ESC

CAUTION - MAKE SURE YOUR MONSTERS "INFO" BOX DEFUALT POSITION IN THE TOP MIDDLE OF THE SCREEN STAYS THERE! DO NOT TOUCH IT THE THE BOT WONT WORK IF YOU DO. due to how much the pixels very in this game you could very easily throw the bot off.


AS ALWAYS INPUT IS WANTED!
Attached Files
File Type: rar LC Green Mob Pixel Detection.rar (268.8 KB, 576 views)



UnitedMassacre is offline  
Thanks
1 User
Old   #2
 
elite*gold: 0
Join Date: Nov 2008
Posts: 1
Received Thanks: 1
will it work for the german version too?

And when can i get the full version?


Poldi1313 is offline  
Old   #3
 
elite*gold: 0
Join Date: Dec 2007
Posts: 31
Received Thanks: 2
wow .. nice .. tnx .. i always wanted a keylogger in my PC while in-game... mm ..
now the task is, to decrypt, locate connection, and find out your IP .. next task is to go to your location..

then, knock politly at your door...
then tell hello to your parrents,
Then next task would be to enter your room,
Then take your PC and smash it against your newb script kiddy head.. while you would be thinking ''But i was so 1337 with those smart texts.. wtf h4x.. aww.. ''
Then own you & your oma for few hours...
and maybe then you would understand.. that keylogging other ppl PC's aint a smart thing to do .. you never know what people you log

Ah, thumbs up for making logger undetected for AV's... it must have been very hard job for you
i hawe done it my self for few times, with some trojans... usualy it takes up to 5mins for each AV with good'ol hex workshop,
Were you using the good old method with hex workshop, or the easy way with packer ?

cheers,

oh, completly forgot.. this file is not safe lol ...
drake112 is offline  
Old   #4
 
elite*gold: 0
Join Date: Sep 2008
Posts: 109
Received Thanks: 29
Alright now if we could please forget drake's crazy *** threat and total non sense. either my room mate screwed with my stuff witch i doubt.. or you don't know that AutoIt sets off alarms in some scans?
i don't know, i don't care.

anyway i just posted the code for an auto-attack bot - i will .rar the files and create an AU3 exe for those who dont want to download auto it.

after i finish up the minor bugs in my GUI and fully finish the auto attack method ill release a program that hopefully everyone that plays last chaos can get use of it.


UnitedMassacre is offline  
Old   #5
 
elite*gold: 0
Join Date: Sep 2008
Posts: 109
Received Thanks: 29
Quote:
Originally Posted by Poldi1313 View Post
will it work for the german version too?

And when can i get the full version?
I have no idea if it will work for the german client or not... you will have to test it and let me know what happens i can make one for that as well i play the US client though... i do not know how much of a difference there is in structure,color codes, window name, client options... yeah it will take some investigation into the EU client ill check it out.

i will release the full version as soon as i button up this pixel detection that has been given me some serious headaches, hopefully soon.


if anybody knows how to reverse the pixel detection so it scans from bottom to top that would be a great addition to this program i do not really want to make a different set of pixel boxs to accomplish this.
UnitedMassacre is offline  
Old   #6
 
elite*gold: 0
Join Date: Nov 2008
Posts: 44
Received Thanks: 2
UnitedMassacre thx. would you release the code now?
maxflyinglx is offline  
Old   #7
 
elite*gold: 0
Join Date: Nov 2008
Posts: 44
Received Thanks: 2
oh, sorry UnitedMassacre . my mistake. you have relese it. i will try it and improve and report here.
maxflyinglx is offline  
Old   #8
 
elite*gold: 0
Join Date: May 2008
Posts: 28
Received Thanks: 2
It doesnt seem work on me.. UnitedMassacre can u teach me how to change and write the scripts.
I hav some basic on C Programing so i know a little bit bout this thing..
My mouse keep move up n down search for mob but when it found mob it wont go and attack.. What is the problem here??

Mind to explain what is the pixel thing?? I dun really understand it..

and What is the attach file use for??

I am currently playing in Malaysia version. I am using WinXP screen resolution 1440 x 900.
Last Chaos resolution is 1024 x 768 (window mode).. I have set attack to F1 and pick to F2 and skill to F3..
I hope this information can help UnitedMassacre solve my problem..
lauchingho is offline  
Old   #9
 
elite*gold: 0
Join Date: Mar 2007
Posts: 441
Received Thanks: 47
hay:)

can you make a autoit script for white mobs??
Dairo is offline  
Old   #10
 
elite*gold: 0
Join Date: May 2008
Posts: 28
Received Thanks: 2
Quote:
Originally Posted by Dairo View Post
can you make a autoit script for white mobs??
Hi Dairo... Can ur script work with green mob?? What is ur screen resolution??
U can try set the

Quote:
$Green = "0x5B9600"
to

Quote:
$Green = "0xC4C1C4"
Plz reply asap as it can work.. Thx..
lauchingho is offline  
Old   #11
 
elite*gold: 0
Join Date: Mar 2007
Posts: 441
Received Thanks: 47
^^

so i have found a erro so the script work on me for all mobs
Dairo is offline  
Old   #12
 
elite*gold: 0
Join Date: Jan 2008
Posts: 3
Received Thanks: 0
Can any1 change the code to White moobs ? And then post the new code?

Dairo what ? what you change ? Plz report .
Nuno Carocinho is offline  
Old   #13
 
elite*gold: 0
Join Date: Dec 2008
Posts: 1
Received Thanks: 0
Great work! thank you
techdragon is offline  
Old   #14
 
elite*gold: 0
Join Date: Jan 2009
Posts: 8
Received Thanks: 3
whats the white code script
jumper660 is offline  
Old   #15
 
elite*gold: 0
Join Date: Feb 2009
Posts: 2
Received Thanks: 0
It works, the bot is ok.


zuwar is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
[HELP]Project: 12sky2 Cracking project
Free File Hosting Made Simple - MediaFire I need help cracking this client (the objective is to disable X-TRAP) for 12sky2.ph tnx for those who...
8 Replies - 12Sky2
A NEW Project (Same Idea as Project Manifesto)
This is based off the original idea of project manifesto which I BELIEVE was a open source sorta deal This meaning that the community contributes to...
73 Replies - CO2 PServer - Discussions / Questions
[Project] New Private Server Project
yo im fireblaze new in co private servers old in c# i started on epvp because of the conquer section later i found out that there is a private...
25 Replies - CO2 PServer - Discussions / Questions



All times are GMT +1. The time now is 09:15.


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

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