AI autocalibrate =2 not working Build 382

Discussion in 'Technical Archives' started by whitmore, Dec 21, 2013.

  1. whitmore

    whitmore Registered

    Joined:
    Feb 26, 2012
    Messages:
    552
    Likes Received:
    142
    I have Ai auto calibrate set to 2 but WIS file is only 1kb.

    I do not receive any message that AI is training. I thought there was a get out of my way human message that should be displayed.

    I have set opponents at 1 AI in a practice session and also tried practice + race. Still the same.

    As well as the 1 AI T Trainer is also on track. I do not leave the pit but T Trainer goes on track so it cant be the ghost car.

    I let the 1 AI do at least five laps as set in the plr flle then wait for it to return to the pit before leaving the track to check WIS file.

    Seems to me this feature is not working.
     
  2. MikeZ

    MikeZ Registered

    Joined:
    Oct 11, 2010
    Messages:
    94
    Likes Received:
    1
    There are no AI "chat" messages indicating that this is working. That is my fault; I'll implement some for the next build.

    Secondly, this new system doesn't make little improvements every lap like the old system tried to do. In this new system, the car goes out for (by default) 24 laps at a time (he warms up his tires the first 3 laps, then runs 3 alternating trials of X laps each...as defined in the playerfile....default is 7). After that 24* lap excursion, he returns to the pit and figures out which of the 3 trial values for that particular variable worked best (i.e. fastest time) through each "corner" and adds those results to his "wisdom" database. Then, before he refuels and heads out for another run, he figures out a new variable to test & 3 "trial" values (for each corner) to try based on past best values.

    I've been setting the game in time acceleration mode and letting them run 240-300 laps to build up a decent sized database.
     
  3. whitmore

    whitmore Registered

    Joined:
    Feb 26, 2012
    Messages:
    552
    Likes Received:
    142
    Thanks for the explanation. if mine is working what size should the wiz file be? Mine is 1kb
     
  4. SPASKIS

    SPASKIS Registered

    Joined:
    Sep 7, 2011
    Messages:
    3,155
    Likes Received:
    1,426
    Where can I find those wis files?
    Does it work in devmode so that we can use AI to improve fast path of the AIW?

    enviado mediante tapatalk
     
  5. MarcG

    MarcG Registered

    Joined:
    Oct 4, 2010
    Messages:
    6,854
    Likes Received:
    2,234
    Thanks Mike that makes a bit more sense, apart from "Default 7", mine is AI Calibrate Sample Size="5" by default unless you meant another option?.
     
  6. MarcG

    MarcG Registered

    Joined:
    Oct 4, 2010
    Messages:
    6,854
    Likes Received:
    2,234
    userdata/player/settings/*name_of_mod*
     
  7. SPASKIS

    SPASKIS Registered

    Joined:
    Sep 7, 2011
    Messages:
    3,155
    Likes Received:
    1,426
    And how can it be implemented in devmode? I really dont know how to make a mod in dev mode. It took me quite a while to figure out how to implement a car different than rtrainer. I hope it works with testing mod which I modified to include the ferrari from BES. .

    enviado mediante tapatalk
     
  8. MarcG

    MarcG Registered

    Joined:
    Oct 4, 2010
    Messages:
    6,854
    Likes Received:
    2,234
    I dont know I've never worked with Dev mode.
     
  9. Guy Moulton

    Guy Moulton Registered

    Joined:
    Jan 12, 2012
    Messages:
    2,310
    Likes Received:
    16
    If I had the AI run laps offline on one install of rF2, then put that .wis file on my dedi server (separate machine) would that work?
     
  10. Guy Moulton

    Guy Moulton Registered

    Joined:
    Jan 12, 2012
    Messages:
    2,310
    Likes Received:
    16
    Answered my own question- yes, it seems to. But I don't understand the .wis files. There isn't much in there and don't seem to contain information, just
    {
    CorneringCaution
    UnderSteerEffectOnThrottleMulti
    UnderSteerEffectOnLineMulti
    SPEED
    }
    1
    {
    CorneringCaution
    UnderSteerEffectOnThrottleMulti
    UnderSteerEffectOnLineMulti
    SPEED


    Repeated a lot of times. Unless the problem is that Notepad doesn't read all the information in the file or something. There seems to be no values or anything. Kind of weird.
     
  11. MarcG

    MarcG Registered

    Joined:
    Oct 4, 2010
    Messages:
    6,854
    Likes Received:
    2,234
    talk me through the process when you do it, from start to finish. As I've got it working just fine bar a few areas that may need MikeZ' attention.

    edit: do it with a stock ISI car & Track, Meganes at Lime Rock Park-No Chicane for example.
     
    Last edited by a moderator: Dec 30, 2013
  12. Guy Moulton

    Guy Moulton Registered

    Joined:
    Jan 12, 2012
    Messages:
    2,310
    Likes Received:
    16
    Edit your .PLR
    Choose the mod and track
    Set your session up for Practice only (no quali or race)
    start the session (it should be set for 30 hours regardless of what you chose when you set it up)
    Let the AI run (hit Ctrl X to speed it up)
     
  13. Guy Moulton

    Guy Moulton Registered

    Joined:
    Jan 12, 2012
    Messages:
    2,310
    Likes Received:
    16
    Camaros at PBI. Same result. I let them run over 200 laps.
     
  14. MarcG

    MarcG Registered

    Joined:
    Oct 4, 2010
    Messages:
    6,854
    Likes Received:
    2,234
    That could be the problem, I did this and got same results (2kb file), have a Qualifying session selected and it worked for me when I hit Finish Session then Leave Track, the WIS file is there and correctly generated.
    Just make sure you set enough time in the Practice Session for 240-300laps.
     
  15. Guy Moulton

    Guy Moulton Registered

    Joined:
    Jan 12, 2012
    Messages:
    2,310
    Likes Received:
    16
    What's in your .wis file? Can you post a few lines in here?
     
  16. MarcG

    MarcG Registered

    Joined:
    Oct 4, 2010
    Messages:
    6,854
    Likes Received:
    2,234
    I will do in the other main AI thread later at work now, have you tried my suggestion above yet?
     
  17. Guy Moulton

    Guy Moulton Registered

    Joined:
    Jan 12, 2012
    Messages:
    2,310
    Likes Received:
    16
    Yes, I got the same result- my .wis file pretty much is the same, just less lines.
     
  18. MarcG

    MarcG Registered

    Joined:
    Oct 4, 2010
    Messages:
    6,854
    Likes Received:
    2,234
    try with a default plr and just change the autocalibrate, works fine for me so unsure why it's not for you.
     
  19. ozspeedfreak

    ozspeedfreak Registered

    Joined:
    Jan 13, 2012
    Messages:
    72
    Likes Received:
    0
    I'd noticed this missing in the last few builds but mysteriously it started working today. View attachment 11280
     
  20. Guy Moulton

    Guy Moulton Registered

    Joined:
    Jan 12, 2012
    Messages:
    2,310
    Likes Received:
    16
    That's when you have autocalibrate AI set to 1 instead of 2.

    MarcG- you have it working with a single ISI car mod on a ISI track. If you put 3rd party cars or tracks or use a mod with more than 1 car, you won't have as much luck.
     

Share This Page