Hello,
This testversion contains some new functions and some important fixes.
See the summary of changes below.
This does contain fixes for Linux
#Question:
Could you test, if the build-in track rotation works. Because somehow i cant get it working.
                
                
                    
            This testversion contains some new functions and some important fixes.
See the summary of changes below.
This does contain fixes for Linux
#Question:
Could you test, if the build-in track rotation works. Because somehow i cant get it working.
+---------------------------------------------------------------+
|Changes from 7.0.6.3 to 7.0.6.4    Public Test_10        |
+---------------------------------------------------------------+
=================================================
New: 
=================================================  
    1: New function: PlayerDelayedcommand(); #Start delayedcommand for a specific player
            $UserName = "Bass-Driver";
            $NameOfDelay = "CloseButton";
            $DelayInSeconds = 3;
            $SubCallBack = "ThisSub";
            PlayerDelayedcommand($UserName,$NameOfDelay,$DelayInSeconds,$SubCallBack);
    2: New function: RemovePlayerDelayedCommand(); #Remove delayedcommand for a specific player
            $UserName = "Bass-Driver";
            $NameOfDelay = "CloseButton";
            RemovePlayerDelayedCommand($UserName,$NameOfDelay);
    3: New function: RegisterPlayerDetection(); #Detect player within a fieldofview and distance. 
            #Example
            #$userName = Set Player for the detector
            $userName = "Bass-Driver"; #The Detector is now enabled for Bass-Driver
            #$FieldOfView = Set range of the view to detect players. (degrees)
            $FieldOfView = 30; #view will be 0 to 30 and 0 to -30
            #$Distance = Max distance of detection (Meters)
            $Distance = 25;
            #$NameofSubDetected = Execute Subcallback when 1 or more players are detected.
            $NameofSubDetected = "PlayerDetected";
            RegisterPlayerDetection($userName,$FieldOfView,$Distance,$NameofSubDetected);
            #==========================================
            #Sub callback
            #==========================================
            Sub PlayerDetected($userName,$DetectedPlayer)
                OpenButton( $userName, "PlayerName",170,115,30,5,2,5,96, "^3Player: ^7".GetPlayerVar($DetectedPlayer,"NickName"));
                OpenButton( $userName, "Speed",170,120,30,5,2,5,96, "^3Speed: ^7".GetPlayerVar($DetectedPlayer,"InstantSpeed")." km/h");
                OpenButton( $userName, "Distance",170,125,30,5,2,5,96, "^3Heading: ^7".GetPlayerVar($DetectedPlayer,"Heading"));
            EndSub
    #########################################
    #DISCORDBOT FEATURES
    #########################################
    4: New Event :
    
    - This event will be executed when someone sends a discord message to LFSLapper.
    - A Discordbot must be created to communicate between LFSLapper and Discord.
    - In 'bin/default/includes/myInc.LPR' you can enter the 'DiscordToken' and the 'Discordchannel' to receive the messages from.
        - Link to create a discordbot: https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-&-getting-a-token
    - Set DeveloperMode in your discordsettings to "ON' to copy the channel ID ( rightclick on the channel)
        Event OnReceiveDiscordMessage($DiscordUname,$Text) # Player event
            #Your code
        EndEvent
    #This function sends messages to your selected discordchannel.
    #The discordbot must be connected while using this function
    5: New Function: sendmessagetodiscord();
        $DiscordChannel = "000000000000000000";
        $Message = "Hello";
        sendmessagetodiscord($DiscordChannel,$Message);
    
    6: New setconfigvar() value: "DiscordBotStatus"
         setconfigvar("DiscordBotStatus",$argv); #change the status of the discordbot
EndSub    
=================================================
Changed: 
================================================= 
    1:Hostname now visible when lapper succesfully connected to a server.
    2:New errormessages to MSS file before Lapper starting (faulty adminpass)
    3:Increased the frequence of retreiving info from LFS to every (50 ms) was 100ms (Proper testing needed)
        -The MCI (Carinfo) packet will still execute every 100ms
    4:Realtime driftscore refreshrate is set to 5 times a second instead of 10.
    5:NumtoMSH(); returns values in HH:mm.ss format, was HH.mm.ss before.
    6:Event oncrossingchecker: returns now which insim checkpoint you crossed.
    7:Event oncrossingchecker: returns time in H:mm:ss format.
    8:GetWr();  allows 1 parameter "CAR". Example below
    CASE "!getwr":
        IF($argv != "")THEN
            $GetWRInfo = GetWR($argv);
        ELSE
            $GetWRInfo = GetWR();
        ENDIF
        privmsg("^7============================");
        privmsg("^3WR Info:");
        privmsg("^7============================");
        privmsg("^7Car: ^8".$GetWRInfo["CName"]);
        privmsg("^7Track: ^8".$GetWRInfo["Track"]);
        privmsg("^7Racer: ^8". $GetWRInfo["racerName"]);
        privmsg("^7Time: ^8".NumToMSH($GetWRInfo["WRTime"]));
        privmsg("^7Sp1: ^8".NumToMSH($GetWRInfo["Split1"]));
        privmsg("^7Sp2: ^8".NumToMSH($GetWRInfo["Split2"]));
        privmsg("^7Sp3: ^8".NumToMSH($GetWRInfo["Split3"]));
        privmsg("^7Last: ^8".NumToMSH($GetWRInfo["SectorLast"]));
    BREAK;
    9:GetWR(); Added 2 new values: Date & Time. Date/Time of WR
        $GetWRInfo["Date"]);
        $GetWRInfo["Time"]);
    10:Store data for offline players
        -New variable: $StoreOfflineData = false; #storedvalue.dbs Store Offline data , even when the player doesnt exist in the database.
        -IF $StoreOfflineData = true, a warning message will be displayed on your lapperconsole and in your MSS logfile, after reloading lapper 
          
=================================================
Fix: 
=================================================
    1: WriteLine() :Lapper crash when try to convert special LFS characters
    2: Write() :Lapper crash when try to convert special LFS characters
    3: LFSLapper.LPR : one of the debugoption turned on
    4: LFSLapper.LPR : debugmessages
    5: No returning value when accidently applying NumtoMSH(); twice
    6: Changed hardcoded visible records in Toplist/UserTop/Drifttop from 24 to 10000
    7: Linux/mono users couldnt start Lapper on theire computer (Testfase)
    8: GetWR(); Couldnt get RO11 WRtime


