lotodore
f4f654b5f3
(Hopefully) fixed compile issue when using full boost build with both mt and non mt libs.
2007-10-16 19:55:08 +00:00
lotodore
ad8095f379
Fixed avatars in network (non-public) games.
2007-10-15 08:37:32 +00:00
lotodore
94fbbe9ac5
Disallow space as first char of the player name.
2007-10-15 08:35:56 +00:00
lotodore
1a4fb609bf
Removed todo.
2007-10-15 00:02:03 +00:00
lotodore
c5c9ce262a
Additional LocalExceptions.
2007-10-14 17:49:15 +00:00
lotodore
e54242b711
Fixed possible security problem if cache dir is modified. Only files with md5sum as file name will be considered by the avatar manager.
2007-10-13 14:23:04 +00:00
lotodore
4b87de1795
Added type check functions.
2007-10-12 21:40:30 +00:00
lotodore
78af20482e
Fixed packet types.
2007-10-12 19:34:39 +00:00
lotodore
13e32d0656
Added placeholder for future change.
2007-10-12 16:04:00 +00:00
lotodore
b833b05787
Added error code and message for server maintenance.
2007-10-12 15:35:58 +00:00
lotodore
6cf0d8777a
Fixed protocol issue: Avatar data packets did not have any padding. Increased maximum packet size.
2007-10-12 15:15:03 +00:00
lotodore
375ea47778
Fixed linefeeds.
2007-10-12 14:42:33 +00:00
lotodore
4f00333599
Show and update admin player of a game even when in lobby and not in the game.
2007-10-12 14:32:25 +00:00
lotodore
96d1f34f5c
Added notification if a new release or beta release of PokerTH is available.
...
Removed last traces of deprecated blind values.
2007-10-12 13:07:04 +00:00
lotodore
54ad5e17e7
Added new networking-related error messages.
2007-10-11 22:13:20 +00:00
lotodore
9663a225d5
Fixed two bugs concerning lobby player notifications: Game state is now set correctly after a game was finished and reopened, for players which are joining afterwards.
...
Computer players are now properly removed from finished games.
2007-10-11 21:15:04 +00:00
lotodore
5218e038d4
Don't wait endlessly for player or avatar requests to complete if the other side does not have the required data. Send notifications and react accordingly.
2007-10-11 20:42:44 +00:00
lotodore
488e909838
Clarified "money won".
2007-10-11 16:06:28 +00:00
lotodore
9f478855db
Added error packets for unknown avatar and unknown player id (unused yet).
2007-10-10 23:41:50 +00:00
lotodore
253778bf30
Added error handling for networking stuff. Now checking the player action.
2007-10-10 22:21:24 +00:00
lotodore
de0f16a6fc
Disable SCTP/IPv6 option if not available.
2007-10-10 12:06:47 +00:00
lotodore
c65434fabb
Config option completely disables irc.
2007-10-10 11:56:09 +00:00
lotodore
bbb1377741
Transfer blind values as 32 bit values in network games. This version is not compatible to the current beta server.
2007-10-10 11:38:58 +00:00
lotodore
e92cbf2dc5
Fixed nasty bug in the create game notification.
2007-10-09 23:22:36 +00:00
lotodore
5aa08d03fb
Fixed byte order conversion for blind lists.
2007-10-09 22:47:20 +00:00
lotodore
67b3d8fb6c
Fixed compiler warnings.
2007-10-09 22:01:36 +00:00
lotodore
6f765d311b
Fixed changing admin when admin player leaves.
2007-10-09 22:01:12 +00:00
lotodore
f68cab9cc3
MSVC with qt 4.3.2 - this version of qt rulez!!!
2007-10-09 22:00:36 +00:00
lotodore
2e8a60bc0d
Fixed windows compile issue.
2007-10-09 16:12:10 +00:00
lotodore
e9d373893d
Fixed linux issues in libircclient.
2007-10-09 15:51:33 +00:00
lotodore
9ba000d7f9
Stop all GUI timers before starting an internet / network game.
2007-10-08 20:32:17 +00:00
lotodore
310fadefdb
Keep lobby open in the background during internet games. Show the lobby after the game finished. Re-open the game. Start and stop irc thread together with the client thread.
2007-10-08 20:14:44 +00:00
lotodore
dc8f9e0c73
Use player id as request id for avatar requests by the server.
2007-10-08 18:49:13 +00:00
lotodore
24ae6a66ed
Always use IPv6 for the server if a "dual stack" is available. This means a server on vista (as well as most linux systems) will support IPv6 by default. IPv4 requests will be mapped by the OS.
2007-10-08 18:25:40 +00:00
lotodore
9f698d6adc
Fixed IRC IPv6.
2007-10-08 15:04:02 +00:00
lotodore
d0ccc68d1f
IRC IPv6 support.
2007-10-08 11:07:32 +00:00
lotodore
d11b35a1a7
Transfer small blind and minimum raise amount to client.
2007-10-07 22:49:07 +00:00
lotodore
0547b7b37f
Removed hack which is not working anyway.
2007-10-07 21:52:15 +00:00
lotodore
0d0d8dc810
Synchronize on network game start, so that everyone has received all avatars and player names before the game starts. Store all computer players in a separate list on the server for name retrieval.
2007-10-07 21:23:37 +00:00
lotodore
d16312111f
Finally: User supplied avatars are transfered! They are stored on the server and clients request them if needed. Make sure the server has write access to the cache dir to make it work.
2007-10-07 18:46:40 +00:00
lotodore
639df29bdc
Server now requests unknown avatar files from client and stores them in the cache dir. Error handling is still missing. Clients not yet request avatar files from the server, this is the next step.
...
AvatarManager is now thread safe.
Default and cached avatars are handled in different lists to prevent deleting the default avatars when clearing the cache.
2007-10-07 15:52:12 +00:00
lotodore
4e649450b2
The server is now sending the highest set, and the client is no longer calculating it on his own. This should fix some bugs when someone goes all in with the big/small blind.
2007-10-06 14:16:36 +00:00
lotodore
4c9216dcc2
Fixed data path.
2007-10-06 13:19:49 +00:00
lotodore
3bb28de5ae
More work on sending/receiving avatars. Introduces low priority send queue, so that the server send thread is not stalled when sending loads of avatars. Not functional yet.
2007-10-06 12:50:19 +00:00
lotodore
31ff141196
Name fix.
2007-10-05 14:27:04 +00:00
lotodore
5d974a6450
More preparation towards transferring avatars.
2007-10-05 14:23:36 +00:00
lotodore
f1761a3793
First steps towards transferring avatars.
2007-10-04 23:05:50 +00:00
lotodore
901fc1634d
Added first parts of server test code.
2007-10-03 22:14:31 +00:00
lotodore
1f97e26e49
Changed maximum packet length.
2007-10-03 22:09:25 +00:00
lotodore
076d44b0ae
Pass on admin state if the admin leaves the network game, so that someone else can start the game.
2007-10-03 13:36:47 +00:00
lotodore
81f206284d
Fixed assertion fix again.
2007-10-03 12:28:10 +00:00
lotodore
4354188589
Many people don't know the term "IRC". Renamed message to "Chat".
2007-10-03 11:08:00 +00:00
lotodore
45a09b3016
Transfer blinds data for the game list in the lobby.
2007-10-03 11:06:57 +00:00
lotodore
af6dca56d9
Moved update blinds in dialog to function.
2007-10-03 09:37:02 +00:00
lotodore
6ec214562f
Paranoia sleep in irc thread. Just in case.
2007-10-02 23:24:45 +00:00
lotodore
79d7268d04
Fixed assertion fix.
2007-10-02 23:12:25 +00:00
lotodore
cb5315dd73
Set small/big blind position id on client.
2007-10-02 22:56:26 +00:00
lotodore
ebd78b1a67
Fix assertion with current player id. Only a hack, needs to be fixed properly.
2007-10-02 22:36:04 +00:00
lotodore
eb651b53fd
Fixed another networking bug.
2007-10-02 21:17:58 +00:00
lotodore
4d68e58da2
Fixed a few nasty networking-related bugs.
2007-10-02 20:50:28 +00:00
lotodore
351d32659f
Fixed server termination issue.
2007-10-02 18:58:54 +00:00
lotodore
73c90d4106
Fixed a crash on game end of network games.
2007-10-02 18:26:22 +00:00
lotodore
985e6d7d86
Cosmetic changes.
2007-10-02 17:01:23 +00:00
lotodore
6bfea736cf
Transfer new blind options in network games.
2007-10-02 15:00:33 +00:00
lotodore
8c88b68476
Fixed bug when flipping cards.
2007-10-02 14:44:25 +00:00
lotodore
20874e70cf
Remove all qt stuff from server pro-files.
2007-10-02 11:26:39 +00:00
lotodore
04ee74e6de
Remove all qt stuff from server pro-files.
2007-10-02 11:23:41 +00:00
lotodore
646660a27c
Removed qtcore include (forgot it before).
2007-10-02 11:17:00 +00:00
lotodore
025b05b26c
Moved qtcore include to cpp file.
2007-10-01 08:50:08 +00:00
lotodore
b4a1ce8bd5
Dedicated server no longer depends on qt. Added code for utf-8 conversion on windows and linux (without qt). Some small issues remain (like the data-dir and charset for the server).
2007-10-01 00:33:05 +00:00
lotodore
0d1650e9a9
Fixed a bunch of compiler warnings.
2007-09-30 18:50:46 +00:00
lotodore
6fcc400443
Fixed connection issue with libircthread.
2007-09-30 17:47:40 +00:00
lotodore
d741d78bbe
Remove player from nick list when kicked.
2007-09-30 16:47:06 +00:00
lotodore
3e4ae85fff
Fixed irc rename.
2007-09-30 16:36:33 +00:00
lotodore
8f179acd9f
Fixed linefeeds.
2007-09-30 16:22:02 +00:00
lotodore
087a0d0cda
IRC polishing work - kicks are shown, error messages are displayed. Rename somehow buggy still.
2007-09-30 16:19:44 +00:00
lotodore
5edf38a6cb
Fixed some msvc problems with libircclient. Fixed auto start boost timer issue. Fixed irc thread termination (this time for real). Using strdup and free on MSVC causes "heap corruption error" in debug mode - use _strdup instead in libircclient.
2007-09-30 13:15:52 +00:00
lotodore
c33bf3a3d6
Recursive mutex in configfile.
2007-09-30 13:08:24 +00:00
lotodore
f903e4ae6d
Fixed compiler warnings.
2007-09-30 08:21:29 +00:00
lotodore
879cac4bbc
Don't use runningPlayerLists in server, as all in players are not in these lists. Fixed game state in lobby for players joining after a game started.
2007-09-29 22:50:57 +00:00
lotodore
fe352cb2dc
Kind of fixed irc termination issue (cannot completely be fixed without modifying libircclient).
2007-09-29 20:20:25 +00:00
lotodore
aaf4106c20
Send notification to clients when a game in the lobby was started. Mark games as running in lobby dialog.
2007-09-29 20:20:01 +00:00
lotodore
43103d6fea
Name fix.
2007-09-29 19:23:14 +00:00
lotodore
3c88ba8bbe
Game list in Lobby is now shown and updated even after joining or creating a game. Game updates will be sent by the server at all times (even during the game).
2007-09-29 14:05:41 +00:00
lotodore
9d797edcb6
Fixed compiler warnings.
2007-09-29 09:38:52 +00:00
lotodore
80227f4e88
Removed exception-cpp-files. Fixed compilation with latest mingw.
2007-09-29 09:16:39 +00:00
lotodore
eb62635e02
Additional irc stuff - list of nicks, leaving/joining players. Not complete yet, renames are missing, as well as special stuff like being kicked.
2007-09-27 20:59:00 +00:00
lotodore
78bf4820af
Changed network code for new player lists.
2007-09-27 14:17:07 +00:00
lotodore
7bbf76fe5d
Added irc support for lobby dialog. Takes some time to connect before messages can be sent/received. No special stuff yet, no user list, no connection notifications. Still work in progress.
2007-09-26 11:48:33 +00:00
lotodore
0dcd313c9d
Irc thread can now be properly terminated. Separate initialization from connecting. Add callback class for irc stuff.
2007-09-25 21:26:22 +00:00
lotodore
4a9c405d13
Increment config rev (because of problem with data-dir), new svn beta release (windows, switch back from mingw to msvc, the later is WAY smaller).
2007-09-15 11:57:15 +00:00
lotodore
7d4972af75
Using static OpenSSL lib with msvc.
2007-09-15 11:32:27 +00:00
lotodore
54f8b511c3
Scan new avatars for network games.
2007-09-14 15:26:19 +00:00
lotodore
bfa2426bc2
Fixed compiling on mingw. With mingw, boost needs to be patched. See http://lists.boost.org/Archives/boost/2007/06/124040.php
...
Hope this is fixed in the next release of boost.
2007-09-09 09:43:51 +00:00
lotodore
e8eddd3b1b
Show avatars in network games. User defined avatars are not transfered yet, but this is already prepared for integration.
2007-09-09 00:00:19 +00:00
lotodore
d3be07bb17
File names of avatars are now md5sums.
2007-09-08 21:43:15 +00:00
lotodore
affdd62364
Fixed linefeeds.
2007-09-08 20:44:27 +00:00
lotodore
e76be2a6ff
Some more changes concerning avatars. Directory changes. App data now QApplication independent.
2007-09-08 20:40:46 +00:00
lotodore
601455794d
Changed debug/release settings.
2007-09-08 18:03:10 +00:00
lotodore
8600f308e7
Fixed pro file.
2007-09-08 18:01:38 +00:00