The online racing simulator
Searching in All forums
(354 results)
TechEdison
S3 licensed
Quote from Tenishia :( LFS have 180 MB...

More like 1.61 GB
Lapper Syntax Highlighting for Code/Text Editors
TechEdison
S3 licensed
I make custom syntax highlight definitions for text editors.

When you write your .lpr addon, you need to add begin/end points, like php. At the very very top of your document, put "#LPR", at the very very end, put "##LPR". This will not alter your program in any way because # is just a comment in Lapper. When you do that, you should be greeted with lovely formatted colors.

To install:


Gedit
  • Linux: put "lapper.lang" in /usr/share/gtksourceview-3.0/language-specs
  • Windows: Put "lapper.lang" in C:\Program Files\gedit\share\gtksourceview-3.0\language-specs\
EditPlus
  • Windows: Put "lapper.acp" and "lapper.stx" in the directory you installed EditPlus
  • Open your settings and go to syntax
  • Click "add" and navigate to the correct files for auto complete & highlighting
  • Click apply & ok
Notepad++
  • Save the file anywhere you like.
  • Start NotePad
  • Goto 'Language' Tab
  • Click on 'Define your language'
  • Click on the 'import' button
  • And goto the folder you saved the file and load it into NotePad++
PSPad
  • Copy the lapper.ini in (Path where you installed PSPad)...\PSPad editor\Syntax . ( default is C:\Program Files\PSPad editor\Syntax )
  • Open PSPad and under Settings - Highlighters setting click on <not assigned> and select on the right side lapper and Apply
Changelog

Gedit
  • v1.2
  • Added "Event" and "EndEvent" definitions
  • v1.1
  • Added "Lang" and "EndLang" definitions
  • v1.0
  • Initial version.
EditPlus
  • v1.0
  • Initial version. Auto completion doesn't work right now
Notepad++
  • v1.0
  • Initial version. Credit to Bass-Driver for this syntax
PSPad
  • v1.0
  • Initial version. Credit to Tim NL for this syntax
Last edited by Bass-Driver, .
TechEdison
S3 licensed
Quote from PusicDrift :I would sign up but 100 lap race on bl3 is too much for me as a mouse driver ehh..

What about 75? I'm just looking to make an endurance rallycross league, at least 1 hour of racing Tongue
TechEdison
S3 licensed
Quote from Yisc[NL] :Lapper basicly is a scripting language developed by the early devs of Lapper (Gai-Luron and Kravy wrote most of what we currently have)
So you will find similarities with other languages, but in the end it's a language of its own Smile

Alright thanks for the info. Is there any specific place to find the entire syntax?
TechEdison
S3 licensed
Thank you.

It is rather confusing though that it uses the PHP tags don't you think?
TechEdison
S3 licensed
Quote from Spiiiky :Just to correct you, XFG/XRG cars are currently capable of 1:08 times on Blackwood Rallycross.

Also, inviting demo players is probably the worst decision possible. No demo driver will race for 2 hours. You should make the server S1 at least and try to attract people that are capable of actual driving.

PS: this is not supposed to be a hate. I just know the demo rallycross community in LFS

I'm not the best driver myself, I'm just going by what I've seen new players race for lap times.

If a demo racer doesn't race for 2 hours, that doesn't bother me. I'm trying to welcome all the users to test their skills. I could make it S1, but then again I've only got 3 signups right now, and the community is not getting any bigger.
Lots of info needed
TechEdison
S3 licensed
I'm sure there are places that state all of this, but I am feeling lazy Tongue
  • Is LFSLapper actually php? Can I use php functions like file_get_contents()?
  • Ive looked through some of the addons, am I able to use (for example) foreach($array as $item){ #do something with $item } or does it have to be: FOREACH () ENDFOREACH or whatever it was
  • how is timing inside of addons handled? are listeners always running? Example: if i want something to run at 10:30, will it keep checking until it's 10:30?
  • is there more documentation other than just methods and functions available?
I want to start writing addons for myself personally, but I am clueless on these things. It's obviously not "normal" PHP.
TechEdison
S3 licensed
Quote from Huskii :This looks... Interesting, lets see how it goes.

Indeed...

It'll be more interesting if I can actually get people to sign up haha. I mean, one lap takes MAX 1:30, my personal time is ~1:15 (if I'm remembering correctly). So 100 laps is 150 minutes = 2hr 30min. Not that much considering some of the other racing leagues here are very long.
TechEdison
S3 licensed
I agree with this just for the last thing on the list... Buttkickers..

The only reason I haven't gone hardcore sim setup with a buttkicker is beacuse the support seems iffy.
Update to "Scheduler" (Yisc[NL] read maybe ;) ??)
TechEdison
S3 licensed
I've been working on starting a server that will be used as a regular user playable server and a league server. I ran across Yisc[NL]'s scheduling addon for LFSLapper, and although it was great in concept, I wonder if a few things could be added/changed.
  • Save the current server settings (laps, cars, etc) and revert to them a configurable amount of time (5 minutes for example) after the third place winner crosses
  • Instead of checking at 00:00 to see if its the day of a race, check every hour to see if its the hour before a race
  • once it detects a race, put it into practice (0 lap race) mode until the race start, then start the race with the amount of laps specified by the user
