Commit Graph

51 Commits

Author SHA1 Message Date
j4nk 21468434cb Server pings clients periodically, clients error if lost connection 2025-03-23 18:09:32 -04:00
j4nk 3688c202a4 Server sends out a token with response 2025-03-23 17:45:51 -04:00
j4nk 9f8b8057c3 Added sha library for generating tokens 2025-03-23 17:31:26 -04:00
j4nk 378ce1b6bc Clients periodically ping server, server checks for disconnects 2025-03-23 17:14:21 -04:00
j4nk 0338155b3a Add timer infrastructure to engine, can now schedule lua func calls 2025-03-23 02:03:04 -04:00
j4nk 823f3b0e60 Once connected, can now view client list 2025-03-22 22:53:31 -04:00
j4nk 21cf5bca4c Fixed some bugs in lobby ui 2025-03-22 22:38:39 -04:00
j4nk 5ee6510748 Fixed bug in ui, oct_utils. Lobby client now has user interface 2025-03-22 21:59:43 -04:00
j4nk 6ccade6e7c Added a label to textboxes 2025-03-22 20:58:58 -04:00
j4nk 1f9a366025 Added in ui library, implemented textboxes 2025-03-22 20:44:37 -04:00
j4nk 6274c6b098 lobby server broadcast clientlist everyone upon new registration 2025-03-17 23:52:31 -04:00
j4nk 97124b1e64 Redoing lobby, client registration implemented 2025-03-16 23:15:27 -04:00
j4nk 7cf075d1a6 Pass listening port to lua when calling oct_init 2025-03-16 22:05:09 -04:00
j4nk 59932d224f Added ability to send string to oct_init via cmd line arg 2025-03-16 17:35:06 -04:00
j4nk 0323c86399 Started on lobby. Can register new client 2023-09-11 02:59:25 -04:00
j4nk 3d3155fc46 Fixed bug where messages were mangled in reception 2023-09-11 02:02:18 -04:00
j4nk 0d2a9150a4 json.lua, modified to warn rather than error on bad json 2023-08-14 21:33:12 -04:00
j4nk 40c7712990 Add clean target to Makefile, started using pkg-config 2023-08-13 21:37:34 -04:00
j4nk 98f8e3d962 Update 'README.md' 2023-08-08 23:02:53 -04:00
j4nk d5e7891af1 Added license 2023-08-08 13:13:38 -04:00
j4nk f254c7580d Redid networking to a queue-based system 2023-08-08 13:07:05 -04:00
j4nk a28a13af5b Fixed README: accidentally middle-clicked in some places 2023-08-04 04:15:05 -04:00
j4nk 75274df376 Added README 2023-08-04 04:08:58 -04:00
a 202f457fe8 Fixed broken networking 2023-08-04 02:58:17 -04:00
j4nk 27e4c19117 Finished address book, but broke networking. Needs debug 2023-06-09 09:42:19 -04:00
j4nk 1678fa286b Added untested address book 2023-06-08 22:07:58 -04:00
a 5ff3743472 Started work on address book, cleaned up code 2023-06-04 12:20:57 -04:00
j4nk 73af2f4451 close socket after using, remove unused forward declarations 2023-06-02 08:25:00 -04:00
j4nk 61b50c8fe8 Added lua scripts for testing error checking 2023-05-31 09:27:41 -04:00
j4nk 1d6d8f69ca Revamped errors in main, much more concise now 2023-05-31 09:25:31 -04:00
j4nk f89129d82e Added error checking to lua calls 2023-05-31 08:58:52 -04:00
j4nk 32f4ee7b8f Signal to need networking, no diff between client/server 2023-05-28 23:42:23 -04:00
j4nk 0cc7f69662 Added ability to send messages 2023-05-27 17:28:19 -04:00
j4nk 53651462d6 Can receive messages 2023-05-26 23:52:57 -04:00
j4nk bb510e068e Changed server/client differentiation to one peer 2023-05-26 21:20:13 -04:00
j4nk 2879a442d3 Fixed demo2.lua to work with new oct_init requirements 2023-05-26 20:02:30 -04:00
j4nk 15e54bec5a Checks and notifies of errors in lua script now 2023-05-26 19:53:34 -04:00
j4nk bb53693ace Added option to disable termbox if not needed 2023-05-26 19:43:18 -04:00
j4nk 3ccf158547 Split oct_termbox_sprite.h into source and header 2023-05-24 20:11:56 -04:00
j4nk f786c11468 Made compile warning disappear, may need to rework 2023-05-23 12:18:52 -04:00
j4nk a6c18d293a Added logging to lua-side, logging library is complete 2023-05-23 11:26:47 -04:00
j4nk 1576e64176 Forgot to add log code 2023-05-23 10:59:37 -04:00
j4nk 6a13c8d00e Added in logging on the C-side, still need to do for lua 2023-05-23 10:58:52 -04:00
j4nk bfd1162cdc Fixed memory leak caused by nonexistent file 2023-05-23 08:19:01 -04:00
j4nk 3d2b590389 Added usage and version switches 2023-05-22 09:57:01 -04:00
j4nk 522f64f68d Allow specifying server port as cmd line arg 2023-05-22 09:29:35 -04:00
j4nk ecf6115dd1 Started on server. Can listen on socket, nothing else 2023-05-21 18:47:35 -04:00
j4nk 19562a51d0 Removed old lua script 2023-05-17 21:23:06 -04:00
j4nk 1607652f62 Added in errors, ability to specify lua file 2023-01-08 19:46:10 -05:00
j4nk c65a87fab6 Updated termbox, added scorekeeping to pong.lua 2023-01-06 20:05:34 -05:00