Maximum laps limit?

Posted by AUS_Doug 
Re: Maximum laps limit?
Date: June 14, 2015 08:46PM
Posted by: SDI
I've solved the last major issue, but I had to lower the new limit to 253 due to problems with pitstop strategies and fuel loads. The game wants to have 2 extra laps of fuel, so a full load with 254 limit would give 256 laps, which does not fit and you end up with an empty fuel tank on the grid. With 253 laps I have no problems anymore.

René Smit, Independent Software Developer.
Download my GPx tools here.
Re: Maximum laps limit?
Date: June 14, 2015 08:57PM
Posted by: gezere
Great !!!
253 or 256 should be not a matter. Well done as always and thank you again Master (Y)

Re: Maximum laps limit?
Date: June 15, 2015 02:01AM
Posted by: AUS_Doug
Brilliant, brilliant, brilliant, brilliant, brilliant, brilliant, brilliant, brilliant, brilliant, brilliant, brilliant, brilliant, brilliant, brilliant, brilliant, brilliant, brilliant.

Brilliant!

(Can you tell I'm excited?)

Thank you soooo much René!



F1 Graphics Swapper --- Lensdump - Renders and Screenshots --- GP4 Performance Generator
Re: Maximum laps limit?
Date: June 15, 2015 07:45AM
Posted by: Atticus.
That's some achievement - EricMoinet will probably the happiest of all of us now that he gets to do his endurance races. :-) But I'm impressed as well.



My workthread - [www.grandprixgames.org]
Full of classic F1/non-F1 track layouts

My blog about F1 performance analysis - [thef1formbook.wordpress.com]
Re: Maximum laps limit?
Date: June 15, 2015 09:55AM
Posted by: TomMK
Just out of interest, what is the longest available GP4 circuit? :)

=====================================================


Intel NUC 8i3, 8GB RAM, MS Sidewinder Wheel
Re: Maximum laps limit?
Date: June 15, 2015 11:21AM
Posted by: Atticus.
I think it must be Interlagos 1979 by Turbo Lover. It's the closest to the 1500 sector/8km restriction I've seen around.

EDIT: I was rather thinking about the Indy 500 (200 laps) and the Bathurst 1000 (161 laps). Should be fun. :-)



My workthread - [www.grandprixgames.org]
Full of classic F1/non-F1 track layouts

My blog about F1 performance analysis - [thef1formbook.wordpress.com]




Edited 1 time(s). Last edit at 06/15/2015 11:23AM by Atticus..
Re: Maximum laps limit?
Date: June 15, 2015 11:45AM
Posted by: kedy89
Didn't Addie make a quick one exceeding the 8km for testing that feature?




Some mods
F1 1996 | F1 2002 | F1 2007 | F1 2011 | F1 2013 | F1 2015 | F1 2018
Re: Maximum laps limit?
Date: June 15, 2015 12:00PM
Posted by: Atticus.
I don't think it's publicly available, or that if it's a real-world track.



My workthread - [www.grandprixgames.org]
Full of classic F1/non-F1 track layouts

My blog about F1 performance analysis - [thef1formbook.wordpress.com]
Re: Maximum laps limit?
Date: June 15, 2015 12:12PM
Posted by: kedy89
No real-world track, was only referring to length there. But I think it was public, in the respective gpxpatch thread.




Some mods
F1 1996 | F1 2002 | F1 2007 | F1 2011 | F1 2013 | F1 2015 | F1 2018
Re: Maximum laps limit?
Date: June 15, 2015 07:57PM
Posted by: SDI
The longest track I have is from Addie and it's 19.93km. He made it for me to test the limit of 20km. So a 253 laps there would be 5042km. With an average of 300kph (it's a fast track) that would take you almost 17 hours to complete.

René Smit, Independent Software Developer.
Download my GPx tools here.
Re: Maximum laps limit?
Date: June 15, 2015 08:03PM
Posted by: Meteoro405
SDI escribió:
-------------------------------------------------------
> Yes indeed, GPxCInfo can show it too, so it's
> probably not that important to fix.
>
> > The limit of 254 laps, which is determined?
> Memory o GP4 code?
>
> The limit is caused by GP4 code, which uses 8 bits
> to store it. All access to it was mostly signed,
> so only 7 bits were used (127 laps). Also, a 99
> laps limit was applied at several places. My patch
> makes all access unsigned and removes the other
> limits too.

