Help with 2 RP problems
#1

1st: Can somebody convert me LSLRP to 0.3e version. -https://sampforum.blast.hk/showthread.php?tid=123726&highlight=lslrp

2nd : I have 1 rp mod , but the passwords in /scriptfiles/FirstName_Lastname of the account are hashed .
I men my password for example is sec191 , in the file is Key=cweuMPQP .

Somebody , help me ?
tnx in advance

Leave them .
See this


I downloaded new mod ...
The passwords are hashed again ..
This time is not so easy , there is no "encrypt" tag in the gamemode .
It's using Dini . here is only "hash" tags .
IF i delete them its giving me errors and warnings . I must make the register form to not hash passwords.
Here are the codes...

Quote:

if (dialogid == 1)
{
new name[MAX_PLAYER_NAME], file[256];
GetPlayerName(playerid, name, sizeof(name));
format(file, sizeof(file), USERS_FILES, name);
if(!response) return Kick(playerid);
if (!strlen(inputtext)) return
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT, "Hi your not registered", "Welcome, your not registered mate, input your registration pw below", "Register", "Leave");
dini_Create(file);
dini_IntSet(file, "Password", PlayerInfo[playerid][pKey] = udb_hash(inputtext));

Quote:

if (dialogid == 2)
{
new name[MAX_PLAYER_NAME], file[256];
GetPlayerName(playerid, name, sizeof(name));
format(file, sizeof(file), USERS_FILES, name);
if(!response) return Kick(playerid);
if (!strlen(inputtext)) return ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT, "Welcome to Intelexe's Role Play", "SERVER:You have 60 seconds to Login\nHINT:Visit us on Our Website!", "Login", "Leave");
new tmp;
tmp = dini_Int(file, "Password");
if(udb_hash(inputtext) != tmp)

{
SendClientMessage(playerid, COLOR_RED, "Wrong PW sir.");
ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT, "Welcome to Intelexe's Role Play", "SERVER:You have 60 seconds to Login\nHINT:Visit us on Our Website!", "Login", "Leave");
return 1;
}
gPlayerLogged[playerid] = 1;
OnPlayerLogin(playerid, inputtext);
}

Reply
#2

Quote:
Originally Posted by backnot
View Post
1st: Can somebody convert me LSLRP to 0.3e version. -https://sampforum.blast.hk/showthread.php?tid=123726&highlight=lslrp

2nd : I have 1 rp mod , but the passwords in /scriptfiles/FirstName_Lastname of the account are hashed .
I men my password for example is sec191 , in the file is Key=cweuMPQP .

Somebody , help me ?
tnx in advance
Download the Includes / Server 0.3e on the official website of the samp and change your folder pawno.
According to what you said about the registration system, you can try swapping the hash's for strval (inputText) do not want to leave the encrypted passwords.
Reply
#3

1. You can simply convert it by downloading a 0.3e server, opening the pawno for it, opening the PWN file with it, then compiling it.

2. Passwords are hashed for a reason, so you don't know the passwords, and more importantly so anybody who has access to your files don't know the password. You can simply remove the hash system from the script, though.
Reply
#4

1. I'm doing it , but is giving me error . On 0.3d it's working perfectly . On 0.3e is giving me this error :
SA-MP Dedicated Server
----------------------
v0.3e, ©2005-2012 SA-MP Team

[00:30:18] filterscripts = "" (string)
[00:30:18]
[00:30:18] Server Plugins
[00:30:18] --------------
[00:30:18] Loading plugin: streamer
[00:30:18]

*** Streamer Plugin v2.3.3 by Incognito loaded ***


[00:30:18] Loaded.
[00:30:18] Loaded 1 plugins.

[00:30:18]
[00:30:18] Filterscripts
[00:30:18] ---------------
[00:30:18] Loaded 0 filterscripts.

[00:30:18] Script[gamemodes/lslrp.amx]: Run time error 19: "File or function is not found"
[00:30:18] Number of vehicle models: 0



2. I'll host server and there will be a lot of hackers , crackers , etc. So I must know the passwords.
And how I can remove it ?
Reply
#5

Just from what I see, the streamer plugin is not up-to-date, you must download the 0.3e version. You can double-check my theory by seeing what CRASHDETECT tells you (download crashdetect plugin from plugins section).
Reply
#6

I was looking for this streamer long time.
Now i have to to it again .
I'll , but if u have url 4 download it would be great ^^ .


The 2nd problem is still waiting 4 solution . How to fix the hashed password / sorry im newbie / .
Reply
#7

Quote:
Originally Posted by backnot
View Post
I was looking for this streamer long time.
Now i have to to it again .
I'll , but if u have url 4 download it would be great ^^ .


The 2nd problem is still waiting 4 solution . How to fix the hashed password / sorry im newbie / .
Why are you going to un-hash passwords? Probably one of the stupidest things you could do to stop "hackers" as you stated above.
Reply
#8

Quote:
Originally Posted by Steven82
View Post
Why are you going to un-hash passwords? Probably one of the stupidest things you could do to stop "hackers" as you stated above.
Because 1/2 of my players will be kids under 13 years . They are ... uhmm stupid and will forget their passwords . Also if some hackers log into admins accounts or players accounts i must see the NEW password from /scriptfiles . There are a lot of other reasons ..
Reply
#9

0kay .. I downloaded the new streamer v6 . Now i got this :

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3e, ©2005-2012 SA-MP Team

[16:32:30] filterscripts = "" (string)
[16:32:30]
[16:32:30] Server Plugins
[16:32:30] --------------
[16:32:30] Loading plugin: streamer
[16:32:30]

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[16:32:30] Loaded.
[16:32:30] Loaded 1 plugins.

[16:32:30]
[16:32:30] Filterscripts
[16:32:30] ---------------
[16:32:30] Loaded 0 filterscripts.

[16:32:30] *** Streamer Plugin: Include file version (0) does not match plugin version (0x26104) (script needs to be recompiled with the latest include file)
[16:32:30] *** Streamer Plugin: Obsolete or invalid native found (script needs to be recompiled with the latest include file)
[16:32:30] Script[gamemodes/lslrp.amx]: Run time error 19: "File or function is not found"
[16:32:30] Number of vehicle models: 0
[16:33:03] --- Server Shutting Down.
[16:33:03]

*** Streamer Plugin v2.6.1 by Incognito unloaded ***
Reply
#10

I fixed my 2nd problem .
HOW ? I deleted all "Encrypt" tags from my gamemode .

1st problem is not fixed . / still waiting /

tnx to alll.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)