SA-MP Forums Archive
Help! I have a problem with my login/register system! - 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: Help! I have a problem with my login/register system! (/showthread.php?tid=26688)



Help! I have a problem with my login/register system! - kevin433 - 17.02.2008

Hi,
I have a problem with my login/register system!

Example: My password is 1234 and i type /login 1234567890 or something other with 1234 in the beginning it logges me in!

It's Astro(Denver)'s login/register system.

Here is my code: http://pastebin.ca/907589


Re: Help! I have a problem with my login/register system! - Micko9 - 18.03.2010

Quote:
Originally Posted by kevin433
Hi,
I have a problem with my login/register system!

Example: My password is 1234 and i type /login 1234567890 or something other with 1234 in the beginning it logges me in!

It's Astro(Denver)'s login/register system.

Here is my code: http://pastebin.ca/907589
dont use enumations ....


Re: Help! I have a problem with my login/register system! - ray187 - 18.03.2010

Micko... please just stop.


Re: Help! I have a problem with my login/register system! - Micko9 - 18.03.2010

Quote:
Originally Posted by ray187
Micko... please just stop.
stop what?


Re: Help! I have a problem with my login/register system! - ray187 - 18.03.2010

Stop giving people totally wrong advices.


Re: Help! I have a problem with my login/register system! - Correlli - 18.03.2010

Quote:
Originally Posted by Micko9
dont use enumations ....
Why not? Do you even know why enumerations are for? If you don't, then i suggest you to read this page.

And also.. check the date of the topic before you bump it next time..


Re: Help! I have a problem with my login/register system! - Micko9 - 18.03.2010

Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by Micko9
dont use enumations ....
Why not? Do you even know why enumerations are for? If you don't, then i suggest you to read this page.

And also.. check the date of the topic before you bump it next time..
i know but its safer to directly check the files cause of this : if a change is set to the file it will instantly take effect . You wont need to restart the sever .


Re: Help! I have a problem with my login/register system! - ray187 - 18.03.2010

That has nothing to do with safety. Using data directly from a different source (DB, files) or using variables in pawn always depends on the situation. You cannot assume that enums are worse in any perspective.

Honestly dude, stop talking constant nonesense.


Re: Help! I have a problem with my login/register system! - Onyx09 - 18.03.2010

Quote:
Originally Posted by ray187
That has nothing to do with safety. Using data directly from a different source (DB, files) or using variables in pawn always depends on the situation. You cannot assume that enums are worse in any perspective.

Honestly dude, stop talking constant nonesense.
you Too :P


Re: Help! I have a problem with my login/register system! - GaGlets(R) - 18.03.2010

can you just give us your login/ and register command/ dialog ?