![]() |
|
|
|
#1
|
|||
|
|||
|
[ QUOTE ]
ok heres a pic of what i think you should be seeing? [/ QUOTE ] Yeah - I would have thought that "STARS - 10/20 6 MAX OBSERVED,STARS - 3/6 NL 6-MAX OBSERVED,STARS 5-10 NL 6-MAX OBSERVED,STARS MAIN" would work. Maybe someone else knows what the problem is? [ QUOTE ] also any chance of making this thing so that it doesn't steal focus??? [/ QUOTE ] Nope, can't do it. |
|
#2
|
|||
|
|||
|
Btw, are you sure it's actually not working? Have a look at the file 'tables.txt' (same folder as the script). The results of the query get written there.
|
|
#3
|
|||
|
|||
|
Really awesome script. Great job.
Can you explain how to "one click" and add buddies. I think that I am screwing it up somehow. |
|
#4
|
|||
|
|||
|
[ QUOTE ]
Can you explain how to "one click" and add buddies. I think that I am screwing it up somehow. [/ QUOTE ] Hold down the Alt key, then left-click on that little box with the screen name and stack size of the player. You have to be playing (the script reads the hhs to match a player to the coords you clicked at and Stars doesn't write hhs unless you play). |
|
#5
|
|||
|
|||
|
yea roland the tables.txt file is blank.
creates files with no endings such as this "20070107111033_Stars" ??? oh well this script is still sick. thanks roland. |
|
#7
|
|||
|
|||
|
hmm they are both under trust already so thats not the problem ill try again in a lil bit.
|
|
#8
|
|||
|
|||
|
[ QUOTE ]
[ QUOTE ] creates files with no endings such as this "20070107111033_Stars" ??? [/ QUOTE ] Oh - that may be that password problem. Have a look at this post. [/ QUOTE ] That should be an error log TXT file, viewable in notepad. The postgres function should delete it if all went well. If it's not the password thing, I'd wager it is the spaces in your DB names - I never thought about that since I never bother to reneme my DBs, they are all PTPGSQL! etc. Alteration of the psql function with this changed line I hope will fix it: <font class="small">Code:</font><hr /><pre> command := "psql.exe -A -t -h " . host . " -p 5432 -U " . username . " -d """ . database . """ -f " . file1 . " -o " . file2 . " 2> " . file3 </pre><hr /> I just put quotes around the database variable. Seems to cause no problem on my databases, so I guess it should work for ones with spaces in the names [img]/images/graemlins/smile.gif[/img] I'll probably make a testing database later and try it out... dave. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|