The online racing simulator
Searching in All forums
(970 results)
sinanju
S3 licensed
Doesn't matter what layout you use on AU1 AutoX, Lapper just saves any top lap/drift scores against default AU1, so anytime you change the layout it will still continue to save them as AU1.

Takes a little bit of work, but the way I've got round it, is to have separate directory for each layout, where I save ALL the files and folders for that particular layout to that directory, including the sql database files and the .lyt file.

That way I also save Zone and Node 'triggers' that I've set up for a layout too. And, as I use Yisc's Pitboard script, and I've set different splits/sectors for each layout, these are saved also, so will work properly next time.

Whenever I want to re-use the same layout, I just all these files back onto the server.

That way, I know the top lap/drift scores, the zones and the nodes are only relevant for that layout.

I also do the same for X/Y track layouts, as lapper doesn't know that AS2X could be A21, A22, A23, etc).

I have a 'master' folder that I use for all non specialist (AutoX, X/Y config, etc) where if I'm just loading 'normal' tracks, all the data can be saved together because i'm happy for lapper to save things as BL1, BL1X, etc, as normal.

If you use a lot of layouts, will mean that you have a lot of directories, with same files in each directory, which can be a pain if you have to make an update to a particular file. In mitigation, things are fairly static just now, so (apart from Yisc's recent Pitboard update - which I ballsed up!) there are not many changes to be made.

If someone else is providing the LFS game server, then there's usually the facility to ftp into server and download the folders/files periodically into your own particular directory (online and/or home pc), which makes the above process less of a chore. That is how I do it.
sinanju
S3 licensed
Quote from Cornys :...If you don't want drivers to use track outside of a certain area, plant grass there; don't paint a line and tell drivers not to use it, because they still will try, and then the officiating body will have to penalize it, but make no mistake, they will try to use it as much as they can...

Good point!

As for the numbers, can you ever see anyone taking the #2?

Maybe if Mark Webber was still racing, he may have.

And which wag is going to be brave enough to take the #69?

Very surprised the FIA didn't decide to auction the numbers to the highest bidders rather than give them away.
sinanju
S3 licensed
Many thanks for the constructive comments.

To answer some of the points you've raised;

Quote from Gutholz :Did some driving with friend yesterday. Eventually more people joined and then it got a bit choatic, if there is a car about to start while you cross finish line etc. If you ever change to a different layout then might think about having seperate start / finish lines.

Problem with AutoX is unless you use the default start position (underneath the lights) you have to make your own start position and you can only have the one. And the default start position is on wrong side of track to how I've had to do layout.

And as the Top Gear lap starts and finishes at the same point (like most races), you have to have start/finish together.

What can make it more chaotic is the fact that the layout is in a figure of 8, and cars coming to turn 1 sometimes meet cars that have done over half a lap. Also, some people insist on doing a second or third lap, even though only the first lap counts, and people are doing their timed lap.

Quote from Gutholz :
Think such autocross server is nice idea, tbh first time I have seen one.

Thanks, although I've done other AutoX layouts before - the next busiest/popular was my "Erectyle Dysfunction" layout (HERE).

If I can ever find my old files (esp database of times, although I think I may have lost them when 500Servers folded), I mean to put back up sometime.

Quote from Gutholz :
Hm I see. To me all the popups and chat notices are bit too much, very distracting, also makes it hard to chat. Even just writing "Hi" causes server to comment on that

I was on server last night trying (and succeeding!) to better my FO8 time, and to be honest, I was so busy looking at the kink before turn 1 and working out where to brake, I hardly noticed anything popping up on screen.

Maybe I'm more used to it than you, especially when (usually on proper tracks rather than layouts) I have some of my 'personnel' popping up in various places, and I usually have my drift scoreboard up and running, and my leaderboard and my winner flags and .....!

As for the reply pop-ups, I've coded automatic replies to various words that people type in (started as replies to swearwords - a no-no) and grew from there.

Quote from Gutholz :Personally I do not care about the all-time top 12 times, too fast for me anyway and BF1 times are of no interesst when driving another car.
Would rather like to compare times with players currently driving in same session.
Maybe have it in qualymode with 24h time or so? Alltime top 12 could still be seen in !top list.

Thing is, other people do like to see their name up on screen, and other people see these times and think they can match these if not actually go faster (I'm an average racer and if I can get within 3 seconds of someone's top combo time, I'm well aware that I've driven an exceptional lap).

I was on server other day when someone was doing lap after lap after lap after lap trying to get his name up the listing - he ended up top of the car group he was driving. So for some people, including myself (especially as I'm in the group!), its very important.

As for the !top listing, most people never look at it (I have 2 ways of looking for it, either the normal !top command, or via a menu that appears when you spectate or you type !menu). I also have a !mystats available via typing or via the !help menu - again, hardly used.

That's partly why I have the pop-ups about pb and theoretical pb appear when you hit 60mph/100kph, so you can see them without having to remember and type in commands.
sinanju
S3 licensed
Quote from Gutholz :Hi
in your forum posts it says servername "Sin'rs [Top Gear]" but that does not work.
From serverlist correct servername is:
Sin'rs (Top Gear Layout)

The server name was correct the first time I had it up and working, which was couple of years ago.

Quote from Gutholz :
Is it possible to disable the "0 to 100" and "you pulled XY G" messages at start? Bit irritating how they always pop up right before first turn.

Not without resetting the server, in which case, the top 12 fastest positions that show on screen (top right) would be lost, and I'm loathe to do that really. Maybe if the server is reset (after a fault or something), I'll think about it.
sinanju
S3 licensed
This layout is likely to be running on my server until the New Year.
sinanju
S3 licensed
Put this layout back on my server few weeks back, keeping all the old times that were recorded for drivers to race against.

Over 250 more times recorded, of which 4 are new top spot records (3 by the same person; 55 - T Ulrich).

Shows there's still some quality drivers around.
sinanju
S3 licensed
You could make your own easily enough...

Open a lfslapper.lpr file and search for

Event On

Delete all lines of code between the Event and the EndEvent.

For instance, the following

Event OnNotMatchFlags( $userName ) # Player event
privMsg(langEngine( "%{main_nomatchflag}%" ) );
privMsg(langEngine( "%{main_yourflag}%" , GetCurrentPlayerVar("PlayerFlags") ) );
privMsg(langEngine( "%{main_yourflag}%" , getLapperVar( "RequiredFlags" ) ) );
privMsg(langEngine( "%{main_spectated}%" ) );
cmdLFS("/spec " . GetCurrentPlayerVar("UserName") );
EndEvent

would be altered to

Event OnNotMatchFlags( $userName ) # Player event
EndEvent


In other words, keep the specific Event (first line) and EndEvent (last line).

Do this for all the Events within the file.

Except - because you want drift score to work, I would say that the code between

Event OnMSO( $userName, $text ) # Player event
..code..
EndEvent

is the only code you should leave in - else !drf (to get top drift score list) will not work.


Once you've culled the code in the events out of the lfslapper.lpr file, find and open the addonused.lpr file.

Look for the line

#include( "./driftmeter.lpr");

and change to read

include( "./driftmeter.lpr");

This is to get the drift scoreboard working.

However, there may be other things within the addonused.lpr file that work that you don't want - put a hash symbol (#) in front of the line. For instance, if you don't want the winner flags to appear at the end of a race, then
include( "./winnerflags.lpr");

would be changed to

#include( "./winnerflags.lpr");

Do not alter the lines

include ("./cif/cif.lpr");
include ("./cif/info_tops.lpr");

else the !top command will not work.
sinanju
S3 licensed
I'd like to hijack this post and point out couple of good topics I've found on querying the rights of demo users -

Discussion on Separate subforum for demo users - HEREDiscussion on Licensed and Demo users - HERE

Maybe its because I'm seeing less licensed users on the forums and more and more demo users asking for additional content for free (especially as the things they already to have have in the way of cars and tracks are not available to demo'ers) that I'm beginning to feel that unless a demo user has a query on anything more than how to solve any problems they're having (running the game, getting better/faster, how to set up a car, or setting up a demo server, maybe nothing more than their views on the game?) then I/we should just stop giving them help of any kind.

I understand that not everyone has money to get license (in my current circumstances, I couldn't afford to buy one just now), but these demo users asking for extras are likely to have their own computer system (as against using a public system as provided in a library, club, etc), and as some of them are running servers, they must have half decent computers and be paying for internet bandwidth. So, for these users, I don't see that they shouldn't have enough pocket money to buy a S1 or S2 license.

I don't know if it's just me, but I wouldn't expect to download a free demo of anything (game, app, whatever), then have the right to ask for anything from their community except help in getting it working - I especially wouldn't expect to be able to ask that community to provide me with help and freebies on the full experience they've actually had to pay for.
sinanju
S3 licensed
Demo racers do not have access to AU1, so therefore I'm not going to give you any more help.

In fact, would be nice if a moderator read this, and banned you.
sinanju
S3 licensed
Depends on the code that your cruise was developed in, but I did some road signs and traffic lights for use with LFSLapper insim system - see HERE for road signs.

However, if your cruise in different code, then unlikely you'll get what you are looking for.

Not only is it a great deal of work making these, but if I ran a cruise server, the last thing I'd do is give the good stuff like signs and lights away to others to use, especially someone who only has demo, as these may be a good reason a lot of people join their server. And, sorry to say this, but anyone with these on their server is likely to have a S1 or S2 server already, so is unlikely to want to be the admin for a demo server.
sinanju
S3 licensed
My humble apologies Yisc - totally my fault!

As you use the same CASE command I do for config'ing something, I change your CASE command (along with a vertical placement setting) when a new pitboard script comes out, and I didn't notice that when I downloaded your updated scripts and changed it, that it was me that had pasted something into a case command, saved it, put it on my server, copied it into my server backup, my testing backup, and the V6.14 original and backup, and then all the same copies on my 2nd drive. When I checked my copies, they (of course) all had the same error, and being tired, and very human, I blamed someone else!

Teach me to not do anything complicated at 5 in the morning.

Nogmaals, apolgies.
sinanju
S3 licensed
You have a slight error in your pitboard.lpr file

Line 66
CASE "!start CASE "!pbstart":":

You seem to have pasted a CASE command inside another CASE command.
sinanju
S3 licensed
900 objects might be enough IF you could resize chalk lines, armco, speed humps and barriers by click+drag them to fit a space rather than sit 2 or more side by side till you get your required length.
sinanju
S3 licensed
Quote from Eclipsed :...,but the problem might be the correct color tone as it's not basic red,but much darker.

The real problem with colours when you're using an LFS Insim to do things is that you are restricted to the standard LFS colours, where there is only 1 shade of red, green, yellow, and purple. There's 2 shades of blue; very dark and cyan. Unfortunately, there's no orange, which is strange as it's used within LFS for the exit, leave, no drivers and back buttons.
sinanju
S3 licensed
Whatever your license status (demo, S1 or S2), you cannot create custom maps or tracks (or cars for that matter).

In the AutoX area, assuming you have the appropriate license rights, you can place objects (lines, tyres, cones, barriers, etc) to layout a track shape (in the form of a 'corridor' that you follow) on the tarmac (and certain sections of grass). You can also place objects on the normal LFS tracks.

The best that can be done for 'custom' tracks are using the open configurations of the existing LFS tracks. For instance on Kyoto, instead of just having KY1, KY2 and KY3, in the open configurations the barriers between certain parts (routes) of the track have been removed, and you can place barriers to force drivers to take a different route.

The LFS community has now given some of these routes their own standard track configuration abbreviations, such as K21, K31, K32, etc. See HERE for more info.
sinanju
S3 licensed
And the other thing you have to watch out for, is the number of buttons being used to make up a flag.

My USA flag needs 126 buttons!

This means that if you have a number of other buttons on your screen (and my server does), flags popping up can make other buttons disappear, due to the LFS button limit.
sinanju
S3 licensed
You're right about getting them the same size - I couldn't do it at all - especially the USA flag, which due to all the horizontal lines is about twice as high as my other flags.

And unfortunately, without a lot of work, it would be hard to scale them.

I was actually making my flags for a special purpose - they were actually to be vests for some of the 'people' (marshalls, etc) that pop up on my server at different times (entering pits, exiting pits, too slow, etc).

For this purpose, I did make them the same size, which is not the proper flag proportions, which differ country to country (e.g. 1:1, 1:2, 2:3, 3:5, 10:19, etc).

It was only after I had done some of the vests that I thought I'd do flags.

Like your flags though.

The fact they're slightly different sizes shouldn't lessen the wow factor of actually having them seen on your server.
sinanju
S3 licensed
If you're doing it in lapper, then the 1st line of the flag part of the code would look like

openGlobalButton( "greek_blueline",89,14,12,26,1,8,64,"^4-");

Basically, telling the insim to put a blue (^4) dashed line (-) 12 wide x 26 deep in the 200 x 200 LFS 'window' 89 from left and 14 from top edge. The 1 is not required (space between lines of text - if used - it's not, but you still need a value). The 8 is the number of seconds, and 64 refers to justification and background colour of button (in this case, blank button with text aligned left).

If you know how to use lapper, then the attached file can be placed in the /includes directory, and you would have to then add the file name into the addonused.lpr file. Once LFS and lapper running, type !flag and flag will appear on screen.

If you look at the code, you'll see that you need to place 54 button lines on the screen with specific spacing to get the desired effect!

IF it had been a horizontal tricolour flag, the coding would have been much easier, but then it's absolutely no-where as bad as the stars and stripes.

On my server (Sin'rs too), I've put flag vests on some of my 'marshalls' - you have to drive offline in certain places to find them (bit like coding easter eggs), which use the same coding, as does my yellow flag that appears when you crash.

Oh, and when you leave the pits, you'll see flashing lights in the HUD area (very top of screen), which I've also used for traffic lights in the past.

Coding for Traffic lights / drag xmas tree lights can be found somewhere in the LFSLapper section of this forum. As can a half finished Cruise lapper.
Right Click on button to close - query?
sinanju
S3 licensed
I'd like to be able to use Right Click mouse to close a button rather than a button that says close.

Lapper documentation states -

All backcalled function from click button receive the clicked button on mouse and special on keyboard
1 // left click
2 // right click
4 // ctrl + click
8 // shift + click


Tried a few things, but nothing I do works.

CASE "!click":
SE_Click();
# SE_Click(0);
# SE_Click($argv);
# SE_Click($userName, $argv);
# SE_Click($userName);

BREAK;

Sub SE_Click() # A Sinanju Event
openPrivButton( "RightClickButton",75,85,50,10,-1,32,"^0Right Click ^1CLOSES ^0this button",2 );
# openPrivButton( "RightClickButton",75,85,50,10,-1,32,2,"^0Right Click ^1CLOSES ^0this button"); # 2 used as backcalled sub
# openPrivButton( "RightClickButton",75,85,50,10,-1,34,"^0Right Click ^1CLOSES ^0this button"); # 2 added to button format (32 dark button)
# openPrivButton( "RightClickButton",75,85,50,10,-1,32|2,"^0Right Click ^1CLOSES ^0this button");

EndSub

(lines with hash marks are also code I tried)

Anyone used this function, and if so, how do you do it?!
Additional Flags
sinanju
S3 licensed
Final lot of flags;
Algeria
Dominican Republic
Gambia
Greece
Jordan
Kuwait
Libya
Singapore
Sudan
United States of America
Due to the number of stripes, and that I can only make stripes a minimum size, the USA flag is about 3 times the area of the other flags - no other reason why it's bigger than the other flags; especially the Scottish flag.
Further 15 flags
sinanju
S3 licensed
Another lot of flags that I've made. They are;
Bolivia
Columbia
Costa Rica
Egypt
Ghana
Indonesia (like Monaco flag, only longer)
Laos
Myanmar (Burma)
Peru
Senegal
Syria
Tajikstan
Thailand
United Arab Emirates
Yemen
sinanju
S3 licensed
I had thought about this, but although it could probably be done, I didn't want to make or use any sort of registration / login system that would require collecting driver details, such as their country - at least not on my server.

If a system was used, I've only got 40+ countries flags, so lots missing, although a generic 'flag' with text could be used - sort of like I'd premade as a welcome message flag - see attached image.
Flags of the World
sinanju
S3 licensed
I was playing round with the design of one of my "marshall's" as I wanted to show a Scottish flag on him.

Not long finished it, when I watched repeat of 'The Big Bang Theory'; one where Sheldon and Amy were recording a video of 'fun with flags'.

Because of these 2 things, had the idea of making some flags with lapper - see attached image for what they look like - also uploaded video to YouTube HERE - note: poor quality [converted original .avi to .mp3 otherwise would have taken 6+ hours to upload].

Flags available;

Austria Bangladesh Belerus Belgian
Bulgaria [COLOR=Blue]+[/COLOR] Chad Czech Denmark
[COLOR=Blue]*[/COLOR] Netherlands England Estonia Finland
French Georgia German Guinea
Hungary Iceland Italy Japan
Latvia Lithuania [COLOR=Blue]$[/COLOR] Madeup Mali
Malta Mauritania Monaco Nigeria
Norway Pakistan Poland Portugal
[COLOR=Blue]+[/COLOR] Romania Russia Scotland Serbia
Slovakia Slovenia Spain Sweden
Switzerland Tunisia Turkey Ukraine

+ Chad and Romania have same flag
* Dutch and Luxemberg flags very similar except Dutch blue much darker
$ Madeup - doesn't exist - this was 1st mock-up to get size, etc, setup.

Not sure what you would do with the flags (!?), but if you want the code for any of the flags, then let me know.
sinanju
S3 licensed
As Yisc says, most of what you want can be done via LFSLapper ('lapper').

Most if it almost from the basic scripts included within lapper, the rest is available on the lapper section of this forum, which various people have coded and these can be added on.

Some of the things available, are;
  • Top times
  • Top drift scores
  • Race Points
  • Pitboard
  • Speedtrap
  • Winner / Finish Flags
  • Leaderboard
  • Yellow Flags
  • Drift scoreboards
  • Racetrack personnel
See attached for how some of these look.

If you want to see some of these things in action, have a quick blast round my server (Sin'rs Too). To look at top times and drifts, you'll have to go thru my !menu system.
Last edited by sinanju, .
sinanju
S3 licensed
Brazilian Portugese (BP) attached.

Cannot guarantee accuracy.
FGED GREDG RDFGDR GSFDG