B-Spec Grinder 2.5.2: Automate Remote Races

  • Thread starter yonis
  • 4,266 comments
  • 561,967 views
03/01/11 09:37:57.557: RAW STATUS: Ready.
TypeError: CONFIG.currentEvent has no properties (Race.js: Line 219)

Next time somebody sees this error, can you do me a favor and run this command in the debug window, then send me the output?

Code:
JSON.stringify([CONFIG.currentEvent, CONFIG.events])
 
Hi mate, could you make a guide for putting the debug window up for stupid people. I have windows 7 and can't find this option that your talking about to open it.


Apart from that, great work.

1. He's going to make a log feature to make up for the lack of debug window opening by default.

2. If you need a guide for a 2 step process, debugging isn't for you.
- On your keyboard, hold CTRL and SHIFT and right-click the Yahoo Widgets icon in the task tray and click "Debug mode".
- Hover your mouse over the widget and click the X at the top left, then click the widget again to start it.
 
1. He's going to make a log feature to make up for the lack of debug window opening by default.

2. If you need a guide for a 2 step process, debugging isn't for you.
- On your keyboard, hold CTRL and SHIFT and right-click the Yahoo Widgets icon in the task tray and click "Debug mode".
- Hover your mouse over the widget and click the X at the top left, then click the widget again to start it.

I'm doing a computing (basically programming) gcse. I'm just not familar with yahoo widgets.

Thanks I now have it up.
 
03/01/11 14:01:04.192: RAW STATUS: Racing.
03/01/11 14:05:55.163: ###############Waited for 30 seconds and never received a server response. Retrying. (Attempt 1)
03/01/11 14:06:10.101: ###############Yay! The re-request worked!
03/01/11 14:24:50.355: All your drivers are in other races!
03/01/11 14:25:22.682: All your drivers are in other races!
03/01/11 14:26:11.322: All your drivers are in other races!
03/01/11 14:26:38.158: All your drivers are in other races!
03/01/11 14:27:07.181: All your drivers are in other races!
03/01/11 14:27:46.470: All your drivers are in other races!
03/01/11 14:28:32.178: All your drivers are in other races!
03/01/11 14:29:04.117: All your drivers are in other races!
03/01/11 14:29:26.718: All your drivers are in other races!
03/01/11 14:29:50.361: All your drivers are in other races!

I'm also getting this over and over. I had an Applescript before I saw this wonderful tool, and it had the same issue. Is Sony slowing down driver availability or something if it detects a bot?
 
Is anyone in the UK with 90+ friends having really slow loading drivers?

Mine takes around 5 mins to load that section.

Want to know if it's me or what.
:-)
 
Is anyone in the UK with 90+ friends having really slow loading drivers?

Mine takes around 5 mins to load that section.

Want to know if it's me or what.
:-)

I don't have 90 friends but probably about 50 and I'm not having any problems.
 
Only thing I can think of is the UK servers or the app waiting for drivers to free up.

Now is peak time for the online etc in the UK I though it might be that, but I tried today at 12-1pm (ish) and still did it.

Everything else within the widget runs smooth just that bit??
 
Just one more question
1. At the moment it is only saying 1/3 drivers is in use, and has been doing this every single time I race, even though I selected leave no drivers free. I used up all the drivers last time but not today.

I'm on 5 races in a row here with no problems. :)
 
Thanks for the donations guys! :-)

I'll try putting a race log of some kind into the next version. The debug window isn't really supposed to be a permanent fixture :-D

For sure a log of some kind would rock. It's nice to see that the widget has been at work making us MUNNIE while we're gone.
 
Just one more question
1. At the moment it is only saying 1/3 drivers is in use, and has been doing this every single time I race, even though I selected leave no drivers free. I used up all the drivers last time but not today.

I'm on 5 races in a row here with no problems. :)
You can only use one of your own drivers at any time ever. Using ALL of your friends drivers means that they can't race at all with remote racing. Put it back to leave 1 driver.
 
You can only use one of your own drivers at any time ever. Using ALL of your friends drivers means that they can't race at all with remote racing. Put it back to leave 1 driver.

Ah right thats strange, It said it was running 2 of my drivers yesterday.
 
Ah right thats strange, It said it was running 2 of my drivers yesterday.
That number indicates the total number of your drivers that are being used, both by you and your friends. You can only use one of your own drivers at a time whereas your friends can use as many of your drivers as they want.

The Free Up preference dictates how many of your friends' drivers will be left free by you.
 
