gakujin wrote:I am dealing with porting this to C# and I noticed something in the CharServer/CharServer.cpp line 199
- if(client->userid = thischannel->id)
My memory is vague with C++, but, doesn't this assign the value of thischannel->id to client->userid... thus always being true and assigning a value incorrectly?? If I'm wrong, I apologize, lol, it's been a while since I've seen C++.
It's "==" indeed but I got a "bad" news from you, it seems you're porting the rev 80 which is very old and outdated, not using STBs, AIPs, QSDs and stuff...
This has been corrected (and some other like this which issue warnings in VC++ for example) in the dev rev.
You should port the dev rev instead which supports naRose's client without modification to the Trose.exe and his latest files.
viewtopic.php?f=18&t=2189