Commit Graph

85 Commits

Author SHA1 Message Date
titiger
dbddadc74b Fix to see normal consoleMessages in many menus again
(+ consolemessages to show that the headless server did 
not had the selected map )
2014-10-31 01:08:12 +01:00
SoftCoder
0d8b3d6c63 - updated so masterserver url does not require trailing / in ini 2014-01-24 18:20:01 -08:00
Mark Vejvoda
ab64b9343f - updated to support building with clang compiler (And cleaned up clang warnings from initial compile). Edit build-mg.sh and read the clang section as to how to build. 2013-11-19 21:57:28 +00:00
Mark Vejvoda
9268aaf279 - a few minor bug fixes related to code warnings
- code cleanup based on additional gcc warnings
- enabled additional gcc compiler warnings
2013-11-19 06:14:06 +00:00
Mark Vejvoda
1dd1b8febb some minor bugfixes (proper variable init, added validation error message) 2013-11-16 18:36:54 +00:00
Mark Vejvoda
9b097fd911 decouple masterserver from network host game settings into two seperate threads 2013-11-07 18:39:08 +00:00
Mark Vejvoda
1d3859ff32 - windows x64 updates to get things compiling on vc2012 x64 2013-11-02 11:04:52 +00:00
Mark Vejvoda
d2ba7b163b a little refactoring of function names in language class 2013-10-29 06:13:38 +00:00
Mark Vejvoda
53a557d8d1 - fixed mod center image previews in cases where userdata folder was non default
- removed commented out old code
2013-10-03 05:44:50 +00:00
Mark Vejvoda
4af65d1e19 added unique playerid for every client 2013-06-01 02:31:12 +00:00
Mark Vejvoda
c932965d9e correct click sound for a bunch of menu buttons 2013-05-26 02:44:36 +00:00
Mark Vejvoda
9d19ff2b57 - added the first draft of joining games in progress 2013-02-15 18:25:10 +00:00
Mark Vejvoda
6acf5e9e67 - attempt to fix ftpclient error on shutdown shown by nig 2013-01-29 00:10:27 +00:00
Mark Vejvoda
7ecc7325ac - trying to trace nig's crash (more debug info and safer code) 2013-01-23 14:51:28 +00:00
Mark Vejvoda
b168f450b5 - scrollbar patch applied from cygal / quentin --> Thanks 2012-11-02 20:07:50 +00:00
Mark Vejvoda
64058b17e7 - code cleanup from cppcheck
- added more checks when loading models, maps and textures
2012-10-20 07:15:13 +00:00
Mark Vejvoda
011e0263b0 - lots more code cleanup, using safe buffer size code to avoid buffer overflows 2012-10-19 01:31:20 +00:00
Mark Vejvoda
152a9328b4 - mod center now gets glest version passed into it and filters out incompatible game data 2012-10-16 05:27:51 +00:00
Mark Vejvoda
4bde2882a6 - fixed bug in mod menu where no messages were shown since tit's console class change.
- added new ftp status info and display output from 7z extraction as it happens in game so that the user knows something is happening (and to show errors)
2012-09-27 05:54:37 +00:00
Mark Vejvoda
7c0e10684a - added lua functions to add / remove cell markers:
addCellMarker(0,'test from scenario!','',cellMarker)
param1=factionindex
param2=cell hint
param3=empty string
param4=cellPosition

removeCellMarker(0,{46,13})
param1=factionindex
param2=cellPosition
2012-09-25 07:05:52 +00:00
Mark Vejvoda
6e0d67d6e4 - bugfixes for crc handling in mod menu 2012-09-18 23:52:16 +00:00
Titus Tscharntke
d382fa46fd fix for wrong CRCs in Mod menu 2012-07-16 23:03:56 +00:00
Tom Reynolds
3519725216 Change phpVersionParam to ?version=0.1 2012-07-16 00:08:41 +00:00
Titus Tscharntke
0cc9f0e115 fixing the CRCs on the masterserver ( work in progress ) 2012-07-15 23:01:48 +00:00
Mark Vejvoda
4202989014 - attempt to switch CRC to use unsigned int everywhere 2012-07-07 02:46:57 +00:00
Titus Tscharntke
b411c103df extra map preview for already installed maps 2012-05-10 21:45:24 +00:00
Titus Tscharntke
f612707849 "PleaseWait"-message while calculating all CRCs in mod menu. 2012-04-16 00:15:11 +00:00
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
04e16819aa - fix segfault when converting models
- fix segfault when mod menu cannot connect to masterserver
2012-03-03 18:40:18 +00:00
Titus Tscharntke
9870c13a6b GraphicMessageBox can handle multiple buttons now 2012-02-19 17:37:53 +00:00
Mark Vejvoda
dc6cd9281f - centralized finding map files and validation of map files. a New report at game start shows a list of invalid maps which will be ignored
- headless server now shows GUI messages in console
- made 'blocked player' button font smaller
2011-12-05 05:26: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
fbb3f0b8e5 - faction threads now use semaphores to signal completion lowering cpu use on main thread 2011-11-26 23:11:33 +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
85ed894cdb - moved player game version text over and made its font smaller to be able to see more when long
- bugfix of segfault when in mod menu
2011-11-15 22:28:51 +00:00
Mark Vejvoda
22c8881902 - update fonts for console when language is toggled 2011-11-03 23:38:43 +00:00
Mark Vejvoda
50adfb3305 - added ability to switch languages from nearly anywhere (and new hotkeys to do so):
CTRL+L shows language popup selection, CTRL+SHIFT+L toggles to next language automatically
2011-10-25 18:39:11 +00:00
Titus Tscharntke
d6cef888a6 scenario icon does change after install 2011-09-27 21:26:22 +00:00
Titus Tscharntke
713741de37 Preview images are cleared when selecting local only mods 2011-09-09 19:02:08 +00:00
Titus Tscharntke
bdb7e284f1 next fix for mod menu / player names can only be a restrictive ascii subset again . 2011-09-09 00:14:28 +00:00
Titus Tscharntke
26e614e151 bugfix for showing local mods as installed from server after clicking them 2011-09-08 22:44:13 +00:00
Titus Tscharntke
a75d113686 modmenu should work as expected now 2011-09-08 21:08:53 +00:00
Titus Tscharntke
af03402409 mod menu should work now beside refresh of state icons for scenarios and techs after download/install 2011-09-05 23:12:48 +00:00
Titus Tscharntke
d80837522d maps and scenarios are checked for server conflicts too. ( map crc calculation is still broken, see line 843 in menu_state_mods.cpp ) 2011-09-04 23:25:24 +00:00
Titus Tscharntke
396acdfa15 mod menu shows conflicts with server data for techs and tilesets ( maps and scenarios will follow the next days ) 2011-09-02 23:53:37 +00:00
Mark Vejvoda
1e2e7a5ef7 - bugfix for mode menu CRC checking 2011-09-02 06:05:37 +00:00
Mark Vejvoda
57afc2d715 - phase 2 of cppcheck verbose fixes 2011-09-01 01:11:23 +00:00
Titus Tscharntke
29b610344d just a legend for the button icons 2011-08-31 23:25:34 +00:00
Mark Vejvoda
2d048579cd - bugfix for mod menu fonts when using ftgl 2011-08-31 22:06:14 +00:00
Titus Tscharntke
4269b23c02 Mod menu tells you a bit more about mod states. Never versions of Mods are NOT indicated yet. Hopefully this is the next step. 2011-08-31 21:51:46 +00:00