|
#1
|
|||
|
|||
ahk Colored Stacks
Does anyone use this script and gets the same error:
"Error at line 191. Line text: Convert(show) Error: Duplicate function definition The program will exit." I tried it with all versions of Roland's Functions, without success. |
#2
|
|||
|
|||
Re: ahk Colored Stacks
anything like this for stars?
also OP there are 2 or 3 rolands functions you might have wrong one. |
#3
|
|||
|
|||
Re: ahk Colored Stacks
There are 3 roland's functions, tried them all.
I doubt that there is a script like this for stars, because you need FreePHH running for party and there is AFAIK no similar software for stars. Damn, really need this script, i steal too much against short stacks :/ |
#4
|
|||
|
|||
Re: ahk Colored Stacks
well if you know any basic programming, it's telling you the convert() function if defined twice. so you could try to fix it i guess.
if you don't, just search the file in notepad for "convert(" without quotes, and trial and error comment out the lines that have it, one at a time, and it might work. comment out is put a ";" (no quotes) first thing on the line. convert() ; this is comment area ;convert() now the whole line is comment |
#5
|
|||
|
|||
Re: ahk Colored Stacks
The problem is, there is only one convert() function.
I am a computer vision student, i should have mentioned that i did that already [img]/images/graemlins/smile.gif[/img] When i start the script, it creates an .exe file and another ahk file. I don't know why this is necessary, the created file looks the exactly same as the former script. I will have a look at it tomorrow, maybe i can fix it. |
#6
|
|||
|
|||
Re: ahk Colored Stacks
[ QUOTE ]
When i start the script, it creates an .exe file and another ahk file. I don't know why this is necessary, the created file looks the exactly same as the former script. [/ QUOTE ] Wait what? An EXE file? I don't think that should be there and sounds dangerous imo. It should create new AHK files (one per table it is watching). At a guess I'd say Convert first appeared in this script then later in Functions or something, producing the duplicate. |
#7
|
|||
|
|||
Re: ahk Colored Stacks
I am sorry, of course the script does not create an .exe, but an .ini file. My bad.
Was too late yesterday. |
#8
|
|||
|
|||
Re: ahk Colored Stacks
Ok, i fixed it. There is another convert() function in roland's function, which is included. That one takes 2 arguments instead on one, like in ColoredStacks.ahk
It really sucks and i didn't expect it, but ahk does not differentiate between functions that take a different number of arguments. No fun if you include a big file and the function namespace is already cluttered up. |
|
|