The online racing simulator
Searching in All forums
(879 results)
Bass-Driver
S3 licensed
South City is looking good now. Keep up the good work.
Bass-Driver
S3 licensed
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
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
Find a few tiny holes in the Industrial Area of Blackwood.
See replay.
Bass-Driver
S3 licensed
i see a small video coming?? Tongue
bloom looks nice indeed.
Bass-Driver
S3 licensed
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
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
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
Thanks for reporting the bug.
Bug is fixed, grab the new version in the first post.
Bass-Driver
S3 licensed
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
thanks, now i see them
Bass-Driver
S3 licensed
where are the times?
Bass-Driver
S3 licensed
lol almost 14 years to late GG

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

changed TRUE/FALSE to 1 and 0.
Bass-Driver
S3 licensed
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
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
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
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
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
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
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
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.
Bass-Driver
S3 licensed
The function will become uncompatible with older Lapper versions.
Bass-Driver
S3 licensed
There is some info about RegisterScheduledAction() in the changelog. But nothing about the parameters.

I opened LFSLapper.LPR and i found this.


RegisterScheduleAction( "0 0 0 * * * *", SA_mid );

You can register a subfunction to call when a time is reached

Firts arg = cron format ss mm hh dayOfWeek dd MM YYYY

dayOfWeek start at 0 = Sunday

Second arg = Sub to call when player type this text

Bass-Driver
S3 licensed
The Dcon hasnt crashed since then. So i'm thinking of reason 4 and 5 at the same time. The DCon was running since version U came out. Without any crashes.
FGED GREDG RDFGDR GSFDG