The online racing simulator
Searching in All forums
(879 results)
Bass-Driver
S3 licensed
New Beta version: 7.0.7.3 #11 (skipped #10 for private testing)

While working on my Timeattack system, i discovered some bugs that cause Lapper crashes.

=================================================
Fixed:
=================================================

1: Lappercrash when clicking on one of the layouts in the layoutlist.
2: Layoutlist didnt load the layout files properly into the list.
3: Lappercrash when a player using the JoinRequest function while being retired on the track.

Last edited by Bass-Driver, .
Bass-Driver
S3 licensed
Quote from tumes925semut :2021 who really drive simulator with mouse or keyboard?

Me, but i do have a wheel: Trustmaster T500 on a wheelstand
To much effort to set it up everytime to play this sim.
So ye i'm lazy Big grin
Bass-Driver
S3 licensed
vote another track(layout)

How can you do that as a demo player.
Guess we deal with a cracker again. (reported)

Pff ,this game get killed by those crackers
Bass-Driver
S3 licensed
one of my fav games to play.
Bass-Driver
S3 licensed
You sure the IP and game / insim ports are correct?

Post your LFSServers.cfg (LFSLapper dir/bin/LFSServers.cfg)
Last edited by Bass-Driver, .
Bass-Driver
S3 licensed
New Beta version: 7.0.7.3 #9

After 2 weeks of headaches and testing. It seems that the 20H2 windows updates cause several issues on some pc's. I still dont know what exacly cause the problem and how to fix it. But removing a function seems to "fix" the problem.

=================================================
Fixed:
=================================================
1: Performance issues due to windows updates.
Removed some functions: Thread.Sleep(); this functions seems to malfunction on some PC's with 20H2 Windows update

If someone knows how to fix this problem. Please let me know.
Last edited by Bass-Driver, .
Bass-Driver
S3 licensed
After alot headaches and googling. i might have found the problem.
it seems that something has changed during the windows updates with the thread.sleep(); function in C#

After deleting it, everything went smooth again. I'm still testing this.

i will upload the new LFSLapper.exe beta version asap on the LFSLapper Beta topic.
Bass-Driver
S3 licensed
oke thx for testing.

i have tried the next following things. Running version LFSLapper V7.0.7.3 Beta #8

Current Windows build:

Edition Windows 10 Pro
Version 20H2
Installed on ‎19-‎3-‎2021
OS build 19042.867
Experience Windows Feature Experience Pack 120.2212.551.0


-Connecting LFSlapper from my QNAP Nas (Slow)
-Connecting LFSLapper on my main pc to LFS Dedi (Slow) Was fast before the forced big windows update.
-Connecting LFSLapper on my main pc + LFS Dedi is on main pc aswell.(Slow)

-Tried older LFSlapper version, which i know that was working correctly(Slow)

Thanks to Finland69(Dlocky) for testing
-LFSLapper and LFS Dedi on his pc. (OS build 19042.868) (Fast)
-Connecting LFSLapper from Finland69's pc to my LFS Dedi server (OS build 19042.867) (ping a 100ms) (Fast)

-LFSlapper and LFS Dedi on old windows 7 server pc (Fast)
-Connecting LFSLapper to LFS dedi on windows 10 server pc (Fast)

-Uninstalled the windows 10 20H2 update(Slow)

So something has happend within windows 10 that affects LFSLapper performance.
Do i miss something that LFSLapper needs?

Could anyone test this.

EDIT: added windows build info

EDIT #2: more tests added
Thanks
Last edited by Bass-Driver, .
LFSLapper: Performance issue.
Bass-Driver
S3 licensed
Hello,

Since i moved my LFSlapper instances to a new machine with windows 10 on it. It seems that closing buttons goes really slow.
Did tested this on my own windows 10 machine and someone else did that aswell. But the closing button speed was normal. So it not a LFSLapper issue.

You can test it with typing !help and closing/browsing throught the pages

System Specs:

CPU: Intel Core i3 10100
Mobo: Gigabyte H470 UD3
RAM: Corsair DDR4 Vengeance LPX 2x8GB 2666 C16
SSD: Samsung 970 EVO 1TB M.2 SSD
OS: Windows 10 Pro with 21H2 update

Things i have done already:

Software/Driver Updates:

-Windows updated to 20H2 with security/cumulative updates
-Installed Microsoft Visual C++ 2005/2008/2010(lapper requires this)/2012 to 2019
-Installed Net Framework 3.5 to 4.6.1 and higher.
-Updated Ethernet drivers
-Updated Chipset drivers
-Updated Bios drivers
-Moved LFSLapper directory to a another folder.
-Reboot the machine multiple times.

