The online racing simulator
Searching in All forums
(314 results)
DarkKostas
S3 licensed
There are only 2 folders, DrivingForce and G27 and both of them are empty(only containing [Default] REG_SZ)
DarkKostas
S3 licensed
Leds are not working on LFS.
DarkKostas
S3 licensed
I have set everything correctly but here is what i get.
Quote :
LogiWheelRange v.:0.01 starting...
InSim address: 127.0.0.1
InSim port: 29999
Admin password:
Auto AltTab: 1
Restore delay: 1000
Beginning registry probe...
Total subkeys found: 2
Probing subkey with index 0
Note: Cannot find DWORD OperatingRange in subkey name DrivingForce
Probing subkey with index 1
Note: Cannot find DWORD OperatingRange in subkey name G27
Critical: No registry entries for supported wheels have been found!
Bailing out!

http://img833.imageshack.us/img833/480/profsettings.png
(profiler is Greek, but its not that hard to understand, all profilers have same format)

EDIT: Im using Windows XP SP3 and last version of profiler 5.10.127 6/14/2010
DarkKostas
S3 licensed
Check this thread
http://www.lfsforum.net/showthread.php?t=68510

Project is dead, because there are some problems. (Its not working)
DarkKostas
S3 licensed
Using Outsim and special coding will make it possible. These values exist at Outsim, thats for sure.
DarkKostas
S3 licensed
Quote from Gaiajohan :Maybe it would be useful to have the latest reply of a dev about the progress in a closed sticky, so everyone can find it easily. Maybe it helps against the cry-topics about the subject made by mostly demo licensed persons..

Quote from Scawen :The reason I don't make progress reports is not contempt. It just doesn't make any sense to me to do, say, monthly progress reports. One of them says "I'm working on the tyre physics" and then the next month "I'm still working on the tyre physics" and so on. I just want to say something when there is something interesting to say. But the tyre physics has been a lot of development, a lot of testing and trying new things, finding it did some things well and others not so well. Changing some things, looking for reference material to refine constants, taking a break, coming up with a new idea to test, trying it out, taking some wrong turns, investigating something that turned out impossible, rewriting something, finding a better result, and so on...

Asking always the same and same. Just wait. What difference will be if you know that he succeeded to do something? You still wont be able to "play" it. We know he is working on LFS, very hard and thats enough.

Quote from Gaiajohan :cry-topics

you are already doing a cry-post now
DarkKostas
S3 licensed
Quote from logitekg25 :how do you program something like this

it isnt within LFS's limitations to do something like this? do you still have the mirrors, and gauges, or no?

He is using some kind of Memory Edit. You cant do it with outgauge/outsim.
DarkKostas
S3 licensed
I tried it and hresult equals to "Something Else"
DarkKostas
S3 licensed
:bananadea:bananadea:bananadeaHow did you put bale object at BL3?:bananadea:bananadea:bananadea
DarkKostas
S3 licensed
Ok now program is working. I get the
Connection Established, receiving data, but i dont see any leds working...

EDIT: Enable debug, so i can tell you what is going on.
EDIT2: I forgot that parameter works for debug. I enabled it and i prints correctly the RPM and also
"RPM data sent to Device ID = 0"
DarkKostas
S3 licensed
Very nice suggestion. As you said it would help very much for making videos without having cars jumping or driving left-right and then straight ahead.
DarkKostas
S3 licensed
I forgot to say that im on Windows XP SP3. I tried to compile it, but im having the same problem as i had when i tried to make this program by myself. Missing dininput.h(i know that i have to download the DirectX libraries). Also what is ATL? (im totally new to programming and everything i learn was from the example of C# insim)

EDIT: Do you need all these .cpp files? About FB and other things?
DarkKostas
S3 licensed
Still doesnt work. Same error. Im having the latest Logitech software(thats why G27 works, this is the last version including the G27).

I tried putting it on C:/ and run it but still same(tried also with parameter)
DarkKostas
S3 licensed
Can you include horizon an vertical rotation? So we can load easily multiple custom views by opening the files. Also i found a bug, if you press Load File and do cancel, program crashes.
DarkKostas
S3 licensed
It says
"Software didnt start because settings of parameters are invalid. Reinstalling the software may fix the problem." (translated from greek)

Yes i have already installed the libraries and also i tried to run it like that by creating a bat file and adding "start g27led.exe 0"
also i tried creating a shortcut with this destination
["C:\Documents and Settings\Dark_Kostas\Επιφάνεια εργασίας\g27led.exe" 0]
without the []
DarkKostas
S3 licensed
When im trying to run the .exe im getting an error something about parameters.

What will happen if you change the
"int _tmain(int argc, char** argv)"
to
"int main(int argc, char *argv[])"
or just
"int main()"
Last edited by DarkKostas, .
DarkKostas
S3 licensed
Im in! But i dont know if 128kb/s can handle 47 players. Even me with 320kb/s upload speed, after 7 players connect, server is really lagging. I could host the server to try it, but now with exams times are difficult
DarkKostas
S3 licensed
Quote from DarkTimes :Heya - I posted a short C++ OutGauge example a while back.

http://www.lfsforum.net/showthread.php?p=1352574#post1352574

Thanks it works great
But it wasnt working while i was Adding to link ws2_32.lib

So i added this to your code
#pragma comment(lib, "ws2_32.lib")
DarkKostas
S3 licensed
Can someone give an example of Outgauge in C++? Something similar to the C# example but in C++.
DarkKostas
S3 licensed
Quote from Napalm Candy :Program it your self with the SDK and the VB6 example on this forum to connect to Outgauge, or wait if anyone make it first.

SDK is in C++, so how can you convert it into VB? or at least C#?
DarkKostas
S3 licensed
After 1 month of learning C# and Insim usage i managed to do it myself Here it is what i wanted to do


private bool IsConnectionAdmin(clsConnection ID)
{
if (ID.CanBeAdmin == 1 || ID.IsAdmin == 1) return true;
return false;
}

Usage,

if (IsConnectionAdmin(Connections[GetConnIdx(MSO.UCID)]))
{
//the rest of the code

DarkKostas
S3 licensed
Thanks, nice idea. This will work too
DarkKostas
S3 licensed
Quote from MariusMM :I might of misunderstood the question but something like this maybe;

I do not want to use every time in my code
if(Connections[GetConnIdx(MSO.UCID)].IsAdmin == 1 || Connections[GetConnIdx(MSO.UCID)].CanBeAdmin == 1)

I want to type this instead

if(IsPlayerAdmin(Connections[GetConnIdx(MSO.UCID)] == 1)

But how can i make this? ^^
Just to have smaller code.
Last edited by DarkKostas, .
C# LFS_External Function
DarkKostas
S3 licensed
I want to make a function that will combine these 2 things.

1.Connections[GetConnIdx(MSO.UCID)].IsAdmin
which means Admin with server password

and this

2.Connections[GetConnIdx(MSO.UCID)].CanBeAdmin
which means Admin based on admins.txt file.

How can i do something like IsPlayerAdmin(Connections[GetConnIdx(MSO.UCID)])
which will have

Connections[GetConnIdx(MSO.UCID)].IsAdmin == 1 || Connections[GetConnIdx(MSO.UCID)].CanBeAdmin == 1

I am new to C#, so i dont know how to make it. Could you give me an example please?
Last edited by DarkKostas, .
DarkKostas
S3 licensed
Maybe it is wrong? Did you edit the "config.txt"?
FGED GREDG RDFGDR GSFDG