Mark Vejvoda
8c0bf75bf5
- got built in memory leak working. Just edit leak_dumper.h and uncomment:
...
//#define SL_LEAK_DUMP
- got better / more accurate stack dumps when we detect errors in game.
- Both of these need to be worked on in windows next, win32 may not compile for now until i fix it on that platform.
- BE VERY CAREFUL when working in leak_dumper.* it may cause GCC and your system to crash if you don't know what you are doing!
2012-04-14 21:21:09 +00:00
Mark Vejvoda
0338841689
- initial code to try out network based scenarios (not yet implemented for masterserver)
2011-12-26 06:29:14 +00:00
Mark Vejvoda
9852325da6
- fixed Martiño Figueroa's name in all copyrights in source code
...
- added copyrights to files that were missing it
2011-12-14 07:40:48 +00:00
Mark Vejvoda
d33e1174a5
- bugfixes related to cppcheck report
...
- bugfixes found using valgrind (memory leaks)
2011-12-02 16:07:59 +00:00
Mark Vejvoda
3cdf50c399
- a load of bugfixes including:
...
- proper handling of invalid client connects, after 6 bad attempts in a 60 second period of time the IP address is blocked from the current game
- Added check for invalid particles for tileset objects
- Made messagebox wider in game mod menu
- Fixed numerous threading issues discovered while testing on my 8 core CPU
- a Little bit of rendering cleanup
2011-11-23 08:00: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
75e73ec85d
- headless mode now properly uses selected slot of player
2011-10-01 08:04:30 +00:00
Mark Vejvoda
43ed4553ea
- more memory cleanup and thread cleanup (found using valgrind)
2011-09-28 15:32:57 +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
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
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
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
8f2613e216
- fixed changing username in the lobby
2011-03-26 16:51:26 +00:00
Mark Vejvoda
bca617cf18
- bugfix for socket mutex locked when deleting socket
...
- added faction detail in lobby when CRC's do not match on techtree
2011-03-19 12:04:18 +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
e6f69a3839
- added code for server to tell clients which port to use for FTP
2011-01-15 18:56:03 +00:00
Mark Vejvoda
469cf14b92
- FINALLY fixed freeze with tomreyn's fuzzer and helped further stabilize mutexes and network messages in threads.
2011-01-13 08:17:18 +00:00
Mark Vejvoda
1c78fca0fb
- Added tileset and map CRC check in the network lobby
...
- numerous bugfixes
2011-01-09 04:49:21 +00:00
Mark Vejvoda
87c1bc5491
- bugfix for socket issue mentioned today in the forums by PT
2011-01-03 02:16:00 +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
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
f204d4445c
- added a new bit style gamesetting flag for future new game settings.
...
- added ability to see map resources but still keep fog of war (GAE's shroud of darkness), but not activated by UI yet, tested and works
2010-12-19 08:04:25 +00:00
Mark Vejvoda
7872e980e1
- updated thread handling slightly in menus to make things more stable
2010-12-05 01:52:38 +00:00
Titus Tscharntke
ede8977aff
switched resourcemultiplier to int (using the index now) and added some debug output for testing.
2010-11-25 22:45:08 +00:00
Titus Tscharntke
2440d475b3
beginning of new resource multiplier. Still work in progress but hopefully ready to test some things.
2010-11-08 23:15:50 +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
be979590c1
- more compiler warning cleanup
2010-10-21 17:42:45 +00:00
Mark Vejvoda
0e8ed05c2e
- bugfixes for handling missing maps on client
2010-09-17 08:26:22 +00:00
Mark Vejvoda
fba29d3002
- added new menu option to toggle on / off observers
2010-09-04 01:24:17 +00:00
Mark Vejvoda
e32eb9c162
- modified command object to support special states which flow through network play as well. This allows for better handling of multi-unit build and allows for better future expanding of command processing.
2010-08-30 20:45:12 +00:00
Mark Vejvoda
90f66d99bf
- updated game data checks display on server
2010-08-26 23:14:55 +00:00
Mark Vejvoda
f765ab0880
- updated game data mismatch display
2010-08-26 23:04:14 +00:00
Mark Vejvoda
1058065ce7
- changing the max filecount lower to avoid stack overflow due to array taking > 1MB
2010-08-26 20:28:26 +00:00
Mark Vejvoda
c5624d8662
- bugfix for newer gcc compiler that freaks out on using static ints as a parameter to stl's min and max functions
2010-08-26 15:00:50 +00:00
Mark Vejvoda
979a6ddb09
- fixed compile issues for tomreyn
2010-08-26 14:48:04 +00:00
Mark Vejvoda
8274ff1efb
- windows compile bugfixes
2010-08-26 05:43:08 +00:00
Mark Vejvoda
a64fa69d02
- bugfixes for experimental game data synch check in lobby
...
- added a fix for socket sending when the send buffer is full and we have more data to send
2010-08-26 03:15:36 +00:00
Mark Vejvoda
e5678be10c
- bugfixes for experimental game data synch check in lobby
...
- added a fix for socket sending when the send buffer is full and we have more data to send
2010-08-26 02:36: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
0ad20a1a2d
- fixed code for debug asserts
2010-08-22 08:42:43 +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
07cbcc0bec
- added a bunch of null terminations to all char buffers in network protocol
2010-08-20 23:53:10 +00:00
Mark Vejvoda
a5bf684493
- more network fixes to make lag and disconnects more stable
...
- changed the way the game end logic happens to try to make it more stable
2010-08-07 04:49: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
4ba4b756c8
- updated client connect screen to display new game options as set from the server
2010-08-04 23:39:12 +00:00