View Single Post
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Old 01-29-2013 , 13:58   Re: [INC] SHA-1 hashing stocks
Reply With Quote #5

Edit: Sorry, I should have been more specific: I'm trying to call SHA1File..

SourcePawn Compiler 1.5.0-dev
C:\Users\ws\Documents\Sourcemod\sourcemod-1.5.0-hg3456-windows\addons\sourcemod\scripting\include\sh a1.inc(75) : error 032: array index out of bounds (variable "input")
Code:
new input[1];
ReadFileCell(hFile, input[1]) // ???
stock ReadFileCell(Handle:hndl, &data, size) 3 parameters vs. 2

Missing semicolon too,

What sourcemod compiler are you using? How did this compile?

I've tried a number of fixes but the hash is wrong
__________________

Last edited by pheadxdll; 01-29-2013 at 14:44.
pheadxdll is offline