The online racing simulator
Searching in All forums
(31 results)
1
bukhem
S2 licensed
Hi,

I just found your Fanaleds in Thomas' blog and would like to betatest.
Running a GT3RSv2 with CSPs I think I can test all the implemented features.

Greetings, buk
bukhem
S2 licensed
Quote from bukhem :I can see a resolution for 1680x1050, which is the resolution for a single monitor. Anything wrong in my Windows settings?

Fixed.
bukhem
S2 licensed
Quote from Scawen :Go into Options... Screen. Can you see a mode whose resolution is the same as your desktop?

If so, then click that resolution.

If that works (LFS goes full screen over two screens) then you can follow what I said in this other post :
http://www.lfsforum.net/showthread.php?p=1281581#post1281581

I can see a resolution for 1680x1050, which is the resolution for a single monitor. Anything wrong in my Windows settings?
bukhem
S2 licensed
Folks, how do I spread LFS over two monitors?

Windows uses both as one big desktop.
I set LFS to use one monitor in the middle, one on the right.

Resolution is set to 1680x1050.

Any hints, please? Would love to try the new features.

Cheers.
bukhem
S2 licensed
I know this is a difficult questions for such a project but ... WHEN?
bukhem
S2 licensed
Quote from goerge :Why?
- just try if I can make it

Features
- latest InSim version (Patch Y; INSIM_VERSION = 4)
- development version of client (only UPD for now)

Where to get it?
- http://sourceforge.net/projects/insim4j/

Notes
- packets have JUnit tests
- logging

Sample usage is in test/net/sourceforge/insim4j/General.java
Testers welcomed

Hi.

Am I correct that you lib (currently) doesn't support OutGauge Pakets?

Cheers.
bukhem
S2 licensed
Is it me or is the Sourceforge-Respository that <f-word> slow?
bukhem
S2 licensed
+1
bukhem
S2 licensed
Quote from Brilwing ::banghead:

Sorry, i though you want only one unique id for a driver (combine connection id and player id). I should read the posts more carefully

If you will create a patch that rename the getId methods and replaces it with a more readable getConnectionId or getPlayerId, then I'm on your site and will include the patch in JInSim.

(Note to me: first read, then think, then write an answer)


Good to read that, I just thought I had pissed off the devs.

Ok, I'll try to clear things up a bit and provide some patches.
Are you using Eclipse as IDE?
Any thoughts about switching to SVN?

Cheers,
buk
bukhem
S2 licensed
And the InSim documenation (or Scawen) tells you how to name, or more importantly document, functions in your library? :wtf2:
bukhem
S2 licensed
Good morning folks.

Is it possible that there is some inconsitent namen of "IDs" in the library?
If I got that right, there are two IDs per player.

1.) The "connection"-ID, given to the player during the connection.
Sometimes this id seems to be refered as getId() or getConnectionId(), depending on the InSimResponse-Class

2.) The "event"-ID, given to the player when he takes part in an event (race,qualy). I'm just guessing here, didn't really check when an "NewPlayerResponse" gets triggered.
This id seems to be refered as getId() or getPlayerId() depending on the InSimResponse-Class

I'd will to prepare some patches against the current HEAD when there is a chance that they will be at least checked.
I'd try to add some documentation as well, cause that part seems to be missing in some classes.

Greetings.
bukhem
S2 licensed
Quote from bdshan :After the client connects you can request the list of connections and players.


// request for connection info
client.send(new TinyRequest(Tiny.ALL_CONNECTIONS));
// request for player info
client.send(new TinyRequest(Tiny.ALL_PLAYERS));

After getting the initial list above you need to listen for new connections and players by checking the packet type in your packetReceived and then dealing with the appropriate type (NewConnectionResponse or NewPlayerResponse).

Thanks, works like expected.
Get all players on connect
bukhem
S2 licensed
Hi.

I currently wonder how I can get a list of players that is currently connected.
I'm writing a small app that keeps track of lap and split times and therefor would need a list of existing players when it connects to the LFS-Client.