Thanks René for explanation!

Mods & Tracks for GP4 - [www.mediafire.com]


Keeping alive the GP4
Re: Maximum laps limit?
Date: June 15, 2015 09:25PM
Posted by: TGF1DRIVER
Atticus. schrieb:
-------------------------------------------------------
> I think it must be Interlagos 1979 by Turbo Lover.
> It's the closest to the 1500 sector/8km
> restriction I've seen around.

Why do you still think the 1500 sectors are still a limit? SDI, also called "the great master", made it possible to get tracks up to 4000 sectors (20 km) working in the game. (Y) Or am I wrong with this statement? :-O
Re: Maximum laps limit?
Date: June 15, 2015 09:40PM
Posted by: SDI
Yes, 20km, but I'm not the great master, I'm your humble servant :)

René Smit, Independent Software Developer.
Download my GPx tools here.
Re: Maximum laps limit?
Date: June 15, 2015 10:59PM
Posted by: Atticus.
SDI Wrote:
-------------------------------------------------------
> Yes, 20km, but I'm not the great master, I'm your
> humble servant :)


I thought it's actually an 'enabled' work-in-progress feature that may still carry the risk of some random crashes and things like that.



My workthread - [www.grandprixgames.org]
Full of classic F1/non-F1 track layouts

My blog about F1 performance analysis - [thef1formbook.wordpress.com]
Re: Maximum laps limit?
Date: June 16, 2015 01:18AM
Posted by: SDI
There might be some risk, but I think it's quite low. As you might have read in another thread, it even solved a random crash!

René Smit, Independent Software Developer.
Download my GPx tools here.
Re: Maximum laps limit?
Date: June 16, 2015 02:10AM
Posted by: auscain
Nice work SDI congratulations;)

Unless we can get the CC cars to do 6 pit stops I'm afraid the Bathurst 1000 161 laps is not going to work.

If we could make it work I would be the first to build Le Mans 24 hour.
Re: Maximum laps limit?
Date: June 16, 2015 02:50AM
Posted by: Atticus.
auscain Wrote:
-------------------------------------------------------
> Unless we can get the CC cars to do 6 pit stops
> I'm afraid the Bathurst 1000 161 laps is not going
> to work.
>
> If we could make it work I would be the first to
> build Le Mans 24 hour.


Dang, indeed. But we can possibly tell them to pick up enough fuel for just four stints (and three stops).

@SDI: Great news, good to know.



My workthread - [www.grandprixgames.org]
Full of classic F1/non-F1 track layouts

My blog about F1 performance analysis - [thef1formbook.wordpress.com]
Re: Maximum laps limit?
Date: June 16, 2015 07:45AM
Posted by: SDI
@auscain: thanks for reminding me to implement this :) As for the number of pitstops, perhaps it works by limiting the maximum fuel load of the CCs. Then they will simply pit each time they run out of fuel.

René Smit, Independent Software Developer.
Download my GPx tools here.
Re: Maximum laps limit?
Date: June 16, 2015 11:05AM
Posted by: EricMoinet
Atticus. écrivait:
-------------------------------------------------------
> That's some achievement - EricMoinet will probably
> the happiest of all of us now that he gets to do
> his endurance races. :-) But I'm impressed as well.

Lol, sure, but I think I won't be the only one happy with that nice new features. Thanks a lot René for all the time you dedicated to improve the game and brake those silly limits they put in it.



Re: Maximum laps limit?
Date: June 16, 2015 11:43AM
Posted by: davegp4
1st post........(Y) thats a really fast car!

Latest Themes / Mods > [www.mediafire.com]
You Tube Video's [www.youtube.com]
________________________________________±
Sorry, only registered users may post in this forum.

Click here to login

Maintainer: mortal, stephan | Design: stephan, Lo2k | Moderatoren: mortal, TomMK, Noog, stephan | Downloads: Lo2k | Supported by: Atlassian Experts Berlin | Forum Rules | Policy