Author Message

amilmand

00
Posts: 259

Location: ---
Occupation:
Age:
V$:
#135712   2018-01-14 15:18          
GTEFGHA:
[..]doean't crash[..]
It crashes just as the original would from subpar mods though(and let me tell you oh boy there are bad mods out there) so you wont be able to just throw this on anything and make it work.
I just made some patches not a miracle.
Framerate should be a bit better and memory management is improved but I didn't touch the java engine I fixed those errors in the mods themselves.
The other modifications are mainly quality of life improvements (like the AI acceleration fix and the "gearshift time")

Added 7 minutes later:

Jfernando1:
[..]implement races[..]
That would be in the TournamentTrack.java
But the gist of it is:
I create new Bot instances for cars before each round is started the bots follow a spline I assume they are crossing all checkpoints I do not test that in code if they cross the finishline (the trigger) they get +1 for their nightWins(I didnt want to add a new field to the bot class and they will be deleted when the race is over so it doesnt really matter) if the current nightWins is >= laps-in-round than the Bot won abort race.
I know this is a very simple implementation but simple will crash less I thought.

Is this what you were after or did I misunderstand it?

This post was edited by amilmand (2018-01-14 15:26, ago)