Next time you update lapper, can you change few things?
The objecthit.txt file needs edited.
'All_Markers' should be 'All_TurnMarkers'.
Request; can 'railings' in your code be changed to 'Armco'?
You have
All_Railings // (Short/Medium/Long Railing)
Think would be better if
All_Armco // (Short/Medium/Long Armco)
Keeps these separate from the small pedestrian railing.
Plus, in $DetectHitObject, I can't get 'scenery' to work (as described in objecthit.txt file), nor 'Trackside_Object', 'Trackside_Objects' or even 'TrackSide_Objects'.
Like a lot of other demo racers, some of whom likely have no intention of ever buying a license, as happy enough with the free game they've got.
Most 'old' racing game demos came on a cd, when you bought a computer game magazine. How many of these games still exist? Some were unlimited, but some had time constraints, or track/car constraints.
I understand that not everyone can afford even an S1 licence, and that there are purchasing issues. But, again, not LFS developers fault.
I don't have a tv - it broke, and I can't afford a replacement, not even 2nd hand. I have experience of having had and used one, so when I can ever afford a replacement, I'll likely get one. In mean time, I do without.
So even less incentive to actually buy a license.
And where does the "add more stuff" end?
It seems to me that a lot of people have forgot, or have never known, what "demo" actually means.
In a game, as in other things, its a demonstration of a product to show the capabilities of what you would be getting if you paid for it, as in (especially) does it work on your pc, does it look / play sufficiently well, do you like it?
3 to 6 months and/or 1000 lap limit is more than sufficient for a 'demo' in my opinion.
There are about 2 of you that understand how to use the code you show straight out of the box, so to speak, and maybe a few others that can use lapper but never get involved on this part of forum. For a few of us, especially me, it takes some experimentation and testing to understand how it works.
For instance, your
privmsg("Time: ".$Time);
just outputs a large number, whereas if you want to use it properly, you have to use
privmsg("Time: ".NumToMSH($Time);
To help people like me to understand it bit better, my experimental test code, and on-screen results;
Grey text is just to output the variables, and coloured text is to output variables in more meaningful way / use.
Flags 0 and 1 used same Insim Circle (first flag for entering, next for exiting - Circle Index 1). Flag 2 used a Finish Line pointing correct way, and Flag 3 used Finish Line turned 180 deg to direction I was travelling.
As you can see, I've used the $flags as 'triggers' in IF statements to do things - mainly just show info, but in flag 3, because i've crossed insim checkpoint wrong way, I've used that to trigger /spec.
PS Don't forget to update info in /docs folder
Last edited by sinanju, .
Reason : Added circle / checkpoint data
Can you add this new Event to its own Thread please?
Best if you just copy (don't delete post) whole body of post text about it to thread, including lapper file and image (may be no need to copy image - just click on it, note http link and imbed link into new post as image).
Would be good to keep discussions about each of your new Events separate, as easier to find things.
Not sure in which lapper version 7 it started, but if you look in the ERR.log file, it now shows the password that appears in the default_1.ini file.
At least it does in my local 127.0.0.1-29999-MSS.log file. I haven't updated my server lappers yet, which are still v6 as still playing around with few things.
Extract:
2/19/2016 8:55:56 AM ----------------------------------------------------------------------------- 2/19/2016 8:55:56 AM -> Parsing config file...Ok 2/19/2016 8:55:57 AM -> Loading WR...Ok 2/19/2016 8:55:57 AM -> Loading swearwords...Ok 2/19/2016 8:55:57 AM -> Connecting to 127.0.0.1 / 29999 2/19/2016 8:55:57 AM -> LFSLapperInsimVersion 0 Connection OK 2/19/2016 8:55:57 AM -> InsimInit Lenght: password_here 19/02/2016 08:55:57 -> 2/19/2016 8:55:57 AM -> InSImReceive Thread Started... Product:S3 Version:0.6M InSim Version:7 19/02/2016 08:55:57 -> Ftp Upload grip DB Thread Started... 19/02/2016 08:55:57 -> Ftp Upload drift DB Thread Started... 19/02/2016 08:55:57 -> Web Commands Thread Started... 2/19/2016 8:55:57 AM -> 19/02/2016 08:55:57 -> 19/02/2016 08:55:57 -> LFSLapper is running... PubStat Thread Started... Register Web Thread Started...
It's the line
2/19/2016 8:55:57 AM -> InsimInit Lenght: password_here
Not my password, but it is shown where I have "password_here".
And. 'Lenght' should be 'Length'.
For security, can this line be removed, or at least the password?
If you look in the /docs folder, you'll see that Krayy did dump of these...
Player Vars in 'playerVars.txt' and 'playerInfo.txt'.
Lapper Events in 'Lapper Events.txt'.
Your 2 recent contact Events should be added to this last file.
EDIT:
Just a thought; As you're taking over lapper programming, you should apply to become 'Section moderator'.
Last edited by sinanju, .
Reason : An additional thought
Was using your updated files to do testing on something else I'm working on, with 2 AI cars on track, when I hit one, and lapper crashed.
Did it few more times to test, and lapper always crashes, then quickly restarts. I get same error message each time in my 127.0.0.1-29999-ERR error log;
Object reference not set to an instance of an object. LFSLapper at LFSLapper.LFSClient.managePacket(CON con) at LFSLapper.LFSClient.Loop(Connect insimConnection) at LFSLapper.LFSClient.doloop() at LapperInstances.LapperInstance.doConnection() Void managePacket(CON) Closing Instance... -----------------------------------------------------------------------------
As it's only an issue when local racing AI, not sure if much of a problem?
I've written an alternative, and very verbose description, using most of the 'blurb' put together by Scawen, but hopefully in a better way to make it more obvious in what order things should be done, and why.
In a Word document these instructions would fill about 3 x A4 pages.
Don't look at me either. I have no idea how to edit a wiki, and I don't have the necessary create privilages.
You have to make a text file to go with your layout, etc, but that text is only shown when you get onto 1st screen.
Its only on checking that I realised that the hashes within the file, which I thought were to replace blank lines, are actually there to fit within the Objective / Purpose / Tips that appear when you get into 1st screen of training/lesson before you hit GO.
EDIT: If I'd ready the revised instructions properly then I'd have found this out.
Screenie shows 1st para is for the Objective, 2nd for Purpose and 3rd for Tips.
Testing something else in lapper today and noticed that unless you use "All_Objects", you don't get message when hitting a 'scenery object'.
Because I don't want message when driving on concrete slabs and ramps on my skytrack layouts, I basically have long list that includes everything else but slabs and ramps, but if you use same list on a proper track, with no added Autocross objects, the only things that records a 'hit' are marker boards. This is in my list, but so are cones and tyres, and these don't get hit message when they're part of proper track scenery.
Can a 'scenery object' be added as a choice?
Of no real interest, but my list:
Also.
If you drive on a normal track with "All_Objects" enabled, you will only get message when you hit an object that can move (cones, tyres, marker boards), but not if you hit fence, wall, rubber covered barrier, and other non-moving objects.
Can a non-moving object be added?
As it's mainly needed for walls and barriers, maybe "wall barrier", "barrier wall", "wall/barrier" or "barrier/wall"? Or something else you can think of that explains better.
Wish I'd noticed your problem posts - you're way ahead in the use of the training lessons.
As the .lyt, lsn, .txt and .jpg files will all be put in the \data\training folder, these could all just be zipped up, and downloader told where they should be placed.
The difficult part for most users, due to lack of knowledge / experience, will be the need to SHIFT T into List Editor mode, and then move this downloaded Lesson up the list to the top, so it becomes the first lesson.
Not sure uploaders of lessons should be supplying downloaders with uploaders own lessons.lll file as downloader may have already added one or more training lessons into their list, and uploaders file may have non-standard lessons in it too.
I still think a separate forum section for these 'extra' training lessons should be made, and the first couple of posts could be sticky's giving step by step instructions - one on how to make your own, another if downloading (where to put files, and SHIFT T list, etc). Possibly another section for 'real' training layouts, and another for autocross event training/competition layouts, like your images.
An aide-memoir for myself - if loading lessons onto forum, best to make clear in some way what license level is required (demo, S1, S2, S3) as not all layouts will be available for all license types (not much good demo user downloading S1, S2, or S3 lessons, or S1/S2 users loading S3, etc).