Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Internet Gambling > Software
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-08-2007, 08:51 AM
Maunzekater Maunzekater is offline
Senior Member
 
Join Date: Feb 2007
Location: looking for value, but it hides so well
Posts: 283
Default 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.
Reply With Quote
  #2  
Old 11-09-2007, 12:09 AM
PLOlover PLOlover is offline
Senior Member
 
Join Date: Jun 2005
Posts: 3,465
Default Re: ahk Colored Stacks

anything like this for stars?

also OP there are 2 or 3 rolands functions you might have wrong one.
Reply With Quote
  #3  
Old 11-09-2007, 12:12 AM
Maunzekater Maunzekater is offline
Senior Member
 
Join Date: Feb 2007
Location: looking for value, but it hides so well
Posts: 283
Default 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 :/
Reply With Quote
  #4  
Old 11-09-2007, 04:21 PM
PLOlover PLOlover is offline
Senior Member
 
Join Date: Jun 2005
Posts: 3,465
Default 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
Reply With Quote
  #5  
Old 11-09-2007, 05:07 PM
Maunzekater Maunzekater is offline
Senior Member
 
Join Date: Feb 2007
Location: looking for value, but it hides so well
Posts: 283
Default 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.
Reply With Quote
  #6  
Old 11-09-2007, 06:53 PM
_dave_ _dave_ is offline
Senior Member
 
Join Date: Feb 2005
Location: UK
Posts: 2,628
Default 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.
Reply With Quote
  #7  
Old 11-10-2007, 07:56 AM
Maunzekater Maunzekater is offline
Senior Member
 
Join Date: Feb 2007
Location: looking for value, but it hides so well
Posts: 283
Default 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.
Reply With Quote
  #8  
Old 11-10-2007, 08:32 AM
Maunzekater Maunzekater is offline
Senior Member
 
Join Date: Feb 2007
Location: looking for value, but it hides so well
Posts: 283
Default 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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:20 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.