With these additions I think it would help lots of people running league servers. Just an idea.. I am skilled in PHP but have no knowledge of LFSLapper at all and I don't plan on using time for that yet.
TechEdison
S3 licensed
Signup closes in 3 days

Edit: WOAH that was post #1928000 on the LFS forums!
TechEdison
S3 licensed
I find it unbelievable no other sim can top LFS. Sadly, I joined long after the "good days" you guys talk about, only having joined this year.

I tried countless sims and this one beat them all...

Good physics, low spec requirements, best wheel&FF support (so I've been told), and many different display options..

I wish it would update too.. And I wish there were better racing servers Frown
VTEC Racing League
TechEdison
S3 licensed
Join me in 100 laps of rallycross, Saturday the 16th, at 7:00PM eastern standard time!

Sign up on the league season page: https://www.lfs.net/leagues/435/season/501
Last edited by TechEdison, .
VTEC Racing League | Endurance Races
TechEdison
S3 licensed




All drivers welcome, there's a race for everyone, just make sure you follow the rules.

The demo league page is: https://www.lfs.net/leagues/435/
The S2+ league page is: https://www.lfs.net/leagues/436/

Discord Server (A chat/voice platform for gamers): https://discord.gg/rQxK9FF

Schedule and Info (Subject to change)
ALL TIMES are in Eastern Standard Time!

Signup is per season, per league. Please make sure you read the rules on the website!

Race results: https://docs.google.com/spread ... sp=sharing#gid=1434898158




(Credit to Huskii for the awesome images)
Last edited by TechEdison, .
TechEdison
S3 licensed
I'm going to say one thing and leave it out there: Please don't forget about the low-end users!

Sure you can add fancy shaders/graphic updates and make it the best looking game ever, but currently you can play LFS on a potato, and that was the selling point for me!

Smile
TechEdison
S3 licensed
Oh man thank you so much! This is just what I needed.

I'm setting up a racing rig for a few events and discovered an android-phone-VR solution (TrinusVR). This will make it even better, because people can watch!
TechEdison
S3 licensed
Amazing. This is just amazing. Good luck with everything!
TechEdison
S3 licensed
Hmm. I bought S2 I should really update this.

Update coming soon
TechEdison
S3 licensed
Update:

Been gone for a while. I still use this rig and have made only minor modifications.

Might remove the monitor entirely in favor of a VR phone solution I found recently. The monitor is trash right now.

Also I put screws for support around the pedals.
multiplayer passengers
TechEdison
S3 licensed
Multiplayer users should be able to join as a passenger on a drivers car. They would be able to look around. This would be amazing for VR.
TechEdison
S3 licensed
Woah that's bad.

Just for any new players or non tech savvy people, take his advice and DO NOT JOIN, even if you are AT ALL CURIOUS.

They can and will get your IP address.
TechEdison
S3 licensed
RIP Round Corvette lights Frown
TechEdison
S3 licensed
Quote from cargame.nl :Oh wauw.. That doesn't look like a good location..

But have you ever thought about making it all operational inside a dry trailer? [/funnymode]

This sounds like an amazing idea.
TechEdison
S3 licensed
Quote from Skinzinho :It's due recent Scawen update regarding cheating protection. All servers with are not tweaked will ban if the player joins with modified car specs.

Isto é devido ao update recente do Scawen, relationado à proteção contra cheat. Todos os servidores que não forem tweak irão banir jogadores que entrarem com configurações do carro alteradas.

I've been lurking in the forums and I think I'll stay off of servers until this blows over now lol.
TechEdison
S3 licensed
If ya need any help website wise I'll stick around Wink
FGED GREDG RDFGDR GSFDG