Mark Vejvoda
9c59bc7273
- change game load defaults for less stress on CPU
2011-11-15 22:10:32 +00:00
Mark Vejvoda
ccb86ef373
fixed windows build
2011-11-15 18:09:57 +00:00
Mark Vejvoda
33e1af022a
lowered numbers for sleeping when game is loading in network mode and allow ini override of values
2011-11-15 16:41:10 +00:00
Mark Vejvoda
8050e25538
- attempt to fix masterserver losing publish setting and/or open network slot
...
- attempt to fix high cpu usage on masterserver (and clients) when waiting for others during the start of a network game
2011-11-14 05:18:09 +00:00
Mark Vejvoda
1293771964
removed limit of network commands count (2496) and just use dynamically sized vectors (this may make game play more stable when there are lots of commands issued)
2011-10-28 01:58:15 +00:00
Mark Vejvoda
f7a4730fff
when client is waiting only for the server at game start we now display this
2011-10-26 20:30:41 +00:00
Mark Vejvoda
bd2206f51b
bugfixes for headless mode (when admin picks things that server doesn't have).. added a 2 second delay timer for sending out changes
2011-10-22 00:19:38 +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
57afc2d715
- phase 2 of cppcheck verbose fixes
2011-09-01 01:11:23 +00:00
Mark Vejvoda
93767d8ed8
- bugfix for trying socket connect when nic is down
...
- removed platform mismatch console printf
2011-05-17 00:21:51 +00:00
Mark Vejvoda
3f1a0be155
- bugfix for network disconnect detection in game for clients (thanks tomreyn we finally found the bug)
2011-05-16 00:38:43 +00:00
Mark Vejvoda
753ac061b8
- set client socket to be blocking after initial connection to host
2011-05-14 18:06:41 +00:00
Mark Vejvoda
bda831861a
Stuff from pabs (debian games) round #1
...
- remove +x bit on many files that should not have it
- added gplv3 svg logo for completeness in svn
2011-05-03 07:58:59 +00:00
Mark Vejvoda
af1928f98e
- some cleanup of networking code
2011-04-30 06:13:23 +00:00
Mark Vejvoda
5d743f38db
- changed Internet and Game lobby to display svn rev# instead of compile date/time
2011-04-30 01:05:53 +00:00
Mark Vejvoda
ac83b1a898
- attempt to fix socket bug where we incorrectly polled for data using ioctl / ioctlsocket. While we stilkl do some peeks, the bulk of the socket work is now done properly by simply doing recv and thus should prove more stable and reliable as well as perform better.
2011-04-24 04:22:19 +00:00
Mark Vejvoda
4a27e75891
- initial work to support multi-language text messages
2011-04-05 18:39:47 +00:00
Mark Vejvoda
e3584c26ef
- cancel button only shows is manually enabled in ini
...
- bugfix for playernames in network status loading screen
2011-03-31 18:30:53 +00:00
Mark Vejvoda
085cb7d543
- added a cancel button when loading a game for the server user only
...
- updated client side loading screen to show who the server is waiting for
- moved some more strings into the english language file
2011-03-31 18:13:02 +00:00
Mark Vejvoda
3b56aa4475
- performance changes... (problem found by titi) most debug calls line are skipped when the debug flag is disabled even BEFORE getting into the handledebug method.
...
This improves performance VERY MUCH.
2011-03-28 03:54:23 +00:00
Mark Vejvoda
39bf1b986e
- added new commandline option to convert folders of g3d models to use specified texture format
...
- added new utility methods and changed code to use them (like adding trailing slash on paths)
2011-03-13 08:23:43 +00:00
Mark Vejvoda
e070cf2cbb
- added player status for network based games so players can indicate if they are ready to play or not
2011-03-11 11:11:46 +00:00
Mark Vejvoda
bd29260fef
- Does this fix choppy network play? Please test and let me know
2011-02-21 01:34:31 +00:00
Mark Vejvoda
31e722287f
- bugfixes for when players disconnect, do not switch observers to AI and only show message once.
...
- Attempts to debug/improve network performance
2011-02-15 03:32:14 +00:00
Mark Vejvoda
9adf8bcc62
- a few more logging entries for future debugging needs
2011-01-28 02:32:55 +00:00
Mark Vejvoda
fdaf9438d8
- added code so Alt-Enter etc. works during game loading phase
2011-01-20 08:19:14 +00:00
Mark Vejvoda
e6f69a3839
- added code for server to tell clients which port to use for FTP
2011-01-15 18:56:03 +00:00
Mark Vejvoda
ccbd707ae1
- numerous bugfixes including fixing a slowdown introduced in a previous recent checkin.
...
- Added Network Text Message queue as this is required in some tricky cases
- added more logging of memory cleanup events
- added memory safe snprintf calls
2011-01-11 22:09:46 +00:00
Mark Vejvoda
5f4d3e9088
- numerous thread bugfixes related to menu stability and ftp server socket usage
2011-01-02 09:33:37 +00:00
Mark Vejvoda
896b1c308c
- added a backtrace for gcc compiled binary when we get a runtime error.
...
- added more out of synch checks and better error handling
2011-01-02 00:39:13 +00:00
Mark Vejvoda
48ab8b7b32
- added more socket threaded protection and output curl version if ftp transfers fail
2011-01-01 10:16:25 +00:00
Mark Vejvoda
c59807c4cf
- fixed local chat echo in clientinterface so that messages intended to be shown locally are properly displayed in the console
...
- added a success / failure message for downloaded map attempts
2010-12-30 20:48:39 +00:00
Mark Vejvoda
3f0ee7a6cb
- some initial changes to try to get ftp working over the Internet with firewalls etc
2010-12-30 15:56:02 +00:00
Mark Vejvoda
da1adab808
- bugfixes for fog of war enable at game end
...
- Added more safety guards in threaded sockets in case this causes problems when things get very busy in the game during monster battles
2010-12-25 08:14:35 +00:00
Mark Vejvoda
03eaa2c033
numerous important bugfixes:
...
- observers and end game fog of war enable would most likely cause out of synch, I think its fixed now
- better handling of threaded logging
- cleanup of socket thread processing to ensure all network packets get processed properly and in order
2010-12-24 08:43:09 +00:00
Mark Vejvoda
e2610df502
- fixed chatting logic to now retain more info about the user that sent the text in the console manager. Colors now apply to the playername and changing playernames is ok in the lobby andf rendering accounts for this (as well as switching slots)
2010-10-23 04:00:39 +00:00
Mark Vejvoda
8ab3366c66
- added player color coding in lobbies as well as chat console
2010-10-22 07:28:55 +00:00
Mark Vejvoda
79318735ab
- cleanup of last compiler warnings in Linux (hurray!)
2010-10-21 18:24:54 +00:00
Mark Vejvoda
59c5fd2581
- moved version checking into one common method in the util file. Now all network related checks use this common method to determine version compatibility
2010-10-15 17:27:00 +00:00
Mark Vejvoda
86b11a7f05
- bugfix (again) for playername index bug
2010-10-08 22:32:23 +00:00
Mark Vejvoda
ae010f85ab
- bugfix for playername index offset on client
2010-10-08 17:17:22 +00:00
Mark Vejvoda
f345835fc4
- final bugfix for 3.3.7, playernames got mixed up when first slot was closed. Also fixed editing when typing playername
2010-10-08 01:41:53 +00:00
Mark Vejvoda
0d050f62d4
- added code to now output all eerors to console (with option to save in log file)
...
- added more LUA debug info
2010-10-06 20:22:06 +00:00
Mark Vejvoda
0e8ed05c2e
- bugfixes for handling missing maps on client
2010-09-17 08:26:22 +00:00
Mark Vejvoda
20a02c28ed
- bigfix for windows compile
2010-08-27 23:04:59 +00:00
Mark Vejvoda
a2f013c51a
- cleaned up lobby message processing
2010-08-27 20:09:55 +00:00
Mark Vejvoda
4ebd156828
- added new commandline parameter to display the version of SDL used by the program
2010-08-26 16:03:54 +00:00
Mark Vejvoda
db173d0fdd
- bugfixes for network playername inline editing in the lobby during a slot switch
2010-08-26 05:30:17 +00:00
Mark Vejvoda
c01b43f635
- added another layer of authentication to validate the client is REALLY a mega-glest client
2010-08-23 15:40:43 +00:00
Mark Vejvoda
0509b5d643
- bugfixes for playername change in lobby screen
2010-08-23 04:33:21 +00:00
Mark Vejvoda
bf5f6b7f33
- experimental support for idenitfying specific game data which is out of synch with the server.
2010-08-22 08:00:05 +00:00
Mark Vejvoda
455876a3c0
- added the ability to change your playername from the game lobbies inline
2010-08-21 13:04:52 +00:00
Mark Vejvoda
277362a6c7
- fixed a possible infinite loop while receiving network packets on clients for network games (found by titi's stack trace dump)
2010-08-20 18:06:03 +00:00
Mark Vejvoda
cee6b8dfc8
- attempt to help client wait for network packets better
2010-08-07 05:55:18 +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
7df6d2bc16
- added version string display for network lobbies
2010-08-05 05:58:14 +00:00
Mark Vejvoda
e9e1a317e4
- cleanup of some compiler warnings
2010-07-17 06:54:04 +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
ff21d26161
- mouse disappearing bugfix (go ahead alt-tab, alt-esc, do it ALL, its fixed!)
...
- Added more descritive error message when data checksum is discovered. The client's playername is now disclosed in the error.
- added VS project config to disable STREFLOPs for testing later
- updated version to 3.3.5.1 alpha1
2010-07-07 22:25:29 +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
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
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
87b4706940
- Attempt to use libcurl in a thread safe manner
2010-06-23 14:49:20 +00:00
Mark Vejvoda
82f412453e
- bugfix for mutex deadlock
2010-06-18 18:47:20 +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
4fd75e5d7d
- fixed two nasty AI bugs which would cause out of synch and memory corruption problems
...
- added new glest.ini setting to log commands for each client
2010-06-08 07:40:32 +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
964be91fa9
added ping times to UI
2010-06-04 19:42:58 +00:00
Mark Vejvoda
b8dac6de50
- updates to random number generation
2010-06-01 00:57:48 +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
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
Mark Vejvoda
e7cb595ae8
small change to compiler version stamp
2010-04-30 02:34:19 +00:00
Mark Vejvoda
19cd66fc2d
Changed compiler stamp in version string
2010-04-30 02:20:27 +00:00
Mark Vejvoda
e8aa5083cb
Added new binary compatibility check
2010-04-30 01:32:37 +00:00
Titus Tscharntke
0687a56e27
clients can choose their slots
2010-04-30 01:08:29 +00:00
Mark Vejvoda
4f147b2d89
Added more guards and debug info related to network play
2010-04-29 07:59:44 +00:00
Titus Tscharntke
50341e9db6
clients can choose team and faction ... client triggered slot change is prepared
2010-04-28 23:59:37 +00:00
Mark Vejvoda
aad5c056a3
Added more info in data synch check debugging
2010-04-28 21:38:15 +00:00
Titus Tscharntke
06660e3a17
clients can see which setups are made on the server. ( work in progress !)
...
menu gfx-components can be set editable/non editable now
+ in addition fixed several memory problems and FOW in scenarios ...)
2010-04-21 23:13:39 +00:00
Mark Vejvoda
30c4eb2b96
Added some performance logging capabilities and socket cleanup for new broadcast thread sockets
2010-04-15 01:19:00 +00:00
Mark Vejvoda
4e12d8dbcf
Bugfix for tracker#: 2985601
...
- Added checking for NULL pointer as well as clients now check connection state of the server during load.
2010-04-12 20:32:47 +00:00
Mark Vejvoda
a0c0be4d65
Some bug fixes related to file transfer code and user folders
2010-04-03 04:30:28 +00:00
Mark Vejvoda
bc725454fd
Added a new menu item in join menu and added a threaded callback system for clients when searching for servers so that the UI doesn't wait for responses
2010-04-02 02:33:32 +00:00
Mark Vejvoda
0bcb710606
Added auto-discovery of LAN servers using UDP broadcast. (for now the client must press the A key from the join menu to trigger this)
2010-04-01 06:31:10 +00:00
James McCulloch
a9026f8c20
* added missing #include "leak_dumper.h" to new cpp files
...
* fix for map names not being formatted (and replaced explicit loops to do the same to tileSet & techTree)
* fix exploration state for fog-of-war off & multiplayer (note: also turns off for AI, diff. behaviour to before)
* added fogOfWar to GameSettings and added to cutom game menu/menu_state_custom_game.cpp
2010-03-27 07:09:34 +00:00
Titus Tscharntke
ecc39ea911
PolitikerNEU jpg and png support! ( currently linux only ? )
...
Some little changes where I forgot to integrate the playername
Mousescroll is not longer super fast
2010-03-23 23:32:25 +00:00
Mark Vejvoda
237b76e2f2
Updates to new netplayer code to default the value to the hostname and not crash if the property is missing from glest.ini. Also added new property to configurator
2010-03-23 02:37:41 +00:00
Titus Tscharntke
397fe3dc41
Network Playernames ( and some more changes in the options menu )
2010-03-23 01:38:19 +00:00
Mark Vejvoda
965a7ac2ba
Updated debug logic to use a debug class to better control debug logging and centralize the control of it.
2010-03-19 23:26:00 +00:00
Mark Vejvoda
abf7e57377
Attempt for bugfix to resume from msgbox
2010-03-17 20:57:19 +00:00
Titus Tscharntke
7468e314d1
Chat line is visible in custom game menu.
...
Network consistency always checks and gives better messages.
2010-03-17 13:22:08 +00:00
Mark Vejvoda
89d3c66471
Added a more user friendly messagebox when network errors are encountered.
2010-03-17 06:25:19 +00:00
Mark Vejvoda
b9172acc5c
Bugfix for multiplayer binary and data checksum checking.
2010-03-16 21:37:11 +00:00
Mark Vejvoda
43c3f2457e
Code Restructuring to make mega-glest more standard
2010-03-12 05:20:53 +00:00
Mark Vejvoda
7cb4f99ec4
Code Restructuring to make mega-glest more standard
2010-03-12 05:11:28 +00:00
Mark Vejvoda
7657b40a4b
- Additional bug fixes related to network connection code for win32
...
- print out socket errors to console instead of throw exceptions
2010-02-21 03:48:05 +00:00
Mark Vejvoda
fb5035c230
Updated with initial 3.4.4 codebase includes:
...
- network fixes for multiplayer defects found
- initial code (disabled currently) for content crc checking and downloading
- code compiles on Win32 using VS2008 express, project files not yet included
2010-02-03 01:09:50 +00:00
Titus Tscharntke
0ce9b5fcac
initial version ( megaglest 3.2.3-beta3 )
2010-01-22 01:45:58 +00:00