The online racing simulator
LFSLapper: TimeAttack WIP
Hello LFS_Players.

I like to present to you, a server that is powered by LFSLapper which contains a addon that is using custom timings.
In this server it is the main task to drive the fastest time.
The reason for creating this topic in the LFSLapper forum is because, it goes mainly about the addon that is running on the server.

This addon i created was ment for some Rallyevents. Like startpositions on multiple stages on the same circuit.
But after a while they stopped using it. So now it my chance using it. See below the main features of this addon.

See attachments for some pictures and the changelog.


===========================================
Main Features:

+Simple Helpmenu (Commands/Instructions to new players/Rules)
+Real Startposition/StartLights
+Color sectorbars to indicate if you are faster slower than your PM or BestTime
+YellowFlag system.
+Car Inspection (Incl Inspector(player), Player has to be set by admin)
+Advanced Adminmenu
+Penaltysystem ((ADMIN): set time for each object you have hit)
+MultiStage start system (Set Up to 6 stages on 1 circuit)
+MultiUser start (multiple drivers on 1 stage) (only for stage 1)
+List with stagewaiters
+MultiLap option
+Scheduled Messages (every 15 minutes)
+Team/EventLogo (Text) During event
+TimeTable
+Custom Timings
+Virtual Co Driver

TODO List:
=================================
-Classfilter in TimeTable
-List with the fastest times for each stage/car combo.
-List with your PB of each stage/car combo.
-Info About run player in timetable by clicking on it.
-Switch between LFS Checkpoints/Custom Checkpoints (Adminpanel)
-Ignore StageTimes < time
-Theoratical Best time ( Combine all splits together)
-Driven Runs per stage/Layout
-Current Position in CarList.
-Control Startlights manually
-Simulating gate for closing/opening stages
-Deleting single time from Timetable
=================================

Server:
Attached images
Adminpanel_All.jpg
Finish_01.jpg
Startpos_01.jpg
TimeTable_01.jpg
Waitlist_01.jpg
Finish_02.jpg
Hello,

Here's a small update i will release to the server tonight.
See the changes below:

IT is now possible to change your nickname in the timetable list. This is because LFSLapper still having trouble with displaying some characters.


V1.04 (30-05-2017)
Add: Change NickName in TimeTable
Update: Enable/Disable saving DNF/DNS to timetable
Update: TimeTable sorted in Ascending way
Update: TimeTable Player can select with page he want to be displayed (Click on pagenumber)
Fix: Penalty-reset doesnt work after start (Hitting objects after finishing)
Fix: Startlights hang when someone made a falsestart with penaltysystem enabled.

Attached images
Welcome_01.jpg
New small update:

There is now a Car and UserName filter in the timetable.

V1.05 (31-05-2017)
Add: Speedlimit zone detection ( requested for rallyevent)
Update: Penaltybar slightly bigger
Update: TimeTable >> Filter list by Car(s) Car01+Car02
Update: TimeTable >> Filter List by Username(s) UserName01+Username02
Fix: Several small fixes

Soon will be new layouts available to drive on.
I'm also looking for Timeattack layouts that are already been build.
The only thing is: the start/finish need to be edited for insim compatibility.

So if you have some layouts laying around. PM me
Attached images
TimeTable_02.jpg
I visited this server several times. Layouts and addon is really fun. And the whole idea is really good. Admin is totally cool guy he gives you advises and setups if needed. I think who likes autocross must come in and try to show their best time Thumbs up
Server update:

New layout available. Created by Bass-Driver and Psoetaert.
This layout contains 3 stages.
There is 1 short stage and 2 longer ones. See the attachments for the routes.
Attached images
3 stages.png
3 stages_01.png
3 stages_02.png
3 stages_03.png
Serverupdate: Insim update
Update will be soon available on the server

V1.06 (08-06-2017)

(Requests from Psoetaert):

Add: CarInspection: Lightcontrol for carbridge (ONLY for the inspector)(LightIndentifier = 10)
Add: Speedlimit zone detection (Circleindex 11 = SpeedZone IN) (Circleindex 12 = SpeedZone OUT)

Update: TimeTable: MaxSpeed Colomn
Update: Test clickbutton on name for future features.
Fix: Fixed Numbering TimeTable
Fix: TimeTable (Max Page limit) No more black pages

Attached images
Insp_01.jpg
SpeedZone_01.jpg
I noticed some things while i was on today:
- The "Version Info" wouldn't highlight while being in the Version Info, http://prntscr.com/fja0ct
- Would be nice to have more than just two types of achievements. Like objects hit: 100,200,300. Are achievements only shown to the player or everyone? Cause that could be quite some chat spam.
- I also just gotta give some feedback on this: http://prntscr.com/fja5qx, very nice feature (!distoption)
- I just gotta ask, whats the point with the "Click N'Easy" menu? Just like a quick bar to access stuff? Seem to only have help now, but probably just an unfinished feature.
- Yay, I can go to page 0 Big grin https://gyazo.com/4bc4c8750d068f75e16a4cf80997df2c
- I can notice the smallest things: http://prntscr.com/fja8js (thats what she said)

