The online racing simulator
Searching in All forums
(235 results)
yankman
S2 licensed
With some experience in those endurance races .. it can clearly said, most crashes happen in first 50 laps. After that everyone cooled down a bit and most wreckers left the grid. So fcy should not extend the race for so long.
Last years race took about 4,5h with fxr. The xrr has an advantage in speed of at least 6 tenth per lap but the shouldn't change much in the overall length.

For me 360 laps is to long. But 190 laps is to short.
For strategy reasons there should be at least two pit stops be made even if ur tires can take 120 laps. So the race should be at least 240 laps.
How about having a 3.6 hours race ?
3.6h * 60 * 60 = 12960s / 40 s/lap = 324 laps
- 24 laps for a few fcy = 300 laps

I know some will say 40s per laps is to slow, but imagine ... u running on hard tires with a lot of fuel.
yankman
S2 licensed
Quote from finlay :Yankman, It is for people that are on the lead lap. But the Blue flag message overrides it.

No, I am with u not against. I said if there is a fcy given out, there should be a message in the centre of the screen (like it is now) and at least two time as normal message (in the upper left of your screen). Clear now ?
yankman
S2 licensed
I think if there is a full course yellow it should be in the middle of the screen and at list two times a normal message.
yankman
S2 licensed
Check the ports that are already used by your system.
With windows: netstat -an
With linux: netstat -ln
The port u want to use for lfs should not be listed there otherwise change it.
yankman
S2 licensed
For convenience change line 986 in wine-0.9.39/programs/wineconsole/curses.c
from
nodelay(stdscr, TRUE);

to
nodelay(stdscr, FALSE);

yankman
S2 licensed
Quote from the_angry_angel :
Yes it'll work, but its still producing all the errors unfortunately

Did u try to fix this issue in curses.c ?
yankman
S2 licensed
Problem here was that even with no nohup (which just prevents the app from getting standard signals) the wgetch function of ncurses returned with ERR when starting wineconsole out of a script. This runs the mainloop over and over again as fast as ur cpu is. (->hi load)

If I started it directly from bash it worked out. I have not idea why, could be even a ncurses problem.

So I thought give wineconsole a stdin,stdout and stderr and everything is fine. Just what screen does. Only thing in my command is, it gets the process id of the detached screen rather than wineconsole itself. But if screen gets closed it closes the wineconsole process too.


PS: I wonder how ur pal does all these things w/o knowing just a bit english.
Last edited by yankman, .
yankman
S2 licensed
I guess it is still not perfect.
If I tried to start wineconsole via shell script and it is still producing errors.
However I used screen as a workarround.
The actual command I use in the script is now:
screen -D -m $WINE LFS.exe /cfg=$CFGFILE & echo $! > $PIDFILE

Of course with WINE, CFGFILE, PIDFILE defined somewhere before.

Works forme so far.

I would be nice if the server could some get some load:
FPR | Public#1 0.9.39
FPR | Public#2 0.9.39
Last edited by yankman, .
yankman
S2 licensed
Ok looks like I found the console error.

In wine-0.9.39/programs/wineconsole/curses.c

enum init_return WCCURSES_InitBackend(struct inner_data* data)

ncurses is init with nodelay(stdscr, TRUE);

Which causes an instant return of static void WCCURSES_GetEvents(struct inner_data* data) together with the message "Ooch. somebody beat us"
cause there is no input waiting.

I change the nodelay to false, which causes a blocking call while waiting for input.
I compiled it and it seems to work.

If someone is interested in testing:
lfs://|FPR+%7C+Publicserver%23Test|0|S2|/
yankman
S2 licensed
Quote from MaKaKaZo :What do you mean by a dummy? You must have an x-server running with all the CPU and mem usage that it means? Or can you have it somehow "disabled" so you can save all those resources?

xvfb for instance ... it is a virtual x-server that need no display.
Also xvnc is possible which runs without a display but can be used with vnc clients.

But as long as I am not sure that the udp problem is fixed with 0.9.39, I will not install X just for testing
yankman
S2 licensed
Tried 0.9.39 myself ...also got this error ->
"fixme:curses:WCCURSES_GetEvents Ooch. somebody beat us"
yankman
S2 licensed
But running newer versions of wine will require an x-server ... at least a dummy, if i am correct.
yankman
S2 licensed
Maybe take the other way round and look for applications that are more popular then lfs and produce a high amount of udp packets (p2p, other online games) ? They should have equal probs.
yankman
S2 licensed
So the plan is to build a wine with debug symbols and use gdb for debugging.
The problem is u need to know when a problem occurs in first place.
Otherwise I have no idea how to recognize the problem from inside the debugger.
But anyhow, if u are ready to test give a sign.


PS: Has anyone ever thought about contacting the wine developers ?
yankman
S2 licensed
Quote from the_angry_angel :
Edit: for brevity I'll repeat my previous posts;
If the team are interested in providing a non-windows server, and are interested, there are multiple people including myself, who are willing to spend our own time on it, for free.

If anyone else is interested in this, and the team are not, then perhaps anyone with a penchant for reverse engineering network code would like to spend some time on this with me..?

