111 Commits

Author SHA1 Message Date
ddbe899071
added message thread cleanup for server
also swaped the function names cause I am so smart
2024-01-21 13:44:31 +01:00
7ffb9b1d9c
fixed client segfault on ssqc 2024-01-20 15:48:34 +01:00
9b238b6d70
created WHY2_CHAT_CODE_ACCEPT_MESSAGES macro 2023-08-27 15:32:55 +02:00
b1062ad8df
moved config-related macros to config header 2023-08-27 12:01:26 +02:00
21a89400af
created WHY2_CHAT_SERVER_USERNAME macro 2023-08-27 11:56:14 +02:00
4016478492
declared why2_yml_read 2023-08-27 11:48:32 +02:00
9fb66c42bf
created parser files 2023-08-27 11:35:37 +02:00
c0f7461eab
added .config directory existence check 2023-08-26 19:14:11 +02:00
b11f092bda
replaced local macros with flags 2023-08-26 18:57:53 +02:00
821170764f
removed server.yml from WHY2_CHAT_CONFIG_URL 2023-08-26 18:31:40 +02:00
ed950e3abf
declared why2_chat_init_client_config 2023-08-26 18:22:42 +02:00
b1d368f375
added chat-flags config TODO 2023-08-26 18:22:18 +02:00
89e69df3cd
renamed why2_chat_init_config to why2_chat_init_server_config 2023-08-26 18:15:53 +02:00
6df35b0f95
preparing for client-side config 2023-08-26 17:59:28 +02:00
d25ca16f4e
created WHY2_CHAT_CODE_PICK_USERNAME macro
these will be sent on some events etc.
2023-05-02 18:54:55 +02:00
9bcbe4c2d2
replaced json extension with yml in WHY2_CHAT_CONFIG
whoops
2023-04-20 21:36:20 +02:00
137f74bc3c
added user 'variable' into WHY2_CHAT_CONFIG_URL 2023-04-20 21:32:24 +02:00
ab2bd02318
created WHY2_CHAT_CONFIG_URL macro
I will download the templates using cURL, I guess
2023-04-20 21:20:18 +02:00
a66e18be5a
created WHY2_CHAT_CONFIG macro 2023-04-20 10:21:44 +02:00
729a43d564
declared why2_chat_init_config function 2023-04-20 10:03:10 +02:00
6b691f1df8
created chat-config files 2023-04-20 09:54:48 +02:00
460239b8bc
removed WHY2_CONNECT_MESSAGE macro 2023-04-20 09:09:53 +02:00
876c24e3fb
created WHY2_CONNECT_MESSAGE macro 2023-04-20 08:56:48 +02:00
87bf911ba2
created WHY2_INVALID_POINTER macro
it is really bik number
2023-04-05 10:15:41 +02:00
ed8b328673
created WHY2_COMMUNICATION_TIME macro 2023-04-01 12:56:14 +02:00
8f6a376a62
removed why2_connection_t
it was useless as hell
2023-04-01 12:43:49 +02:00
1087e40cfc
sending json format in send_to_all 2023-03-25 17:39:52 +01:00
cd5d290a13
added WHY2-prefix at the beginning of chat-flags macros 2023-03-12 15:01:04 +01:00
b8b7b7cdff
renamed header common to flags 2023-03-12 14:59:53 +01:00
edbe07615c
removed includes from common.h 2023-03-12 14:59:07 +01:00
eedea02701
implemented CLEAR_AND_GO_UP in chat stuff 2023-03-12 14:45:58 +01:00
0618de9584
declared why2_listen_server 2023-02-22 12:10:06 +01:00
49978a8a53
changed why2_connection::thread type to UL 2023-02-22 10:33:42 +01:00
2b790a21fe
declared why2_clean_threads 2023-02-22 10:11:36 +01:00
493724626c
created why2_connection_t struct
contains connection and pthread_t
2023-02-22 10:03:49 +01:00
736cd82240
removed why2_register_connection function 2023-02-22 10:01:03 +01:00
97e2d1d097
moved accept-loop to why2_accept_thread 2023-02-21 19:34:40 +01:00
89885de21e
added common todo 2023-02-21 19:29:08 +01:00
f31216f387
added "why2_" at the beginning of chat-misc functions' identificators
i forgor again
2023-02-21 12:33:53 +01:00
36b5ac7cfc
added license to common's top 2023-02-21 12:29:04 +01:00
ea15a24ed3
declared register_connection function 2023-02-21 12:26:27 +01:00
9f2ddb13dd
removed unused includes 2023-02-21 10:56:46 +01:00
22ff5a3e7d
moved server functions into why2-misc 2023-02-21 10:53:09 +01:00
0244536836
added missing license to why2-misc files 2023-02-21 07:59:09 +01:00
7123e88f97
moved send_socket into chat-misc 2023-02-21 07:58:12 +01:00
50a3a934d6
created misc source & header 2023-02-21 07:52:30 +01:00
fe8563ff5e
added pthread to common 2023-02-20 17:00:40 +01:00
01770f1f8d
defined MAX_CONNECTIONS in common 2023-02-09 19:42:38 +01:00
d261038c2c
added core-misc include in common 2023-02-09 18:50:05 +01:00
1e12e7a04f
removed SEND_LENGTH define 2023-02-09 18:45:19 +01:00