Good luck Wink

EDIT: Once I've set a country, the country text won't update straight away. I had to re-open the window, same with City. https://prnt.sc/fjahzt
Hi

The insim you see is included the TimeAttack addon. You can see the features in the 1st post. So question 1 till 4 is about the my personal Lapper i've running on the servers.
I havent do anything to it since september last year. This is because of the Timeattack addon i'm working on.

See the changelog below:
https://docs.google.com/spreadsheets/d/1bY-G2AR0GloI_Xb4wemtRMtPNkQhTbgwCBDTq58x8OY/edit?usp=sharing

But i will answer your questions:
Question 1: Thanks.
Question 2: The achievements is still WIP. Player sees a Button, rest of the players will see a chaymessage, But this is good idea.
Question 3: Thanks for your positive feedback.
Question 4: This is a really outdated manu. I should get rid of that.

Now the questions according to the Timeattack addon:

Question 5 : Added to my fixlist, Thanks.
Question 6 : is already fixed in my dev version.


I'm planning to add several things to this Addon. Some stats like driven distance, Objects hit (Per stage/Total), Splittimes and other things in my todo list.

Edit bug report: Added to my fixlist.
Update report

New insim version on the server + new layout

I have build a splittime feature to this script. At the moment the splittimes will not be displayed when you pass a checkpoint. But the splittimes will be saved to your current Stage/Car configuration.
Your laptimes are valid when you pass all the checkpoints.


I will update the splittime system in the future with a window/bar for the players.

Another new feature is to save our stages/layout config. This should be easier for our admins to load the stage startpositions instead of driving to each stage to set them.

V1.07 (17-06-2017)
Add: Splittimes (only in timetable)
Add: RaceTimer
Update: SetStartMenu >> Save / load saved startpositions. (usefull for admins)
Update: TimeTable >> Minor design changes
Update: TimeTable >> Splittimes
Update: TimeTable >> Faster Timelist loading
Fix: TimeTable >> Was possible to choose page 0
Fix: Cleartimetable didnt work properly
Fix: Adminpanel >> Typo's
Fix: Multilap background didnt disappear when turning off Multilap in Adminmenu
Removed: TimeTable >> MaxSpeed

Also there are some other fixes on the current Lapper. Many thanks to kristofferandersen for finding these bugs.
See the changelog below:
https://docs.google.com/spreadsheets/d/1bY-G2AR0GloI_Xb4wemtRMtPNkQhTbgwCBDTq58x8OY/edit?usp=sharing

There is also a new layout on the server. Made by Urbansus.
Attached images
Timetable.jpg
Great server, quite the original way of timing laps, shame you can't see your laptime in real time. Otherwise, the layouts are very nice and there's some good fun to have while driving; I'd add that it's a plus that all cars are allowed, making the experience better if you wish for some variety.
Well i have add a racetimer. Will see if i push this update on the server this evening.

Timer will appear when light go green and disappear when you finish the stage.

Edit: Update is available on the server.
Attached images
Timer.jpg
New update:

Insim changes:

