The online racing simulator
Searching in All forums
(923 results)
Racon
S3 licensed
Quote from macafmac :edit: is this a server side script?

No, it's a local one - just for the person running it like LFSLazy or AONIO, rather than like JAR's server-side radar.
Racon
S3 licensed
I'm slowly working my way through making various LFSLazy features in PIE, and I'm finally at the nearly-ready stage with the one I'm most interested in - the radar.

It's more like AONIO's than Lazy's and it's not quite right yet, but I know some people are crying out for one and I have got to the "more useful than annoying" stage Wink

https://www.lfs.net/forum/thread/106830-Radar-%28WIP%21%29

Radar (WIP!)
Racon
S3 licensed
Radar:

This one is a Work In Progress! There are some issues still to be sorted,
the code and functionality is a little messy for this reason. It's still
enough to be useful though, if you can live with a couple of annoyances.

The radar panel can be moved and scaled freely, and shows cars around you
in two ranges: Short range is drawn across the panel, long range is drawn
around the edge of a circle inside the panel. Different colours are used
to show:
  • you (green)
  • long/short range (cyan/white)
  • cars a lap up/down from you (blue/red)
  • cars causing yellow flag (yellow)
  • lagging (magenta)
  • cars in contact with others (black)


Issues:

Other programmers out there with any ideas don't need to be shy pointing out
anything daft I've done, I'm not proud Wink

InSim buffer overflow:
When joining a server with the radar running, there is a period where we
are receiving MCI (position) packets and sending buttons, but LFS is still
loading mods before processing InSim packets. If the server is busy with
mods that you haven't already downloaded, this wait will easily fill the
insim buffer and LFS will close the connection. Joining 'Just A Ride' server
will kill the radar 9 times out of 10, for instance.

Also, time-skipping in replays will do the same thing.

Car markers persisting/'getting stuck':
Sometimes a marker will persist on the radar screen when it shouldn't. I am
working on this! The code seems to be fool-proof in clearing all the old
markers before drawing the new ones, but alas. More testing is required to
know if this bug is in my radar logic, my PIE logic, or LFS button clearing.

Currently handled by doing a full clear of all buttons every X seconds to
catch the stragglers - usable but imperfect.
Racon
S3 licensed
LFSW name: racon
In-game name: [PM] Jam 616
Full team name: PiranMOTO
Nation: United Kingdom
Racon
S3 licensed
The finalised schedule is here!



Please note there are new vehicles and new restrictions to old vehicles throughout. Full class info is attached to the main thread above.
Racon
S3 licensed
Quote from Aleksandr_124rus :yes, but I mean that you could choose on what it distance you can see lod2.

I think that distance is what you're changing with the setting: Graphics > User LOD
Racon
S3 licensed
Racon
S3 licensed
Last edited by Racon, .
Racon
S3 licensed
One of my tutorial scripts for PIE is a basic heads-up speed display from OutGauge data, you could tweak it very easily to display gears if you're happy coding in PHP.
Racon
S3 licensed
Nice one Rony, that's it... I was looking in the skins section Face -> palm

Quote from KingOfIce :I can't remember where I got the viewer.exe.
You're right about the online mode, it can be pretty cool too (although if I had to do it live in my tool without even having to prepare the images first, I'd prefer it not to be online). But I don't know how much server-side computing/generation "power" that would require (and would then probably be a paid option).

Having looked again, it's canvas and only for cars (maybe there is some preparation to be done before it is usable, who knows how much work that would be). Still, it might be possible to hook it up, and if it were a paid API thing as you suggest it could be pretty useful without being a strain.
Last edited by Racon, .
Racon
S3 licensed
There was an 3D skin-viewer on the website at one point (can't find it now, I guess it's removed?). It only allowed you to view your own skins, but maybe that could be re-purposed to create these images for any skin.

If this function was on the LFS website instead of commandline it would be more accessible, it could in theory be used to automatically generate an illustrated live list of people on a server as they come and go.
Racon
S3 licensed
Racon
S3 licensed
Last edited by Racon, .
Racon
S3 licensed
Last edited by Racon, .
Racon
S3 licensed
Here's a recap of the action from TOC#1:


