C:\Dokumente und Einstellungen\Marc\Desktop\tAxIFR[GM]\tAxIFR[GM]\gamemodes\source\tAxIFR.pwn(2791) : error 033: array must be indexed (variable "MD5_Hash")
C:\Dokumente und Einstellungen\Marc\Desktop\tAxIFR[GM]\tAxIFR[GM]\gamemodes\source\tAxIFR.pwn(2826) : error 006: must be assigned to an array
C:\Dokumente und Einstellungen\Marc\Desktop\tAxIFR[GM]\tAxIFR[GM]\gamemodes\source\tAxIFR.pwn(2860) : error 006: must be assigned to an array
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
if(PlayerInfo[playerid][pass] == MD5_Hash(tmp)) {
PlayerInfo[playerid][pass] = MD5_Hash(tmp);
PlayerInfo[playerid][pass] = MD5_Hash(tmp);
if( strcmp(PlayerInfo[playerid][pass], MD5_Hash(tmp), false) == 0)
Originally Posted by ssǝן‾ʎ
WHAT!? If you want to use passwords you want to make it secure! That's what passwords are for - security!
|
plugins Whirlpool.so |
[18:53:10] Server Plugins [18:53:10] -------------- [18:53:10] Loading plugin: Whirlpool.so [18:53:10] [18:53:10] ================== [18:53:10] [18:53:10] Whirlpool loaded [18:53:10] [18:53:10] ================== [18:53:10] [18:53:10] Loaded. [18:53:10] Loaded 1 plugins. |
native WP_Hash(buffer[], len, const str[]);
if( PlayerInfo[playerid][pass] == WP_Hash(buf, sizeof (buf), tmp)) {
PlayerInfo[playerid][pass] = WP_Hash(buf, sizeof (buf), tmp);
WP_Hash(buf, sizeof (buf), tmp);
PlayerInfo[playerid][pass] = buf;
C:\Dokumente und Einstellungen\Marc\Desktop\tAxIFR[GM]\tAxIFR[GM]\gamemodes\source\tAxIFR.pwn(2866) : error 006: must be assigned to an array |
WP_Hash(buf, sizeof (buf), tmp);
if( PlayerInfo[playerid][pass] == buf) {
C:\Dokumente und Einstellungen\Marc\Desktop\tAxIFR[GM]\tAxIFR[GM]\gamemodes\source\tAxIFR.pwn(2795) : error 033: array must be indexed (variable "buf") |