Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > 12Sky2
You last visited: Today at 09:17

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

Advertisement



Autoit bot declare problem

Discussion on Autoit bot declare problem within the 12Sky2 forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2009
Posts: 106
Received Thanks: 21
Autoit bot declare problem

EDIT: It seems my pic is too small to read. So, The error says:

Line-1:

Error: Can not redeclare a constant
-----------------------------------------------------------------------------------------


Can someone tell me how to fix this problem on Autoit?

I changed everything around on Trin's bot script and created a .exe
but I keep getting this error




I tried starting the bot before and after the game started with the same problem.

I downloaded Nomadmemory.au3 and iput the file into the include folder.

Then the computer told me, when i tred to run the program, that windowsconstant.au3 was giving me problems. So I did some research and found out that I might have to remove windowsconstant to make room for nomadmemory.

I took wondiwsconstant and put it on my desktop and then tried to run the program again and i got the erorr message in the picture.

Obviously my code changes were correct..but if you have a solution to this menial problem please tell me^^

It seems my pic is too small to read. So, The error says:

Line-1:

Error: Can not redeclare a constant
blade3000 is offline  
Old 07/20/2009, 15:22   #2
 
elite*gold: 0
Join Date: Aug 2005
Posts: 81
Received Thanks: 3
post the au3 files so i can look whats the problem is
Mc.Neal is offline  
Old 07/20/2009, 16:07   #3
 
elite*gold: 0
Join Date: Jul 2009
Posts: 106
Received Thanks: 21
Here are the first few lines of the script.

#RequireAdmin
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Res_Comment=Autopot (Mayn Mem.)
#AutoIt3Wrapper_Res_Description=Autopot (Mayn Mem.)
#AutoIt3Wrapper_Res_Fileversion=1.0.0.0.0
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <Nomadmemory.au3>
#include <Array.au3>
#include <memory.au3>
WinWaitActive("TwelveSky2")

Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Terminate")
blade3000 is offline  
Old 07/20/2009, 16:57   #4
 
elite*gold: 0
Join Date: Aug 2005
Posts: 81
Received Thanks: 3
this dont help need the complett au3
Mc.Neal is offline  
Old 07/20/2009, 18:53   #5
 
elite*gold: 0
Join Date: Jul 2009
Posts: 106
Received Thanks: 21
blade3000 is offline  
Old 07/20/2009, 19:40   #6
 
elite*gold: 20
Join Date: Aug 2007
Posts: 1,357
Received Thanks: 1,263
something about "redeclare" sounds like it is telling you that you made something equal something, but then made it equal to another thing as well.
might look like a=b then later in your script a=c. and since we're talking about constants, i think they can only have 1 value instead of 2.
strikeraid is offline  
Old 07/20/2009, 21:00   #7
 
elite*gold: 0
Join Date: May 2008
Posts: 18
Received Thanks: 1
Just try to help...
I think you may not remove any #include at your script.
"windowsconstant.au3" must be place at the script.. cause GUI function need constants that inside "windowsconstant.au3" file. Maybe the error you got because autoit can not redeclare the same constant name.. please check the whole script.. maybe at the script had declare a constant that at "windowsconstant.au3" already declare.
You are not give the whole script so i can not help you to find the exact problem... but maybe this information will help you to find the problem.
Good Luck.
marcoyang is offline  
Reply




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


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