The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Meanings of Error Messages
Obliviator27 Offline
Posting Freak

Posts: 792
Threads: 10
Joined: Jul 2011
Reputation: 66
#1
Meanings of Error Messages

As the title says, I'd like to know the meaning of some error messages that I'm getting. Now, normally, I can understand what they are all communicating and fix the error. However, I've been getting some that I can't seem to figure out how to fix. I am a bit leery of posting my code, so I'll do what I can to explain the situations.


main (31, 39) ERR: Expected expression value
if (GetLocalVarInt("Var1") == 1) && (GetLocalVarInt("Var2") == 1)
This one I can't seem to get right. I'm thinking my script is simply incorrect.

main (54, 2) ERR: No Matching Signatures to "AddEntityCollideCallback"
This one throws me off. I've triple checked all of my names in the editor as well as my function names.

main (94, 5) ERR: Timer is not declared.
main (94, 5) ERR: Expression must be of Boolean type

void Function(string &in asTimer)
{
if(timer == "timer_1")
{
//Stuff to happen
}
if (other timers continue)

I can't get this one either. I don't understand, as I've gotten a similarily scripted timer system to work before.

main (102, 11) ERR: No conversion from string @& to int available
This one is just tagged onto my other if(timer == "timer_x") functions


main (118, 13) ERR: Lightname not declared.
void Lightfunc(string &in asParent, string &in asChild, int alState)
{
SetLightVisible(Lightname, true);
}


Self explanatory, I think. But it seems as though it just wants to fight with me. Figured I'd post just in case.

So if any of you could offer some assistance, I'd really appreciate it. Smile
(This post was last modified: 08-22-2011, 04:01 PM by Obliviator27.)
08-22-2011, 03:12 PM
Find


Messages In This Thread
Meanings of Error Messages - by Obliviator27 - 08-22-2011, 03:12 PM
RE: Meanings of Error Messages - by MrBigzy - 08-22-2011, 03:33 PM
RE: Meanings of Error Messages - by Obliviator27 - 08-22-2011, 03:37 PM
RE: Meanings of Error Messages - by Kyle - 08-22-2011, 03:53 PM
RE: Meanings of Error Messages - by Apjjm - 08-22-2011, 03:59 PM
RE: Meanings of Error Messages - by Obliviator27 - 08-22-2011, 04:01 PM



Users browsing this thread: 1 Guest(s)