The online racing simulator
InSim changes in new test patch
(236 posts, closed, started )
I like the new packet, it can be very useful in leagues with safety cars, indeed. Thanks!

And by the way, I think there is no way how to adjust the tab size via HTML or CSS, the only solution I think of is to use spaces instead
Quote from Flame CZE :I like the new packet, it can be very useful in leagues with safety cars, indeed. Thanks!

What you would have to do is, with the /cars command, allow the cars that are allowed in the race, PLUS the safety car. Then send an IS_PLC with the allowed cars, excluding the safety car, to each of the racers. Once is enough, when they join the host.
Couldn't you just set /cars to the race cars and then use PLC to allow the safety car for just the safety car driver?
I doubt it would affect races with safety cars, normally you just do /cars=GTR+FZ5+RB4 and obviously racers use the GTRs and admins the other ones when needed. And anyway, you'd need to develop/update insim applications to make use of it.

Will be useful if you do some stuff on a public server with all cars enabled, someone joins in a bad choice of car and you can spec them easier.
Quote from morpha :Couldn't you just set /cars to the race cars and then use PLC to allow the safety car for just the safety car driver?

No, it doesn't work that way.

IS_PLC only allows players to use a subset of the actual allowed cars, it doesn't allow them to use cars which are not allowed on the host.
But to the players with just a subset allowed, only the ones they're actually allowed to drive would show up coloured in the car selection screen, right?
Quote from Scawen :OK, I've done that now and it will be in the next test patch.

This concerned char "1" width, thanks! Indeed, the other things (colors) are of low priority. I also accept that you do not have a good feeling about sending hidden info to clients, so I'll do what I can using the existing packets (well, sending visible info for now). The new packet of allowed cars per connection looks indeed promising. I guess it will be very handy for all the multiclass and cruising servers... Too bad it means more work for me and others. Hehe, well, thats when we require something and then we get it. Thanks again.
Quote from morpha :But to the players with just a subset allowed, only the ones they're actually allowed to drive would show up coloured in the car selection screen, right?

Yes, that's right. It affects the car selection screen, the /car command and the check when you try to join a race.

I've seen racing hosts with a progression system and cruise servers where the host does know what you are allowed to drive (a subset of the actual cars that are allowed on the host). But the way it has always been enforced is by spectating you immediately after you join with a car you are not allowed. Now with this new InSim command it can work cleanly, appearing just like the "real" allowed cars system.
Actually if you are in a server and you do a take over with a driver driving a car you are not allowed to drive, the InSim won't spec you (probably because they don't want to).
With the new system will LFS spec you if you take a car you are prohibited to use?
Quote from Scawen :
P.S. Is there any way to specify TAB size in CODE blocks?

Settings ==> Editor ==> General Settings ==> Tab options
Quote from Scawen :Yes, that's right. It affects the car selection screen, the /car command and the check when you try to join a race.

I've seen racing hosts with a progression system and cruise servers where the host does know what you are allowed to drive (a subset of the actual cars that are allowed on the host). But the way it has always been enforced is by spectating you immediately after you join with a car you are not allowed. Now with this new InSim command it can work cleanly, appearing just like the "real" allowed cars system.

Jeah thats really annoying in cargame.nl Server when you have no clue which car to drive and get specced always. Very nice addition although i don't see the reason why aa league which is organized enough to have a safety car would need to restrict the cars
Ah yes, you are right, it does not have to be necessary when using a safety car in leagues as long as it's administrated, therefore anyone who would take the safety car would be penalised (why would he even do that anyway), now I see it is more likely to be used in public multiclass racing, that's actually a good idea. I have seen many newcomers in those servers who took a car they are not allowed to drive and despite they saw the message, they disconnected. Now with the new packet system, it can attract (and keep) more players.

Let's see what our programmers can do
Quote from Whiskey :Actually if you are in a server and you do a take over with a driver driving a car you are not allowed to drive, the InSim won't spec you (probably because they don't want to).
With the new system will LFS spec you if you take a car you are prohibited to use?

No, it has no effect in that case. You can still take over a car that the IS_PLC has prevented you from selecting.

Quote from denis-takumi :Settings ==> Editor ==> General Settings ==> Tab options

Thanks, but I was hoping to be able to specify it for an individual block of code so that everyone sees it correctly regardless of their general setting. Doesn't really matter anyway.
Can the allowed cars packet also be used to disable all cars for a certain UCID? I would hope so, because it would be a useful functionality for special events etc... The question is what will then LFS do, if no car is available...
Quote from GeForz :Jeah thats really annoying in cargame.nl Server when you have no clue which car to drive and get specced always.

I've changed this behavior two months ago. (Visit more frequently, *grin* )

I especially make use now of the ability to change allowed cars with the /cars command. Anyone who is in the current track rotate and driving GTR can still drive it and/or continue with an ongoing race. /cars changes dynamically with the amount of server connections. If you want to join the race while the lock is on you just cannot select GTR in the LFS car selection screen. There is no error message anymore or auto-spectating.

