invalid function or declaration

This is the place for general discussion about Warcraft3 XP, including install help.

Moderator: Forum Moderator

Locked
ONP-Richard*Cranium
Peon
Posts: 16
Joined: Wed Jul 27, 2005 8:53 pm

invalid function or declaration

Post by ONP-Richard*Cranium » Tue Aug 02, 2005 4:56 pm

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

User avatar
ferret
Lead Warcraft 3 XP Developer
Posts: 422
Joined: Wed Jul 06, 2005 8:20 am
Location: Atlanta, GA
Contact:

Post by ferret » Wed Aug 03, 2005 6:47 am

Could you copy and paste the entire message from your compile or server?
-< www.gamehavoc.com >-

Lazarus Long: And I know you didn't because the Server Files are version 2.2.6 and the file you posted is version 2.2.5, so do as I told you above and don't ever lie to me again or help is gone!

ONP-Richard*Cranium
Peon
Posts: 16
Joined: Wed Jul 27, 2005 8:53 pm

Post by ONP-Richard*Cranium » Wed Aug 03, 2005 5:09 pm

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

User avatar
ferret
Lead Warcraft 3 XP Developer
Posts: 422
Joined: Wed Jul 06, 2005 8:20 am
Location: Atlanta, GA
Contact:

Post by ferret » Thu Aug 04, 2005 6:31 am

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.
-< www.gamehavoc.com >-

Lazarus Long: And I know you didn't because the Server Files are version 2.2.6 and the file you posted is version 2.2.5, so do as I told you above and don't ever lie to me again or help is gone!

ONP-Richard*Cranium
Peon
Posts: 16
Joined: Wed Jul 27, 2005 8:53 pm

Post by ONP-Richard*Cranium » Thu Aug 04, 2005 9:50 am

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

User avatar
ferret
Lead Warcraft 3 XP Developer
Posts: 422
Joined: Wed Jul 06, 2005 8:20 am
Location: Atlanta, GA
Contact:

Post by ferret » Thu Aug 04, 2005 10:39 am

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.
-< www.gamehavoc.com >-

Lazarus Long: And I know you didn't because the Server Files are version 2.2.6 and the file you posted is version 2.2.5, so do as I told you above and don't ever lie to me again or help is gone!

ONP-Richard*Cranium
Peon
Posts: 16
Joined: Wed Jul 27, 2005 8:53 pm

Post by ONP-Richard*Cranium » Thu Aug 04, 2005 11:36 am

YAY
How did that crap get in there?

Locked