Thanks for your help.

Greetings.
bukhem
S2 licensed
Hi.

I hope one of you guys has an idea on this ...
I run a dual-head setup here.
The main screen shows LFS, the second screen - an 8" touchscreen - shows my application.

That all works pretty good as long as I dont run LFS in fullscreen mode.
When I do that I don't get any mouse events anymore on the second display.
Running TouchBuddy excatly that is working, I just don't have an idea on how to get the mouse back on the second display ...

So, any thoughts?

Thanks and greetings.
bukhem
S2 licensed
Hi!

I just have two quick questions ...

Is this still active? Any changed need for Patch Z?

Is it possible to get the temperature of the wheels? and if so, how?

Cheers,
buk
bukhem
S2 licensed
C# in 21 days
aroX123, how old are you?
bukhem
S2 licensed
As you might know from other threads I'm coding an app to run on my PDA, which it actually does.
So fiddling with memory is neither an option nor what I was looking for.

Any other ideas accessing the pitstop settings?
I might "/press f12" and send the appropriate keys to set the what I want. Though I doubt the default settings are always the same or predictable ...

*thinking*
Control Pitstop actions via InSim?
bukhem
S2 licensed
Hi.

As I haven't found anything usable in the forum I'm just asking:
Can one control what actions will take place during a pitstop via InSim?

E.g. how many fuel gets in the car, change wheels, etc ...

I'm currently using LFSlib.NET, so if one have working example I'd be even more happy

Cheers,
Michael
bukhem
S2 licensed
Definetly +1 from me too.
Other than folders a simple filter selecting certains just for the current track would be good too.

Cheers
bukhem
S2 licensed
K, just a quick notice.
With the last revision I checked I watched 30 minutes of an online race. Displayed outgauge data, send messages, ... seems to work as expected.

No NullPointers, everything was fine.

Cheers,
Michael
bukhem
S2 licensed
Quote from sdether :
Hrmm.. haven't checked .NETCF 2.0, but 1.0 didn't have System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.. so if that's still the case, then you're solution is the one to use.

Yeah - that's still missing and I already changed the whole source like planned above. Let's see what other problems I run into tonight.
bukhem
S2 licensed
My changes are checked in. The project compiles now with CFNET 2.0.
I didn't check against my current working version but AFAIR there are a few things to workout so it will run as well.

Will do that tonight, I guess.

Cheers,
M.
bukhem
S2 licensed
Quote from sdether :The newest version, along with SVN source access, bug and request systems and all the happiness that sourceforge brings, is now up at http://sourceforge.net/projects/lfslibnet/

I created a branch for the migration and added a new (pocketpc) project named LFSlib.CF into it.
VS defines a precompiler constant(?) named "PocketPC" by default for such projects, so I'm going with that in the source.
Currently I think about "tricking" the logging stuff with that:

#if !PocketPC
using log4net;
#endif
[...]
#if !PocketPC
private static readonly ILog log = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
#else
private static readonly LogFaker log = new LogFaker();
#endif

Of course LogFaker implements everything from the ILog interface.
Any thoughts?

Cheers,
Michael
bukhem
S2 licensed
Quote from the_angry_angel :Erm.. I think you're confusing LFSlib.NET and LFS_External bukhem :o These are 2 independant projects.. Or have I lost the plot?

Nope, I've been kind of waiting for LFS_External too as I didn't get LFSlib.NET working with .NETCF, until yesterday.

As LFSlib.NET is much further developed I'll use it for my project.

Cheers.
bukhem
S2 licensed
As mentioned earlier I will (try) to make the lib work with the CF (compact framework) so it can be used on Smart-Devices.

Currently v0.16 already runs on my iPaq with PPC2003.
:leb:

Waiting for the release on SF.

Cheers,
Michael
Last edited by bukhem, .
1
FGED GREDG RDFGDR GSFDG