Ok I have 2 errors from my savegame method that uses passhash. Here are the errors.
Code:
client.java:20932: passHash(java.lang.String,java.lang.String) in client cannot
be applied to (java.lang.String)
characterfile.write(passHash(playerPass), 0, passHash(pl
ayerPass)
^
client.java:20932: passHash(java.lang.String,java.lang.String) in client cannot
be applied to (java.lang.String)
characterfile.write(passHash(playerPass), 0, passHash(pl
ayerPass)
^
2 errors
Press any key to continue . . .
I know what the error means, but whenever I try to fix, it keeps telling me invalid user or pass when I try to login and in the command prompt it says client null disconnected. I will give you the piece of coding you need to fix on my server to get it working!
Code:
characterfile.write(passHash(playerPass), 0, passHash(playerPass)
.length());
So if anyone can fix that coding and give to me, this will be working completely! And ty for this because it connected me to the SQL database already!