Commit Graph
2268 Commits
Author SHA1 Message Date
lotodore 470bbb5eed Trying to fix strange sender crash. 2009-06-20 11:15:06 +00:00
lotodore 34b251bfad Fixing all in timer issue. 2009-06-20 07:59:33 +00:00
lotodore 75703de6b4 Force specific server hack. Only used for beta release. 2009-06-19 22:19:42 +00:00
lotodore 552f49438a Updating changelog. 2009-06-19 22:15:17 +00:00
lotodore 468e52d002 Increasing game version. 2009-06-19 22:08:24 +00:00
doitux cd34aef6dc 0.7.1 beta translation update 2009-06-19 22:08:13 +00:00
doitux 7624914832 new blinking startbutton fix 2009-06-19 21:58:35 +00:00
doitux ef7b163136 hopefully last blinking startbutton fix 2009-06-19 21:48:45 +00:00
doitux bc13e164d1 blinking startbutton next fix 2009-06-19 21:37:45 +00:00
doitux e79b3d5fae startbutton blink fix 2009-06-19 21:16:21 +00:00
lotodore 4c8248353a Adding error handling so that an error within a game does not terminate the server, only the single game. 2009-06-19 20:48:57 +00:00
lotodore 993c2529c3 IP address bans are now time limited and will be removed automatically (minimum duration: 1 hour). 2009-06-18 21:32:01 +00:00
lotodore 9ed8368700 Moving server ban code to a separate class, in order to prepare time-limited bans. 2009-06-18 20:16:22 +00:00
doitux fdb5bb10be adds seperator for large numbers to lobby infos 2009-06-17 21:34:07 +00:00
lotodore eefbd9e79f Some minor polishing. 2009-06-17 21:22:01 +00:00
doitux 3377ae7397 rejoin lobby after missing game fix 2009-06-17 21:03:45 +00:00
doitux e6c1168cee new blinking start button fix 2009-06-17 20:33:30 +00:00
doitux 9221c46d66 blinking startbutton fix 2009-06-17 20:14:10 +00:00
doitux 52a518939d gamelist show and markup the game where the player is joined into
(independent from filter); blinking start-button if game is full
2009-06-17 00:00:10 +00:00
lotodore 6ba148c43c Fixing compiler warnings. 2009-06-16 22:47:53 +00:00
lotodore ccd7080cec Fixing another linux compiler error. 2009-06-16 22:41:50 +00:00
lotodore 35d0988f78 Removing a buffered delay when the client sends data (no longer necessary with asio). 2009-06-16 22:36:07 +00:00
lotodore 87363094d2 Fixing linux compiler error. 2009-06-16 22:35:05 +00:00
lotodore f508bbdd14 Removing more unused code. 2009-06-16 22:13:12 +00:00
lotodore 31dadd6fa2 Removing old native socket stuff which is now unused (replaced by asio calls). 2009-06-16 22:00:07 +00:00
lotodore d45e41c963 Removing unused parts from the receive helper. 2009-06-16 19:05:42 +00:00
doitux b30d84f879 2009-06-16 09:13:45 +00:00
lotodore 22edd63dde Further paranoia changes to prevent timer callbacks from occurring in an uncontrolled state. 2009-06-15 22:34:07 +00:00
lotodore 3d57f65e2b Fixed a bug in the packet handling of the client. This fixes the problem that games are not properly started, and that the player list is not properly updated. 2009-06-15 21:42:57 +00:00
lotodore 1acbeba426 Close the socket before client termination, don't let asio close it later because the callbacks might no longer be valid. 2009-06-15 06:42:52 +00:00
doitux 30a7f8c8bc 2009-06-14 23:11:21 +00:00
doitux 677764fd80 add gamelist filter to the lobby 2009-06-14 22:56:49 +00:00
lotodore 4b5d78af81 The client network code was rewritten to use boost::asio. Some optimization is still required, and some code files can now be removed. 2009-06-14 22:07:41 +00:00
doitux 7048c19305 model/view refactored gamelist. new joinanygame button behavior to find
the game with the most connected players (suggested by xanax)
2009-06-13 12:09:45 +00:00
lotodore 744e5c81d4 Small fixes. Removing some TODO comments which are no longer valid. 2009-06-13 10:52:12 +00:00
lotodore bf0fc6e9ca Removing unused files. 2009-06-12 16:42:38 +00:00
lotodore 6269b94db1 Properly restarting lobby timers. 2009-06-12 16:04:58 +00:00
lotodore 3b25e18fde Rewriting boost asio timer stuff. (Did I mention I dislike the asio "cancel" semantics?!). TimerManager is no longer used. Should be stable now, but might leak some memory (needs further testing). 2009-06-12 15:48:34 +00:00
lotodore a33d9b7c3b Trying to fix strange timer crashes. 2009-06-09 23:04:04 +00:00
lotodore 71e9c35ff2 Adding missing file. 2009-06-08 21:56:27 +00:00
lotodore 938d13e31a Send all available data in one chunk within the send handler. This improves speed. 2009-06-08 21:54:24 +00:00
lotodore e53c60c263 Creating a new asio timer instead of reusing the old one. Reusing leads to strange crashes. Whoever invented the semantics of the asio timer obviously did not consider the need to restart a timer within the handler. Oh well. The asio timer service also seems to sleep all the time (not using up 100% load if timeout of all timeouts are 0). Pending further tests, asio timers might be unsuitable. 2009-06-08 21:53:14 +00:00
lotodore c8594e8e7b Canceling asio timers has bad semantics, and causes loads of trouble. Therefore, cancelled timers are simply marked as such, and the asio callback is silently ignored. This fixes several crashes, if players were removed from a game due to an error, because some timers were not cancelled. *sigh* This one took a lot of nerve. 2009-06-07 23:25:13 +00:00
doitux a6146399d4 readd disable startsplash option 2009-06-07 20:23:06 +00:00
doitux 1aad2b7290 disable remove button for pokerth distributed styles 2009-06-07 12:01:47 +00:00
lotodore 5f3369432a Rewriting sender yet again to fit the new asio design. Polling for new send data is no longer needed, this also reduces lag. 2009-06-07 08:51:43 +00:00
doitux 9e50969bdc missing files fix 2009-06-05 20:18:20 +00:00
doitux c3f1654497 case insensitive sorting for style lists 2009-06-05 19:36:07 +00:00
doitux b88555ecd5 alphabetical order for styles lists 2009-06-05 15:41:06 +00:00
lotodore 55bd832955 Fixed network game termination. 2009-06-04 22:13:52 +00:00