1506 Commits

Author SHA1 Message Date
8bd3df1ae1
added json format validation to read_socket_raw 2024-08-30 13:41:01 +02:00
3fc339a9fb
fully implemented new WHY2_CONFIG_DIR
i moved it to user folder cause it causes permission problems on multi-user machine.
2024-08-30 00:54:17 +02:00
8ef39ada5f
changed WHY2_VERSIONS_NAME 2024-08-30 00:49:45 +02:00
e802f5f483
moved why2_dir from init_config to why2_directory fn 2024-08-30 00:47:52 +02:00
db1d487a2e
moved WHY2_CONFIG_DIR to core-flags 2024-08-30 00:44:38 +02:00
04d411e42a
declared why2_dir fn 2024-08-30 00:42:40 +02:00
ca97b45059
solved infinite loop in read_socket_raw
by the worst possible solution but yeahhh
2024-08-30 00:31:59 +02:00
d12936d1d0
showing pm to both users 2024-08-30 00:23:49 +02:00
2e5e9682a3
decoding pm from end-user 2024-08-30 00:21:59 +02:00
8fcddab726
sending both author and recipient in pm 2024-08-30 00:21:35 +02:00
2d5a18d667
added infinite loop todo
i mean yk, it works but its shit
2024-08-29 23:35:46 +02:00
af233c44ef
sending pm back to end user on server-side 2024-08-28 21:53:19 +02:00
2cc3cd0b78
sending pm back to end user on server-side 2024-08-28 21:52:15 +02:00
3314a82b3a
sending pm to server 2024-08-28 21:24:32 +02:00
456b523012
created WHY2_CHAT_CODE_PM_SERVER code 2024-08-28 14:00:24 +02:00
290ad5c101
moved invalid command/stuff into fn 2024-08-28 13:48:45 +02:00
854e8399fb
trimming string on command fn 2024-08-28 13:48:18 +02:00
7647be3daf
starting IDs from 1 instead of 0
atoi returns 0 in failure, meaning all typos would send PMs to first user
2024-08-28 13:38:17 +02:00
963e75da51
clearing arg on command 2024-08-28 13:21:33 +02:00
66ceb25a89
comment typo fix 2024-08-28 12:59:43 +02:00
0dfd0218e1
added version and pm cmd to help 2024-08-28 12:59:09 +02:00
64773d1f30
implemented version cmd receive half on client-side 2024-08-28 12:45:48 +02:00
41bbfc2b18
reverted the demented why2_get_version 2024-08-28 12:44:33 +02:00
6adf4a391a
removed stupid get_version
im so fucking dumb... i was sending latest why2 verison instead of current
2024-08-28 12:40:30 +02:00
1735da3807
moved why2_get_version string extraction to get_version 2024-08-28 12:21:59 +02:00
ef235e48f7
created server-side code for version command
sending the version back to client
2024-08-28 12:13:59 +02:00
e30e2dea59
created WHY2_CHAT_CODE_VERSION_SERVER code 2024-08-28 12:07:32 +02:00
e5e6460908
changed comment of get_version 2024-08-28 11:58:47 +02:00
debf90e5d2
implemented why2_get_version in why2_check_version 2024-08-28 11:55:29 +02:00
b92ed3d6a8
declared why2_get_version 2024-08-28 11:48:52 +02:00
f20550dec6
removed chat why2_check_version error todo
lol i def have clue why it works now
2024-08-28 11:46:51 +02:00
a4ec91979e
implemented send part of version cmd on client-side 2024-08-28 11:43:50 +02:00
de4b6a39bf
being correct with user pronouns 2024-08-28 11:42:13 +02:00
a5b6364c26
checking version on chat client&server startup 2024-08-28 11:39:01 +02:00
54b4ebe3e6
created version cmd and code
also added missing comments to codes
2024-08-28 11:35:09 +02:00
5442104f35
added list cmd to help 2024-08-28 11:24:13 +02:00
e18ce453be
comment typo fix 2024-08-28 11:21:08 +02:00
59ae168b15
added so pretty way of getting dynamic size of received msg
god damn it, its awesome. Also, I should get rid of the goto in there, that's stupid lol. Gonna do it tmrw ig
2024-08-27 22:42:45 +02:00
aad627b77a
created PM code 2024-04-28 15:25:43 +02:00
d539654cc3
handling LIST code sent back from server 2024-04-28 12:38:34 +02:00
e50184ad66
sedning one separator more on LIST code 2024-04-28 12:37:24 +02:00
bc14effeee
responding to LIST code from client
oh dear satan, this is possibly the worst code I have ever written. Please, if anyone has any idea how to handle strings in C in better ways, let me know.
2024-04-28 11:50:59 +02:00
cd80a640af
created LIST code but from s->c 2024-04-28 11:49:51 +02:00
c37538aa75
defined why2_list_get_size
not sure if this is correct lol

EDIT: It didn't work. I fixed it now lmao
2024-04-27 12:26:56 +02:00
c4ddb6888a
declared why2_list_get_size fn 2024-04-27 12:18:07 +02:00
97ba473143
removed INVALID_COMMAND code
it was unused atp
2024-04-27 12:01:49 +02:00
cfa9f7bcca
implemented WHY2_CHAT_COMMAND_PREFIX on server-side 2024-04-27 11:58:01 +02:00
4134f9d1b3
implemented LIST command in client
not in server yet haha
2024-04-27 11:49:00 +02:00
1b4401f944
created WHY2_CHAT_COMMAND_LIST macro 2024-04-27 11:47:04 +02:00
37b1a3a82d
changed code_998 to CODE_LIST 2024-04-27 11:43:53 +02:00