Commit Graph

608 Commits

Author SHA1 Message Date
Mark Vejvoda
8005fa96e1 disabled threaded send 2010-06-03 21:55:17 +00:00
Mark Vejvoda
4227d2bd1d attempt to fix threaded network send bug 2010-06-03 21:49:41 +00:00
Mark Vejvoda
ff6d90a5f1 added more pointer inits 2010-06-03 21:25:33 +00:00
Mark Vejvoda
302fbab84a network init bugfix (call end first) 2010-06-03 21:14:42 +00:00
Mark Vejvoda
6808cda2aa moved network manager init to init earlier 2010-06-03 21:07:55 +00:00
Mark Vejvoda
16f28d455b bugfix to handle food decrements properly for humans 2010-06-03 20:17:03 +00:00
Mark Vejvoda
757906b226 added #define for Linux Distros that don't support S_IREAD 2010-06-03 15:52:11 +00:00
Mark Vejvoda
801a8336be updated package dependency setup for dev environments for Linux 2010-06-03 15:26:09 +00:00
Mark Vejvoda
6b10c5696f - added missing gamesettings to network packet and added experimental threaded server message broadcasts to client 2010-06-03 07:52:17 +00:00
Mark Vejvoda
1b000376d4 - updated client connection screen to NOT crash if client does not have the tech selected on the server 2010-06-03 06:03:41 +00:00
Mark Vejvoda
e85a269738 - added server controlled AI as a game option 2010-06-03 01:10:40 +00:00
Mark Vejvoda
3dc9c2c623 - bugfix for server controlled AI mode 2010-06-03 00:13:58 +00:00
Mark Vejvoda
64070ca69c - added initial flag to test some server controlled AI code 2010-06-02 22:06:10 +00:00
Mark Vejvoda
7f5fd5d7e5 updated compiler settings 2010-06-02 21:23:42 +00:00
Mark Vejvoda
27bd017b4a updated compiler flags 2010-06-02 20:09:58 +00:00
Mark Vejvoda
d16be3ba07 fixed weird bug where compiler should have told me of the conversion issue 2010-06-02 20:06:49 +00:00
Mark Vejvoda
8ebd901dfa Fixed the following nasty bugs:
- memory corruption when mouse click happens because there are more than 3 possible values for mouse button click
- Recursive crash when outputting string representation of unitRef.
2010-06-02 08:03:56 +00:00
Mark Vejvoda
ace1cef8a8 - added safe mutex wrapper class 2010-06-02 01:37:45 +00:00
Mark Vejvoda
bab0e87141 removed streflop from map editor 2010-06-01 21:21:07 +00:00
Titus Tscharntke
29620817d8 reverted to former version 2010-06-01 20:22:49 +00:00
Mark Vejvoda
57f28913d0 - commented out streflop from random # generator 2010-06-01 19:48:35 +00:00
PolitikerNEU
c703de994f Tried to fix the wrong error message given if the file could not be found 2010-06-01 18:40:14 +00:00
Mark Vejvoda
1c9b85418a - Some initial changes in prep for support server controlled AI 2010-06-01 16:54:44 +00:00
Mark Vejvoda
288bd3a287 - Updates to get the map editor compiling 2010-06-01 01:56:14 +00:00
Mark Vejvoda
f70f0cc896 - a few changes to properly compile in win32 2010-06-01 01:17:37 +00:00
Mark Vejvoda
b8dac6de50 - updates to random number generation 2010-06-01 00:57:48 +00:00
Mark Vejvoda
b8a05be21e - attempt to use streflop for random number generation to fix AI synch issues on corss platform 2010-06-01 00:32:24 +00:00
Mark Vejvoda
22439457b4 - bugfix for saving of last game settings 2010-05-31 23:39:07 +00:00
Mark Vejvoda
69f65992e1 - bugfix for saving of lastgame settings 2010-05-31 20:49:23 +00:00
Mark Vejvoda
f4750e6f8b - added ability to remember last custom game settings 2010-05-31 19:57:10 +00:00
Mark Vejvoda
03b24659e4 - added ability to toggle the observer mode per game when players game is over (win or lose) 2010-05-31 10:20:18 +00:00
Mark Vejvoda
fc63460e07 - updated unitid offset for each faction so that we support up to 100,000 units per faction per game (which is larger than previously supported) 2010-05-31 09:45:54 +00:00
Mark Vejvoda
8ea52485cc - Attempt to fix unit id allocation issues 2010-05-31 09:24:44 +00:00
Mark Vejvoda
0069fbf4f0 - added more debug code and fixed a server bug where client connecting at the same time a server opens a slot would result in a crash sometimes. 2010-05-31 06:11:31 +00:00
Mark Vejvoda
e8cc925a8b - added more debuging 2010-05-29 16:55:55 +00:00
Mark Vejvoda
e4f885ecf3 removed some debug output to make reading logs easier 2010-05-29 11:12:45 +00:00
Mark Vejvoda
ffef6e4098 - more debug info to hunt down synch issue 2010-05-29 10:34:56 +00:00
Mark Vejvoda
5c5b5a3283 - added more debug output 2010-05-29 09:38:00 +00:00
Mark Vejvoda
badd795865 More debug code to find unit mismatch 2010-05-29 09:04:22 +00:00
Mark Vejvoda
9159d44b7a - added a VERY IMPORTANT synch check in order to find unit id mismatch 2010-05-29 08:23:52 +00:00
Mark Vejvoda
b31531db1f more user friendly error handling, try to display most errors in a nice messagebox in-game 2010-05-29 07:58:58 +00:00
Mark Vejvoda
3fdc1d2a18 - added proper toggle for new unit title rendering 2010-05-29 07:07:46 +00:00
Mark Vejvoda
8b6af02ece - Added better error handling for in-game errors 2010-05-29 06:56:32 +00:00
Mark Vejvoda
7753435b3a - Added ability to render text titles for each unit (currently used to debug) 2010-05-29 05:41:40 +00:00
Titus Tscharntke
50fe71a651 The worker bug ( found and fixed by silnarm )
http://glest.org/glest_board/index.php?topic=5508.0
2010-05-29 00:14:00 +00:00
Mark Vejvoda
a03853ad13 - made some stability improvements
- Fixed chat message processing
2010-05-28 14:59:09 +00:00
Mark Vejvoda
908b155d62 some changes to how we use streflop:
- Removed all unneeded includes of cmath
- added proper wrapper classes for lua calls to toggle streflop back and forth
- some code cleanup
2010-05-28 05:31:17 +00:00
Mark Vejvoda
f0da609e7f trying to track down network bugs 2010-05-28 00:57:24 +00:00
Mark Vejvoda
ac34fc6d99 Commented out some mutex use that should no longer be required. 2010-05-28 00:26:29 +00:00
Mark Vejvoda
0aade73335 - Did some refactoring to move connectionSlotThread into ConnectionSlot class 2010-05-27 23:46:38 +00:00