« MOD PlayerName Explained | Home | PlayYourTurn – Easy on the Eyes »
Uploader Tool Version 1.05 Released
By Joe | June 16, 2010
Yeah, I jumped from 1.03 to 1.05. Sue me.
1.04m was a test build for multiple Pitboss support. Since it worked, I’m collapsing it back into the main build, and jumping up to 1.05.
Multiple Pitboss servers are now fully supported. Please see my previous post regarding how to set this up.
There are also some fixes for issues found by users, and a request from Astrologix added in.
Remember, sending me emails with requests will eventually get the tool changed
Changes in 1.05
- Multiple Pitboss Server Support! Select any of the running games from the drop-down list.
- The “Refresh” button will gray out when the Uploader Tool is enabled, ot prevent the game name from getting switched.
- The Tray Icon for the Uploader Tool will now show the name of the game being run. Hover over it to see.
Topics: Development | 14 Comments »
14 Responses to “Uploader Tool Version 1.05 Released”
Comments
You must be logged in to post a comment.



June 20th, 2010 at 6:57 am
hi joe,
still no support for linux in 1.05 – i was going to move our civstats game to play-your-turn since you support multiple games, and pyt looks better – but i didnt find any way to get pyt working with wine yet.
since the executable is upx packed, i couldnt find any specifics about which .dll’s it could use. would you take any effort getting the uploader to work with linux/wine ? i guess many people run pitboss on linux – at least thats whats the forums say.
regards
dave
June 20th, 2010 at 3:53 pm
Dave,
The PlayYourTurn Uploader tool is written in AutoIt because of it’s powerful and simple screen-scraping tools.
It will never run in Linux, from everything I’ve read, but it may be possible for it to run under Wine.
Searching around on this topic yielded me no results a few months ago, when someone else requested it. I don’t have a box with Wine set up, at any rate, so I’ve never been able to experiment.
If you can find whatever DLLs and configuration settings are required to run AutoIt programs, it would be helpful for everyone, but I can’t figure it out on my end.
- Joe
June 21st, 2010 at 2:16 am
interesting – since civstats uploader also uses autoit and runs fine with wine. do you use any special autoit function which might explain the problem?
perhaps the error message “Could not find dependent assembly L”Microsoft.Windows.Common-Controls” gives a clue to you – perhaps any special gui lib usual auto-it programs dont use ?
btw: pitboss itself also runs in wine on a virtual vnc server – without any problems.
June 21st, 2010 at 11:44 am
The only AutoIt APIs/Functions that seem like they could cause a problem are the Inet functions:
InetGetSizeh
InetRead
They both carry the following remark:
Internet Explorer 3 or greater must be installed for this function to work.
Not sure how that would affect Wine, but I assume it’s not good.
I’m not sure how CivStats works, but PYT does not use a permanent connection. Each “event” from the uploader tool is sent to the website as a HTTP request. The easiest way to do that in AutoIt was to use the Inet functions, but apparently they rely on Internet Explorer being installed.
I could look in to moving from the Inet commands to simpler TCP commands. That might work. I’d have to handle all of the HTTP stuff myself, but it’s doable.
I’ll give this a shot sometime later this week.
Out of curiosity, what sort of errors do you get when you try to run the uploader tool?
June 21st, 2010 at 11:51 am
well, the ie3 remark might help – i will try later tonight if i get it running that way. will give feedback here
June 21st, 2010 at 9:35 pm
Check your email
Beta copy of an all TCP version sent to you. Give it a try and let me know if you can get it running under Wine.
June 22nd, 2010 at 2:55 am
this didnt change anything. also installed ie6 inside wine, so all ie libs should be around now. still same problem.
June 22nd, 2010 at 9:04 am
What errors do you get while running it?
Does it start at all?
Does it crash when you do something (like click “Start”)?
June 22nd, 2010 at 7:18 pm
it say at startup:
wine pyt_uploader.exe
fixme:actctx:parse_depend_manifests Could not find dependent assembly L”Microsoft.Windows.Common-Controls”
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
then exits – no gui. the sound error is “normal” since no soundcard in server (all wine apps say it) – the fixme didnt help me when feeding it to google. the really wierd thing is that autoit itself and the civstat uploader (which is also a .exe complied autoit script) run without any problems – so does pitboss.
June 23rd, 2010 at 2:01 pm
Could you try what dandy suggests in this thread?
I’m not sure if you need to find the comctl32.dll file yourself.
June 24th, 2010 at 7:45 am
it does help/work, since the first error doesnt appear anymore. but still the program exits/doesnt start – what i suspected, since that fixme isnt the reason why it crashes – since sound is started afterwards (or tried)
so, no error reporting, but still exiting
June 30th, 2010 at 7:06 am
hey joe,
another idea – could you enter debug messages at your initial autoit script startup ? like insert message boxes before everything you call.
i would then tell you, until which messagebox the uploader gets.
a second option would be giving you access to our box – so you can start the file yourself.
regards
June 30th, 2010 at 12:52 pm
Do you see anything in the log file? Is a log file even written?
I’m at work right now, but sometime in the next day or so I’ll try to do this for you.
I could also just write a small sample application that just is a messagebox, to see if it’s the way the code is being compiled somehow.
June 30th, 2010 at 2:30 pm
great idea with the sample app.
i dont know about the auto-it script to exe compilation, but maybe it is some options – since other autoit .exe files run.
thanks in advance
i am sure we can track the problem down
regards