• SMF Registration
    59 replies, posted
Hello, i saw a couple of servers using the script where you can register on forums when you join the server for the first time. Please help me. Thanks
It uses mysql databases. They link in game to forum accounts.
I know that, but i was looking for the code :D
I am pretty sure you don't want to say that you need it for Perp 2?
Well I am a amatuer lua coder but this should not be too hard. If I have some time tomorrow I could give it a shot. Basic derma and SQL system, I will public release it after so that everyone can use it. Also, do you want it to be either of these?: - Register in game and not allowed on forum - Register on forum and sign in in game - Register on either
[QUOTE=Persious;28349527]I am pretty sure you don't want to say that you need it for Perp 2?[/QUOTE] Nope, i don't like PERP. Just for a simple server
[QUOTE=RTM xBEASTx;28350665]Well I am a amatuer lua coder[/QUOTE] [b]No your not you have no idea what your talking about your not a coder at all you just seem to sit in this section acting as if you know what your talking about[/b]
Yes I clearly sit in here doing nothing. Just wait till I start on the system and it's a nice working system. I would like to know your response then. [editline]1st March 2011[/editline] Also. At least I'm attempting and trying to help people. So I am not doing nothing in this board. The only reason you seem to be here is too troll me. I'm attempting something new, that's how I learn. That's how I go FTP My silly amateur codes to a good coder.
[QUOTE=RTM xBEASTx;28362566] Just wait till I start on the system and it's a nice working system. I would like to know your response then. [/QUOTE] Cant wait to see all the help threads you make for your "system"
Lol. But atleast let him try.
[QUOTE=RTM xBEASTx;28350665]Well I am a amatuer lua coder but this should not be too hard. If I have some time tomorrow I could give it a shot. Basic derma and SQL system, I will public release it after so that everyone can use it. Also, do you want it to be either of these?: - Register in game and not allowed on forum - Register on forum and sign in in game - Register on either[/QUOTE] I want to register in game not on forums
Ok, well the biggest problem i have at the moment is turning the password to sha1 Hashing lll work out a way, but other than that i dont think it will be too hard.
You could use that dll module that does that. :P Or take the easy way out and use a website like PERP.
What is everybody on about when someone mentions register in game. Why does everyone say Perp?
Because PERP was the first to do it I believe.
Ok, well since some ass feels the need to ddos me i am on my phone and cant do much reading up on this. I am getting some help from some php literate friends and i hope to fix you up a nice system
Look into your database, specifically the table for SMF users. You could use a Lua script to manually insert the user registration values into the database using some derma and a SQL module (I recommend gm_tmysql). The only problem you might run into is that SMF is a pretty substantial forum software, so I would imagine they would salt their passwords (This basically means that if you insert plain text passwords into the database it wouldn't work because when they're logging in theres a few little tricks they use to prevent password bruteforcing). I'd be willing to write you a registration script for $20.00 if you want :p [editline]1st March 2011[/editline] [QUOTE=RTM xBEASTx;28366123]What is everybody on about when someone mentions register in game. Why does everyone say Perp?[/QUOTE] Because most people that come on here asking for help with SQL on their servers are looking for PERP help.
[QUOTE=Kopimi;28366389]Look into your database, specifically the table for SMF users. You could use a Lua script to manually insert the user registration values into the database using some derma and a SQL module (I recommend gm_tmysql). The only problem you might run into is that SMF is a pretty substantial forum software, so I would imagine they would salt their passwords (This basically means that if you insert plain text passwords into the database it wouldn't work because when they're logging in theres a few little tricks they use to prevent password bruteforcing). I'd be willing to write you a registration script for $20.00 if you want :p [editline]1st March 2011[/editline] Because most people that come on here asking for help with SQL on their servers are looking for PERP help.[/QUOTE] Yea they salt the passwords and sha1 encrypt them, there's a module that can do that on this site though. :P
[QUOTE=Drew P. Richard;28366524]Yea they salt the passwords and sha1 encrypt them, there's a module that can do that on this site though. :P[/QUOTE] Fucking modules, stealing my job opportunities.
He'd have to figure out how to use it first.
Well im doing this for free and a public release. also, they use a SHA1 Encryption and Salt so it will be hard to encrpyt a password to that and add it to database. Im going to take a php aproach to it and use the built in SSI and register functions of SMF
[QUOTE=RTM xBEASTx;28366548]Well im doing this for free and a public release. also, they use a SHA1 Encryption and Salt so it will be hard to encrpyt a password to that and add it to database. Im going to take a php aproach to it and use the built in SSI and register functions of SMF[/QUOTE] I could do it better for $20.00 :frog: [QUOTE=Drew P. Richard;28366592]I'm going to give you this then, this is how they do their encryption, don't bother using their SSI, just do it yourself. $password = sha1(strtolower($username).$password); $passwordSalt = substr(md5(mt_rand()),0,4);[/QUOTE] Its been fun boys.. :frown:
I'm going to give you this then, this is how they do their encryption, don't bother using their SSI, just do it yourself. $password = sha1(strtolower($username).$password); $passwordSalt = substr(md5(mt_rand()),0,4);
[url]http://www.facepunch.com/threads/1018405-gm_cryptopeepee-MD2-MD4-MD5-SHA1-SHA256-SHA512-WHIRLPOOL-Tiger-RIPEMD-CRC32-AES[/url] is the dll But what is Salt still?
It's a 4 character string. I'm not exactly sure what it does to be honest.
[QUOTE=RTM xBEASTx;28366622][url]http://www.facepunch.com/threads/1018405-gm_cryptopeepee-MD2-MD4-MD5-SHA1-SHA256-SHA512-WHIRLPOOL-Tiger-RIPEMD-CRC32-AES[/url] is the dll But what is Salt still?[/QUOTE] Basically when you register, they take in your password in plain text, then encrypt it. Then they generate a random number that only the server is aware of (This is never shown to the registrant), and stores that in the database too. Then they get your salt, put it in front of your already encrypted password, and re-encrypt that whole string. Then when you try to log in, they take the string you input as the password, encrypt it once more, then grab the salt associated with your account, add it to your input string, and re-encrypt it, then check it against the password in the database, and if the end results are the same, you're logged in. I think. I haven't been playing with password salting for a while now.
I can understand the password Sha1 but i still dont see how or were the salt ties in. [editline]1st March 2011[/editline] [QUOTE=Kopimi;28366718]Basically when you register, they take in your password in plain text, then encrypt it. Then they generate a random number that only the server is aware of (This is never shown to the registrant), and stores that in the database too. Then they get your salt, put it in front of your already encrypted password, and re-encrypt that whole string. I think. I haven't been playing with password salting for a while now.[/QUOTE] Wow, that is a complicated encryption.
[QUOTE=RTM xBEASTx;28366733]I can understand the password Sha1 but i still dont see how or were the salt ties in. [editline]1st March 2011[/editline] Wow, that is a complicated encryption.[/QUOTE] Yeah, but its not difficult.
Very complicated but i should get my head around it easily. Off to bed for me and ill have a fresh brain for it tommorow. [editline]1st March 2011[/editline] Dam automerge
So one week ago you were asking for people to make [code] - Basic Money System - Basic Leveling system - A shop to spend money on (Simple Stuff) - Certain things showing above your head to certain people - Teams and classes in the teams - Earn XP to level up - Upgradable Attributes - Saving System and loading system [/code] for you, most of it being simple to make and now you seem to think you can make this? I think you actually need to learn lua before you start trying to make things would make life a bit easyer
Sorry, you need to Log In to post a reply to this thread.