...and here's the whole SimBroadcasts spectacular:
PiranMOTO Trial of Champions #2: The Curse of Choice - Sat 27th Jan, 18:00 UTC
Racon
S3 licensed


**PiranMOTO Trial of Champions #2 - The Curse of Choice**
**Saturday 27th January** at **18:00 UTC**

The long-awaited 2nd Trial of Champions is here!

A trial that will test your speed, your reactions, your offence, your defence,
your strategy and your luck as the cars grow ever more powerful. Random grids
will make short work of the delicate, and nobody in this trial is ever safe
from the curse of choice.

With the introduction of mods since the last trial there really wasn't any
other option for the theme of the follow up, was there? We will give you all
the vehicle choices you could wish for in a fight to the death!

We'll run classes including standard LFS cars and mods with plenty of options,
with a new class and track for each round. The tracks will follow the theme
too, each will have multiple choices to make... some easier than others.

Please note: *** REGISTRATION IS REQUIRED *** for this event, see below.



113 vehicles to choose from - see attachments for details!

Live stats at https://piranmoto.uk/events/185
PiranMOTO Discord https://discord.gg/Yj3B5TS

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

Entrants (unordered):
- [PM] Jam #616 (racon)
- [MRc] TimDC #1 (timdecnodder)
- [SO] LV (Latvian Video)
- [PM] Flying ET #3 (atthis)
- [SGR] Lord Jaguar #17 (lordjaguar)
- Jamin (o000o)
- Uber #69 (fasturtle)
- [RG] RD2 #99 (rallydriver2)
- [VM] Tzu #5 (notraii)
- Badmantru (Jaydem) *invite
- [S1DUS] Niko #133742069 (nikopdr)
- [VM] Dlocky (finland69)
- kyr1l #74 (Kyr1l)
- iiiiil #78 (iiiiil)
- [RDC] Alexey #53 (Aleksandr_124rus)
- [PM] Vitas #993 (giulio niewiadomski)
- [VM] DejaVu #09 (Laurynas683)
- O.A. (Omar1)
- [SO] DunoCZ (duno)
- Fwanky (Franky.S) *late join
- [SGR] kriszti (kriszti_09)
- [OK] Rauno (rauno002)
- [6S] Vilix (vilix)

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

Registration info:
40 places are available - in the case of more signups than spaces, priority
will be given firstly to previous TOC competitors, then DD competitors,
according to the highest score acheived at any previous TOC/DD event.
(check here: TOC DD )

5 spaces will be held back until the last week, for people who find it hard
to attend our regular Friday slot to get a score in. We know the world is big
and busy, and the call of the FOX is strong. Let us know if want in but can't
get to us in time to qualify.

To register: Just let us know the name you want to race under by reply in this
post, or in the #trialofchampions channel on discord. We will maintain an
official list in this post. Racing numbers are optional. Please include the
entrant's LFSname if you're posting on someone's behalf.

The entry list will be finalised at 17:00 UTC on the day of the event, and the
password sent to all participants via LFS Forum message shortly thereafter.
Please be sure to allow forum private messages to be received at this time, or
pre-arrange notification by discord.
Last edited by Racon, .
Racon
S3 licensed
Last edited by Racon, .
Racon
S3 licensed
1) There are some new objects added to the new-physics version already, but they won't be added to this version. There is a picture of them in one of the progress reports somewhere (Tents, vehicles, chalk letters, letter signs, etc).

2) That can be done in InSim, I've done a quick PIE script for it here: https://www.lfs.net/forum/thread/103154-Object-Groups
Racon
S3 licensed
Racon
S3 licensed
Last edited by Racon, .
Racon
S3 licensed
Last edited by Racon, .
Racon
S3 licensed
Racon
S3 licensed
It's very nice to throw around, but it has a broken hitbox - in the viewer you can see that the triangles in LOD2 are inside out, it means that sometimes the cars can overlap and then lag-explode. If you flip those triangles it should fix the collision issue Thumbs up
Racon
S3 licensed
Racon
S3 licensed
Last edited by Racon, .
FGED GREDG RDFGDR GSFDG