Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 22:04

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

Advertisement



AutoIt Help !

Discussion on AutoIt Help ! within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
Primmo's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 719
Received Thanks: 1,342
AutoIt Help !

Hello , i want to present my ID Changer today for S4 League Section and i have just 1 little problem :c , called : func Start ($iniFile)
Erroruplicate function name.


Screen :





Source code (If there's any other problem,tell me ^^):
Primmo is offline  
Thanks
2 Users
Old 04/10/2013, 20:06   #2
 
elite*gold: 0
Join Date: Apr 2013
Posts: 9
Received Thanks: 0
wenn du mir die beiden #Include <....au3> datein geben würdest könnte ich gucken ob das so stimmt was ich jetzt verändert habe und keine sorge ich werde es nicht als meins ausgeben ich möchte dir nur helfen^^


Englisch (google translater) :
if you would give me the two # include <.... au3> datein I could watch if that's true then what I have now changed and no I'm not going to worry as mine I would like to spend only help you ^ ^
Mosaxify is offline  
Old 04/10/2013, 20:12   #3
 
omer36's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,255
Quote:
Error: Duplicate function name
well.. maby u need to update your OS? or upgrade.
omer36 is offline  
Old 04/10/2013, 20:54   #4
 
elite*gold: 35
Join Date: Apr 2011
Posts: 800
Received Thanks: 214
You may have a function called "Start" in your includes, rename one of them. I'd preffer the one in the included file.
.AppleTree. is offline  
Old 04/10/2013, 21:40   #5
 
Primmo's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 719
Received Thanks: 1,342
Quote:
Originally Posted by .AppleTree. View Post
You may have a function called "Start" in your includes, rename one of them. I'd preffer the one in the included file.
And in what i should call them? #include <Re....au3>?
Primmo is offline  
Thanks
2 Users
Old 04/11/2013, 16:15   #6
 
elite*gold: 0
Join Date: May 2012
Posts: 318
Received Thanks: 161
Maybe two Functions have the same name?
xxBlackHawkixx is offline  
Old 04/11/2013, 16:27   #7
 
FacePalmMan's Avatar
 
elite*gold: 0
Join Date: Jan 2013
Posts: 426
Received Thanks: 129
rename your start function to start2 or to what ever!
FacePalmMan is offline  
Old 04/11/2013, 21:58   #8
 
elite*gold: 0
Join Date: May 2012
Posts: 318
Received Thanks: 161
I think it's fixed because it's released ^^
xxBlackHawkixx is offline  
Old 04/11/2013, 23:24   #9
 
elite*gold: 113
The Black Market: 133/2/0
Join Date: Dec 2009
Posts: 16,685
Received Thanks: 4,450
Even though your Problem seems to be resolved, I'd like to give you a tip of advice.

Try to name your Functions really specifically, e.g. "_OverwriteValues()", or something like that, it makes the code better readable, and you do not have to fear having this error.

My personal preference for funtionnames is also, to put a "_" infront of the actual functionname, this also makes for better readability, as you will allways know, that this is a custom command, that you are using, not a default .au3 function.
Rorc is offline  
Thanks
2 Users
Old 04/12/2013, 12:20   #10
 
Primmo's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 719
Received Thanks: 1,342
Quote:
Originally Posted by Rorc View Post
Even though your Problem seems to be resolved, I'd like to give you a tip of advice.

Try to name your Functions really specifically, e.g. "_OverwriteValues()", or something like that, it makes the code better readable, and you do not have to fear having this error.

My personal preference for funtionnames is also, to put a "_" infront of the actual functionname, this also makes for better readability, as you will allways know, that this is a custom command, that you are using, not a default .au3 function.
Thank you , Rorc , epic advice thanks ^^.
Primmo is offline  
Thanks
2 Users
Reply




All times are GMT +1. The time now is 22:04.


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