The online racing simulator
Searching in All forums
(314 results)
DarkKostas
S3 licensed
Try setting center spring @ 30% at global settings in the logitech profiler.

WORKS ONLY AT GLOBAL SETTINGS

I had the same feeling in the beginning but by doing that it felt way different. Try that option and tell me how it feels for you.
DarkKostas
S3 licensed
Quote from Chriship :This one works.

However, didn't this InSim before show a notification in chat ( In-Game ) when someone connects to a server? Like:

"vitaly_m is now playing at: Test Server" In yellow

I remember of an InSim which did this, but not sure if its yours?

https://www.lfsforum.net/showthread.php?t=75370
Long time ago
DarkKostas
S3 licensed
Wanted a server and asked them a few questions. Their response was almost instant and they were kind enough to answer all my questions and even help me!

Glad to host my server with you.

DarkKostas
S3 licensed
You can always look at other projects to learn how to use this library.
Here's an exaple i have made long time ago, you can use it to check what goes where. Also reading the whole topic will make you understand more as it has lots of examples.

https://www.lfsforum.net/showt ... php?p=1651859#post1651859
DarkKostas
S3 licensed
Quote from Bose321 :@DarkKostas, One more thing. How can I send a button to everyone? If I use 255 (which shows it to all connections IIRC) instead of the UCID, it gives back a BTC error with the message that the index is out the matrix. Not sure why it even gives a BTC error when you send a new BTN?

Hmm i think i haven't try it that way, try setting "string[,,] Button = new string[255, MAX_BUTTONS, 2];" to 256 from 255 and it should work.
DarkKostas
S3 licensed
Quote from Bose321 :I can't thank you enough for this. I was actually working on an InSim and was running out of ideas of using buttons. Naming them, instead of giving them an ID manually is the best idea I've seen so far.

Sorry to go off-topic, but is there a way I can force a button to go on top of another with your button manager?

Not really, but based on the order you create the buttons you can change the order of them in-game as well. Just swap the 1st and 2nd Create functions
DarkKostas
S3 licensed
Here's mine. It's being used on my not released insim(which by the way doesn't look it will be used but anyway). Some things:

1. It's in C#. I use it on InSim.NET
2. It may be not optimised, i'd like to hear improvements.
3. It features Groups. You can use "" for no group or "Bananas" and then you can DeleteGroupButtons(UCID, "Bananas")!
4. Uses custom OnClickManagerButton and OnTextReceiveManagerButton. These are the callbacks you need.

1.Rename the extension to .cs
2.Just include it in your project and use the functions.

3.How to install to use the callbacks:

void OnButtonTextReceive(InSim insim, IS_BTT BTT)
{
try
{
if (BTT.Text.Length == 0) return;

string ButtonName = GetButtonName(BTT.ClickID, BTT.UCID);
if (ButtonName != "Invalid")
{
OnTextReceiveManagerButton(BTT.UCID, ButtonName, BTT.Text);
return;
}
}
catch (Exception EX) { LogTextToFile("packetError", "BTT - " + EX.Message); }
}

void OnButtonClick(InSim insim, IS_BTC BTC)
{
try
{
string ButtonName = GetButtonName(BTC.ClickID, BTC.UCID);
if (ButtonName != "Invalid")
{
OnClickManagerButton(BTC.UCID, ButtonName);
return;
}
}
catch (Exception EX) { LogTextToFile("packetError", "BTC - " + EX.Message); }
}

DarkKostas
S3 licensed
Quote from miki1320 :- New cars ( I tried to choose the prettiest )

...

I think that the modification will enjoy new and old players and creators LFS 'll kill me


They'll definitelly kill you! :bananadea:tombstone
DarkKostas
S3 licensed
Quote from Dygear :Mantle no more? GDC sessions point to the next DirectX. Well, take a look at that.

OpenGL and DirectX to setup to Mantle's performance. Pretty sure you might as well just move to OpenGL now. They are not going anywhere.

DirectX 12, now comes with Windows 8 and only with that OS.

Im expecting that so much!
DarkKostas
S3 licensed
Having high/super-high resolution skins will make your computer stall for more time. Maybe you have installed some new skins lately. I don't remember having any "worse" occasions with the newer versions.
DarkKostas
S3 licensed
Quote from Scawen :DarkKostas, that is a strange effect. Which graphics card are you using?

I don't get the problem, using nvidia.

Can you test to see if you get the same with E13? I'm just wondering if the antialiasing somehow made a difference.

No it doesn't happen with the normal 0.6, that's why it caught my impression. Im using AMD 7790, no forced graphics. I happens on all versions AFTER 0.6E7.

Tried without mirror or normal AA, but still the same.
DarkKostas
S3 licensed
I just noticed that! Happens only on RB4 and only at Garage(and entry screen)
DarkKostas
S3 licensed
Quote from Flame CZE :Just out of curiosity, there happens to be one server running on E14, how is that?


Yeap, exactly. By the way, i noticed when it's windowed it's forcing the FPS to what my monitor's hz. Is it a limitation of DX9?
DarkKostas
S3 licensed
Quote from StickerBomb :I know, me too. Code work perfect!! Now i want to run the code on LFS External, but i don't know how to run that in External

<?php 
insim
.Send(new IS_PLC UCID UCIDCars AvailableCars });  
?>

