Commit graph

19 commits

Author SHA1 Message Date
ChillerDragon 53eb43e0b3 fix typo in readme 2024-02-20 20:43:52 +08:00
ChillerDragon 9a276526ef Use git for versioning not folder names 2023-09-17 17:33:46 +02:00
ChillerDragon fe3e581f86 Make client callbacks arrays
Allows to setup multiple on_* hook blocks as a lib user

closed #10
2022-11-14 10:25:28 +01:00
ChillerDragon 6275508a18 Documentation refactor 2022-11-13 13:50:21 +01:00
ChillerDragon 6c005497d4 Layout server control msg structure
Thus closed #5
By deciding to support server as well.

This is rebranding from teeworlds-client to teeworlds_network
And thus also including a bunch of file renames
2022-11-09 08:56:18 +01:00
ChillerDragon a248ae1ed8 Properly versioned documentation 2022-11-05 19:33:08 +01:00
ChillerDragon 00f2c89d93 Opsi logic error 2022-11-05 16:40:00 +01:00
ChillerDragon 6ad64d7a2d Always knew i did not fully understand procs
Still not sure if I do

closed #1
2022-11-05 16:38:54 +01:00
ChillerDragon d71a198219 opsi 2022-11-05 11:08:19 +01:00
ChillerDragon 771bdfe859 Holy sh*t this lib is actually usable 2022-11-05 11:07:16 +01:00
ChillerDragon 1d3076e34b Break api hook_chat -> on_chat 2022-11-05 09:39:16 +01:00
ChillerDragon 57dfc76588 Stabilize api yikes 2022-11-04 16:57:50 +01:00
ChillerDragon 0f9c9a0804 Proper chat message support 2022-11-04 16:26:24 +01:00
ChillerDragon 875132a03a Document more samples 2022-11-04 13:22:29 +01:00
ChillerDragon 794915942c Close connection on ctrl+c 2022-11-04 13:07:34 +01:00
ChillerDragon 24fa105f66 Do not spawn a thread by default
This allows users to implement better multi threading than me.
Or if someone just wants to fire and forget a client that should just
use the provided hooks then not detaching takes away the effort
of keeping the program running.

Imo it is an easier and more fun problem to have:

  "My client connects fine but my other ruby code does not run"

than

  "My program just quits when I run it"
2022-11-01 15:32:47 +01:00
ChillerDragon 618ac5f5e3 Was not sure if lib or full client
I guess we go for library now
2022-11-01 14:26:40 +01:00
ChillerDragon 9fc83cb327 Allow hooking in custom chat code 2022-11-01 14:25:56 +01:00
Chiller Dragon 81b8366792
Initial commit 2022-10-25 14:07:56 +02:00