errors
#1

hey guys workin on a script here that had to be decompiled cause the creater left the clan and only left the amx file so instead of recreating an entire server trying to get this one running to an editable state. Started with a shitload of errors now down to a main 3 here is the code section

Код:
function290(arg0, arg1)
{
	new File:var0 = 0, File:var1 = 0;
	if (!fexist arg0);
	{
		return 0;
	}
	var0 = fopen(arg0, 0);
	var1 = fopen(arg1, 1);
	new var2[255];
	while(fread(var0, var2, 255))
	{
		function4A8(var2);
		format(var2, 255, "%s\r\n", var2);
		fwrite(var1, var2);
	}
	fclose(var0);
	fclose(var1);
	return 1;
}
and the line that the errors are pointing to is

if (!fexist arg0);

the errors that i am getting is the following

error 076: syntax error in the expression, or invalid function call
error 001: expected token: ";", but found ")"
error 029: invalid expression, assumed zero

any help would be great guys ... thx in advance
Reply
#2

pawn Код:
if (!fexist arg0);
should be:
pawn Код:
if (!fexist arg0)
That's what happen if you use DeAMX.
Reply
#3

yea thats what i used and i changed to what you suggested and i still have the same issue with the same error's ... any other sugestions??
Reply
#4

Quote:
Originally Posted by [sSs
BiGPiMP ]
any other sugestions??
Yes. Don't use DeAMX.
Reply
#5

yea kinda figured ... any other suggestions on how to get the .pwn outta the .amx ... idk if there is any but just a thought that there may be something else
Reply
#6

Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by [sSs
BiGPiMP ]
any other sugestions??
Yes. Don't use DeAMX.
nuff said
Reply
#7

ye got the point man ... what i am asking now is there anything else that will extract the .amx
Reply
#8

Quote:
Originally Posted by [sSs
BiGPiMP ]
ye got the point man ... what i am asking now is there anything else that will extract the .amx
I don't think so and if it is, it's worse than DeAMX probably.
Reply
#9

alright cool thx for the help man ...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)