(btw thanks for all support )

I'd suggest you to start converting your project on InSim.NET as LFS External is now dead and wont be supported. That's what i've done myself in the past.

I can't remember now how to do this in External and I don't think it's possible. You can do a small search by typing "insim." and you will see the available functions. Or else you can contact DarkTimes. I am quite sure he knows more about that.
DarkKostas
S3 licensed
Quote from Specht77 :Working great! it's compatible with custom AA, and I didn't loose even 1 FPS with AA mirror on

some screens for comparison:

Looks amazing. Great job. Will DX9 make it easier to have multiple(the other driver's) mirrors at the same time? I wonder how much this will "eat" our FPS though.
DarkKostas
S3 licensed
Oops forgot to add it.

<?php 
        CarFlags CarToPLC
(string CarName)
        {
            switch (
CarName.ToUpper())
            {
                case 
"XRG": return CarFlags.XRG;
                case 
"LX4": return CarFlags.LX4;
                case 
"LX6": return CarFlags.LX6;
                case 
"RB4": return CarFlags.RB4;
                case 
"FXO": return CarFlags.FXO;
                case 
"XRT": return CarFlags.XRT;
                case 
"RAC": return CarFlags.RAC;
                case 
"FZ5": return CarFlags.FZ5;
            }
            return 
CarFlags.None;
        }
?>

I am running this code on InSim.NET by the way.
DarkKostas
S3 licensed

<?php 
//Replace string AVAILABLE_CARS with the var that a person owns a car
string AVAILABLE_CARS "XRG+LX4+LX6+RB4+XRT+RAC+FZ5+FXO";
string[] AllCars AVAILABLE_CARS.Split('+');

string CurrentCar "";
bool DrivingNotOwnedCar true;
byte PlayerID GetPlayer(UCID);
if (
PlayerID != 255CurrentCar _players[PlayerID].CName;

CarFlags AvailableCars CarFlags.None;
foreach (var 
ThisCar in AllCars)
{
    if (
ThisCar == CurrentCarDrivingNotOwnedCar false;
    
AvailableCars |= CarToPLC(ThisCar);
}

insim.Send(new IS_PLC UCID UCIDCars AvailableCars });
return 
DrivingNotOwnedCar;
?>

You can use it as a function on NPL to check if he doesn't own the car so you can spectate him.
DarkKostas
S3 licensed
Quote from cargame.nl :Toying with MCI for some weeks now.

I wonder if it's an LFS bug or if it's PRISM;
...

It's InSim bug. I've been having the same problem using InSim.NET. It's exactly as you said MCI gets recieved before the actual NPL. What i did to fix it, is to make check on MCI if player is out of pits, before i do everything else.
DarkKostas
S3 licensed
It's funny because recently i've been thinking (once again) this thing. It's not just the physics, it's the force feedback feeling also and everything that makes LFS so real, even though it has imaginary cars/tracks.

"What if Driver, or GTA had LFS' feeling?" Imagine driving around on a big or small map, something like City Car Driving, but with LFS' FFB and physics.
DarkKostas
S3 licensed
Quote from Specht77 :I mean that in first person, your screen will turn 90º then 180º (patch X), or 45º then 90º (patch E) when pressing E then E + W

but your head ingame will turn what it turns on this video

this is configurable through the View settings. But by default its like that. I have set mine to 60 so it goes 120 when pressing both keys.
DarkKostas
S3 licensed
Quote from sinanju :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.

That's exactly what i was thinking when implementing your greek flag. Now im making a GUI Maker program to help me create these flags with less buttons by modifing buttons in-game!
DarkKostas
S3 licensed
Thanks for your answer, i was wondering how do you make the dash so big. Im using C# InSim.NET which means i'll have to convert it. Anyway now that i have the values it will be easy to remake it. Many thanks! Probably tomorrow i'll make a pic of my wip GUI.
DarkKostas
S3 licensed
Very slowly im making my own cruise insim from scratch(damn that hurts). As i have included a multilanguage system i had that idea on adding flags when selecting each language. So im wondering how do you make that big straight lines? I'd like to see the greek flag example.
DarkKostas
S3 licensed
Quote from Donkey_DriftKing :thanks, does anyone know how to make one with an old ps3 controller?

You can make it as hydraulic by attaching something on top of one of the 2 analog sticks. Make sure the controller is not gonna move once you use the e-brake though.

Here is my ebrake in action Lots of fun!
http://www.youtube.com/watch?v=f-omNmpWJnU
DarkKostas
S3 licensed
Quote from Scawen :As far as I understand (and I'm probably wrong, because I haven't checked) DX10 and later don't work on XP. If that is true

Yes, it is true. DX10/11 are supported on Vista and higher. So for now, as the game handles very good on slower computers with XP, i'd think the same. DX9 is the thing for LFS.
FGED GREDG RDFGDR GSFDG