Code: https://hastebin.com/ivowepiteb.m
Crash: "The thread tried to read from or write to a virtual adress for which it does not have the appropriate access.
Using: Visual Studio 2017
DLL: x64 Release
Client causes crash: https://prnt.sc/ph49ov
Client not causing crash & displaying information properly: https://prnt.sc/ph49pl
API version: 23 (3.3.2)


I don't get it why it does crash with SOME clients. PLEASE HELP ME OUT !
And another question: How do I get the channel ID and the client ID ?