SA-MP Forums Archive
Saving problems - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Saving problems (/showthread.php?tid=96340)



Saving problems - virtualmarc - 07.09.2009

Hello,
after a long time I'm back

I took the Freeroam/RPG script of tAxI and implanted MD5 support (so that user can login from my website )

But sometimes (if the user is logged in or not) the passwort get changed?!?!?!?!
There's not the MD5 Hash but something like this:
Код:
К^У
oder
Код:
^R^L
oder
Код:
^A^У
oder
Код:
^A°
etc.
So the users can't login anymore!

Here's my code:
http://pawno.pastebin.com/f7b4e442b

and the md5 include (not by me):
http://pawno.pastebin.com/f4ae8e7ba


Re: Saving problems - virtualmarc - 10.09.2009

/PUSH
Nobody has an answer? It's really important!!!!!


Re: Saving problems - Calgon - 10.09.2009

I imagine that you're experiencing an encoding error (meaning that something doesn't support the format that MD5 encrypts the string into, well, the file encoding format doesn't support it).. The best way to fix this is to review the script and see how it saves, whether the encoding format is the same as in your script.


Re: Saving problems - virtualmarc - 12.09.2009

I'm not so good at this ... can someone look at this?