1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-23 00:28:08 +02:00
Commit Graph

283 Commits

Author SHA1 Message Date
709905b1a0 Simplified networking API 2024-01-19 23:52:28 +02:00
80e960bc8e Finalized new TCP networking API 2024-01-19 23:52:28 +02:00
ffa58152ac Client-side support for hosting game server via lobby 2024-01-19 23:49:59 +02:00
55b504792e Implemented basic version of login window and persistent connection on
client
2024-01-19 23:49:59 +02:00
78b7d9e726 Replaced open port check with server crash check 2024-01-19 23:49:59 +02:00
0196707083 Fix UUID initialization on client 2024-01-19 23:49:59 +02:00
2396c14114 Fixed logic for reconnection attempts to local server. Cleanup.
Added distinct fields in config for local and remote connection.
Removed code for restoring last session since it does not works as
intended and often triggers after crash
2024-01-19 23:49:59 +02:00
a3639e77b1 Fixed handling of connection failure on client 2024-01-19 23:49:59 +02:00
5694777a96 Simplified connection logic 2024-01-19 23:49:59 +02:00
8ea69e457a Simplified applying of lobby packs 2024-01-19 23:49:59 +02:00
22f0ca67c6 Fix connection to game lobby & map load 2024-01-19 23:49:59 +02:00
0a1153e1c6 Switch client-server communication to new API 2024-01-19 23:49:59 +02:00
496c13b34a Stabilization 2024-01-19 13:56:06 +02:00
9af7c63a26 Fix build 2024-01-19 13:56:05 +02:00
ea1f05d15a Stabilization 2024-01-19 13:55:22 +02:00
bd5682ecc3 Merge remote-tracking branch 'vcmi/master' into develop 2024-01-19 13:49:54 +02:00
f3277b7953 Define each identifier in a dedicated statement 2024-01-10 00:22:23 +00:00
c635ca562e fix campaign completion 2024-01-07 14:36:07 +01:00
cb9c4bbaf0 unlimited replay option 2023-12-28 20:48:19 +01:00
fc4827c89c option for allowing cheats 2023-12-27 14:39:35 +01:00
b8a4091356 Fix regressions from timers - client may be destroyed while receiving
timer update or pack reply
2023-11-27 20:27:10 +02:00
301ac2457a Cleanup 2023-11-13 17:48:55 +02:00
5c810df36f Reorganized types registration code 2023-11-11 00:39:08 +02:00
4a7fa9bf8c Simplified CTypeList class 2023-11-08 22:05:36 +02:00
b88a8da4e8 Split off some netpack structures into separate files 2023-10-23 13:59:15 +03:00
1ffc246c8b Merge pull request #3051 from Laserlicht/name_change
possibility to change name in lobby
2023-10-16 22:28:31 +02:00
be6ed36422 fix 2023-10-16 21:35:29 +02:00
c8452355ce Revert "Merge pull request #2959 from Alexander-Wilms/faster-server-connection"
This reverts commit 43636af2e4, reversing
changes made to aed2e360ba.

# Conflicts:
#	client/CServerHandler.cpp
2023-10-14 22:52:24 +02:00
0c6b1ca3c8 possibility to change name 2023-10-13 23:04:35 +02:00
4ae123e2a1 Merge pull request #3038 from Alexander-Wilms/connection-error-window
Show info dialog when connection to multiplayer server fails
2023-10-12 00:16:04 +02:00
7c627d8163 Show info dialog when connection to multiplayer server fails 2023-10-10 18:11:11 +02:00
fe7c01cd37 Fix 3024 2023-10-08 17:46:47 +02:00
43636af2e4 Merge pull request #2959 from Alexander-Wilms/faster-server-connection
Sleep for 10 ms instead of 1000 ms while waiting for server connection
2023-10-08 17:21:57 +02:00
088ce9b948 Merge pull request #3013 from Nordsoft91/turn-timer 2023-10-08 12:11:44 +02:00
732c39fcc6 Fix build 2023-10-07 00:08:22 +02:00
c8f1512a3f Use correct address to decide whether we're connecting to a remote server or a local one 2023-10-06 23:33:51 +02:00
a09c595cf4 Support simturn timers 2023-10-06 18:17:05 +02:00
043f54698b Fix translations in map editor / fix crash on game end 2023-10-05 23:34:29 +02:00
e322d0a084 Merge pull request #2966 from IvanSavenko/simplify_ui_lock
Simplified locking of game UI state
2023-10-04 16:50:23 +03:00
b58cca7770 100 connection attempts is not always enough 2023-10-03 22:06:32 +02:00
a66d8ecb8f Use ui16 instead of uint for connectionAttemptCount to fix MinGW build 2023-10-03 22:06:32 +02:00
e1401d26c5 hostAddress can be localhost, return from justConnectToServer() is maximum number of attempts is exceeded 2023-10-03 22:06:32 +02:00
39427d6658 Use different delay and maximum number of connection attempts for local and remote servers 2023-10-03 22:06:32 +02:00
9f9930a9dd CServerHandler::justConnectToServer(): Read settings only once 2023-10-03 22:06:32 +02:00
614d000376 Sleep for 10 ms instead of 1000 ms while waiting for server connection 2023-10-03 22:06:32 +02:00
4620d2c96d Merge pull request #2980 from Nordsoft91/proxy-reconnect
Allow to reconnect to proxy server
2023-10-02 20:42:11 +02:00
f3fa0f8652 Allow to reconnect to proxy server 2023-09-29 19:49:18 +02:00
03c099d4fd First steps 2023-09-27 22:53:13 +02:00
03a939fd52 Remove redundant thread name - this method is not thread entry point 2023-09-27 19:13:26 +03:00
d6b9fa8fbd Replaced CPlayerInterface::pim with CGuiHandler::interfaceLock
- Removed CPlayerInterface::pim since this lock does not actually
protects LOCPLINT but rather entire game UI state
- added more logical CGuiHandler::interfaceLock
- interface lock is now non-recursive and is locked only once by initial
caller that want to access GUI
2023-09-27 18:33:52 +03:00