Raised This Month: $ Target: $400
 0% 

Error trying compile on 1.8.3 md5 to hash_string


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
LordOfBlade
Member
Join Date: Feb 2015
Old 02-20-2017 , 07:02   Error trying compile on 1.8.3 md5 to hash_string
Reply With Quote #1

good day. i have the next error when i try compile this

PHP Code:
public reg_passwordid ) {
    
read_argsg_passwordid ], charsmaxg_password[ ] ) );
    
remove_quotesg_passwordid ] );
    
trimg_passwordid ] );
    
md5g_passwordid ], g_passwordid ] ); // error here Warning: Symbol "md5" is marked as deprecated: Use hash_string() function. Also, see Hash_* 
    
    
new szQuery256 ], iData];
    
    
iData] = id;
    
iData] = REGISTRAR_CUENTA;
    
    
get_user_nameidg_playernameid ], charsmaxg_playername[ ] ) );
    
    
formatexszQuerycharsmaxszQuery ), "INSERT INTO %s (Usuario, Password) VALUES (^"%s^", ^"%s^")"szTableg_usuarioid ], g_passwordid ]);
    
SQL_ThreadQuery(g_hTuple"DataHandler"szQueryiData2);
    
    return 
PLUGIN_HANDLED;

PHP Code:
public log_passwordid ) {
    
read_argsg_passwordid ], charsmaxg_password[ ] ) );
    
remove_quotesg_passwordid ] );
    
trimg_passwordid ] );
    
md5g_passwordid ], g_passwordid ] ); // and here same error
    
    
new szQuery128 ], iData];
    
    
iData] = id;
    
iData] = LOGUEAR_CUENTA;
    
    
formatexszQuerycharsmaxszQuery ), "SELECT * FROM %s WHERE Usuario=^"%s^" AND Password=^"%s^""szTableg_usuarioid ], g_passwordid ] );
    
SQL_ThreadQueryg_hTuple"DataHandler"szQueryiData);
    
    return 
PLUGIN_HANDLED;

Can someone tell me if this affects something? And say so can someone do me the favor of changing md5 to hash_string. please
LordOfBlade is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:45.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode