Angelemu founder
- Joined
- Mar 2, 2011
- Messages
- 525
- Reaction score
- 247
You can create chars now (wohoo) but they are not saved in any way, as there is still no gamedb.
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!Characters will be stored in sql, auth will use the same sql structure we are all used to ( with readable hex passwords )
At the moment all characters you create are only produced for sending them to client, then the data is discarded by server xD
You can create chars now (wohoo) but they are not saved in any way, as there is still no gamedb.
Characters will be stored in sql, auth will use the same sql structure we are all used to ( with readable hex passwords )
At the moment all characters you create are only produced for sending them to client, then the data is discarded by server xD
If by readable you mean you can get the pass from the hash, this is a huge security flaw. If not, well nevermind
Be aware that using a slow db backend like mysql will need to implement some sort of cache (like actual PW server does) where characters are saved every few minutes. Constant queries would lag the game. (I had a really good article about this but lost it now, I'll keep seeking T_T)
Mysql does perform well yes, but its still not able to handle something like thousand of queries per second. Especially if you run other things on the same server. There is no need to spend double in the server when smart design from the start saves it
Some reading although not the one I was searching for:You must be registered to see links
P.S. php insert works perfectly fine if you use php 5.3 and mysqli (You must be registered to see links) drivers (50k inserts in <10s)
Current password isn't binary weird stuff, its just a md5 hash base64 encoded. But yeah as long as it is properly hashed it doesn't really matter =P
well... base64
Edit: maybe it's because you're using the vbox version? I'm using the mysql production version modified by mono.
And like I said, unless authd was modified to use the base64 the binary is how its stored in the db...
Actually, to correct this a bit, the base64 version is still the md5 hash in binary form. Just with base64 applied over it (Kind of pointless to be honest. It adds extra routines for no good reason.).
$Pass = base64_encode(md5($Login.$Pass, true));
Noooo!!! PWI changed something to their client, we can't connect anymore to your emulator :
Screenshot:You must be registered to see links
Epic Fail. I can connect to the emulator from last version PWI))Noooo!!! PWI changed something to their client, we can't connect anymore to your emulator :
Screenshot:You must be registered to see links