Mark Vejvoda
b57fb0ff39
- validation so admin client connected to headless server cannot change his 'control type' because this would invalidate his connection.
2011-09-28 15:51:13 +00:00
Mark Vejvoda
3bec8d3300
- compile bugfix
2011-09-28 15:34:03 +00:00
Mark Vejvoda
43ed4553ea
- more memory cleanup and thread cleanup (found using valgrind)
2011-09-28 15:32:57 +00:00
Mark Vejvoda
a3bf4bfe32
- modified the following commands so they don't required SDL video mode:
...
--help
--version
--show-ini-settings
2011-09-28 07:04:42 +00:00
Mark Vejvoda
aed293bba2
- fixed a bunch of memory leaks that will hopefully mean less overall memory requirements.
2011-09-28 06:57:42 +00:00
Mark Vejvoda
59246056bc
- bugfix for compilation in vc++
2011-09-28 04:41:02 +00:00
Titus Tscharntke
780cb81324
wherever you try to hide yourself, ultra cpu will find you too now after a while :-D .....
2011-09-27 21:51:29 +00:00
Titus Tscharntke
d6cef888a6
scenario icon does change after install
2011-09-27 21:26:22 +00:00
Mark Vejvoda
fe8e76efd8
- applied some memory leak cleanups
2011-09-27 20:35:45 +00:00
Mark Vejvoda
04b40ab476
- bugfix for endless loop on headless server when pressing control-D
2011-09-27 19:21:06 +00:00
Mark Vejvoda
0cf03a3562
- added option to quit headless server after game has completed:
...
./megaglest --headless-server-mode=exit
2011-09-27 18:44:01 +00:00
Mark Vejvoda
21005cc1e7
- in headless mode skip call to set window icon
2011-09-27 17:15:56 +00:00
Mark Vejvoda
ec554ffffb
- do not init SDL's video subsystem in headless mode
2011-09-27 10:25:31 +00:00
Mark Vejvoda
2a86cb4f7d
- added support for proper quiting and console input/output in headless mode. Type: quit followed by return into the console to properly shutdown in headless mode.
2011-09-27 10:16:09 +00:00
Mark Vejvoda
9caff9dac3
- in headless mode avoid init of sdl's video surface so that we stay in console window (no graphics window shown)
2011-09-27 07:01:08 +00:00
Mark Vejvoda
c68aa74fcf
- more updates for headless mode (try to avoid using opengl completely), server now runs at around 20 MB RAM at game start.
2011-09-27 05:29:57 +00:00
Mark Vejvoda
fdd04d10c1
- disabled jps for now and fixed ai multiplier for headless mode
2011-09-27 01:11:11 +00:00
Mark Vejvoda
d3eda7d0f2
- bugfix on older gcc compiler
2011-09-27 00:17:15 +00:00
Mark Vejvoda
048f97e698
- initial attempt to add jump point symetry to astar pathfinding (please test)
2011-09-26 23:55:18 +00:00
Mark Vejvoda
5a79cad34b
- do not load models or sound files in headless server mode
2011-09-26 05:29:52 +00:00
Mark Vejvoda
f5c7eff49c
- more bugfixes for headless server mode, attempt to fix crash when switching info fast and avoid render on battle end on server.
2011-09-26 04:50:13 +00:00
Mark Vejvoda
26d0b71bd5
- turn off mouse and keyboard in headless mode
2011-09-26 04:26:44 +00:00
Mark Vejvoda
9cd6355733
- some bugfixes for headless mode:
...
- don't render anything
- disable sounds in headless mode
(still need to add code to see if we can avoid loading models and graphics to make memory usage much smaller)
2011-09-25 23:57:42 +00:00
Mark Vejvoda
64d1e696b0
- compiler fixes for windows
2011-09-25 23:27:26 +00:00
Mark Vejvoda
da8e9d2af0
- changed commandline parameter to: --headless-server-mode
2011-09-25 05:46:51 +00:00
Mark Vejvoda
b6dd5e266b
- hardening the masterserver mode:
...
1. missing maps, techs and tilesets should no longer crash the server and server will revert to last valid value for each (server must have the data)
2. clients now get truly unique session id's which fixes client admin mode when connecting to masterserver
2011-09-25 05:38:35 +00:00
Mark Vejvoda
ebc174be03
- cleanup some compiler warnings
2011-09-25 04:09:54 +00:00
Mark Vejvoda
ece2927350
- attempt to fix command grouping
2011-09-25 04:07:59 +00:00
Mark Vejvoda
9268e3f5a7
- attempt to fix tomreyns segfault bug (mutex protection around cache)
2011-09-24 22:17:48 +00:00
Mark Vejvoda
da57a589ba
- more progress on masterserver, now the masterserver does not take a slot!
2011-09-24 21:07:15 +00:00
Titus Tscharntke
5dd3b4ba80
same settings like 3.5.2 so we can better compare performance
2011-09-24 20:30:41 +00:00
Mark Vejvoda
f0b795377b
- when masterserver game is over go right back to custom game lobby
2011-09-24 20:22:47 +00:00
Mark Vejvoda
4df997d0ca
- initial work for a headless server. Currently this code allows you to launch a server with the commandline option: --masterserver-mode
...
The first client that connects to the server is the administrator and is able to change most settings and launch the game. Still lots of work to do but this is a start.
2011-09-24 07:46:56 +00:00
Mark Vejvoda
4d31968966
- bugfix for team switching vote calculation
2011-09-23 19:31:47 +00:00
Mark Vejvoda
37fd0d6c71
- disable grouped commands by default until i track the segfault
2011-09-23 19:19:09 +00:00
Mark Vejvoda
42bbbd2e42
- trying to bugfix crashes with grouped commands
2011-09-23 18:54:35 +00:00
Mark Vejvoda
72c12a3459
- another attempt to fix command grouping bug (its now turned on be default again), please test for crashes or out of synch
2011-09-22 20:42:06 +00:00
Mark Vejvoda
7e16873efd
- bugfix for team switching validation should be skipped
...
- commented printf for tween debugging
2011-09-22 05:14:20 +00:00
Mark Vejvoda
d52924f214
- added new strings to language file
2011-09-21 08:00:00 +00:00
Mark Vejvoda
7d53df698a
- added new in-game popup menu and new ability to switch teams in game (turned off by default in advanced settings)
2011-09-21 06:51:28 +00:00
Mark Vejvoda
b4972f6365
- attempt to get international unicode characters working in ingame chat
2011-09-16 17:35:07 +00:00
Mark Vejvoda
2e9ca4c0f5
- bugfix to support \n in scenario and tutorial lng files
2011-09-16 03:17:49 +00:00
Mark Vejvoda
8f0db3e30d
- added new commandline option --map-preview=x where x is the mapname (without extension)
2011-09-16 00:34:14 +00:00
Mark Vejvoda
aee6c948a2
- bugfix for scripted scenario function registerCellTriggerEventForUnitToLocation not working properly
2011-09-13 23:25:13 +00:00
Mark Vejvoda
470fac5136
- bugfix for scripted scenario function registerCellTriggerEventForFactionToLocation not working properly
2011-09-13 23:20:26 +00:00
Mark Vejvoda
cd321c0c77
- fix the tween bug by truncating after 6 decimals
2011-09-10 03:57:51 +00:00
Mark Vejvoda
b8a8e3b519
- bugfix to close empty slots on game start
2011-09-10 01:45:34 +00:00
Titus Tscharntke
7a6e937133
version set to dev again ( v3.5.3-dev)
2011-09-09 20:45:14 +00:00
Mark Vejvoda
c2b2e41935
- disabled grouped commands for now
2011-09-09 20:42:02 +00:00
Mark Vejvoda
15cad68faf
- attempt to fix a segfault in grouped units
2011-09-09 20:30:13 +00:00