So I'm not so happy with this change. I'm afraid..

Let me understand this correctly;

What happens if a server on default allows ALL cars but this InSim packet limits for a certain UCID the selection to lets say XFG+XRG.

Does the user get the selection screen with only XFG+XRG or is there some kind of error message when this UCID select a car he/she is not allowed to drive due to InSim regulations?

Maybe its not that dramatic as I think it is

..
edit;
Quote from Scawen :Yes, that's right. It affects the car selection screen, the /car command and the check when you try to join a race.

Hhmm first read then ask... Question answered
Uhm okay, maybe it was more than 2 month ago when i was so confused with safety ratings etc.
But the statement still holds. If i can select a car I should be able to drive it and not be specced after join which is the current limitation by insim systems to enforce car usage.
Well you can still be specced if you use the wrong setup, rally tires on road or vice versa. Or too many passengers on a race server, or using the wrong restriction.

UFB for example, newbies may drive UFR but only with 45% air intake restriction. Unrestricted GTR on our main server isn't even allowed at all. So this change doesn't cover all spec messages. But this sounds good. System gets more complicated from an admin point of view but will get over it

For the racer it indeed works much better

..
Thank you Scawen, I have just one request now.

I would like to be able to bind InSim buttons to keys on the keyboard. For example, should I show a menu on the screen, and allow the player to use a button on their keyboard to activate (click) that button.



Something along the lines of this, but as you would suspect with LFS Track names, or player names as needed.
tips: In ArmA activating menu at pressing key BackSpace. You can select item (some items can have sub-items) pressing key 0 - 9

Becouse keys 0 - 9 now busy.
The reason why I bring this up, is that right now, for people who use a mouse to steer have to use their mouse to also select these items. I would like to be able to race with my mouse and still interact with the InSim app without having to use my mouse. You can still click on these items if you wish, but having the option to use you keyboard I think makes it a more robust solution.
Quote from Scawen : to be able to specify which cars an individual player can drive.

I LOVE YOU! I have always wanted this feature, as stated, it could be used for racing as well as cruising, I am really looking forward to this, take as much time as you need.
Quote from EQ Worry :Can the allowed cars packet also be used to disable all cars for a certain UCID? I would hope so, because it would be a useful functionality for special events etc... The question is what will then LFS do, if no car is available...

You can, with a Cars value of zero. You can give a player access to all allowed cars with Cars = 0xffffffff and stop them selecting any car with Cars = 0.

If Cars is zero, or any set bits in Cars are not actually allowed on the host, then a player who tries to join is presented with a car selection screen full of greyed out cars. Whichever one they click, LFS informs them that the host does not allow them to drive that car.

That might be a bit crude but it's just what LFS did naturally. It's ok for now, doesn't need any translation strings, etc...

Quote from cargame.nl :I especially make use now of the ability to change allowed cars with the /cars command. Anyone who is in the current track rotate and driving GTR can still drive it and/or continue with an ongoing race. /cars changes dynamically with the amount of server connections. If you want to join the race while the lock is on you just cannot select GTR in the LFS car selection screen.

I'm not sure if I understood this correctly but please be warned - you will have to be very careful with the /cars command now, it can no longer be used as a "prevent join" command. Because any cars that are disallowed by the /cars command will be instantly spectated. I realised that /cars could be used in that way before but is now very "strong" and that's why I've done the IS_PLC.

Quote from Dygear :Thank you Scawen, I have just one request now.

I would like to be able to bind InSim buttons to keys on the keyboard. For example, should I show a menu on the screen, and allow the player to use a button on their keyboard to activate (click) that button.



Something along the lines of this, but as you would suspect with LFS Track names, or player names as needed.

I would like to just forget about this for now, the thought of it is a little confusing, and I don't want to occupy any more of my brain with anything tricky at the moment. This patch has taken longer than expected and I just want to get those last few things done and tested so we can release the official patch.

Soon :

In the next 1-3 days I'll be posting here to discuss some autocross object add / remove (instructions + notifications) and object hit by car notification packets.
Thanks for the reply and explanation! Indeed, there's already a lot of new features, it would be good to make them official.
Quote from Scawen :I would like to just forget about this for now, the thought of it is a little confusing, and I don't want to occupy any more of my brain with anything tricky at the moment. This patch has taken longer than expected and I just want to get those last few things done and tested so we can release the official patch.

Thanks for the reply. Sorry my example was confusing, I'll try to provide a more concise example using the LFS client with a plugin I'm making for PRISM as an example.
Actually your example is not confusing. It looks good... it's the thought of how to implement InSim key binds that is confusing, when the keys are all used up and multiple InSim programs can be attached, when my head is filled with so many other things.
This thread is closed

InSim changes in new test patch
(236 posts, closed, started )
FGED GREDG RDFGDR GSFDG