#1
|
|||
|
|||
I can\'t get d-jarls\' ftp sngmth ahk script to work!
Quetzo / d-jarl made this:
http://www.overcards.com/wiki/moin.c...t=%28sngmth%29 I have the newest version, but I have never been able to get this to work. I put my player name in the settings. All it does is select the game it is supposed to register for. Then it selects the first game on the list and it keeps going back and forth. I really need this now because I've been spending so much time table selecting and unregistering from sngs with a bunch of regs already in them. Plz help me I've spent a ton of time trying to get this to work! |
#2
|
|||
|
|||
Re: I can\'t get d-jarls\' ftp sngmth ahk script to work!
[ QUOTE ]
All it does is select the game it is supposed to register for. [/ QUOTE ] Not sure I understand the problem, does it never open any tourney lobbies? |
#3
|
|||
|
|||
Re: I can\'t get d-jarls\' ftp sngmth ahk script to work!
No it doesn't open the lobbies, it just keeps highlighting the sng over and over again. I'm gonna make a video of it... with commentary, yay!
[edit] here's the video I just made: http://rapidshare.com/files/49468713/ahk_xvid.avi.html |
#4
|
|||
|
|||
Re: I can\'t get d-jarls\' ftp sngmth ahk script to work!
hmm, fishy stuff!
If you use the setting "Create Logs" the listview at the bottom of the GUI might say a little more about where the script experience problems. Now it just said "Started Registration". |
#5
|
|||
|
|||
Re: I can\'t get d-jarls\' ftp sngmth ahk script to work!
It says:
Pausing registration Continuing registration Moving to the top of Lobby list End of Lobby list Pausing registration Stopped registration Continuing registration then it just repeats |
#6
|
|||
|
|||
Re: I can\'t get d-jarls\' ftp sngmth ahk script to work!
I'm pretty sure that info and the video tells me what's wrong, not sure why though.
Since the script manage to move down to second row and back to the top indicates it can communicate with the Lobby. That it stops after second row must be because it thinks that row is the same as the first row, which probably means both first and second row gives null since they otherwice wouldn't be be same. That means that the script can't read the Lobby's ListView, but we know it can communicate with it. One difference with reading the text and moving between rows is that the script don't use ControlFocus before trying to read. It shouldn't make any difference, but your OS might do something that mess upp the focus, so try editing the function ReadLine() in file Functions.ahk to: <font class="small">Code:</font><hr /><pre>ReadLine() { ControlFocus, SysListView3211, ahk_class FTCLobby ControlGet, row, List, Focused, SysListView3211, ahk_class FTCLobby GuiControl,,info, Lobby info: %row%|| return row }</pre><hr /> I also put in a row so that the script says what info he got from the Lobby so we can be sure that's the problem. |
#7
|
|||
|
|||
Re: I can\'t get d-jarls\' ftp sngmth ahk script to work!
Thanks Quetzo, I will try it out in a few hours. I've gotta leave to go play golf in 20 minutes.
BTW one weird thing that I forgot to mention is that I've been talking to someone else and they said that your script has been working fine for them. Also I have not been able to get the fts script to open sngs for me, but once I have the sngs open both the fts script and your script are working. |
#8
|
|||
|
|||
Re: I can\'t get d-jarls\' ftp sngmth ahk script to work!
It still does the same thing, only it says:
Lobby info: Lobby info: End of Lobby list Pausing registration Continuing registration Moving to top of Lobby list Lobby info: End of Lobby list Pausing registration Stopped registration Continuing registration |
#9
|
|||
|
|||
Re: I can\'t get d-jarls\' ftp sngmth ahk script to work!
Since it just says "Lobby info:" and not the text from the highlighted row we now know it can't read the Lobby.
Sadly I have no idea why. One thing that AHK says about ControlGet and failing to read a ListView is "3) the process owning the ListView could not be opened, perhaps due to a lack of user permissions or because it is locked". So my best guess is that you have some setting on your computer that prohibits the script from reading the Lobby, I'm not good enough with computers to know what that could be though. Maybe the good guys at this forum have ideas why the code <font class="small">Code:</font><hr /><pre>ControlGet, row, List, Focused, SysListView3211, ahk_class FTCLobby</pre><hr /> sets the variable "row" to blank. |
#10
|
|||
|
|||
Re: I can\'t get d-jarls\' ftp sngmth ahk script to work!
[ QUOTE ]
SysListView3211 [/ QUOTE ] Probably should be 321, not 3211. |
|
|