Is anyone in the UK with 90+ friends having really slow loading drivers?

Mine takes around 5 mins to load that section.

Want to know if it's me or what.
:-)

I've got 80+ and I'm having real troubles. It sits on loading drivers (sometimes over 10 min). Often times it fails and I get to do it a few more times. I've been running it most of the day and have had less than a handful of races. I've had real problems since I upgraded from 0.9.2. (with .9.5 and 1.0.0)

It's a great tool (really it is), and if folks with fewer friends aren't having this problem, maybe I should look at reducing the friend list a bit.

**By any chance does anybody has a copy of 0.9.2 that I could get? I mistakenly over-wrote it today with v1.0.
 
reaperman
I've got 80+ and I'm having real troubles. It sits on loading drivers (sometimes over 10 min). Often times it fails and I get to do it a few more times. I've been running it most of the day and have had less than a handful of races. I've had real problems since I upgraded from 0.9.2. (with .9.5 and 1.0.0)

It's a great tool (really it is), and if folks with fewer friends aren't having this problem, maybe I should look at reducing the friend list a bit.

**By any chance does anybody has a copy of 0.9.2 that I could get? I mistakenly over-wrote it today with v1.0.

Are you from the UK?
 
I think I've isolated a large problem with the loading drivers/selecting drivers hangs (which I'm actually starting to experience on my temporary work PC too). There's just too many fetches going on.

So, I may have to retool the random selection so that it's more user-based: It randomly selects a friend from your friends list first, fetches the list of their drivers, and if there are enough there based on your preferences, it will go ahead and book a random amount of them from that list. Should be a lot faster and reduce the amount of traffic as well. And, when I get the requests parallelized again, it'll be faster than it ever was if you have a huge number of friends.

Right now it gets your entire friends list, gets all of their drivers, and then picks 16 out of that group of drivers. That isn't very efficient.
 
I think I've isolated a large problem with the loading drivers/selecting drivers hangs (which I'm actually starting to experience on my temporary work PC too). There's just too many fetches going on.

So, I may have to retool the random selection so that it's more user-based: It randomly selects a friend from your friends list first, fetches the list of their drivers, and if there are enough there based on your preferences, it will go ahead and book a random amount of them from that list. Should be a lot faster and reduce the amount of traffic as well. And, when I get the requests parallelized again, it'll be faster than it ever was if you have a huge number of friends.

Right now it gets your entire friends list, gets all of their drivers, and then picks 16 out of that group of drivers. That isn't very efficient.
You could also parse the players GT5 log and play favorites with whoever has been using the users drivers for driver sources. I'm sure the people who use my drivers would appreciate that. Of course, if it can't fill the race playing favorites, it could start pulling from other random players.

Ideally I'd like it to pick from:
1. A list I create.
2. People who use my drivers.
3. Random people with drivers around my own drivers level.
4. Everybody else.
 
@Yonis. Your work on this app has been amazing. I'm happy to report that 0.9.5 and 1.0 work flawlessly for me. Had 0.9.5 running for just shy of 24 hours and now 1.0 since then and no problems what so ever. You said on a much earlier post you were going to nail the stability then think about other features. I don't want to come off as one of those people that are never happy with anything (I was happy with having to reload it every hour, because it was still a better deal), but here are just a few quick suggestions for your consideration:

-A pause button. What I mean by this is when the 'pause' is activated, the app would finish the current race as usual and then not load a new one. This would be to facilitate getting out of server mode to cash in prizes, UCD/OCD shopping, a-spec, etc. then come back to server mode and 'unpause' the app.

-A lap counter, as someone mentioned previously. (could go right after RACING text)

-Deeper driver selection customization as others have noted as well. I was thinking something like a priority list, similar to how a DVR lets you set up recording priority. This way you could move your friends up and down the list and the app would try to use them by precedence.

-Increase brightness of font displaying 'driver's in use' data. Very difficult to read for me.

-Option to turn off experience halo. Once you reach level 40, like myself, kind of loses its purpose.

Once again, this is all just icing on the cake. Thanks again for all of the work you have put into this project.
 
Last edited:
A good question. I don't think Polyphony has tried to break this thing yet. I think the Widget may be putting a strain on Polyphony's servers as more people use it. More requests are timing out or failing now, and the first version of the Widget had very few facilities to deal with those problems.

You might want to put a random delay (up to 5 min) in between races. This would reduce the load on PD. It would also make it harder for PD to detect the bot.
 
Back