Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 494 online users. » 1 Member(s) | 491 Guest(s) Bing, Google, laex
|
Latest Threads |
Open.mp / SAMP Query
Forum: Releases
Last Post: laex
21 minutes ago
» Replies: 2
» Views: 19
|
some text appearing in my...
Forum: Support
Last Post: Sizy
Yesterday, 07:33 AM
» Replies: 0
» Views: 10
|
Offensive-Core: TDM
Forum: Gamemodes
Last Post: NikitaFoxze
Yesterday, 12:13 AM
» Replies: 3
» Views: 3,638
|
Second Generation Rolepla...
Forum: Advertisements
Last Post: JamesT
2025-07-06, 10:28 AM
» Replies: 0
» Views: 32
|
Servidor RPG profissões
Forum: Advertisements
Last Post: tcharlesmeurer
2025-07-05, 11:35 PM
» Replies: 0
» Views: 27
|
EVO Anti-Cheat
Forum: Libraries
Last Post: Eduardo_AC
2025-07-05, 11:05 PM
» Replies: 2
» Views: 68
|
Developer for Hire – Syst...
Forum: Pawn Scripting
Last Post: ejtamovic
2025-07-04, 08:35 AM
» Replies: 0
» Views: 55
|
Liberty City map
Forum: Pawn Scripting
Last Post: ziyadprogamer
2025-06-28, 04:55 PM
» Replies: 2
» Views: 2,198
|
GameText styles in open.m...
Forum: Pawn Scripting
Last Post: Miki
2025-06-28, 01:25 PM
» Replies: 1
» Views: 69
|
Script[gamemodes/gamemode...
Forum: Pawn Scripting
Last Post: Miki
2025-06-27, 05:08 PM
» Replies: 1
» Views: 443
|
|
|
Float bug ? |
Posted by: NexoR - 2020-04-19, 01:33 PM - Forum: Pawn Scripting
- Replies (1)
|
 |
Hello, I am working on height calculation. But some places seem incomplete and inaccurate. Can you help with this issue?
My code:
Code: for (new i = 1; i <= 35; i)
{
new Float: X = 1.50 float(i) * 0.01;
printf("%.2f", X);
}
Output:
Code: 1.50
1.51
1.52
1.53
1.54
1.55
-> There is a deficiency here.
1.57
1.58
1.59
1.60
1.61
1.62
-> There is an error here.
1.62
1.63
1.64
1.65
1.66
1.67
-> There is a deficiency here.
1.69
1.70
1.71
1.72
1.73
1.74
1.75
-> There is an error here.
1.75
1.76
1.77
1.78
1.79
1.80
1.81
1.82
-> There is a deficiency here.
1.84
1.85
|
|
|
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.
|
|
|
|