-Open LFSLapper.LPR.
-Go to line 228.
-Change $DisplayLoops = 1; to $DisplayLoops = 0;
=================================================
Changed:
=================================================
1: GetLapperVar(ShortDate): Possible to add a 2nd parameter to add/delete days
Example: calculate date of unban a player
$NewDate = GetLapperVar(ShortDate,5); // Adds 5 days to the current date
$NewDate = GetLapperVar(ShortDate,+5); // Adds 5 days to the current date
$NewDate = GetLapperVar(ShortDate,-5); // Deletes 5 days to the current date
=================================================
Fix:
=================================================
1: InstantSpeed Playervar didnt reset to '0' after going to pit or spec (Shift+P / Shift+S)
2: Angle of car didnt reset to '0' after going to pit or spec (Shift+P / Shift+S)
-This could spam Event OnAngleVelocity() after losing control and pit/spec at the same time.
3: Event OnTakeOverCar(): Typo in sourcecode, didnt execute the event.
4: RegisterScheduledAction(): Function did not execute when only minutes are set.
-Rewrote small code of RegisterScheduledAction() and (Priv/Host)DelayedCommand();
-Lapper will now check, if it is a scheduled action or a delayedaction.
5: RegisterStreetAction(); Lappercrash when changing tracks or random lappercrash when leaving a street.
6: RegisterZoneAction ID still remains when a player pit/specs while standing inside a zone.
+---------------------------------------------------------------+
|Changes from 7.0.6.1 to 7.0.6.2 |
+---------------------------------------------------------------+
=================================================
Fix:
=================================================
1:RegisterScheduledAction bug: Executed every second.
2:DelayedCommand: When out of sync with the current time, delayed command wont executed anymore. ( Old Bug)
-Spectated: NumPlayers = 0.
-Spectated and rebooted lapper: NumPlayers = 0.
-Joined the track: NumPlayers = 1.
-Joined the track and rebooted Lapper: NumPlayers = 1.
$ListP = getListOfPlayers();
$randomnumber = round(ToNum(RandomNum(1,$player)),0)
$Player = $ListP[ToNum($randomnumber)];
$Var = GetLapperVar("LapperVar");
numconns //Number of players are connected to the server (include Host)
numplayers //Number of players are connected to the server
UserName = Bass-Driver
Cash = 98987
Cars = UF1+XFG+XRT
etc
GlobalVar $Variable;
$Variable[1] = "userName";
$Variable[2] = "Cash";
$Variable[3] = "Cars";
$Variable[4] = "Distance";
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)
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
+---------------------------------------------------------------+
|Changes from 7.0.6.0 to 7.0.6.1 |
+---------------------------------------------------------------+
=================================================
Changed:
=================================================
1: GetLapperVar("racetime"); More accurate racetime.
2: Privmsg(); Can now be used in non-playerevents.
3: EditFile(); can now delete lines.
Set '-1' as $NewText and set $LineToEdit which line you want to delete.
###EXAMPLECODE###
$Filename = "TestFile";
$Folder = "C:\Users\Blah\Desktop";
$NewText = -1;
$LineToEdit = 5;
$Extension = ".txt";
EditFile($Filename,$Folder,$NewText,$LineToEdit,$Extension);
=================================================
Fix:
=================================================
1: Couldnt clear the selected objects with SetLytSelection();
-Keep the function empty to clear the selection: SetLytSelection();
=================================================
Removed:
=================================================
1: 2 functions in Sourcecode for requesting: GetLapperVars.
-Requesting Lappervars is a littlebit faster (not really noticable) and using less CPU Usage