What do you need for your testing ?
yankman
S2 licensed
It is logical that wine is the reason or the underlying os itself.
When using windows u don't have those problems
yankman
S2 licensed
Quote from HogaMan :I think this lost Yankman laps aswell.

I just checked the replay ... those 2 laps (first lap crash, second lap pitstop)
took 2:26. So if u think of an average lap of 26, I lost 1:34 in total which is
3.6 laps ... .
Is there a conspiracy ?
yankman
S2 licensed
My little race report after cooling down a bit.

Was starting in 4th.
First 45 laps was horrible, cause of the fcy.

I managed to keep in the top positions close to the leader.
Somehow I lost a bit at every restart but after a few laps I could
go the pace of the leader.

A few laps later I found myself in 2nd position right behind galindo.

In the next few fcy I was behind galindo, who did to much brake checking imho,
even when then pace car was in and the green flag was not given (just before the restart).

For the admins I like this to be reviewed: the leader of the all restarts after lap 25 till lap 55.

Around lap 70 I made a mistake while chasing strokes. I went onto the green with the rr tires. I spun out an hit the barrier. Mananged to not cause a fcy and waited for a clean spot rejoin.
Had heavy susp damage and good time for a pit stop (almost midrace).
Went into pits lost a lap to the leaders and lost another 2 laps cause I couldn't reset the car.
I was really annoyed and for the next race It should made possible to reset in a safe place !
Some may say it is the same for every racer but it is not. As I heard later there was a almost safe place to reset, but it was only known to a few ppl,
not fair from my point of view.

So I drove back on the road at least 3 laps behind the leader.
I pushed the hell out of the car, cause I was hopping to gain some laps in next fcy's.

After the next fcy was totally screwed up cause nobody stopped behind the pace car (which did not help my to gain a position , a decision was made that no car has to pass pace car regardless to the position.
And somehow I knew it before ... the pace car picked me up. Well I understand the admin to pick a safe driver (almost an honor for me), but at this point with this many laps back and after all this pushing, I was annoyed.

I lost all the time to the cars in front which I gained throught my last laps.
Unlucky me.

For last couple of laps I tried to push even more, set also the fastest lap.
Suddenly my rush was stopped by Ronald. I crashed with him, cause I was going to wide in t1, he let the door open but then gots to this inside and we hit each other. Just a normal race accident, if Ronald weren't just running for practise or whatever, even w/o a number.
I hope one of the Admins is reviewing his spectating/chatting/rejoinung/pitting/rejoinung actions through the whole race.

In noticed it in the laps before, but I was not able to ask the admins about. There was none in the vent chan and the track is to short to type safely.
@Ronald: Just one question, what was your intention by rejoing the race after leaving/specing for around 80 laps and then constantly pitting/rejoining ?

At the end I am 4th of 8 finished cars which is somehow a bad result.
I lost one lap through my own mistake.
Another 2 laps through the layout and I had no chance to fight me back into the lead.
Really disappointing.

@Stokes,G.Gab,Fin, sorry for hitting u while overtaking.
Last edited by yankman, .
yankman
S2 licensed
Running 2 Servers

FPR | Publicserver Patch X
FPR | Publicserver#2 Patch X2

OS SuSE 9.3 64bit
Kernel 2.6.16.27
Wine 20050211

From time to time there is the no guest information message.

But both servers never ever had heavy load.
Last edited by yankman, .
yankman
S2 licensed
Quote :Lap 23 #79, #0, #07s, #8, #42, #38, #91 | #0, #07s, #8, #42, #38, #91 pass #79 under under Caution | -10 pts. | #0, #07s, #8, #38, #42, #91

Yeah, thought it might give a penalty .... clearly my fault.
I guess if would have slowed down behind jb all the others would have done too.

A little explanation, if I am in front I try to catch the pace car.
For this I am asking for the pace car's position, looking at the minimap and going faster than the pace car (app. 200 km/h).
Which for me is a save way.

While passing jb. who runs far slower, I thought of a crashed car, which is going into pits. A few moments later I realized he was just really slow because of FCY.
At this point I had no option beside going on, because breaking would have caused a massive pile up behind me.

I have a question about the FCY procedure.
As I said if I am in front I go clearly faster than the pace car.
What is the preferred way ... going slower than the pace car an wait for it to catch me ?

Under normal conditions the pace car should leave the pits just in front of the leader. The leader can easy seen on the minimap.
yankman
S2 licensed
Will the final results for first race given out before second race ?
yankman
S2 licensed
For sure it does ... but somehow it must handle the huge amount of connections tries without locking itself.
yankman
S2 licensed
I guess there is still a way to go till lfs savely supports 32 players ...
yankman
S2 licensed
I was there ... wanted to join ... the join screen did not disappear.
I hit alt + f4 after that i could see cars but it stucks with the message "exiting..." .
Afterall i killed lfs with the task manager and now I always get the message a player is connecting
yankman
S2 licensed
Is there an explanation why u not use ur s2 account to do ur postings ?
FGED GREDG RDFGDR GSFDG