Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 02:24

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

Advertisement



[Help] Beginner at Autoit

Discussion on [Help] Beginner at Autoit within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
_slimshady_'s Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,071
Received Thanks: 423
[Help] Beginner at Autoit

Ok so this tool attached is a keypresser for a game called silkroad online. It works fine on the original game, but I am wanting to try it on a private server. The only difference I saw in the source codes (open source made with autoit) is the task name in the task manager. In the normal game the task is "sro_client" In the private server, the name is MythClient. So I renamed sro_client to MythClient and saved the 3 au3 files but I don't know what to do next. How do you compile those 3 files together to make a working exe like the creator did? I always seem to get this error ingame when I press F6 ingame to start the program. The error I get is below. I am also unable to decompile the exe because the exe2aut program I found doesn't support version 3.2.2.0 exe's.



Line 0 (File location):

$MobPixel=($size[2]-196)/2+14
$MobPixel=($size^ ERROR

Error: Subscript used with non-Array variable.




So if anyone can help me out or tell me the next step that would be great. Also I made sure both original silkroad and the private server do have the same resolution of 1920 x 1080.

Thanks for any help, tips, or advise of what to do next


Download:
_slimshady_ is offline  
Old 08/01/2012, 12:24   #2


 
Menan's Avatar
 
elite*gold: 0
The Black Market: 169/0/0
Join Date: Sep 2008
Posts: 9,484
Received Thanks: 3,109
Hey,

Actually you just compile the nuBot Helper.au3, because when you look in the first lines of this au3 you see:

Code:
#include <functions.au3>
#include <bot.au3>
There you see that the other au3's are included so the main program can access the functions in the bot and the functions.au3. When you now compile this nuBot Helper.au3 the compiler should automatically include the other au3's in your executable.

Just again in other words (sorry for my bad english :P ):

You compile the nuBot Helper.au3 to get a executable. Just start this executable as administrator and then try to start it ingame with F6 (dont know the game and dont know the function of the bot).

When you still have problems just write me a pn or post here

Best Regards,
Menan
Menan is offline  
Thanks
1 User
Old 08/01/2012, 17:44   #3
 
_slimshady_'s Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,071
Received Thanks: 423
Quote:
Originally Posted by Menan View Post
Hey,

Actually you just compile the nuBot Helper.au3, because when you look in the first lines of this au3 you see:

Code:
#include <functions.au3>
#include <bot.au3>
There you see that the other au3's are included so the main program can access the functions in the bot and the functions.au3. When you now compile this nuBot Helper.au3 the compiler should automatically include the other au3's in your executable.

Just again in other words (sorry for my bad english :P ):

You compile the nuBot Helper.au3 to get a executable. Just start this executable as administrator and then try to start it ingame with F6 (dont know the game and dont know the function of the bot).

When you still have problems just write me a pn or post here

Best Regards,
Menan

Well I thought that's how to do it to. I hit compile and it made it an exe. Tried running the exe as admin and get:


Line 4274

Error: Variable used without being declared

Did you try it or can you?
_slimshady_ is offline  
Old 08/01/2012, 18:53   #4
 
-STORM-'s Avatar
 
elite*gold: 124
Join Date: Dec 2009
Posts: 2,114
Received Thanks: 3,142
$size is no array meaning $size[2] does not exist and is used without being declared.
You might post your script to get better help since most people dont know that Silkroad bot.
-STORM- is offline  
Thanks
1 User
Old 08/01/2012, 21:18   #5
 
_slimshady_'s Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,071
Received Thanks: 423
Quote:
Originally Posted by -STORM- View Post
$size is no array meaning $size[2] does not exist and is used without being declared.
You might post your script to get better help since most people dont know that Silkroad bot.

Thanks for your post. I did post a download link to the program with the source codes in it if you want to take a look.
_slimshady_ is offline  
Old 08/01/2012, 22:29   #6
 
-STORM-'s Avatar
 
elite*gold: 124
Join Date: Dec 2009
Posts: 2,114
Received Thanks: 3,142
Quote:
Originally Posted by _slimshady_ View Post
Thanks for your post. I did post a download link to the program with the source codes in it if you want to take a look.
The way of cutting the script into three parts is (sry for that) ****.
The functions.au3 contains plenty of variables from the nuBot thus cannot be included as a single script.
The bot.au3 contains some variables required at the bots beginning but also some functions which require other variables and must accordingly be placed at the bots end.
Just copy each of these to the right position in the bot and there are only a few errors left.
These are caused by using constants from the TabConstants.au3 without including it.
The $size error results from WinGetPos not finding the right window due to a wrong name, which means you have either not replaced sro_client by MythClient at any occurence or MythClient simply is not the right name.
-STORM- is offline  
Thanks
1 User
Old 08/02/2012, 23:19   #7
 
_slimshady_'s Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,071
Received Thanks: 423
Can you compile it how you think it should be and I can try it?
_slimshady_ is offline  
Old 08/07/2012, 16:39   #8
 
_slimshady_'s Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,071
Received Thanks: 423
Any help?
_slimshady_ is offline  
Reply


Similar Threads Similar Threads
Looking for Beginner Help...
02/20/2014 - Mabinogi - 4 Replies
Hello, I wanted to start a little bit of beginner hacking not anything too much, I have a little bit of experience but nothing with Nexon before, I was wondering if anybody would be willing to help me, be my tutor in other words. Kind Regards, IOA0007
[S] GE7 beginner acc
07/08/2012 - Browsergames Trading - 0 Replies
hi everybody, GE7 acc 29 speed gen 19 lf3 1 lf2 ( few mp1 ) 37 bo1 shield slot cpu 3 rep bot 4
Helft mal einem absolutem Beginner bei AutoIt
06/09/2010 - AutoIt - 6 Replies
Hallo ich habe gestern autoit mir ein bisschen angeschaut und möchte nun einen S4League-Einlogg-Bot schreiben... Also schreibe ich: $username = InputBox ( "Username" , "Gib deinen Username ein " ) $password = InputBox ( "Password" , "Gib dein Passwort ein " ) Run ( "patcher_s4.exe" , "G:\Spiele\alaplaya\S4League" )Weil man ja den patcher bei S4 zuerst starten muss. Doch wenn ich nun das Script ausführe startet der Patcher nicht... Ich bin ein absoluter beginner... kann jemand helfen? :)
beginner need help ==
08/29/2009 - Dragonica - 3 Replies
why i keep got kick about 10-20 min in game .. ?? does the cd hack work?how can i bot in mission room??:handsdown: wat use for injection does it important?
A little help for a beginner
05/19/2009 - Archlord - 5 Replies
Hi, ill start playing archlord and i choose an elementalist... can someone give a guide to read before i mess up the char. Ty! BB!



All times are GMT +1. The time now is 02:25.


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