Author Topic: Function declaration failure  (Read 769 times)

What does
Function declaration failed (NULL):functionname()
mean?
Why does it fail?

What does
Function declaration failed (NULL):functionname()
mean?
Why does it fail?

Post the function that got failed.

Post the function that got failed.
FI it fails with echo


what?
You can't package echo to make more stuff happen than echoing it in console, cause that error pops up
As example

It's an engine function (?) which cannot be overwritten.
Neither can Eval(), error(), warn()

It's an engine function (?) which cannot be overwritten.
Neither can Eval(), error(), warn()

Engine functions can't be "overwritten" because the engine sees the name and instantly uses the engine function instead of even trying to search the TorqueScript scope. They don't display an error when you try to define them. That only happens for some secured functions.

for example

ERROR: function declaration failed: GameConnection::authCheck

It looks like it happened because you only put 1 : Mold.

It looks like it happened because you only put 1 : Mold.
What

for example
ERROR: function declaration failed: GameConnection::authCheck
What does
Function declaration failed (NULL):functionname()

It looks like it happened because you only put 1 :, Mold.
fixed?


It said Function Devlaration Failed (NULL):or::GameConnection::doStuff()

It said Function Devlaration Failed (NULL):or::GameConnection::doStuff()

Please post the normal, unedited error message.

Please post the normal, unedited error message.
I'm not on my PC so I can't test what it actually says

I'm not on my PC so I can't test what it actually says

What function are you trying to declare?