AH-HA, to stop the crashing and memory leak, add "win32" at the end of the functions, like this...
Its not the first time this "win32" thing has done this to me, I cant believe I didnt think of it earlier.
Global RN_ServerReceive%(rakServerInterface%)"win32" = GetProcAddress(lib, "_RN_ServerReceive@4"):D
Its not the first time this "win32" thing has done this to me, I cant believe I didnt think of it earlier.