The online racing simulator
Searching in All forums
(968 results)
sinanju
S3 licensed
Quote from Yumeito :blah blah Protweaker blah

Interesting.

Someone has asked for a set to help them do a time they've done before; a time they know to be achievable, just slightly out of reach because they don't know how to properly adjust a setup, and the setups that they've tried haven't been suitable for their style of driving.

Not only have different setups been tried, but a lot of laps have been driven - all in pursuit of trying to shave off even bits of a second.

But instead of giving a set that may help them feel good about going faster because of their particular skill with a particular setup, you think the answer is to cheat your way to a faster time.

Why just bother with different tyres? Why not just change size of the engine, or add wings, skirts, splitters, diffusers and other bits and pieces the standard car doesn't have.

In fact, why not just go the whole hog, and get some program that transports the car from start line, to each sector/split point, then the finish line. Maybe, to make it interesting, you could make it so that you had to tap a key to make the car jump from one position to the other. If nothing else, at least that way you could compare your reaction times.

I can understand that as a demo user you don't have a big choice of tracks and cars, and changing some of the parameters might be a way of getting some more variety out of the game without having to pay for a license, but don't assume we all want to cheat our way to the top.
sinanju
S3 licensed
Check the password matches that within the default_1.ini file (use Notepad or similar to edit) within LFSLapper.
sinanju
S3 licensed
I did 249 laps in XFG and never bettered 1:35.91, so I'd be happy if I got near your time.

Couple of sets attached I used with keyboard. I hate oversteer, so not sure how they'll be. The one with time is a set I got from someone named Spikee, who could drive much faster than me, but I could drive with his set - just nowhere near as fast. Not sure about other set - I haven't driven that combination in years, but likely my hotlapping set.

I have other sets, some I was given when racing (sometimes I asked and got, and sometimes I got because people took pity) and they were all by people with great times and much, much better car control than I had, or even have now, and other sets were taken off Team Inferno's Setupgrid website.

If you want to try them, let me know, and I'll attach.

You could also try XFG sets for other track combinations, like KY2, SO4, etc. The gearing might not be exact for BL1, but maybe the handling will suit better, and you can always change gearing on the set that suits you best. If the tyres overheat too soon, pump them up, and if don't heat up enough, let some air out.
sinanju
S3 licensed
sinanju
S3 licensed
Likely something lost in translation, because what is "LFS Strobe"?

Do you have images or video?
sinanju
S3 licensed
Register a Node (an invisible line that goes from one side of the track to another (like start / finish line, or split / sector line), or a Zone (a specified circle like a Route Checker or Insim circle), then make a sub-routine based on that Registered node or zone.
Some changes to Top Times
sinanju
S3 licensed
Been a few changes to the times I posted before ...



Think there's one of these cars where I'm only 3 or 4 seconds slower - and at least one where there's 10 seconds of a difference Frown
BL1Y Conundrum
sinanju
S3 licensed
Layout made in the Blackwood Container Storage area, and is approx 2.78 miles / 4,470 metres overall.

Layout includes a loop approx half way round. You travel from Start position, all the way round to the loop, go round loop, then travel back on same route, with slight detour at end (past pit entry), to the Finish, which is at Start position. This is considered single lap.

Means that if more than one person on track at same time, very easy to meet someone coming in opposite direction.



I've currently got this layout on my server (Sin'rs), where 36 single lap times have been recorded - the majority are mine. Just thought it would be nice to have some of my lap times showing for a change Smile



The Drift Scores were made by people trying to set times not people trying to get high scores.

I should think a really good drift score would be close on 30,000 for this layout.

For some other details, and YouTube video, look HERE.
sinanju
S3 licensed
Quote from bishtop :looks fun and you do well using keyboard and i would struggle to drive as good with my g27 Smile

Now I've got my G25 working again, time of 3:29 for keys now 3:14 for wheel.

Now I've seen couple of people racing on this layout on my server (Sin'rs), looks like I should probably have done the pit area differently. Maybe made outer part of track the pit entrance rather than the inside, as sometimes drivers drive straight into pits rather than go long way round.

