- 264
- Silicon Valley
- yonis
LilMcGinleyQuick Suggestion, if its not to hard to program in.
Since there is a "leave 1 driver free" option, is there a way to program it so you can create a manual override for that feature? Say I have 2 accounts and I want to run every available Bob from my other account, I can type in my other accounts name so it ignore the rule.
Yonis,
I love the work and the improvements you have made. Thank you.
I would like to add however that this new version literally took about 5 minutes just to start the first race. Is this normal? I read that you said it would take longer to start races but this seemed slightly longer than expected.
Any input?
I'd estimate that there are ≈200-300 users. It doesn't sound like a lot, but when each is hitting the server every 10 seconds or less, that adds up to a lot of traffic.
EDIT: On that note, I'm reducing the status refresh interval from the website's 10 seconds to 20 seconds.
What I'm seeing is that drivers are not being freed quick enough after completing a race. It took about 5-8 minutes of retrying before being able to start races with the same drivers again.
Try to leave it running instead of reloading, if you can. I'm trying to make sure that when the server is misbehaving, the Widget can bounce back. The idea is that you shouldn't need the debug window.I loaded the new version... ran one race, it attempted to start another and got this:
\My Widgets\B-Spec Grinder v0.9.5.widget
02/28/11 12:06:22.001: RAW STATUS: Ready.
02/28/11 12:07:32.450: Race has started.
02/28/11 12:32:37.597: There's nobody to race!
02/28/11 12:32:38.533: ###############Server sent bad data. Retrying. (Attempt 1)
02/28/11 12:32:39.157: ###############Server sent bad data. Retrying. (Attempt 2)
02/28/11 12:32:39.516: ###############Server sent bad data. Retrying. (Attempt 3)
02/28/11 12:32:39.516: ###############Could not successfully retrieve data! Will try reconnecting in 1 minute.
02/28/11 12:32:39.516: Resetting state. Waiting for 1 minute(s). Will reauthenticate.
I reloaded, and got the same message, reloaded again and it is now running another race.
Yes. Instead of running the requests in parallel, I'm running them in sequence for the time being. This should be more reliable, however it will be slightly slower to begin races.Yonis,
I love the work and the improvements you have made. Thank you.
I would like to add however that this new version literally took about 5 minutes just to start the first race. Is this normal? I read that you said it would take longer to start races but this seemed slightly longer than expected.
Any input?
This is quite frequently suggested and will be added once the Widget is successfully bouncing back from server problems.Hey yonis,
Any thoughts on my suggestion? Lovin this widget tho, can't wait for 90 minute races!!
I could do this, however the race positions at the bottom would not update. Or, I could take a hybrid approach where I estimate the progress of a race, and then adjust every minute or two (at which point I could update positions then). ...I might do that.Hey Yonis,
In an effort to reduce the hits out to the server could the refresh time be dependent on the race length preference or even better the race picked by the widget? That way random length settings wouldn't have to default to the longest refresh time.?
Short - 5 minute refresh after race start.
Medium - 10 minute refresh after race start.
Long - 20 minute refresh after race start.
Did you happen to see what the status on the Widget said before the debug window spat that out?Having issues all over.
Widget doesn't even want to start one race. Have had to reload multiple times.
Just got this error on fresh reload. Didn't even get a race off.
Widgets\B-Spec Grinder.widget
02/28/11 14:26:31.316: RAW STATUS: Ready.
JSON.parse (JSON.js: Line 28)
Did you happen to see what the status on the Widget said before the debug window spat that out?
Great app. Loving it!!!!!!!!
Sir you are a legend, pd need programers like you.
Thanks again, Yonis. I think you're putting more time and attention into your free app than PD is with GT5
got this error
JSON.parse (JSON.js: Line 28)
widget status "loading drivers"