I haven't tried a another insim library yet.

Suggestions are welcome.
Last edited by Bass-Driver, .
Bass-Driver
S3 licensed
Thank you,
Found the error in the sourcecode.

I've sent the wrong amount of arguments to that event.

It is fixed in 7.0.7.3 Beta #8
https://www.lfs.net/forum/post/1964149#post1964149
Bass-Driver
S3 licensed
New Beta version: 7.0.7.3 #8
Available in first post.

=================================================
Fixed:
=================================================

1: Wrong amount of arguments send to Event: OnPlayerSelectCar

Bass-Driver
S3 licensed
Which version of LFSLapper do you use. And can you try an older/newer version.
Last edited by Bass-Driver, .
Bass-Driver
S3 licensed
Did you changed/delete something in one of your scripts by accident?

-When do you receive that error message? After Lapper restart or when someone select a car?
Last edited by Bass-Driver, .
Bass-Driver
S3 licensed
New Beta version: 7.0.7.3 #7

NOTE: Requires LFS 0.6V

1: New PlayerVar: "FrontWheelAdj" When Alternate setup config has been chosen.
Tyre width reduction (front)

2: New PlayerVar: "RearWheelAdj" When Alternate setup config has been chosen.
Tyre width reduction (rear)

Feedback is welcome.
Bass-Driver
S3 licensed
LFSLapper requires: Visual C++ 2010 Redistributable Packages x86/x64 on windows 10
Bass-Driver
S3 licensed
Really odd, i haven't done anything on this event or any "priv" functions.
It should be a player event indeed, because i send the playerinfo with it, beside the $userName argument. It whould be handy if you could reproduce this error.

That means $userName should be empty when this error is being created.

But to "fix" this, use the following functions below.


OpenButton($userName,"SR_AvisoRadar"......);
Privmsg($userName,"text");

Last edited by Bass-Driver, .
Bass-Driver
S3 licensed
Hello,

Could you test the follow change:

-Change "^s" to "/".
-Change "^v" to "|".

Because the encoding code, i took from insim.net fixed the japanese character bug. But i think it also read the "actual characters" instead of the previous (caret/circumflex (^)) methode of reading the "special characters".
Bass-Driver
S3 licensed
New Beta version: 7.0.7.3 Beta #6

NOTE: Requires LFS 0.6U22 to use/test LFS Lapper beta changes properly
Download the new beta version in the first post.

=================================================
Changed:
=================================================

1: [Discord] Changed $DiscordUName to $UName.

2: [Discord] Added $UNameID into OnReceiveDiscordMessage():

Bass-Driver
S3 licensed
Ah i see what you mean. Same thing as for channel ID for than for users.

Lemme check if that exists in the Discord API. I probably will make a new argument for that.
Bass-Driver
S3 licensed
what do you mean exacly with the "Discord ID of the user"
Is that the number behind the username like: Dan190NL#2141 ?

If yes, i can take a look to get that kind of info into $DiscordUname.

That means you have to split $DiscordUname into 2 separate values.


$IndexofID = indexOf( $DiscordUname, "#");

#Includes the Hashtag char
$DiscordUser = subStr( $DiscordUname,0,$idxOfFirtsSpace-1);
$UserID = trim( subStr( $DiscordUname,$idxOfFirtsSpace-1));

Bass-Driver
S3 licensed
New Beta version :Beta #5

=================================================
Changed:
=================================================
1: [Discord] Event OnReceiveDiscordMessage()
-Number of arguments has been changed: OnReceiveDiscordMessage($ChannelID,$ChannelName,$DiscordUname,$Text)

2: [Discord] Set multiple channels for sending texts to LFSLapper:
-open MyInc.LPR in Includes folder 'Bin/Default/Includes' .

You are allowed to set 5 channels, seperate them with a comma ",". see example below.
-$DiscordChannelReceive = "0000000000,0000000000,0000000000";

Last edited by Bass-Driver, .
Bass-Driver
S3 licensed
New Beta version: Beta #4

NOTE: Requires LFS 0.6U22 to use/test these changes properly
Download the new beta version in the first post.

=================================================
Changed:
=================================================

1: [TEST] Record ID of Grip/Drift Database will now be shown in DumpVar();
$list = GetListTop( getConfigVar( DefaultTopCar ), 0, 0 );
IF ( getConfigVar( DefaultTopCar ) == "XFG" )
THEN
dumpVar ( $list );
ENDIF

