runtime error: type mismatch
proc name: Stat (/mob/Stat)
usr: Goku (/mob)
src: Goku (/mob)
call stack:
Goku (/mob): Stat()
Problem description:
I dont know what this error means????????.........
ID:270494
May 30 2006, 9:02 am
|
|
May 30 2006, 9:31 am
|
|
Not sure. I would suggest putting #define DEBUG and compile again. Then do what ever you did before to get that error. It will direct you to the line the error is coming from.
|
In response to Crzylme
|
|
ill try
|
In response to Ss4 core
|
|
I tried it but it didnt work this is what happens...
it keeps saying that error over and over like 20 times then a new error comes up like 80 times saying: <font color=red> runtime error: type mismatch proc name: Stat (/mob/Stat)</font></font> |
In response to Ss4 core
|
|
Show us your Stat() proc..
|
In response to Ss4 core
|
|
the error started popping up right after i put this new coding in:
mob |
In response to Mysame
|
|
my whole stat proc is way to big to show lol but that one i just pput in should help...
|
In response to Ss4 core
|
|
Everything under Stat() is indented one tab too far.
|
In response to Dick Gumshoe
|
|
i fixed tha but the error still pops up...
|
In response to Ss4 core
|
|
Could it be that fact that the line under Stat() with the src.hideipan is checked for both 1 AND 0? What's the point in that? It looks like you're checking to see if its false, but with the src.hideipan == 1, you checking for both true and false.
Also, good to remember
if(x == 1)
is the same as
if(x)
and
if(x == 0 || x == null)
is the same as
if(!x)
when you're searching for true or false only. Unsure if !x applies to the null part though. I think it does. |
In response to Pyro_dragons
|
|
didnt change a thing... same error pops up and infact it wasnt just that codinf that was the problem bc i took it out and the error still comes up...
|
In response to Ss4 core
|
|
In DreamMaker:
Build->Preferences for [project name]-> Generate Debugging info. Put this on. It'll tell us the LINE the error is in. Show us that line, and the lines surrounding it. |
In response to Mysame
|
|
wait i fixed it sorry to bother you guys but thank you
|