Page 1 of 1

invalid function or declaration

Posted: Tue Aug 02, 2005 4:56 pm
by ONP-Richard*Cranium
help again :oops:
I put all the files on my laptop but now I get an error "invalid function or declaration"
I know I read about this somewhere but now I can't find it.
pls point me right

Posted: Wed Aug 03, 2005 6:47 am
by ferret
Could you copy and paste the entire message from your compile or server?

Posted: Wed Aug 03, 2005 5:09 pm
by ONP-Richard*Cranium
It was easier to paste cmd window into .doc.
You can see both the compile.exe and amxxsc warcraft3.sma -o../plugins/warcraft3.amxx return same errors.


http://dave.mcdonald1.home.mindspring.c ... ompile.doc

Posted: Thu Aug 04, 2005 6:31 am
by ferret
Can you attach or post your warcraft3.cfg?

You must have some sort of typo in that file. It says there's a invalid function declaration but that file doesn't HAVE any functions. If you post it I'll be able to spot whats wrong.

Posted: Thu Aug 04, 2005 9:50 am
by ONP-Richard*Cranium
Thanx
I can't understand the error with the .sma file, I haven't touched it and the other server admins said they didn't either.
http://dave.mcdonald1.home.mindspring.com/warcraft3.cfg
http://dave.mcdonald1.home.mindspring.com/warcraft.sma

Posted: Thu Aug 04, 2005 10:39 am
by ferret
Have you noticed that the end of your CFG file has this?

Code: Select all

</td>
</tr>
</table>
</td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
</table>
Delete that.

Posted: Thu Aug 04, 2005 11:36 am
by ONP-Richard*Cranium
YAY
How did that crap get in there?