$ git clone http://tcclient.ion.nu/tc_client.git
commit e455eec9e13e94252c6d0bd495df9317f5d8c939
Author: Alicia <...>
Date:   Thu Dec 10 06:27:55 2015 +0100

    Adjusted for tinychat's new format of the 'join' AMF0 command.

diff --git a/client.c b/client.c
index c7f8250..cff4be3 100644
--- a/client.c
+++ b/client.c
@@ -829,9 +829,9 @@ int main(int argc, char** argv)
       fflush(stdout);
     }
     // join ("join", 0, "<ID>", "guest-<ID>")
-    else if(amfin->itemcount==4 && amfin->items[0].type==AMF_STRING && amf_comparestrings_c(&amfin->items[0].string, "join") && amfin->items[2].type==AMF_STRING && amfin->items[3].type==AMF_STRING)
+    else if(amfin->itemcount==4 && amfin->items[0].type==AMF_STRING && amf_comparestrings_c(&amfin->items[0].string, "join") && amfin->items[2].type==AMF_NUMBER && amfin->items[3].type==AMF_STRING)
     {
-      idlist_add(atoi(amfin->items[2].string.string), amfin->items[3].string.string);
+      idlist_add(amfin->items[2].number, amfin->items[3].string.string);
       printf("%s %s entered the channel\n", timestamp(), amfin->items[3].string.string);
       fflush(stdout);
     }