So.. I finally have to admin that I don't know how to convert an array of bytes into a float value (yet), hehe. But there's 2 things confusing me.
I'm using C#, very similar to Java.
1) You have a byte value of -128. Isn't the datatype "byte" also a non-signed numeric datatype in Java? That means it cannot hold negative values? If so casting -128 (as integer) to a (byte) will make it 128 (positive).
2) In LFS.Live I'm often using the "BitConverter" class. Maybe you have this in Java as well and "float" is probably called "single" as well as in C#. I don't have the ToFloat() available on a (byte-)array for example. Maybe lets change the negative sign from your -128 and it turns out to be 1.0 as result as well.
After all, the following code gives me 1.0f as output:
byte[] value = new byte[] { 0, 0, 128, 63 }; float floatValue = BitConverter.ToSingle(value, 0);
Method explained:
Returns a single-precision floating point number from four bytes at a specified position in a byte array.
BitConverter.ToSingle(byte[] array, int startIndex).
Yes, it is possible. The server sends like every message you'd see as you were ingame through InSim, thus making it possible to read all the chat going on, as well as messages (votes, pits, other messages...).
Also it is possible to chat back as the "host". Where "host" is the actual "PlayerName" in the cfg.txt of the server (not the HostName) iirc. A utility would also be able to change a wide variety of server settings (e.g. kick/ban, restart, end race, change track, laps, ...).
...anyway, didn't laugh about your thread at all :P
Aye... the physics demo video doesn't look that bad and you're right... one has to try it out at first but it looks promising. I also like the Trailer, some "racing" would've been nice though...
Unfortunately PS2 + Equip + Game would be too expensive for me and in he end, I'd miss the simple and great online mode, I guess
I have never worked with OutSim yet and don't take it serious if I'm wrong but make sure you are converting the raw data to float values (datatype float (4 bytes as well) not double or int or others).
Although the README and InSim doc confuses me... the InSim doc says:
It's done, when it's done! And when it's done, I can also turn on windshield wipers and adjust side mirrors in addition to the turn signals illepall *dreams on*
Hm.. I'm not sure about this. It may be some server running LFS Tweak to modify some car to be similar to a BMW-M5 3.8L or the server is blocking incoming connection due to a firewall or router.
If there was other people than it sounds like it's rather some LFS Tweak setting.
Note to everyone who is not familiar with "tweaking", you can't tweak your car to 5000hp and join a server, you can't join a regular server at all if you change anything. You can play offline for your personal joy, for example tweaking yourself some BMW M5 3.8L
Congratulations to all teams! 24 hours is a real challenge over and over again!
There were so many people actively involved again, it's just awesome! And the whole thing all around it (if you get up and go get it!) brings you very near to the race, the tracker, the streams, the interviews and all that kind of stuff
I actually don't know what "LFS Lapper" is, but if it doesn't need any user to control some UI first but can be started via commandline it should be possible with web languages (eg PHP, ASP?) to start executables.
Last time I was working on my project, I was doing some gap-message function, sending your own client some message about the driver in front of you and behind you about the gap + split/lap time. Quite more difficult than I thought
I turned on the virtual lights because sometimes you'll start where you can't see the real lights and I start counting in my head. 3 seconds from the first red lights, on zero it goes to green like: Red, Red, Red, Green!
I never floor the pedal because the engine still makes popcorn sound when revving it to the max. I found out starting with wheelspin in the XRR is much better than without, since I don't have a clutch pedal to further optimize a start off the line. Though you are right, it needs some concentration to not spin around in the middle of the field =)
For FWD cars I do like most people over here and trying to reduce wheel spin as much as possible and I rather keep some wheel spin than underrev.
I hope they'll feel slightly p...ed off, for they cannot ruin this great game
Anyway, I'm in no doubt that $$$ offers raise with every stage of LFS, also with no doubt S3 will be one of the best sims outthere for a very long period of time
I don't think that most people care about Credits anyway. They're just like junk you are collecting, because you think "Mmh.. I might need it some day", but you won't need it unless you throw it away and a short while after you really need it
Noone yet knows if they ever will be good for something and what that may be, there were lots of suggestions and ideas though
I was running late, sorry for that. Too bad, there was no way to join in the midst of the race as I can read while looking for some information on a password, I was used to. I'm surprised by how the server was set up, never seen it before. I'd even finish 15 laps behind
I'd like to join as well, if I don't need to be registered anywhere in some season, then this will be the next race on my calendar for I'll not be drunk this newyears... not very much ^_^
Yay, another vertigo \o/ ... oh no wait, it's no vertigo
So... hm I voted for some classes I actually like. Since my favorite is the XRR, even if I'm just moderate/good in speed, it would be kinda boring with GTRs only. If it shouldn't be a GTR only championship, I'd like to see XFG/XRT, TBO, LX4 and the GTR cars on the lists.. maybe a FOX race as well