You will still get official lap time, but tighter pit turns probably means slower time for that section of track.
Top from 220 posted lap times / drift scores
sinanju
S3 licensed
Now 220 recorded times, so top times and drift scores ...



About to change this layout on my Sin'rs server, to one called BL1Y Conundrum, which I've now fully completed, and set some times for.

I made a post at beginning of year about this
HERE.
sinanju
S3 licensed
To be honest, whatever code you are using, making and altering buttons should be the easiest thing to do, especially as if you're using someone else's code, as there will likely be button examples.

Look for something like ....

{
InSim.Send_BTN_CreateButton("^7Click this button!", Flags.ButtonStyles.ISB_DARK, 5, 30, 6, 108, 7, C.UniqueID, 2, true);
}

Even though I don't have a clue about the InSim protocol and code you are using, I can tell ...

background colour of button - ISB_DARK
likely placement of button and size and spacing of text within button - 5, 30, 6, 108, 7
text colour and message inside button - Click this button! (text will be white)

No idea if this is a button that only a specific person sees, or if everyone on the server sees at same time.
sinanju
S3 licensed
According to Google translate, and guesswork, LFSLazy doesn't work - for him.

Using the search facility may have helped - he would at least have been able to find the right thread HERE.

But unless he knows some English - not likely as he's written his question in Turkish, not sure he's going to find his answer by reading through the posts.

So, to sort of answer his question ...

LFSLazy, başkaları için çalışıyor gibi görünüyor, böylece yanlış bir şey yapmış olursunuz - Türkiye'den InSim'i kullanan birilerini bulup onlardan isteyin (Translation: LFSLazy appears to work for others so you must be doing something wrong - find someone from Turkey who uses the InSim and ask them).

Or Google Translate each post?

And ...

İngilizce'yi yalnızca LFS Forumu'nda kullanmanız ve dürüst olmak gerekirse, yalnızca bir demo kullanıcısı olduğunuzdan, yardım yolunda çok fazla beklemeyin.
200 recorded times
sinanju
S3 licensed
After having to get new server host, and long absence, top times and drift scores after 200 recorded lap times ...

Last edited by sinanju, . Reason : Edit: Image of times and scores went missing
sinanju
S3 licensed
To be honest, I don't understand the code you are using - I'm not a coder. I can infer it's placing specific sized and coloured buttons, but that's it.

LFS doesn't know where "Job From House 1" is (or 2, 3, etc), which is why you have to make a zone (specify the X and Y coordinates), so that when a car enters a specific zone, this triggers your buttons.

A very simple way of making a zone would be to go into Autocross mode (SHIFT U) then placing an InSim circle (can be found under Marshall tab, along with Marshalls, route checker, etc.) anywhere on or off track, in pits, etc.

Use letter O to place circle and letters W or E to make circle smaller/larger as appropriate.

Take note of circle index number, and use that number to trigger code when car enters circle.

Rather than using one giant circle to create a zone, there's nothing to stop you using multiple smaller circles to create your zone, and having multiple index numbers triggering the same piece of code.

1 x 10m circle - index number 0 = Zone 1
2 x 5m circles - index numbers 0 + 1 = Zone 1
5 x 2m circles - index numbers 0, 1, 2, 3 + 4 = Zone 1

No idea what code would look like, but it would follow rules like (assuming multiple circles for same zone) ....

IF car enters index number 0
or
IF car enters index number 1
or
IF car enters index number 2
....

then
do button code for Zone 1
sinanju
S3 licensed
And even after all these years, I'm still using your pitboard Smile

Thanks.
sinanju
S3 licensed
You need to find the X and Y coordinates that you want to use in each area of track and surrounds (pits, access roads, off-road area, etc) and define this X Y 'zone' for each task.

As in;

Zone1 - arrive in specified area (zone) and this is used as a trigger to be given details of 'job', and told where delivery should be made

Zone2 - specified area (zone trigger point) for delivery

There is an Open Source Cruise Insim (HERE) that you may be able to use to find the info you need.

And someone asked similar question in that topic about XY Zones (HERE), but I never searched to find out if it was answered.

