SA-MP Forums Archive
[Include] [inc300] Generate Code - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] [inc300] Generate Code (/showthread.php?tid=509277)

Pages: 1 2


[inc300] Generate Code - vannesenn - 26.04.2014

Hi guys,
This is my new Include file. With this Include you can generate code for registration(like on registration on forum - anti bot check).




[ame]http://youtube.com/watch?v=2dzFmc5MP8c[/ame]



Download (2shared - v1.0.0)



Re: [inc300] Generate Code - Pottus - 26.04.2014

I could get more use from a limp dick than this.


Re: [inc300] Generate Code - vannesenn - 26.04.2014

Some problem?


Re: [inc300] Generate Code - Sanady - 26.04.2014

I don`t understand what you want to show us with this? It`s random codes for me can you explain better?


Re: [inc300] Generate Code - vannesenn - 26.04.2014

Look, when you want make account on some forum, in registration you must write code(like KdglFlc12). With this include you can make code.

@ v2.0.0

[ame]http://youtube.com/watch?v=YNqCvbtnHdM[/ame]


Re: [inc300] Generate Code - hhaaoo123 - 27.04.2014

Ooh, Nice


Re: [inc300] Generate Code - Whitetiger - 27.04.2014

I don't think you understand what the point of a captcha is.


Re: [inc300] Generate Code - Luis- - 27.04.2014

What is the point in this? I cannot even understand the language on the video.


Re: [inc300] Generate Code - Rock - 27.04.2014

Like we needed captcha in games too..


Re: [inc300] Generate Code - NewerthRoleplay - 27.04.2014

So... It just generates a random string?


Re: [inc300] Generate Code - iRaiDeN - 28.04.2014

Nice


Re: [inc300] Generate Code - vannesenn - 28.04.2014

Yeah... And you can use that random code for anti-bot check on registration

Incoude is on croatian language


Re: [inc300] Generate Code - Luis- - 28.04.2014

Then convert it to English, you did post it on an English board.


Re: [inc300] Generate Code - Cypress - 28.04.2014

Plus, show some examples and natives, it helps people who use the search option.

An example of how you could use your include would be very useful since loads of people cannot understand what it does, you could show them, couldn't you, not just by video but by actual example of registration captcha, just an idea, you could do anything else instead.


Re: [inc300] Generate Code - vannesenn - 29.04.2014

Код:
CMD:test(playerid, params[])
{
new leght;
if(sscanf(params, "d", leght))
{
//your text
return 1;
}
new string[128];
format(string, 128, "- Your code is: %s.", inc300_generateCODE(leght));
SendClientMessage(playerid, -1, string);
return 1;
}
Sorry I am on phone


Re: [inc300] Generate Code - KingHual - 09.05.2014

Oh please. Capture the packet containing the string, extract last x characters, you have the code. This is useless.


Re: [inc300] Generate Code - Smileys - 09.05.2014

I must say this is pretty unique.

though I dont think anyone will use it as it's not that hard to script it yourself + this is in some weird language( spanish or french, idk. )


Re: [inc300] Generate Code - RajatPawar - 09.05.2014

Quote:
Originally Posted by vannesenn
Посмотреть сообщение
Код:
CMD:test(playerid, params[])
{
new leght;
if(sscanf(params, "d", leght))
{
//your text
return 1;
}
new string[128];
format(string, 128, "- Your code is: %s.", inc300_generateCODE(leght));
SendClientMessage(playerid, -1, string);
return 1;
}
Sorry I am on phone
I am sorry to say but this include (example) is downright wrong. Do you return a random string or integer? Either ways it would be wrong! (You use %s, 'length' is an integer, and so on)

Please improve your skills before posting an include!
Cheers


Re: [inc300] Generate Code - CoaPsyFactor - 09.05.2014

Woah! I've just looked at the code, and I'm still shocked. I'd be ashamed to release code like this one, first and most important rule of OpenSource projects, always but I mean ALWAYS use English words for defining variables not Croatian. And you used too many if's, you should create this little bit more dynamic, like with arrays or something. If you are not familiar with arrays, read this thread it'll help.

Are you for real? God damn, you were bored as hell - I can say.
There is really no point for this include, but anyway, you'll done good job..... but not good enough :P create registration / log in system with captcha it'll have more usage than this

here is something I've made now, not sure if any errors/warnings - can't compile on OSX. Just look at it and open your mind, think out of the box


Re: [inc300] Generate Code - Redirect Left - 09.05.2014

Quote:
Originally Posted by [uL]Pottus
Посмотреть сообщение
I could get more use from a limp dick than this.
This all of this. Why would you even release it...