Mark Vejvoda
d08c8300f0
- more attempts at stability for network games
2010-08-21 01:52:41 +00:00
Mark Vejvoda
07cbcc0bec
- added a bunch of null terminations to all char buffers in network protocol
2010-08-20 23:53:10 +00:00
Mark Vejvoda
a6d33fe569
- attempt to protect a little against spurious network activity
2010-08-20 20:03:06 +00:00
Mark Vejvoda
fe8d3b3130
- numerous bugfixes mostly centered around network lag, but also added more logging and protective code (like buffer overflow checks)
...
*NOTE: This version is NOT backwards compatible with other builds
2010-08-07 03:26:38 +00:00
Mark Vejvoda
a8a3275036
- added an earlier attempt to help lagging clients recover when they start to fall behind.
2010-07-29 05:51:50 +00:00
Mark Vejvoda
a3ec4650c4
- moved pause for lagged clients option to custom game menu
...
- bugfix to ignore 0.* ip addresses
2010-07-16 16:53:19 +00:00
Mark Vejvoda
0d7d0e139d
- updated disconnect checking to include a timeout check for our custom ping
2010-07-09 17:12:57 +00:00
Mark Vejvoda
3e53b69676
- added client side ping style packet for linux socket disconnect checking
2010-07-09 15:01:49 +00:00
Mark Vejvoda
ab655162cb
- added more bug fixes related to network disconnects.
...
- Added a new global message box to display error messages on top of any graphics window being displayed.
2010-07-08 08:29:51 +00:00
Mark Vejvoda
8478ab80b3
- bugfixes for malformed debug statements
...
- updated version to 3.3.5.1
- added more null checks
- changes to try to fix crash when ending a game (delete cells bug)
2010-07-06 05:30:34 +00:00
Mark Vejvoda
eda2e84aee
- bugfixes for processing disconnect and game end scenarios. These fixes corrected a bunch of segfaults when client or server disconnect.
2010-07-02 19:57:47 +00:00
Mark Vejvoda
aa0db2c0f0
- network code bugfixes.
...
- More checking for disconnect and proper handling of those cases
- Changed battle end screen to exit via mouse click on exit button (or press ESC)
- Removed display of unused ping output
- added more error handling debug output of the mystical unknown error caught in window.cpp to track it down better if it happens again
2010-07-02 02:50:20 +00:00
Mark Vejvoda
391fd1f36d
- bugfixes to properly manage and display various kinds of network error conditions.
2010-07-01 06:11:14 +00:00
Mark Vejvoda
3ea81caf92
updated output type to get proper values
2010-07-01 00:52:11 +00:00
Mark Vejvoda
b0b477aa59
- moved clear outside of loop
2010-07-01 00:31:48 +00:00
Mark Vejvoda
c5cb8dbd18
- bugfixes related to chat message processing and error processing. We now stack up messages and process them in a more safe manner
2010-07-01 00:08:59 +00:00
Mark Vejvoda
217c92e939
- updated warnhing message condition to also check LAG time in addition to lag count
2010-06-30 18:59:28 +00:00
Mark Vejvoda
1f04fd3106
- added another LAG validation (this is in addition to the excisting ones) a time in seconds LAG. This should be able to deal with disconnected clients better
...
- added more error handling to try to handle different kinds of errors during gameplay
- added new mouse toggle hotkey (toggles between OS and mega-glest mouse) default key is / in glestkeys.ini
2010-06-30 07:03:04 +00:00
Mark Vejvoda
9508dad51b
- network related bugfixes:
...
menu slowdown when picking network slots
clients can once again change network slots
performance fixes for network receiving
2010-06-29 06:50:35 +00:00
Mark Vejvoda
a7954abc02
- updated version number to beta15
...
- fixed bug affecting performance due to unconnected slots
2010-06-28 03:17:50 +00:00
Mark Vejvoda
00860813b2
- bugfixes for LAG checking:
...
- proper disconnect for clients passed MAX lag
- proper lag packet time initialzation for clients sending LAG update info to the server
2010-06-28 00:21:12 +00:00
Mark Vejvoda
1d4f47718c
- added many new things and fixed a number of bugs (too tried to mention them all)
2010-06-24 01:23:18 +00:00
Mark Vejvoda
2015843d69
- added optional server game pause if client lags
2010-06-17 21:46:36 +00:00
Mark Vejvoda
eeda623b4f
- removed the rotateunit flag (its now just part of MG)
...
- updated rendering to consider both visible and explored cells when rendering untis and objects
- added a warning message when a client is lagging and coming close to being kicked off
2010-06-17 00:08:27 +00:00
Mark Vejvoda
39acffa2aa
- enable mouse while new game is loading
2010-06-16 06:35:35 +00:00
Mark Vejvoda
5356a3de23
change of data type to correct type for time lag
2010-06-15 05:44:29 +00:00
Mark Vejvoda
e091460f40
- attempt to add a client LAG checker to notify and disconnect clients that fall too far behind.
2010-06-15 05:36:07 +00:00
Mark Vejvoda
085d4e4bfe
- added more debug statements to try to track beta bugs
...
- added safer customization of ini files
- added ability to customize game keys
- added more error checking for ogg file loading
- added faction loader progress
- added a few more thread protections on custom menu
2010-06-12 18:27:39 +00:00
Mark Vejvoda
3b06db30e9
commented out ping code and added synch check for large comamnds list
2010-06-05 00:00:36 +00:00
Mark Vejvoda
2970e5114a
added mutex protection in custom game menu to protect access to member variables to avoid crashes when background thread and user changes both occur
2010-06-04 21:46:10 +00:00
Mark Vejvoda
964be91fa9
added ping times to UI
2010-06-04 19:42:58 +00:00
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
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
ace1cef8a8
- added safe mutex wrapper class
2010-06-02 01:37:45 +00:00
Mark Vejvoda
e4f885ecf3
removed some debug output to make reading logs easier
2010-05-29 11:12:45 +00:00
Mark Vejvoda
8b6af02ece
- Added better error handling for in-game errors
2010-05-29 06:56:32 +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
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
Mark Vejvoda
f92bf42d82
- Attempted fix for some synch network errors (ensure client messages are processed in proper order)
2010-05-26 05:33:15 +00:00
Mark Vejvoda
4b6e017241
- Added particle support to g3d viewer
2010-05-25 18:06:42 +00:00
Mark Vejvoda
272a072ec3
added client socket accept info to debug log as well as some change detection
2010-05-17 06:41:05 +00:00
Mark Vejvoda
1ae2a9ae10
- Added partial threaded network server handling of incoming socket data to try to improve performance
...
- Small changes to client network handling to be more accurate and efficient
- Added observer mode when a user loses a network game
2010-05-15 18:59:17 +00:00
Mark Vejvoda
319b672e20
added better handling of network connections:
...
- only listen for new clients on a server if an open slot exists (unconnected)
- for both server and client we wait a max of 10 seconds to receive a proper intro packet or we disconnect (could have connected to / from a non glest application using the same port)
2010-05-12 15:25:56 +00:00
Mark Vejvoda
8aa14009d1
- added a more proper #define setup to completely stub out debugging to test performance
...
(simply uncomment #define UNDEF_DEBUG and the debug statements become nothing)
- Added piles of experimental changes for testing different performance scenarios (all of these changes are turned off by default and will most likely eventually be removed)
2010-05-07 06:46:55 +00:00
Mark Vejvoda
4b1a392f00
Bugfixes for network game launching:
...
- discard inprogress messages that don't apply during launch
- added better error handling of disconnects during game launch and play on both server and clients
2010-05-04 02:32:43 +00:00
Titus Tscharntke
73be43d6ad
some (possible) bugs are fixed when starting but not all. Discussion needed .
2010-05-04 00:05:10 +00:00