Also, you could try searching on forum with 'x y coordinates' as the keywords.

Found THIS bit of info, that may help?

An easy way to find the X and Y coordinates of any track is to use the LFSLapper (lapper) InSim.

When lapper is running, just type !zone, and you will be given the X and Y coordinates.

Once you have recorded these coordinates, you can use these in the InSim you are using.

If you use 'X Y zone' as keywords, you will get lots of info on their use in lapper.
sinanju
S3 licensed
Edit config file (setup.cfg) so that

/maxguests=11
sinanju
S3 licensed
Be nice if you didn't shout and spam all over the forum - one post could have done for both your questions - one of which has been answered, but just in case...

sets - these go in LFS/data/setups folder

layouts - look in this forum for the Files section, then Autocross Layouts - or if you can't be bothered looking for it, or use the search function, then look here. Will require that you have a S1 license to use them.

Also use the FAQ section and read the manual.

Any more questions can be asked on a post you've already opened.
sinanju
S3 licensed
I made a Menu system years ago that has section for choosing languages HERE, although you could easily just use !myconfig by making a button that calls that sub.
sinanju
S3 licensed
I've always allowed both racing and drifting on my server ...



I didn't just make up the name on my server for this post - it's been there a couple of weeks now (link).

I even made a drift scoreboard that shows for everyone that goes on my server, even if they only want to race, and it's been like that for a number of years now.

What if I don't want LFS to differentiate my server into either race or drift?
sinanju
S3 licensed
According to the 'Hosting Information' link at bottom of forum pages, under INSIM PLUGINS within panel on right hand side of page (about half way down), only the free version of Airio is supported ....

Quote :INSIM PLUGINS

Sometimes people want to add additional functionality to their LFS host. We currently support the latest version of Airio FREE, which can be activated and configured for your host through the web interface.

To be honest, don't see why 'lapper' isn't supported; probably just as easy/hard to set up as Airio, but that's down to the LFS team. As a lapper user myself, I think it's a shame, as I find you can be more creative in lapper than in airio.

You pay the fee, so nothing to stop you asking.
sinanju
S3 licensed
Quote from Popughini :I've put everything the same, but passing through the node does not show the message it has to display ...

RegisterNodeAction( "BL2" , 55 , ESPERA,"" );

Sub ESPERA( $userName )
privMsg("^3*^7---------------------------------------------------^3*");
privMsg("^3>> ^7SE CORRE DE A ^33 ^7ESPERA TU TURNO !.");
privMsg("^3*^7---------------------------------------------------^3*");
EndSub

Thanks for the help

Apologies, but I gave you code that works in my V6 - there was an update in V7.0.4.4 that makes my code obsolete if using this newer, or even later, version.

Means you will have to add an 'ID' to your code (in front of your BL2 track abbreviation).

Extract from update post here.

Quote :a small codechange in the RegisterZoneAction() and RegisterNodeAction().
The Callback Sub shall have a extra variable.

Example:


<?php 
RegisterNodeAction
TESTIDgetLapperVar"ShortTrackName" ) , getCurrentPlayerVar("CurrNode") , test,"" );

Sub test($UserName,$ZoneID)
   
privmsg("ID=".$ZoneID); #output is TESTID
EndSub
?>


-------------------------------------------------------------------------------------

To be honest, i've no idea why this was changed, nor what the code example above means.

TESTID/$ZoneID - I want my RNA (RegisterNodeAction) to be a trigger for something to happen. I already have the sub name (in example above, sub is 'test'). I'm not going to output the name or number of the node. Why would I need or want to? If I did, I could just write the info in the button. What happens if I use the zone id more than once in different nodes, or with different subs?

getLapperVar( "ShortTrackName" ) - Is this right? Why am I asking for the track abbreviation. I want me to tell lapper which track I want the sub to run on. If I use this, will it actually run, or will it run on every single track?

getCurrentPlayerVar("CurrNode") - Is this right? Why am I asking for the current node. I want me to tell lapper which exact node I want the sub to run on. If I use this, will it actually run, or will it run at every node?

