I'm using 0.2.8_alpha20070403 server (pigsty patched). All commands that are send through server console are executed when 1st player enters the grid (as a player). I think this is bug. When 1st player connects mass settings are sends. Why it happens? Can we expect changes? Maybe one can write a patch?
It looks like it happens only to version 0.2.8_alpha20070403 (0.2.8.2.1 dediacted is free of this bug). I'll try to find who prepared this binaries. Anyone knows where the problem can be?
Not executing server console commands when no real players.
- p4
- On Lightcycle Grid
- Posts: 10
- Joined: Mon Jun 12, 2006 8:02 pm
- Location: 50°17'50.79"N 18°41'04.70"E
- Contact:
Not executing server console commands when no real players.
Last edited by p4 on Mon Jul 09, 2007 2:00 am, edited 1 time in total.

I always get a second or so delay here before the commands are executed. It may have something to do with standard input and standard output being linked; when you read something from input, all output is flushed. A reverse link (input is only flushed when you print something) may be possible as well. Anybody know details?
Another possible cause may be the select() system call that is called while the server is in idle mode to block until there is network traffic to handle. It gets told to return after 1/10 of a second if no data comes in, so this would be a bug in either the way it is called (time format transformations) or in the select() function itself. The call is new and was introduced after 0.2.8.2.1.
Another possible cause may be the select() system call that is called while the server is in idle mode to block until there is network traffic to handle. It gets told to return after 1/10 of a second if no data comes in, so this would be a bug in either the way it is called (time format transformations) or in the select() function itself. The call is new and was introduced after 0.2.8.2.1.
- Tank Program
- Forum & Project Admin, PhD
- Posts: 6712
- Joined: Thu Dec 18, 2003 7:03 pm