The online racing simulator
Searching in All forums
(884 results)
Bass-Driver
S3 licensed
Online at :
VM.Infected Dev
DEMO and South City, riiiiight.

Dont be stupid and support the LFS devs, please buy the game legit.
Great content is coming and with your support its gonna be better.


-Restart the dedicated server / your lfs.
-Be sure your Insim port is the same as the insim port on your lapper.
-DO NOT type the insimport command ingame or in the dedicated window.
-Start Lapper.
-Have fun
Bass-Driver
S3 licensed
Online at :
VM.Infected Dev
Hi Mizil,

i think you are running an older version of LFSLapper. i think its 7.0.6.2.
i've made a small booboo,

Check LFSlapper.LPR and search for that text.
Its an openglobalbutton() function with that text.

delete that line and reload Lapper, and you are good to go.
Bass-Driver
S3 licensed
Online at :
VM.Infected Dev
After a long time being busy with a lapper powered cruiseinsim ([SC] Simple Cruise). It was time to take a break due some personal reasons.
Last week i been looking throught my lapper files and i saw my TimeAttack addon. I've done some changes with the knownledge, i got from working on the cruiseinsim and together with DLocky(finland69), we decided to create a server specially for the timeattack addon.

Server: VMS : TimeAttack
Discord: VMS Discord

Summary of changes:

V2.03(19-01-2020)
Add: Save/Load userstats filesystem
Add: !stats command to display your stats to other players.
Add: Earn Credits and LicensePoints
Add: Saving CarDistance and TotalDistance
Update: Top HUD now contains the distance of the car you are driving.
Update: !help, added a new tab with player stats.
Fix: Splittimes didnt displayed correctly.
Fix: Other small fixes and updates.

Feel free to join and ill see on the track.
Bass-Driver
S3 licensed
Online at :
VM.Infected Dev
South City is looking good now. Keep up the good work.
Bass-Driver
S3 licensed
Online at :
VM.Infected Dev
Just a another note:
iceman121 is having a testversion of LFSLapper, where i "fixed" the packetsize (IS_BTN) of each button.
Each empty button was sending 28 bytes instead of the documented 12 bytes.
DCON Crash: LFS 0.6U
Bass-Driver
S3 licensed
Online at :
VM.Infected Dev
Today i got informed that one of the dedicated servers i host for someone is offline for some reason.
After looking onto it, seems that one of the dedi's has been crashed.
See the summary of the crash below.

Gebeurtenisnaam van probleem: APPCRASH
Naam van de toepassing: DCon.exe
Versie van toepassing: 0.0.0.0
Tijdstempel van toepassing: 5c89394e
Naam van foutmodule: DCon.exe
Versie van foutmodule: 0.0.0.0
Tijdstempel van foutmodule: 5c89394e
Uitzonderingscode: c0000005
Uitzonderingsmarge: 0001b6b1
Versie van besturingssysteem: 6.1.7601.2.1.0.256.1
Landinstelling-id: 1043
Aanvullende informatie 1: 0ed0
Aanvullende informatie 2: 0ed015bcf632518a1a15e595a38684a2
Aanvullende informatie 3: d14f
Aanvullende informatie 4: d14f03d7e865b42f6941a748a5768fac
Last edited by Bass-Driver, .
Holes in Blackwood Industrial area
Bass-Driver
S3 licensed
Online at :
VM.Infected Dev
Find a few tiny holes in the Industrial Area of Blackwood.
See replay.
Bass-Driver
S3 licensed
Online at :
VM.Infected Dev
i see a small video coming?? Tongue
bloom looks nice indeed.
Bass-Driver
S3 licensed
Online at :
VM.Infected Dev
Those shots looks amazing. Start to being impatient. Smile

How does look like autox startlights look like?

Small question about the 'trackstatus lights' on the side of the track.
Do you have plans to add some functionality to them in the next patch? Maybe as a insim option.

Thx Scawen for the many previews. Keep them coming, you are doing a great job.
Also i'm curious to see the "new" South City.
Bass-Driver
S3 licensed
Online at :
VM.Infected Dev
The system counts the cars that crossed a node ( prestageline / Stageline(actual startline))
So it doesnt matter if you stand on the right or left of the track. I know its not very well scripted. Actual its shit Tongue

More about nodes and zones in this topic: https://www.lfs.net/forum/thread/89860-Nodes-and-Zones

At the moment the time is calculated and displayed in seconds. Some parts of the dragaddon need to be rewritten to display a more accurate time in milliseconds.

Anywa, thank you for being interested in the dragaddon. But i'm not motivated to work on any scripts or Lapper itself.
Bass-Driver
S3 licensed
Online at :
VM.Infected Dev
Reset node should work, only the number of the node does not disappear.
The drag system is only for closed track configs.

besides that, this dragaddon is outdated. Maybe, when i have time i will update it again.

btw i cant find the server: LSN EVENTS in the serverlist.
Bass-Driver
S3 licensed
Online at :
VM.Infected Dev
Thanks for reporting the bug.
Bug is fixed, grab the new version in the first post.
Bass-Driver
S3 licensed
Online at :
VM.Infected Dev
oke , what doesnt work.

-which version of lapper do you run.
-did you installed the script correctly?
-Which errors did you get. can be found inside the ERR files in bin/default/logs/xxx.xxx.xxx.xxx.ERR
Bass-Driver
S3 licensed
Online at :
VM.Infected Dev
thanks, now i see them
Bass-Driver
S3 licensed
Online at :
VM.Infected Dev
where are the times?
Bass-Driver
S3 licensed
Online at :
VM.Infected Dev
lol almost 14 years to late GG