test - this is the sub - tells lapper to run this sub when you cross node - perfectly understandable.

"" - never understood the logic behind this 2nd sub callback. I know its for when leaving the node you've just crossed, but distance between nodes is so small, you would be travelling at speed (even if only few mph/kph, and would probably only be milliseconds between nodes). So why not put all your actions in 1st sub? If you want to display 2 different pieces of information, why not just make 2 buttons in one sub, rather than 2 subs with one button each?

I have the same issues with the RZA (zones), as I don't need a zone id or a 2nd sub. Can sort of see why you might want 2nd sub callback as zones can be made large, but I'd rather have 2 small zones, each with their own sub.

Looking back at my add-ons where I use zones, none of the RZA's has a zone id - only track abbreviation, X, Y, size, sub1, "" (never a 2nd sub). And they all work.
sinanju
S3 licensed
In the changes.doc file, for the Changes from 7.0.4.3 to 7.0.4.4 section, it reads

Quote : 1. Update Sub Callback for RegisterNodeAction() & RegisterNodeAction()

The Callback Sub for RegisterNodeAction() & RegisterNodeAction() is having a extra variable.

I assume that should be
Quote : 1. Update Sub Callback for RegisterNodeAction() & RegisterZoneAction()

The Callback Sub for RegisterNodeAction() & RegisterZoneAction() has an extra variable.

sinanju
S3 licensed
Think of RegisterNodeAction and/or RegisterZoneAction as a way to make your own Event.

At an Event, you can code something within lapper to happen, as in
Event OnSplit1( $userName ) # Player event

you can have lapper put a button on screen with some text, like
Quote :You took {x} seconds to get to Split 1 from the Start line

There's an Event for both Split 1 and Split 2, but if you want something to happen in between, you would have to make up your own using RegisterNodeAction / RegisterZoneAction.

So if you knew the node number between Split 1 and Split 2, then you could put that number into the RegisterNodeAction line along with a sub-routine, and the sub-routine could have something like
Quote :Congratulations! You're half way to split 2, and your current time is {x}

If you watch a video I made while ago and put on YouTube ...



... you can see messages pop up on my Pace Notes section on right hand side of screen.

Because I was not driving on a track, where I could use nodes, I had to use zones, but if the off-track roads did have nodes, then my code would have looked like ...

RegisterNodeAction( "WE2X",100,PN3,"" );

The above line would have been in the Event OnLapperStart() section.

The following sub, would be somewhere under EndEvent ...

Sub PN3( $userName )
openPrivButton( "pn_note",180,60,34,6,7,-1,0,langEngine( "%{pn_3}%" ));
EndSub

And the following would appear in my EN language file

pn_3 = "Start 1st sector from Yellow gate"
. "%nl%Large hairpin right"
. "%nl%leads to narrow gate"
. "%nl%3 left"
. "%nl%"
. "%nl%^3150 right into tunnel ^1HAZARD";

The 1st 4 lines have uncoloured (grey) text, while last line has yellow text to highlight what's next, and red HAZARD letters.

In my code, I had over 60 zones, and on entering a zone, a message for only that zone appeared on screen.

Like I said, if I could have used nodes, then everytime I crossed a node, the message for that particular node would have appeared.

LFS uses Nodes for setting it's own events, such as sectors/splits/finish lines, as a node goes from one side of the track to the other, but LFS in Autocross mode, allows you to place zones. An LFS zone is usually either a restricted (visible or invisible marshall) circle, or a checkpoint circle.

Zones can be placed almost anywhere, including on the track, off-track, and in the pits.

In a recent upgrade, LFS allows the placing of InSim circles in Autocross mode. These are zones. Great thing about using these, is you don't have to know the X,Y co-ordinates; only the InSim Circle number - but you then have to use slightly different coding (NOT RegisterNodeAction and/or RegisterZoneAction).

If you need to find Node or Zone co-ordinates in lapper, you type !node or !zone when you drive to that section of the layout, and record the exact details.
Last edited by sinanju, .
FGED GREDG RDFGDR GSFDG