Too many? 239 buttons ids can be used, so I assume I can use 239 buttons. I display not more then 30 buttons at one time.
What du you mean with the wrong way?
What I do is that if a button is shown and I want to change the text, then I send IS_BTN with the same values but the new text. I do not send a prior clear.
If the buttons are not shown I never had this kind of disconnect. This disconnect only happend to me twice, and I have done lots for laps with the buttons activated.
Nation: Austria Number of Registered LFS Users: 1523 Other information : Also raced in the LFS Nations Cup. We have a well working community and a national league, that is currently in the 3rd season with a good and constant number of participents.
In the last time I had two disconnects from LFS and got the error message: Avoiding buffer crash (OK)
I never had this kind of disconnect before and the only thing that had changed was, that I have extended the LFS-Dedi with an InSim application that displays the recent laps to the current driver.
I use buttons to display the information and I have the suspicion that this extension is the cause for the disconnection. So is it possible that I have a bug in my program, so that some wrong data is send to the client, that causes the crash?
Here is a screenshot of an early version of the extension:
If someone wants to see this live, just join one of my servers ( \\\liveforspeed.at or \\\f1challenge ) and enter the chat message '/i board'. (Currently a restart of the race is needed to see the times)
I have made a countdown timer on the website some time ago to avoid this kind of questions
The countdown indicates when the qualification starts: http://liveforspeed.at/f1challenge
As far a I know that is not right. Only a few people to not know how to behave, and for this I love the ban button
I also have banned people for bad language, so if someone uses 'special words' like f*** multiple times in the chat messages, then it is very likely that I use the ban button.
So be nice and drive clean and you will never get banned.
Sure it is possible. I write all my InSim programs with Java. If you do not want to start from the scratch you can use jinsim. You can find the latest version here: http://www.lfsforum.net/showthread.php?p=515910#post515910
The package also contains some example applications.
I'm the other way around. I use frameworks. Before I start to implement something, I searched if someone else has done this before. If I find something good I use it, if not I do it myself.
Ok, the main language I use is Java, and as Java-Developer you normally use lots of frameworks and libs (starting with apache commons).
But I also want to know how it works, so I prefere open source frameworks/libs, where I can read the source, to see how this works.
When it now comes to web-frameworks for Java, I must say that the major frameworks here (struts, jsf, ...) are not the holy grail, and every framework has it glitches. But in the end you are faster than doing it all by yourself.
One other good thing about frameworks is when you need additional developers (e.g. a company) then you can search for people that already have experience with this frameworks, and the time to familiarized with the product and work productiv is much shorter.
Maybe you should take a look at drupal (http://drupal.org). Yes, drupal is known as CMS, but is is very simple to write custom modules, because it has a good and well documented api for forms and database access and much more.
I have written a complete league managment as drupal module, and I think that I have never done this with PHP if I havn't already used drupal as CMS before.
I want to announce the start of the 3rd Saison of the Austrian Championship on the 28th October 2007. The first race is on Blackwood with the XFG, XRG.
This championship is for austrian drivers only, so every austrian that have not signed up and want some good races, come and join us.
All details can be found on our homepage: http://liveforspeed.at/oelfsm
But the second tool depends only on the gstats file format, or to be more precise the mysql db schema. I don't know rfactor, but if you have a results xml and convert it to my format than you can also manage rfactor league. Theoretically
There was a discussion about a common xml format some time ago, but nothing came out of it.
(I also mentioned there that a common xml format should be racing game independend: http://www.lfsforum.net/showthread.php?p=388497#post388497)
I don't know if this is already reported (i used search and found nothing).
The mpr that is recorded on the dedi has the wrong track stored. Today we raced on SO4 and I lost my connection during a thunderstorm power failure, so I used the mpr that was recorded on the dedi to create the stats. Watching the replay is funny because the track layout SO1 is used but the cars drive SO4. So the the cars drive though walls and fly round.
Hmm I don't have this exception when I run the hello world example. Nevertheless, I have updated jinsim that this exception is handled, cause it indicates that the jinsim connection is closed.
Hmm, I have tested this example only with LFS not with the dedi, so I don't know if the example works with a dedi, because it only sends a chat message. But you error message look like that you are using an older dedi version. Are you using the latest dedi version patch X?