The online racing simulator
Searching in All forums
(167 results)
Brilwing
S3 licensed
Quote from GabbO : I created them with my connectionId, so it should be visible for me. It hard to do without docs

Yes with your connection id you should see the button.
Brilwing
S3 licensed
Quote from GabbO :Hi there!

Is there a documentation for the JInsim package? I started to do something with and inside game gui (clickable buttons, fields, whatsoever). But i actually couldnt find out how to create a button in the game. The ButtonRequest thing sounded promising, but without docu or source code i have no idea what it does.

Or if JInsim isn't the way to walk, lighten me up

There is only the java api docu, but you can have a look into the examples that are in the jinsim package or in the svn.
For a simple button see:
http://jinsim.svn.sourceforge. ... ton/Main.java?view=markup

I hope that helps
Brilwing
S3 licensed
I checked the jinsim source and both flags are not implemented yet in jinsim :ashamed:

I've added this to my todo list for the next release, but I cannot give you any estimation when this will be done.
Brilwing
S3 licensed
Quote from ekze :Hello!

Attaching new Russian translation file, with 2 lines added.


And how do I change language in last version of SIG? Can't find anything in configuration.. Is it using system language?

Thx, I have added your changes to my sources.
Brilwing
S3 licensed
Do you use the latest SIG version 0.3.2?
If so then check the log checkbox in the configuration. Then restart SIG and then a setupgrid.log file is created the the SIG directory. Can you attach this logfile here or send it to me via mail.
Brilwing
S3 licensed
Quote from Riel :Speccing an other car probably.
I have seen this behavior also.

Maybe, I have to test this.

Quote from Riel :
other thing:

In CTRA, during trackchange, /o setup is possible.

In those screens, the field to choose your combo and set pops away in a few seconds, you have to be really fast.

It is usefull to quickly grab a set for combo's you don't have setup yet, so maybe you can take a look at it in future

