Jump to content

Mybb Login


dudeks

Recommended Posts

Hi.

I have a one, big problem. I want to make a MyBB accounts login system.

Forum Account = Ingame Account.

I find on google how to hash a password for mybb. And here is problem.

MD5 in mta make other hash, than md5 in php.

In php mybb hash is: 6d15580d1ee35e0b93c9c98421c3412d

In mta mybb hash is: F0530A463593D55FB9F750B706E4EF5E

How to fix it?

Link to comment

If you have stupid answers, don't reply here, I don't need your stupid answers.

I have gamemode on mysql, i get a salt from db, pass from gui, hash it.

Here is problem, because hash generated by md5 in mta and php are different, then I can't check password correctly.

Link to comment

Your answers are stupid and that's it. You write, I used MySQL, somehow these things to the data, such as salt I need to get ... -.-

You wrote a feed to make a hash of it. In the first post I wrote that I did it, but different and I do not like to compare them.

Hash:

string.lower(md5(md5(getMybb(p, 'salt'))..""..md5(pw))) 

Function getMybb() is not needed here. It's work.

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...