| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 511 online users. » 1 Member(s) | 507 Guest(s) Bing, Google, Applebot, pikachu237325
|
| Latest Threads |
[Comunidade] Pawn Hub
Forum: Portuguese/Portugu?s
Last Post: Crazy_ArKzX
11 hours ago
» Replies: 0
» Views: 12
|
The size of the output am...
Forum: Questions and Suggestions
Last Post: wartacho
2026-01-11, 11:56 AM
» Replies: 1
» Views: 218
|
Why your server's economy...
Forum: General Discussions
Last Post: wartacho
2026-01-11, 11:39 AM
» Replies: 0
» Views: 49
|
Battlezone 2050 - Circa 2...
Forum: Gamemodes
Last Post: SwisherSweet
2026-01-11, 03:43 AM
» Replies: 1
» Views: 63
|
World War 3 - TDM - Circa...
Forum: Gamemodes
Last Post: SwisherSweet
2026-01-11, 03:24 AM
» Replies: 0
» Views: 45
|
Vortex Gaming server
Forum: Ex-Yu
Last Post: pmemorex2016
2026-01-10, 02:32 PM
» Replies: 0
» Views: 43
|
ZombieX Survival 0.3.7
Forum: Advertisements
Last Post: fazpharma148
2026-01-10, 11:47 AM
» Replies: 0
» Views: 43
|
The status of the INPC SD...
Forum: Support
Last Post: DLCode
2026-01-07, 07:33 AM
» Replies: 0
» Views: 72
|
SAMP server trailer
Forum: Videos and Screenshots
Last Post: pmemorex2016
2026-01-06, 02:34 PM
» Replies: 0
» Views: 75
|
PROJECT: LOS ANGELES — TH...
Forum: Advertisements
Last Post: DevonH
2026-01-03, 04:04 AM
» Replies: 9
» Views: 1,096
|
|
|
| Having problems with SHA1 storing and loading password |
|
Posted by: Th3CrazzyRabbit - 2020-04-18, 09:56 PM - Forum: Programming
- Replies (5)
|
 |
Well to be honest its first time a costumer asked me for a SHa1 store and load from database as its not that safe anymore , myself i use bcrypt all the time.
However im trying to come together with this? login / signup system and at signup everything works perfectly , sha1 encrypts it and stores it to the database
Now the issue its the loading from database , even tho i write the same password it still doesnt work
this is the code from loading the Sha1
PHP Code: $hashpass = sha1($userpass);
? ? ? ? ? ? ? ?if (password_verify($hashpass, $row['password']))
? ? ? ? ? ? ? ?{
? ? ? ? ? ? ? ? ? ?session_start();
? ? ? ? ? ? ? ? ? ?$_SESSION['userid'] = $row['Master_ID'];
? ? ? ? ? ? ? ? ? ?header("Location:../index.php?login:sucess");
? ? ? ? ? ? ? ?}
? ? ? ? ? ? ? ?else{
? ? ? ? ? ? ? ? ? ?header("Location:../login.php?error:wrongpassword");
? ? ? ? ? ? ? ? ? ?exit();
? ? ? ? ? ? ? ?}
Storing
PHP Code: $hashedpass = sha1($password);
? ? ? ? ? ? ? ? ? ? ? ?mysqli_stmt_bind_param($stmt, "sss", $username, $email, $hashedpass);
? ? ? ? ? ? ? ? ? ? ? ?mysqli_stmt_execute($stmt);
? ? ? ? ? ? ? ? ? ? ? ?header("Location:../index.php?Signup:Sucessful");
Help me pelase , i really need this.
|
|
|
|
| editing of vehicle handling |
|
Posted by: Gargamelis - 2020-04-18, 03:21 PM - Forum: Questions and Suggestions
- No Replies
|
 |
Dobr? den, bude mo?n? zabr?nit manipulaci s manipulac? s vozidlem nebo pou?it? CLEO pro zmenu manipulace? V soucasn? dobe je skutecne nemo?n? odhalit podvodn?ky pomoc? modifikovan? manipulace a dok?zat jim to?
|
|
|
|
| Ability to connect an NPC to a defined player ID |
|
Posted by: EvilShadeZ - 2020-04-16, 07:49 AM - Forum: Questions and Suggestions
- Replies (4)
|
 |
Being able to connect an NPC to a specific ID would help in terms of server development.?
Let's say my server has 100 player slots and I would like another 100 npc's, I would rather have them connected in slots 100-199 than being mixed in with regular players.
By having NPC's in higher slots, I can reduce Player Information array sizes to the appropriate size to only include players, meanwhile I could create NPC specific arrays that handle NPC-Specific?information.
|
|
|
|
| Your thoughts on SAMP 0.3.DL compatibility |
|
Posted by: Media - 2020-04-15, 02:15 AM - Forum: Development Updates
- Replies (46)
|
 |
Questions were asked recently about 0.3.DL compatibility with open.mp (thank you Manyula and dreftas for submitting these) and we were going to save this one for the Q&A, but thought it deserved its own thread as we would like?community input on this topic.
Will open.mp be compatible with 0.3.DL?
This is the discontinued release that included server-side custom models.
The answer is simple - if the majority?will use it then yes. If they?won't, then no.
We believe that SAMP 0.3.DL was discontinued because the big?servers in general?weren't using it, however, we also believe that the reason the big?servers weren't using it was because it was not officially supported by the SAMP dev team. So it was?a bit of a chicken-and-egg situation - it wasn't supported because no one was using it, but no one was using it because it wasn't supported.
So what do you guys want?
Is there enough community support for DL features?
Are you a server owner or developer who would only switch to open.mp if these features existed?
Please vote in the poll, and also leave a comment below with your opinions!
Don't forget you have a few more days to ask your burning questions about open.mp for our Q&A post!?https://www.burgershot.gg/showthread.php?tid=1035
![[Image: qsebnEb5vsA.jpg]](https://pp.userapi.com/c834402/v834402286/149c7/qsebnEb5vsA.jpg)
image from gold?roleplay -?posted by user?Arsenka123 on the SAMP forum
|
|
|
|
|