|
cfa9f7bcca
|
implemented WHY2_CHAT_COMMAND_PREFIX on server-side
|
2024-04-27 11:58:01 +02:00 |
|
|
f07a5fe40f
|
moved trim_string to header file
|
2024-04-25 20:52:09 +02:00 |
|
|
e6c570c2c7
|
prepared trim_string for non-why2-allocated strings
|
2024-04-20 11:32:18 +02:00 |
|
|
07a4eecd4e
|
removed the stupid exit command sending
using codes instead
|
2024-04-19 20:03:20 +02:00 |
|
|
e023207261
|
added help command
|
2024-04-19 16:08:54 +02:00 |
|
|
1fc78a2a30
|
sending server exit_cmd with the initial welcome message
|
2024-04-17 18:04:45 +02:00 |
|
|
b2c945fe6d
|
implemented the exit_cmd macro
|
2024-04-17 17:45:21 +02:00 |
|
|
99c76285a2
|
added ID to connection node
|
2024-04-17 17:25:55 +02:00 |
|
|
274a3e1772
|
revert "sending ssqc on every message loop end"
this reverts commit b14c8de7105a9f570a227ce7f8608103b205eca9
it seems that I created the check for some reason
|
2024-02-26 15:19:41 +01:00 |
|
|
4d6b29e4c6
|
implemented max_message_length in message loop
|
2024-02-25 20:34:18 +01:00 |
|
|
b14c8de710
|
sending ssqc on every message loop end
|
2024-02-25 14:23:53 +01:00 |
|
|
22282623af
|
implemented trim_string in message loop
|
2024-02-25 13:16:12 +01:00 |
|
|
157d56ac57
|
not disconnecting user on null message
|
2024-02-25 13:15:54 +01:00 |
|
|
47fd5f01b6
|
created trim_string fn
|
2024-02-25 13:15:29 +01:00 |
|
|
20e805a8ad
|
removed why2_read_socket fn
using raw data in client loop
|
2024-02-22 09:31:46 +01:00 |
|
|
fd68b0d01a
|
implemented max/min username
|
2024-02-21 21:38:38 +01:00 |
|
|
c2b9c7c57a
|
possible loop problems fix
|
2024-02-21 21:35:13 +01:00 |
|
|
d30cd4f714
|
simplified json/config to int parse
|
2024-02-21 21:33:50 +01:00 |
|
|
32592aefb8
|
removed unused find_color fn
|
2024-02-21 21:25:49 +01:00 |
|
|
c163b63afc
|
implemented server_uname in why2_listen_server
|
2024-02-21 21:24:20 +01:00 |
|
|
57116ecd33
|
sending welcome packet
|
2024-02-21 20:56:21 +01:00 |
|
|
8a81c515df
|
added welcome parameter to packet sending
|
2024-02-21 20:50:45 +01:00 |
|
|
965395e9d4
|
implemented max_username_tries from server config
|
2024-02-21 20:29:40 +01:00 |
|
|
968498cf4e
|
implemented communication_time from server config
|
2024-02-21 20:18:39 +01:00 |
|
|
8c742b1884
|
implemented default_username from server config
|
2024-02-21 16:39:44 +01:00 |
|
|
e450032f26
|
implemented server_username from server config
|
2024-02-21 16:35:44 +01:00 |
|
|
06af6a801c
|
sending WHY2_CHAT_CODE_ACCEPT_MESSAGES earlier
|
2024-02-21 11:24:56 +01:00 |
|
|
f77f3a8c93
|
implemented config functions
way better now
|
2024-02-21 10:48:48 +01:00 |
|
|
a6f37b1aa3
|
added WHY2 into some chat-flags' identificator
|
2024-02-21 09:06:43 +01:00 |
|
|
f0730dd4fd
|
fixed smol allocation size
|
2024-02-20 17:06:40 +01:00 |
|
|
0525c43b6f
|
reverted "removed pointless strlen from for loops"
This reverts commit 49b53ec5b1ffd1931e51c7d7c17a64a99e2bd54e.
|
2024-02-20 14:45:35 +01:00 |
|
|
3355d6ceea
|
unfuck reverts
This reverts commit 577c84c997c3b970ea9407d6727af5adc613487e.
|
2024-02-20 14:44:46 +01:00 |
|
|
577c84c997
|
reverted "removed unused read_socket_from_raw fn"
reverting commit f3eb26ed59cd09f066a266b9e72bfd94982e46cb.
|
2024-02-20 14:41:23 +01:00 |
|
|
49b53ec5b1
|
removed pointless strlen from for loops
|
2024-02-20 13:45:47 +01:00 |
|
|
f3eb26ed59
|
removed unused read_socket_from_raw fn
|
2024-02-20 13:32:16 +01:00 |
|
|
54aed2330b
|
fixed bad socket read in some cases
idk just reading it by bytes now and it seems to work
|
2024-02-20 13:31:54 +01:00 |
|
|
8f62b45d1d
|
protecting from invalid json syntax crashes
|
2024-02-20 13:24:31 +01:00 |
|
|
5d5f9be9ab
|
reverting "allocating sizeof(char*) in chat-misc"
reverts commit d6a0cc40fb20379bae02ace13a3569577c8b75b6.
|
2024-02-19 13:09:47 +01:00 |
|
|
f8ac3a5b1a
|
made code a bit safer
|
2024-02-19 12:48:26 +01:00 |
|
|
857a3afe95
|
removed gotos from why2_communicate_thread msg loop
|
2024-02-19 12:41:57 +01:00 |
|
|
e77937e69e
|
removed goto from why2_listen_server loop
hopefully it won't cause even more errors
|
2024-02-19 12:14:11 +01:00 |
|
|
8da0383c82
|
fixed username formatting & iters
|
2024-02-19 11:06:07 +01:00 |
|
|
b960f7a5c6
|
removing non-ascii characters from messages
|
2024-02-18 20:14:32 +01:00 |
|
|
68140fe7c8
|
made formatting so fucking pretty
|
2024-02-18 19:31:07 +01:00 |
|
|
82df5f5b1c
|
fixed invalid_username formatting
|
2024-02-18 14:55:02 +01:00 |
|
|
5873d55d98
|
moved WHY2_CHAT_CODE_PICK_USERNAME code sending from loop
|
2024-02-18 14:27:10 +01:00 |
|
|
b1c104247c
|
added null check to chat-misc
|
2024-02-18 14:26:37 +01:00 |
|
|
d6a0cc40fb
|
allocating sizeof(char*) in chat-misc
possibly allocating too much but idk
|
2024-02-02 11:00:36 +01:00 |
|
|
0e9b5df58c
|
made send_to_all not run in a thread
|
2024-02-02 10:59:22 +01:00 |
|
|
b41d5703f4
|
checking decoded_buffer for NULL
|
2024-01-30 21:01:07 +01:00 |
|