Date of post: Sat 29 Oct 2005, 21:00
Bass-Driver
S3 licensed
Online at :
VM.Infected Dev
try this .exe

changed TRUE/FALSE to 1 and 0.
Bass-Driver
S3 licensed
Online at :
VM.Infected Dev
New PublicTest version: PublicTest_10

YOU MUST DOWNLOAD THE DIRECTORY of PublicTest_06 TO USE THIS TESTVERSION

This version contains a new change to store offline data.
New variable has been created. Add this line in LFSLapper.LPR

$StoreOfflineData = false; #storedvalue.dbs Store Offline data , even when the player doesnt exist in the database.

When this variable is set to 'true', a warning message will be displayed on your lapperconsole and in the MSS logfile, after reloading lapper.
Last edited by Bass-Driver, .
Bass-Driver
S3 licensed
Online at :
VM.Infected Dev
New Publictest version: PublicTest_09

YOU MUST DOWNLOAD THE DIRECTORY of PublicTest_06 TO USE THIS TESTVERSION

- GetWr() Fix: Couldnt get RO11 WRtime. Compatible issue with Rockingham trackcodes (thanks to Andy King)
- GetWr() Change: DateTime value is now splitted in to 2 values : Date & Time

Last edited by Bass-Driver, .
Bass-Driver
S3 licensed
Online at :
VM.Infected Dev
Oke , a another compatible issue. Mistake on my end.
As i can see, you can putt 2 or 3 arguments in delayedcommand()


<?php 
delayedcommand
($CommandID,$NumberOfDelay,$SubCallBack)
or
delayedcommand($NumberOfDelay,$SubCallBack)
?>

Not sure why gai-luron did that in the first place. It is a littlebit confusing.
Restored the code of delayedcommand() and privdelayedcommand()

grab the new publictest version
Last edited by Bass-Driver, .
Bass-Driver
S3 licensed
Online at :
VM.Infected Dev
New publictest version:

-Couple fixes for Lappercrashes
-New feature for Discord
-Store Offline userdata


Lapperdirectory of testversion_06 is needed!

+---------------------------------------------------------------+
|Changes 7.0.6.4 from PublicTest_06 to PublicTest_08 |
+---------------------------------------------------------------+
=================================================
New:
=================================================
1: New setconfigvar() value: "DiscordBotStatus"
setconfigvar("DiscordBotStatus",$argv); #change the status of the discordbot

=================================================
Changed:
=================================================
1:GetWR(); Added new value: 'DateTime' : Date/Time of WR
2:Store data for offline players ( Player + variable must exist in the database)
-only for functions SetUserStoredValue(); SetUserStoredNum();
-The player must be online first, to store theire data for the first time.
=================================================
Fixed:
=================================================
1: Lappercrash on Discord connect.

Last edited by Bass-Driver, .
Bass-Driver
S3 licensed
Online at :
VM.Infected Dev
There is an event already to detected hit objects.
Those 2 seconds will be added by LFS automatically



<?php 
#############################
#Actions to do on Hit Object#
#############################

#Player Vars
#GetCurrentPlayerVar("ObjectContactSpeed")     //Speed of player when hitting a object
#GetCurrentPlayerVar("ObjectContactHead")      //Heading of player when hitting a object
#GetCurrentPlayerVar("ObjectContactDir")       //Direction of player when hitting a object

# When $ObjectFlag returns a value.
#OBH_LAYOUT,         //1  an added AutoX object 
#OBH_CAN_MOVE,         //2  a movable object
#OBH_WAS_MOVING,     //4  was moving before this hit
#OBH_ON_SPOT         //8  object in original position

$DetectHitObject "";  #To get objectstrings for detection look at docs/ObjectHit.txt

Event OnObjectHit($userName,$ObjectFlag,$ObjectHitTime,$Object_X,$Object_Y,$Object_Z,$ObjectType,$ObjectInDex)  # Player event
    #Globalmsg("".getplayervar($userName,"NickName")."^8 hit a ^3".$ObjectType." ^8Height: ".$Object_Z);
EndEvent
?>


Last edited by Bass-Driver, .
Bass-Driver
S3 licensed
Online at :
VM.Infected Dev
I dont know the systemrequirements of discord. Maybe your pc is to slow to run discord?
It could also be a corrupt version of discord. I suggest to download Discord from theire own website: https://discordapp.com/. I whould never install additional software from software that need to be installed.

Teamspeak:
You can create your own server. So all data goes between your server and the guests who are connected to your TSserver

Discord:
All channels within are connected to a server from Discord itself. Some people are afraid to use discord because of privacy.

You are also dependent to the servers of discord. When Discord goes down, you simply cant connect to discord anymore.

The interface of Discord is many times better than Teamspeak.
PublicTest_06
Bass-Driver
S3 licensed
Online at :
VM.Infected Dev
New PublicTest version:

This version contains:

-Communication with discord (bot)
-GetWR(); Change

YOU MUST DOWNLOAD THE ENTIRE DIRECTORY TO USE THIS TESTVERSION


=================================================
New:
=================================================
#########################################
#DISCORDBOT FEATURES
#########################################
1: 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 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

2: New Function: sendmessagetodiscord();
$DiscordChannel = "000000000000000000";
$Message = "Hello";
sendmessagetodiscord($DiscordChannel,$Message);

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

1: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;


Any feedback whould be welcome.
Last edited by Bass-Driver, .
Bass-Driver
S3 licensed
Online at :
VM.Infected Dev
You are right about the compatibiltycode. I have done that with many functions, but i'm not in the mood to rewrite the RegisterScheduleAction() code again to make it compatible.

It took me a while to solve an old RegisterScheduleAction() bug. So Ill leave it as it is.
FGED GREDG RDFGDR GSFDG