drk Posted December 15, 2011 Posted December 15, 2011 Hi everyone ! I will post How to do a captcha system. You can integrate this to your code. This is a simple code. First, you have to create a LUA file. Open the file and write this: function myCaptcha() local code = { "a", "b", "c", "d", "e", "f", "g", "h", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "x", "y", "z", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", ",", ".", "'", "?" } local randomCode = math.random ( 2, #code ) local theCode = " "..code[randomCode].." " guiSetText ( var, "Code: [ " .. theCode .. " ]" ) return theCode end Now, on your GUI code set the varible name "var" to your GUI label on the code will appear. Done, if you have did correctly the captcha code will apear on the GUI label of your GUI when you start the resource of your GUI. EDIT: On the next post I will explain how to verify if you have entered the correct code. EPT Team Server Development: 0% Learning C++ | C++ is amazing
Cadu12 Posted December 15, 2011 Posted December 15, 2011 viewtopic.php?f=108&t=36791#p379190 Copyright Ingame nick: Cadu12
lil Toady Posted December 16, 2011 Posted December 16, 2011 Dude, this captcha will only create one character, and why do you even need it? Captchas exist to prevent bot spam, show me any bot that is able to connect to mta servers and run scripts, i've never seen any. Do not PM me, im not going to read it anyway.
Castillo Posted December 16, 2011 Posted December 16, 2011 Indeed, I never seen a bot that could do that too, so it's useless. P.S: You just copy pasted FatalTerror's script. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Cadu12 Posted December 16, 2011 Posted December 16, 2011 Maybe spammer click click click? Ingame nick: Cadu12
TAPL Posted December 16, 2011 Posted December 16, 2011 Dude, this captcha will only create one character, and why do you even need it? Captchas exist to prevent bot spam, show me any bot that is able to connect to mta servers and run scripts, i've never seen any. from few months an idiot using bot program register in my server 180 thousand accounts.
12p Posted December 16, 2011 Posted December 16, 2011 Dude, this captcha will only create one character, and why do you even need it? Captchas exist to prevent bot spam, show me any bot that is able to connect to mta servers and run scripts, i've never seen any. ...yet. Don't underestimate these guys: They can do more than you know, if they spend enough hours in front of a PC. Damn hackers.
AGENT_STEELMEAT Posted December 16, 2011 Posted December 16, 2011 A captcha system present in a game is retarded. Any sort of antispam system should be serverside anyway (you should never trust the client). Also:
drk Posted December 16, 2011 Author Posted December 16, 2011 Dude, this captcha will only create one character, and why do you even need it? Captchas exist to prevent bot spam, show me any bot that is able to connect to mta servers and run scripts, i've never seen any. Isn't bots, but Hacks yes. My friend was created a hack that can get admin privilegies in servers, run scripts, and bug the freeroam resource ^^ And it work, i've tested. EPT Team Server Development: 0% Learning C++ | C++ is amazing
AGENT_STEELMEAT Posted December 16, 2011 Posted December 16, 2011 My friend created a hack that hacks the server, runs scripts, bugs the freeroam resource, and makes toast. Since you don't have any proof of yours, I don't need any for mine.
Castillo Posted December 16, 2011 Posted December 16, 2011 You're the same person who asked how to hack a server.. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
drk Posted December 17, 2011 Author Posted December 17, 2011 You're the same person who asked how to hack a server.. I know EPT Team Server Development: 0% Learning C++ | C++ is amazing
drk Posted December 17, 2011 Author Posted December 17, 2011 Oh, that's noob iMortal. Yeah, i'm noob, so why you keep asking questions here on the forum how to fix mistakes? You were not the best ? Do not answer anything that is not necessary, or you'll get banned ^^ EPT Team Server Development: 0% Learning C++ | C++ is amazing
myonlake Posted December 17, 2011 Posted December 17, 2011 I tried to hack the server with one text box, but I took an arrow in the knee. If I helped you, please click the like button on the right Thanks!
NotAvailable Posted December 20, 2011 Posted December 20, 2011 I tried to hack the server with one text box, but I took an arrow in the knee. I tried to hack a website but when i walked to the bathroom i took an arrow in the knee.
drk Posted December 20, 2011 Author Posted December 20, 2011 OK OK OK OK OK I'm noob! I just posted here the code to help some people and forgot about copyright. Any problems? EPT Team Server Development: 0% Learning C++ | C++ is amazing
Orange Posted December 21, 2011 Posted December 21, 2011 Now gtfo, or I'm going to rape your server using a special plug :3 http://zduniak.net - don't contact me regarding mta:sa
12p Posted December 21, 2011 Posted December 21, 2011 JUST... Damn I'm bored of this thread, I want it to be trashed
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now