Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Internet Gambling > Software

Reply
 
Thread Tools Display Modes
  #51  
Old 11-29-2007, 05:00 PM
KittyLiquor KittyLiquor is offline
Senior Member
 
Join Date: Feb 2005
Location: Desert
Posts: 578
Default Re: StarsReads AHK

StarsReads-v0.3b.ahk Error Window:

Error at line 736.
Line Test: "+"
Error: Bad default value.

????????????????

---------------Kitty

Edit: Updated version to v0.3b, same error, updated line number.
Reply With Quote
  #52  
Old 11-29-2007, 05:09 PM
KLJ KLJ is offline
Senior Member
 
Join Date: Oct 2006
Location: ucla
Posts: 2,890
Default Re: StarsReads AHK

im assuming you have a + in your pokerstars name?

what it does is it saves a file for every player, and it can't save a file with a + in it.

a workaround might be to have the code send all of the values to ONE file, but then you would have to search for the player names differently. dunno how to help you otherwise
Reply With Quote
  #53  
Old 11-29-2007, 08:23 PM
KittyLiquor KittyLiquor is offline
Senior Member
 
Join Date: Feb 2005
Location: Desert
Posts: 578
Default Re: StarsReads AHK

[ QUOTE ]
im assuming you have a + in your pokerstars name?

[/ QUOTE ]

Nope. It's the very 1st time I've ever run the program. I'm not sure how it would even know my name. Is there some editing of a file I need to do first?

I've downloaded the zip, unziped it, put it in it's own directory, created a shortcut to it from my desktop. To run it I just double click the link on my desktop.

???????????

Thanks for the help so far! [img]/images/graemlins/smile.gif[/img]
----------------Kitty
Reply With Quote
  #54  
Old 11-29-2007, 08:29 PM
_dave_ _dave_ is offline
Senior Member
 
Join Date: Feb 2005
Location: UK
Posts: 2,628
Default Re: StarsReads AHK

[ QUOTE ]

created a shortcut to it from my desktop.


[/ QUOTE ]

does this shortcut have "Working Directory" set to the folder the script (and it's associated files) live in? It must... or does it give you this error if you run it directly?

It will read your name from a table (and all the names from hand history files) - but I'm fairly certain you don't have a "+" in yours [img]/images/graemlins/smile.gif[/img]

[ QUOTE ]

Is there some editing of a file I need to do first?


[/ QUOTE ]

Probably not.

Only if for some reason your pokerstars is not installed in the default "program files" folder.

You can edit the "default_colours.txt" file, if you want to make new colours or give them more descriptive names etc. - but it's probably best to get it working first, before making changes.

dave.
Reply With Quote
  #55  
Old 11-29-2007, 09:14 PM
KLJ KLJ is offline
Senior Member
 
Join Date: Oct 2006
Location: ucla
Posts: 2,890
Default Re: StarsReads AHK

dave, running starsreads is lagging really, really hard

i open up processes and there's about 15 ahk.exe's in it, all using 2000k of memory each

i close starsreads.ahk and they all stay there (i have to close them all separately)
Reply With Quote
  #56  
Old 11-29-2007, 09:28 PM
_dave_ _dave_ is offline
Senior Member
 
Join Date: Feb 2005
Location: UK
Posts: 2,628
Default Re: StarsReads AHK

how many tables / what CPU? (EDIT: May as well list any system specs you can) It shouldn't be at all harsh on a machine [img]/images/graemlins/frown.gif[/img]

Are you low enough on RAM that 30MB is hurting?

Easy enough to tune if it is the CPU getting hit tho - find this line:

<font class="small">Code:</font><hr /><pre>str := str . "SetTimer, updatepos, 1000`n"</pre><hr />

the 1000 - is ms for refresh, so 1 second is the default... change it to 3000 or something, that should cut CPU load to a third.


[ QUOTE ]

i close starsreads.ahk and they all stay there (i have to close them all separately)


[/ QUOTE ]

StarsReads.AHK itself is sort of a "parent" - it just watches for new tables, then creates a custom AHK for that table. The custom AHK will self-terminate when the table is closed. I should probably find a way to the "parent" kill all it's "children" when it dies itself... that would save some time.

What exactly is the LAG - the whole of Stars? Can you get any ideas from task manager where the problem is? I have no trouble running it on 12, but I haven't tried more than that yet.
Reply With Quote
  #57  
Old 11-29-2007, 09:30 PM
KLJ KLJ is offline
Senior Member
 
Join Date: Oct 2006
Location: ucla
Posts: 2,890
Default Re: StarsReads AHK

heh. yeah more than 12. maybe something vista-related.

2gb of ram, 2.4ghz dell running 32bit vista

dunno why it's lagging, but it almost seems like there's a problem drawing the boxes on the screen, they almost "flicker"
Reply With Quote
  #58  
Old 11-29-2007, 09:36 PM
_dave_ _dave_ is offline
Senior Member
 
Join Date: Feb 2005
Location: UK
Posts: 2,628
Default Re: StarsReads AHK

OK, def not running out of RAM then I would hope [img]/images/graemlins/smile.gif[/img] And if that's a 2.4GHz Core2duo, I can't imagine it is the CPU either... similar spec to mine.

Maybe drawing the boxes is more "expensive" on Vista, what with the fancy interface - do you have Aero enabled? is "Disable Desktop Composition" checked for PokerStars?

There is an easy enough way to reduce performance impact to a quarter if need be, depending on how many sides of the box you want coloured?

Hopefully reducing the update frequency will be enough tho... unless you'd rather just have a single side highlighted on each player?
Reply With Quote
  #59  
Old 11-29-2007, 10:09 PM
_dave_ _dave_ is offline
Senior Member
 
Join Date: Feb 2005
Location: UK
Posts: 2,628
Default Re: StarsReads AHK

Bah! missed edit time by mere seconds [img]/images/graemlins/frown.gif[/img]

I just had an idea to totally remove the need for highlight-refreshes unless strictly required... will experiment and hopefully post a much more CPU-kind update tomorrow.

Maybe I'll even get the super-notes thing working too - but not holding out great hopes just yet... I've got a lot of editing to do on BetPot too tomorrow.
Reply With Quote
  #60  
Old 11-29-2007, 10:15 PM
KittyLiquor KittyLiquor is offline
Senior Member
 
Join Date: Feb 2005
Location: Desert
Posts: 578
Default Re: StarsReads AHK

[ QUOTE ]
does this shortcut have "Working Directory" set

[/ QUOTE ]
Yes.

[ QUOTE ]
does it give you this error if you run it directly?

[/ QUOTE ]
Yes. Even if nothing else is running (ie. PS, PT, PAHUD ect. ONLY StarRead running)

[ QUOTE ]
Only if for some reason your pokerstars is not installed in the default "program files" folder.

[/ QUOTE ]
PS = c:/Program Files/PokerStars

[ QUOTE ]
You can edit the "default_colours.txt" file, if you want to make new colours or give them more descriptive names etc. - but it's probably best to get it working first, before making changes.

[/ QUOTE ]
Maybe edit later.

[img]/images/graemlins/heart.gif[/img] _dave_

------------Kitty (with no "+" [img]/images/graemlins/smile.gif[/img] )
Reply With Quote
Reply

Thread Tools
Display Modes

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 11:53 AM.


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