I recently added the binary accounts tut that Dave posted. I can create an account and login, but I can not create an account. For some reason, when creating an account it saves it as \accounts\advocate.doa but when I create a character, it does not pass the login name, so I end up getting my character in a file named like this:
\accounts\.doa
I can not figure out for the life of me what's wrong with it.
Any help would be much appreciated.
Hmmph can you update me on what you've updated so far with binary technique?
:: Pando
SavePlayer, LoadPlayer, AccountExist, PasswordOK.
I think that's it.
AccountExist, I just updated the file type from ini to doa.
That's how mine looks, aside from it being \data\accounts\
I'm thinking it's SavePlayer. But I can't find anything wrong with it.
Obviously, "Trim$(Player(index).Login)" is returning null for some reason.
Lol. It was an idiot move on my behalf. I currently cleaned everything up, and moved everything inside a data folder. I forgot to add the /data in front of the /accounts in sub LoadPlayer. Lol.
Haha, thanks pando.
Yeah they were a couple of simple mistakes, but he's got it working now. All is well.
By the way, pingu, it was returning null, because he didn't set the correct filename path in the loadplayer sub.