V1.08 (02-07-2017)
New: PlayerHud: Contains Racetimer/Messages/Penalty's etc
New: Classes/Air restriction system
Update: Penaltysystem: Add Scenery objects to Penaltylist
Update: Helpmenu: Add new Tab :Serverinfo ( for now Penalty's and Car restiction)

Layout update:

New layout on Fernbay that contains 3 differend stages, 1 of the them is a rallystage
Attached images
HUD.png
HelpMenu.jpg
Very nice that server and software of yours.
Keep up the good work Smile
Very good Bass-Driver congratulate you!
I'm loving your server, I came in today for the first time, and I tell you it's one of the best server in LFS !!
Thank you.

In the meanwhile i have updated the system and fixed some bugs
Still have to fix the CarClasses feature.

See the changelog below for the rest of the updates and fixes.

V1.09 (14-07-2018)
Add: Delete Countdown clock admincommand (!delclock)
Update: Changed Lapper library to newest (PublicTest) version V7.0.5.1 PT_07
Fix: Button Conflict : Adminmenu and Virtual Co-Driver
Fix: RaceTimer still enabled after spectating.
Fix: HUD not cleared after spectating.

V1.10(15-07-2018)
Fix: Name highlighting in Timetable doesnt work with capital letters.
Fix: Paging UP in timetable didnt work with new LFSLapper version.
Update: Filter Buttons in TimeTable
Update: Set default TimeForNextDriver to 6 seconds.
Update: System Messages: StartTime Error.

Another few updates:

V1.11(16-07-2018)
Add: False Start system
Add: Yellow Flag / GreenFlag system.
Add: Display TimeDifference with the current and stored split/total times.
Add: Chatmessage when a player set theire first run on the current stage
Add: Chatmessage when a player set a new Personal Best on the current Stage/Car configuration
Update: System Messages: False Start.
Update: System Messages: Yellow/Green.
Fix: CarClasses: Restricted car not cleared after switching to a non-restricted car
Fix: CarClasses: Couldnt reset cars to default.

Attached images
TA1.jpg
Few updates and fixes:

V1.12(20-07-2018)
Add: SplitColors (Green/Red) to see if you are faster or slower than your stored time.
Update: YellowFlag System: Added blinking yellow buttons.
Update: Few TimeTable changes.
Fix: Checkpoint Counter didnt reset @ startline.
Fix: StartTime invalid during first run after rebooting the insim.
Fix: Admincommand: !cleartimes >> Typo in the code that caused errormessages.
Fix: False 'PB' report. Even when the laptime is higher than the stored time.
Fix: Get penalty when hitting an object after finishing a stage.

Attached images
Splitbar color.jpg
Splitbar color2.jpg
Wow, you are on a role with all these updates Smile
Good work Thumbs up
Thank you.

New changelog:

-New sectorcolor: Magenta (fastest splittime)

V1.13(21-07-2018)
Update: Sectorcolors: Magenta color when you beat the fastest stored sectortime
Update: Chatmessages who beated the fastest time.
Update: Systemmessages: Displays the "Time to beat + driver" at the startline
Update: Renamed 'Checkpoints' to 'Sectors'
Fix: Sectorcounter wasnt set properly at the start, Should be 1 instead of 0
Fix: Random Lapper reboots. (probably)

Attached images
Splitbar color2.jpg
Splitbar color3.jpg
Splitbar color4.jpg
Splitbar color5.jpg
The addon is being updated again.
Most of the updates are internally to improve stability

It is now possible to get the laptime in realtime from a another player.
Command: !lt <username>

See the summary of the changes below:

V1.14(11-08-2018)
Add: LiveTiming window. Check the current (sector)time of a player.
Add: New Command: !lt <player> : LiveTime Window.
Update: Library updated to LFSLapper V7.0.6.1
Update: Sectortime code rewrite.
Update: LapTimer must more accurate than before. No idiotic delays
Fix: Button conflict when someone cut a corner ( Shortcut penalty)
Fix: EndTime messages displayed at the wrong time.
Fix: Typo's

There is a new layout on the server aswell:
This is a tarmac layout and has a length of 16 KM.
Do you dear to set the fastest time?

Be aware. There are shortcut penalty's and route-checkers.

Layoutbuilder: LakynVonLegendaus
Edited (with permission) by Bass-Driver for this server.

Have fun.
Attached images
LT_01.jpg
LT_02.jpg
LT_03.jpg
LT_04.jpg
LT_05.jpg
Tried your server and did some laps - hell that layout is intense with a faster car like the FXR! It's a ton of fun. Your InSim is spot on, fun to use. Also it's great to see you are still updating it Smile

This server needs more attention and players, it's a lot of fun Smile
Thank you.
There are still some Todo's left, that i really want to implement in this addon.
New update:
This update contains a few design changes in the TimeTable and Helpmenu.

V1.15(19-08-2018)
Update: HelpMenu: design changes.
Update: HelpMenu: New Tab , Player Stats. Not completed yet.
Update: HelpMenu: Added more serverinfo in 'ServerInfo' tab
Update: TimeTable: CarClass filter (TBO+GTR+LFR+NGT)
Update: TimeTable: New stageselection methode.
Update: TimeTable: Add 'Gaptime' colomn.
Fix: TimeTable: Layoutname not displayed.
Fix: Yellowflag still enabled when someone is leaving the race (Pit/Spec/Disconnect)

Attached images
TA_01.jpg
TA_02.jpg
It is been a while since i updated this addon.
a good time to update the timetable code a littlebit.

Also was a good time to switch to a other saving methode.
Using the EditFile() and ReadFile() now instead of using usergroups.

You probably wont see anything of the updates, when you join the server.

Check the changelog below:

V2.00(27-12-2018)
Add: TimeList optimizing code ( delete empty/faulty lines)
Fix: TimeTable: Some stages couldnt go further than 3rd page
Fix: TimeTable: gaptimes on 2+ pages not displayed correctly
Fix: TimeTable: Buttons not proper deleted after going back to first page ( (Car/Player)filter or all-records)
Fix: TimeTable: Slower times not deleted properly.
Fix: Startline: Playervalues not set properly when TimeNextDriver is set to -1.
Update: TimeTable: Wait message when loading timetable.
Update: TimeTable: code optimization
Update: New Filesystem to save/load times. (ReadFile(),Editfile() instead of using usergroups)
Update: Now possible to turn on/off the yellowflag system.
Update: Decreased size logo option
Removed: TimeTable: Nickname change option.

If you see anything, that doesnt work properly, report it.

Have Fun
1

FGED GREDG RDFGDR GSFDG