drk Posted December 15, 2011 Share 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. Link to comment
Cadu12 Posted December 15, 2011 Share Posted December 15, 2011 viewtopic.php?f=108&t=36791#p379190 Copyright Link to comment
lil Toady Posted December 16, 2011 Share 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. Link to comment
Castillo Posted December 16, 2011 Share 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. Link to comment
Cadu12 Posted December 16, 2011 Share Posted December 16, 2011 Maybe spammer click click click? Link to comment
TAPL Posted December 16, 2011 Share 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. Link to comment
12p Posted December 16, 2011 Share 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. Link to comment
AGENT_STEELMEAT Posted December 16, 2011 Share 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: Link to comment
drk Posted December 16, 2011 Author Share 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. Link to comment
AGENT_STEELMEAT Posted December 16, 2011 Share 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. Link to comment
Castillo Posted December 16, 2011 Share Posted December 16, 2011 You're the same person who asked how to hack a server.. Link to comment
NotAvailable Posted December 16, 2011 Share Posted December 16, 2011 Eheh kiddie hackers Link to comment
drk Posted December 17, 2011 Author Share Posted December 17, 2011 You're the same person who asked how to hack a server.. I know Link to comment
CapY Posted December 17, 2011 Share Posted December 17, 2011 Oh, that's noob iMortal. Link to comment
drk Posted December 17, 2011 Author Share 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 ^^ Link to comment
myonlake Posted December 17, 2011 Share Posted December 17, 2011 I tried to hack the server with one text box, but I took an arrow in the knee. Link to comment
NotAvailable Posted December 20, 2011 Share 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. Link to comment
drk Posted December 20, 2011 Author Share 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? Link to comment
Orange Posted December 21, 2011 Share Posted December 21, 2011 Now gtfo, or I'm going to rape your server using a special plug :3 Link to comment
12p Posted December 21, 2011 Share Posted December 21, 2011 JUST... Damn I'm bored of this thread, I want it to be trashed Link to comment
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