Linux and windows is not ALMOST the same thing. It IS the same thing - an operating system. Although both of them are working in a completely different way. I'd compare them like an manual transmission with overdrive vs automatic transmission - each driver chooses depending on the needs ;)
Ok, but the sad reality is that the biggest part of l2 player passwords are not longer that 8 symbols and do not have any upper-case letters or special symbols... And that they are not salted :/
Okay, if it compiles and does not throw any runtime errors, there should be a problem in the "logic" somewhere. You need to find which part does not act like it is intended do. One of the simplest ways to do that is printing out a message to the logs on almost each step. Something like this:
It should be all daisies and rainbows after you find the "broken" part
Okay so, as i guess, you've removed some comments, some empty lines and maybe some curly braces where they're not needed. Surprise - that does not optimise anything, nor does the code become mystically "safer".
Hey, the answer is pretty legit actually. Much better than i've seen in similar forums for a while now. So welcome to maxcheaters and happy hunting for a team :) if anyone is looking for a team member, consider him. He looks like 'that guy' who might shine from the ashes if you ask me.