Ok, just like someone else already did, i'm trying to build a ls bot, and the easiest way i've figured out is to use what njaguar already did

that means, to decompile ls.swf, modify the actionscript adding cool features, and recompile it.
Well, the first part (decompiling one) went pretty well, without any error.
But then, once i recompiled the swf, i got a "disconnected from the server" error every time i tried to login. So, i took wireshark, and, looking the dirrefernt packages, i discovered that the recompiled version put a carriage return at the end of every string it takes in input.
As a workaroud, i put my user and pwd in the as source, and now user, pw and gold pw seems right, their lenght is correct, but i still go a disconnected from the server.
Any clue about it? Or, at least ... does anyone knows a way to get the socketid variable value of the "original version", so that i can check if the hash function of the remcompiled version works well?
If you need the as source, just tell me and i'll send it to you