2: PlayerVar: "Fuel" : remaining fuel percent "%", will set when acrossing a split or completing a lap.

Last edited by Bass-Driver, .
Bass-Driver
S3 licensed
Hello Yisc[NL] ,

Give this a try.

Attachment contains only the .exe.
Grab the LFSLapper dir from the first post if you dont have it yet.

Note: New beta version in first post.
Last edited by Bass-Driver, .
Bass-Driver
S3 licensed
New Betaversion released:

Requires LFS 0.6U21 to test it properly.
Grab the new version in the first post.

Changes:


1: New PlayerVar: "Fuel" Display the fuel amount in percent "%" After player left the pit.
IF /showfuel=yes ELSE value = -1

2: New PlayerVar: "PitFuel" Display the fuel amount in percent "%" that is being add during a pitstop.
IF /showfuel=yes ELSE value = -1

Last edited by Bass-Driver, .
Beta: LFSLapper V7.0.7.3 #11
Bass-Driver
S3 licensed
Hello Lapperusers,

Here is a small Beta update for the upcoming version.

NOTE #1, The events in LFSLapper.lpr has been changed.
NOTE #2, LFS 0.6V is required

See the summary of changes below.

+---------------------------------------------------------------+
|Changes from 7.0.7.2 to 7.0.7.3 Beta #11
+---------------------------------------------------------------+
=================================================
New:
=================================================

1: New PlayerVar: "CarConfig"
GetCurrentPlayerVar("CarConfig");
// Configuration (Config byte)
// UF1 / LX4 / LX6 : 0 = DEFAULT / 1 = OPEN ROOF
// XRR / FZR : 0 = DEFAULT / 1 = DRIFT / RX
// FXR : 0 = DEFAULT / 1 = RX


2: New PlayerVar: "FrontWheelAdj" When Alternate setup config has been chosen.
Tyre width reduction (front)

3: New PlayerVar: "RearWheelAdj" When Alternate setup config has been chosen.
Tyre width reduction (rear)

4: New event: OnBlueFlag();
OnBlueFlag($userName,$userNameBehind,$Time)
$userName = Player were the blueflag is ment for
$userNameBehind = faster Player behind $userName
$Time = Time of flag

5: New event: OnYellowFlag();
OnYellowFlag($userName,$State,$Time)
$userName = Player that is causing the yellowflag
$State = Yellowflag 1 or 0 (on/off)
$Time = Time of flag

6: New PlayerVar: "Fuel" Display the fuel amount in percent "%" After player left the pit.
IF /showfuel=yes ELSE value = -1
7: New PlayerVar: "PitFuel" Display the fuel amount in percent "%" that is being add during a pitstop.
IF /showfuel=yes ELSE value = -1
=================================================
Changed:
=================================================

1: Maxlaptime that will be stored to the database have been increased from 30 to 90 minutes, for really long layouts.

2: [TEST] Record ID of Grip/Drift Database will now be shown in DumpVar(); for certain Car/track requests.
$list = GetListTop( getConfigVar( DefaultTopCar ), 0, 0 );
IF ( getConfigVar( DefaultTopCar ) == "XFG" )
THEN
dumpVar ( $list );
ENDIF

3: PlayerVar: "Fuel" : remaining fuel percent "%", will set when acrossing a split or completing a lap.

4: [Discord] Set multiple channels for sending texts to LFSLapper:
-open MyInc.LPR

You are allowed to set 5 channels, seperate them with a comma ",". see example below.
-$DiscordChannelReceive = "0000000000,0000000000,0000000000";

5: [Discord] Changed $DiscordUName to $UName.

6: [Discord] Added $UNameID into OnReceiveDiscordMessage():

7: [Discord] Event OnReceiveDiscordMessage()
-Number of arguments has been changed: OnReceiveDiscordMessage($ChannelID,$ChannelName,$UNameID,$UName,$Text)

=================================================
Fix:
=================================================

1: Wrong amount of arguments send to Event: OnPlayerSelectCar
2: Performance issues due to windows updates.
Removed some functions: Thread.Sleep(); this functions seems to malfunction on some PC's
3: Lappercrash when clicking on one of the layouts in the layoutlist.
4: Layoutlist didnt load the layout files properly into the list.
5: Lappercrash when a player using the JoinRequest function while being retired on the track.
=================================================
Removed:
=================================================

1: Event OnPlayerFlags();

Last edited by Bass-Driver, .
FGED GREDG RDFGDR GSFDG