The online racing simulator
Searching in All forums
(879 results)
Bass-Driver
S3 licensed
Sry about that typo LOL. Was a littlebit late yesterday XD

Lapper is running on Version 4.
After i finish the "opject hit" packet. i go try to change the Insimversion in lapper.
LFSLapper ISP_OBH (OBject Hit) packet
Bass-Driver
S3 licensed
After LFSLapper developers Krayy and Gai-Luron left LFS. I'm trying to add some LFS insim packets to LFSLapper.

Atm i'm busy with adding a packet that reports the collision between Car and (AutoX)opjects.
After some strugling with finding out what everything means. I have finally received some data from lapper when hitting an opject.

Be aware: i'm not a programmer, and i have 0% knowledge of C# programming.
So thank you google for helping me out LOL
Last edited by Bass-Driver, . Reason : typo
Bass-Driver
S3 licensed
@ mikail346

Here is something we have told you before.

Quote from Bass-Driver :There are enough scripts/examples on this forum to work with.

Quote from sinanju :Next to making up your own buttons/labels, CASE commands are almost next easiest thing to do in lapper - there are already lots of examples in the main lfslapper.lpr file, along with almost every other lapper add-on on this forum.

Surely you can work out the obvious?

@ Yisc[NL]: sry to spam your thread with nonsense. apparently some people cannot read/understand what we are saying.
Bass-Driver
S3 licensed
Hacking,crashing cannot be turned off by lapper.
However Speedhacks ( tweaks or whatever) can be detected,by building a script that checks the speed.

if speed > 200 then
#do something
endif

At the moment i'm thinking about those detections.
-Speeddetection for each car
and
-Accelerationdetection for each car.

I already have a sort of global crash/acceleration protection.

Event OnAcceleration( $userName ) # Player event
IF(GetCurrentPlayerVar("AccelerationTime") <= "1.4")THEN
cmdLFS( "/spec " . $userName);
privMsg("^3>^7You accelerated faster than 1.4 Sec to 100km/h!");
ENDIF
EndEvent

Bass-Driver
S3 licensed
oke thanks.

Anyway, i go back to 1 lapper per server. Otherwise i have to change the code of several systems.
For example i'm updating my adminpanel. The logfiles are not stored in the database. Here's a picture of it. It works good and as admin you have a sort of control over your admins/server.
Bass-Driver
S3 licensed
hi,


When you have multiple servers running on one LFSLapper.exe
Is it possible to get data from the servers like Host/ Number of players etc.

i know the function: groupcmdlfs(); but i only can send messages to the servers.
Bass-Driver
S3 licensed
Thanks, why didnt i came up with this LOL.
Never thought that SplitToArray() could work on lapperVars. Because i used SplitToArray() alot in my logfile scripts.

Anyway, i go play with the code and see if i can get it to work in my dragscript. Its something to measure the time between nodes etc.
Bass-Driver
S3 licensed
hmm oke,
Is there a way to calculate the timedifference between 2 nodes with getLapperVar( "LongTime" );

The output i get is in 0-12 format. And Adding NumToMSH() doesnt work.

very basis example code.

$NodeOne = getLapperVar( "LongTime" );
$NodeTwo = getLapperVar( "LongTime" );
$Timediff = $NodeTwo - $NodeOne
Bass-Driver
S3 licensed
I have tried many Vars

All returned 0, See attachment.

privmsg(GetPlayerVar($userName, "RaceTotalTime"));
privmsg(GetPlayerVar($userName, "LapTime"));
privmsg(GetPlayerVar($userName, "RacePBTime"));
privmsg(GetPlayerVar($userName, "SplitTime"));
Bass-Driver
S3 licensed
Maybe it is a stupid question, but i need to know something.

I'm rewriting the dragscript, so that demousers can use the script.
It's because demousers cannot use AutoX editor for placing "Splits", so they must use tracknodes.

To get the time i can use: getLapperVar( "LongTime" ). But is there a Variable that can get the current laptimer? to get milliseconds.
Bass-Driver
S3 licensed
Are you trying to run more than 1 lapper on your computer?
If so:
Change the remotePort and Insimport in the LFSServer.cfg file.
Bass-Driver
S3 licensed
Difficulty: Easy/medium
Time : ~47 seconds.
Last edited by Bass-Driver, .
Bass-Driver
S3 licensed
Click on the link below to download the latest version of lapper.
Download Lapper: Lapper 6.0.1.4 - v15
Bass-Driver
S3 licensed
thx mate , cannot wait for the next layout
Bass-Driver
S3 licensed
Here are the first 18 results on the 2nd timeattack layout.(ignore the 1st result , its a faulty one)

Bass-Driver
S3 licensed
Well new challenge ahead XD
Bass-Driver
S3 licensed
Got this for my licensepoints. A penalty means that you are not receiving any points.

But for the laptimes , the lappersource have to be changed , if i want to add the penaltytimes?
Bass-Driver
S3 licensed
hmm oke, thx for answering the question.

The toplist you see is not finished yet.
several functions has to be added.

2 other questions:

-Is it possible that "cleanspb" doesnt work. because my record is still there.

-I'm running an timeattack challenge on my server. It's recording times without penalty's.
Example: laptime: 1:00:00 and Penalty is 30 seconds. so totaltime should be 1:30:00. But its recording the 1:00:00. Is there a easy fix for it?

i know there is something like: $flagConfirm. Does it have effect about the storing the laptimes?
Bass-Driver
S3 licensed
After i found a bug in the Toplist, it was time to update the helpmenu.

First i started with the toplist ofcourse, i found out that the amount of results that can be displayed is hardcoded to 18.

Does someone know where i can change the variable in the Lappercode.
Bass-Driver
S3 licensed
Wow nice job on this one.
Bass-Driver
S3 licensed
whoohoo
Bass-Driver
S3 licensed
nice job.
will try it soon

For the one who's interessed to test the layout:
it is loaded on our server: [DTC]Dev&Test
Last edited by Bass-Driver, .
Bass-Driver
S3 licensed
Here's the 2nd Timeattck layout i made.

Difficulty: Medium
Time: around 1:05

And ofcourse a 2nd crappy preview video LOL
Bass-Driver
S3 licensed
2nd timeattack layout in progress.

Difficulty: Medium
Bass-Driver
S3 licensed
Here are the first times that has been recorded on this layout.
There where alot of ragequiters, because they find the layout to hard to drive.

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