I don't know the CTRA servers and if they use buttons for displaying some infos. If so, this is can be the reason for this, and I don't think this issue is solvable.
Brilwing
S3 licensed
I have done this on liveforspeed.at where users can register and participant in the austrian championship. The league tool I have created is a module for drupal (http://drupal.org), so with drupal I get a registration page and a signup feature.

The league tool itself covers all the features you describe, e.g.:
- Show race statistics similar to lfsstats: http://liveforspeed.at/?q=league/results/120
- Calculate the standings: http://liveforspeed.at/?q=de/league/standings/10
- Manage multiple leagues with different rules

The data for the league tool is created with a second tool called racecontrol. Racecontrol creates a stats file with the race result, laptimes etc. and this stats file can be uploaded with a web form so the data is stored in the database for the league tool.
Racecontrol can be used with a mpr file, or also can be connected to the lfs server itself. With the second option you also get a tracker: http://liveforspeed.at/?q=en/oelfsmtracker

I manage the austrian championship with my tools since 2006, but this tools are still work in progress. There is also no documentation how to install this and how this works. This is the main reason why I have not yet announce my software it the programmers or tools section here in this forum.

So there is only the source code until now:
League Tool: https://openbakery.org/svn/rep ... nk/drupal/modules/league/
Charts: https://openbakery.org/svn/rep ... upal/modules/league_graph
Racecontrol: https://openbakery.org/svn/repos/trunk/racecontrol/
Brilwing
S3 licensed
Quote from RocksGt :
I don't know if the JInSim have a better method to deal with an multi server app

No, JInSim dones not have a code to deal with multiple clients. If you have such code and you would share it, I could include in the future version of JInSim.
Brilwing
S3 licensed
Quote from Syfoon :Strange bug, sorta.

Was at SO1 (CTRA Race 1) in the XRG. /o setup'd and it downloaded an XFG setup instead.

I have tested this and cannot reproduce your issue.
I am on South City Classic with the XRG and I get one setup displayed that is correct: SO1_400Go_spr
Can you activate the log file in the config and attach it here. The logfile can be found then in the SIG directory an is called setupgrid.log
Brilwing
S3 licensed
Quote from josepmaria :SIG-0.3.2 working fine here
Many thanks for that useful aplication !!!
I think I can send you a SPANISH and a CATALAN translation, but ...

Thanks. I will include the translation in the next version.

Quote from josepmaria :
How do you change the language? I cannot find the way

The system default language is taken, so if your windows is set to catalan, than the translation from the setupgrid_ca.properties should be taken.

The language code must be ISO-639-1 (2 alpha characters): http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
Brilwing
S3 licensed
Can you try this version: http://liveforspeed.at/download/SIG-0.3.2.exe

Changelog:
- fixed configuration dialog error
- updated the resource handling so that UTF8 encoded files can be used
- added a checkbox to the configuration to activate the log file
Brilwing
S3 licensed
Looks like a problem with the configuration. I can verify this issue now on my machine and I will look into in as soon as I find time
Brilwing
S3 licensed
Tested the xml upload yesterday and it worked fine. Good work Victor
Brilwing
S3 licensed
I have created a new version that should fix the download issue:
http://liveforspeed.at/download/SIG-0.3.1.exe (self extracting archive)
Brilwing
S3 licensed
Quote from NagashTheBlack :I saved the file, got the error again, but no .log file was created.

What do i do

Start LFS with SIG
Get the InSim text
Choose Multiplayer game
Choose any server
Choose any car
I type /o setup
Table with available sets apperas
I click Get Set
Nothing happens
I type /o setup again
Now nothing happens at all (no table)
I spectate from race
I join the race
I type /o setup
I get the table
I click Get Set
Nothing happens

And so on...

have you restarted SIG after saving the log4j.xml?
Brilwing
S3 licensed
Quote from NagashTheBlack :I have a problem with SIG, when i click Get Set nothing happens. Moreover, i can`t run the /o setup command until i do spectate > rejoin the race. Any suggestions?

can you activate the log file reproduce your error and then send me the log file: see http://setupgrid.net/sig#three-1)

please also describe the steps you perform unit you get the error e.g.
1. start single player race
2. select XFG as car
3. select BF1 as track
4. started the race
...
Brilwing
S3 licensed
Quote from Myffe :I have same problem.ITS SO FUC**NG NOYING!!!:hbomb:

You try SIG with a clean installation of LFS and see if this happens again.

If so, see the FAQ how to activate the log files, end send the log with a description of what you do to the mail address displayed in the FAQ.

Please also answer the following questions
- Does SIG start LFS?
- Do you use other programs that uses insim, and if so, what programs?

Without the log file I can only guess :sorry:
Brilwing
S3 licensed
I also have multiple hosts running on one machine and this should not be a problem at all. When you have one host running on port 29999 and the other on 29998, and you specify 29999 as port in jinsim, all should be working fine an the communication should all run on the port 29999.

You do not need the udp port for the insim communication, only when you use outgauge and outsim then the udp port is needed as far as i remember.
Brilwing
S3 licensed
Quote from RocksGt :
One more doubt... Is there any way to connect to a server by his name. I mean, now I'm connecting by the server IP but it would be much better if I could connect using only the server name. Maybe connecting to the Master Server and asking him to resolve the IP by the name?

AFAIK you cannot resolve the IP using the master server, so you need to know the IP adress or the hostname.
You can also use the insim relay. Here you can connect using the server name. You will get all InSim data through the relay, but sending insim request packets is limited. (see RelayClient.java in the jinsim source code)
JInSim also contains an example how to connect to a host via the insim relay.
Brilwing
S3 licensed
If you have configured a insim password in LFS you also need to enter the same password at the SIG config.
If you do not have an insim password, the password field in the SIG config must then be empty.
Brilwing
S3 licensed
Can't wait for an automatic result upload with a xml file or something similar, cause manually adding the result is :nut:

What I miss is a RSS feed of the news, but I hope that this will come in the future.

Maybe some news categories like league announcement, race announcement, result, etc. make sence?

Nevertheless good work.
Last edited by Brilwing, .
Brilwing
S3 licensed
I want to register the austrian championship league, but if I press the 'Register a league for news submission' nothing happens
Brilwing
S3 licensed
Quote from RocksGt :
Another question... can a single program connect to several LFS-Servers and listen to all of their responses or may I run one execution of my app for each of the servers I want to receive data from?

It should be doable, but jinsim has no support to identify from which server the packet comes from, so you have to keep track of this by yourself.
Brilwing
S3 licensed
I would be pleased if I can help you testing. I run the Austrian Championship and the A-Cup. The Austrian Championship is only for Austrian Drivers and the A-Cup is for german speaking drivers. At both leagues 2 races are already done and 9 are coming. The next race is in about 2 weeks.
Brilwing
S3 licensed
About Button with Split times and a PlayerVO object...
I'm currently working on a tool that I call RaceControl, that does this stuff. But it is not stable enough to release it. RaceControl is OpenSource (Apache 2.0 License) so you can investigate my code here: https://openbakery.org/svn/repos/trunk/racecontrol/

The PlayerControl.java class is where I create my Driver object (=PlayerVO).
You can investigate the Board.java class, here I display the last three laps with button to the current driver.
FGED GREDG RDFGDR GSFDG