The online racing simulator
Searching in All forums
(976 results)
MadCatX
S3 licensed
InSim and OutGauge are two different things, I suggest you rename topic to better describe the problem.

Both common C# libraries have OutGauge support and there should be some examples available... We'd also need to take a look at your code, are you getting any warnings during compiling or errors when your program runs?
MadCatX
S3 licensed
It's weird that your G27 gets picked up only in the 3rd call of EnumDevices. Can you try it again with extended debugging info enabled in the config and with the Fanatec pedals disconnected?
MadCatX
S3 licensed
I'm not sure what happened but all you have to do is to download the zip file linked in the first post and follow the instructions in the README file.
MadCatX
S3 licensed
The config doesn't have any effect on how the buttons work. If "nothing happens" means that the cruise doesn't turn on even for a little while, you have to make sure you set the number of race laps to "practice".
MadCatX
S3 licensed
Define don't work. If you're not trying to use the cruise while in race or qualification, if should work.
MadCatX
S3 licensed
Quote from doc_90 :I have got the buttons ingame. But nothing happens when i press them.

Im using a g25. Ive set the axis to s0 is that wrong?

If you can control the throttle even when the cruise is on, then you have a wrong throttle axis set in the config. If you can't even turn the cruise on, you're not driving in practice mode - the README mentions this BTW (cheating protection) - or you're driving slower than 3 m/s.
MadCatX
S3 licensed
Did you read the README and set everything up properly? You should get control buttons once you leave the menu...
MadCatX
S3 licensed
This thing's been working pretty much like I expected so I finally decided to make a public release so that you guys could have some fun with it too. However, please bear in mind that this is still more or less a techdemo app so it is not ultra convenient to use and there might be some compatibility issues (it is not compatible with any other mods using proxy dinput8.dll for instance). Because of the same reason it is unlikely I'll provide any updates or bugfixes for the mod.

It works only with analog controllers, keyboards or mouses are not supported. Be sure you read the README before you use it. Have fun!
MadCatX
S3 licensed
V 1.03 is up. It shouldn't touch any other devices except G27, this will hopefully resolve some of the remaining issues...
MadCatX
S3 licensed
If LFS crashes when a G27 is not connected, it's very likely a bug in the drivers of your other controllers which don't handle unknown DI Escape commands properly. This is the kind of problems you can run into when you're using hacked DLLs & co.
I've been concerned about this problem all along, but DInput won't tell me if the device I'm trying to send the LEDs command to really is a G27. I'm opened to suggestions here, but checking the device's VID/PID appears to be impossible the way one would expect to be logical.

As a workaround you could create a small batch file that would rename the dinput8.dll to something else and launch LFS and use that to start LFS with G27 disconnected.
MadCatX
S3 licensed
I believe that the redline value means the RPM when the LEDs start blinking, not when the first red LEDs light up.
MadCatX
S3 licensed
I'm with cobra on the PSU. I'd definitely not try to power the machine up again with this power supply. It's possible that a faulty DVD drive short-circuited either 5V or 12V rail on the PSU which could damage other components too.
If you can, get a PSU that you're sure is OK and try it again with that...
MadCatX
S3 licensed
LFS cannot change the range of the wheel directly, some 3rd party mods like LWR might do what you want...
MadCatX
S3 licensed
I saw this kind of lights done in LFSLapper. It was nothing more than a button with a big . set as text.
MadCatX
S3 licensed
A 2.6.32 is a rather old kernel and although I don't recall the history of changes that far back, a recent kernel might be worth a try. Is your force feedback experience better with a native linux game or a testing tools?
MadCatX
S3 licensed
This is an interesting "get it right" contest, I'd use something like this to debug


public void callpolice(string Msg, string[] StrMsg, Packets.IS_MSO MSO) {
clsConnection Conn = Connections[GetConnIdx(MSO.UCID)];
if (StrMsg.Length > 0) {
bool FoundCadet = false;
foreach (clsConnection C in Connections) {
if (Conn.IsCadet == 1) {
FoundCadet = true;
InSim.Send_MTC_MessageToConnection("^1-^7 Please wait for awhile your Call is Accepted!", MSO.UCID, 0);
C.PoliceUsername = Conn.Username;
Conn.PoliceUsername = 1;
} else {
InSim.Send_MTC_MessageToConnection("^1»^7 Connection" + C.UniqueID + " is not a cadet.", MSO.UCID, 0);
}
} else {
InSim.Send_MTC_MessageToConnection("^1»^7 Invalid command. See ^2!help^7 for a command list", MSO.UCID, 0);
}
}
}

Last edited by MadCatX, .
MadCatX
S3 licensed
This is the kind of debugging you really have to do yourself. I'd start with listing the contents of Connections collection to see if the IsCadet flag is set correctly.

Quote from impresora :You did not created. I sended it to you.

1 - You strealing my code.

Am I the only one who sees the contradiction here?
MadCatX
S3 licensed
Installing software to your desktop folder is incredibly stupid in the first place. The installed deletes everything in the LFS directory to make sure there are no leftover setups or custom skins after uninstallation.

You could try some file recovery software like Recuva, I don't see what else you could do.

Just BTW, putting ANY important files into your desktop folder is a bad, bad habit, I strongly suggest you don't do that...
MadCatX
S3 licensed
Quote from cargame.nl :
And discussing more ways to hack and forming a community to share those ideas more actively and thoroughly, yes.

Like modders weren't a community long before LFS introduced the possibility of running modified servers "legally." Discussion of ways to mod things can be very educational and informative for some people BTW...

Do you have an actual proposal what should or could be done, or are you just trying to get this everlasting problem some extra attention?
MadCatX
S3 licensed
Quote from cargame.nl :
Same problem exist nowadays, this modified=yes servers are a gathering of people to find ways to cheat on legal servers in LFS.

Do you really think there'd be less cheaters if the modified flag didn't exist? This way the modders have a playground where they can run their hacked stuff and stay away from serious racers. You're also discounting hacks that can't be detected by any kind of currently used CPW. Do you know a game where cheating was completely eliminated by an ultrasmart anticheating system? I don't...

Cheating is not a technical but a moral problem. If there is someone pathetic enough to run some sort of exploit to win races, I honestly feel sorry for such a person - what kind of pleasure can one possibly have from that is beyond me. You can't write an algorithm to make people think straight...
MadCatX
S3 licensed
If you won't be able to get it working anywhere, I guess I could tweak a few out-of-specs hacks in the source... I didn't really debug it as I made it as an ad-hoc tool for myself
MadCatX
S3 licensed
I wouldn't know, but since it's not all that hard to figure out, I guess it's quite possible...
MadCatX
S3 licensed
I've got the PID implementation working and tweaked out. I suppose I could make a public release pretty soon.

http://youtu.be/plA6eQWhpuo?hd=1
MadCatX
S3 licensed
IIRC speedhacking is done by altering the variable that holds the car's speed directly in the memory. Ever since CheatEngine every kid can do that. I don't think there is anything that can be done about this except for some memory encryption or continuous memory randomization.
MadCatX
S3 licensed
Great, although the article was somewhat too extensive for a quick reading, it contained some most valuable info, thanks a lot. BTW, this sort of PID controllers for dummies is a good reading too if you're looking for an example of practical implementation.

Anyway, I got the basic PID implementation working and it performs very well - it quite successfully attempted to hold the speed even when I slid the FZ5 into the grass. Once I fine-tune all the gain values, I'll post another vid if you guys are interested.

When I get all the compatibility and cheating issues sorted out, I'll post the mod itself.
OK, enough coding for today, time for a GN drink and bed...
FGED GREDG RDFGDR GSFDG