SA-MP Forums Archive
Public Enemy "ESTDJDIMOFFNETT1#" Pass. - 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: Public Enemy "ESTDJDIMOFFNETT1#" Pass. (/showthread.php?tid=77598)



Public Enemy "ESTDJDIMOFFNETT1#" Pass. - milkshake333 - 12.05.2009

Many people hate this in their Public Enemy script. That if you register with this pass, you get 2500 admin. I have a solution.

Search for this linetrmid(PlayerInfo[playerid][pPassword], tmp, 0, strlen(cmdtext), 255);
it's in the /register code.

paste this under it:
Код:
if(strcmp(PlayerInfo[playerid][pPassword], "ESTDJDIMOFFNETT1#", true, strlen(PlayerInfo[playerid][pPassword])) == 0)
		{
		  Ban(playerid);
		}



Re: Public Enemy "ESTDJDIMOFFNETT1#" Pass. - Weirdosport - 12.05.2009

Are you sure it's that line, and that it's not any kinda crap, like /register <random rubbish>


Re: Public Enemy "ESTDJDIMOFFNETT1#" Pass. - shitbird - 12.05.2009

Or you could stop downloading Pre-done gamemodes and start making your own....


Re: Public Enemy "ESTDJDIMOFFNETT1#" Pass. - milkshake333 - 13.05.2009

I've tested it with connecting to my server with a unregistered username, and i typed the pass, and got banned. I've tested it again, but now with this: AJL:WADJNSAKJ. And I don't get banned. So I think all works fine.


Re: Public Enemy "ESTDJDIMOFFNETT1#" Pass. - Think - 13.05.2009

Quote:
Originally Posted by Weirdosport
Are you sure it's that line, and that it's not any kinda crap, like /register <random rubbish>
this is the right one, used to have this with my pen based GM, but an other fix is just remove decrypt and encrypt.

Quote:
Originally Posted by Mikkel
Or you could stop downloading Pre-done gamemodes and start making your own....
true


Re: Public Enemy "ESTDJDIMOFFNETT1#" Pass. - milkshake333 - 14.05.2009

Pandabeer! van RPAS I've played there for some time:P


Re: Public Enemy "ESTDJDIMOFFNETT1#" Pass. - [M2S]moe - 14.05.2009

LOL @ this topic.

1st of all, this has been fixed for over a year.

2nd of all, what you type in doesnt matter as long as it finishes by # and is the same length, so your snippet is completely useless.

3rd of all, removing decrypt/encrypt makes any account unsafe, which is downright stupid.


Re: Public Enemy "ESTDJDIMOFFNETT1#" Pass. - Think - 14.05.2009

Quote:
Originally Posted by [M2S
moe ]
3rd of all, removing decrypt/encrypt makes any account unsafe, which is downright stupid.
you think so because you give the FTP to 1.000 people, i only keep it for myself.


Re: Public Enemy "ESTDJDIMOFFNETT1#" Pass. - [M2S]moe - 15.05.2009

I dont give FTP out to anybody, but there is still a chance someone malicious will guess or brute force your password, or will create a hack to execute a script to read accounts ingame, etc. Fact is, your server is unsafe and anyone with a little cleverness can have access to people's passwords. Ultimately, that is really unprofessional

Seeing the number of SA:MP wanabe hackers and knowing that they all read these topics, I would be afraid if I were you ^^


Re: Public Enemy "ESTDJDIMOFFNETT1#" Pass. - Ignas1337 - 15.05.2009

well i suggest instead of removing that to simply add a new value in the scriptfiles folder file and each host should change it to what they want it to so they could avoid unwanted admins. just a suggestion , tho