Page 1 of 1
Crash as usual..
Posted: Sun Dec 16, 2007 9:38 pm
by NullCommando
Ok, I made a map and everything was fine untill this:
Message Severity: 3
.\Source\Entity.cpp(218)
Entity base class "grenade" not found
Came around... I never had this error.. How do I fix it?
Re: Crash as usual..
Posted: Sun Dec 16, 2007 9:41 pm
by Teancum
I assume you edited sides? If so, what did you edit?
Re: Crash as usual..
Posted: Sun Dec 16, 2007 9:44 pm
by NullCommando
I had edited the Dark Troopers, Rifle, Mortar launcher, Arc Caster, Rocket Launcher, a missle launcher and torpedo launcher. I had tried to make throwable mines but reverted them back to normal.
Re: Crash as usual..
Posted: Sun Dec 16, 2007 9:47 pm
by SilvaDalek
do any of those weapons throw out grenades?
Re: Crash as usual..
Posted: Sun Dec 16, 2007 9:49 pm
by NullCommando
Mortar Luancher does but, it says the class is missing..
Re: Crash as usual..
Posted: Sun Dec 16, 2007 9:52 pm
by Teancum
Make sure you have the proper spaces in all of your odfs. The engine is picky.
For example:
ClassLabel = "grenade"
will work fine, but
ClassLabel= "grenade"
ClassLabel ="grenade"
ClassLabel="grenade"
won't.
Re: Crash as usual..
Posted: Sun Dec 16, 2007 9:53 pm
by SilvaDalek
it's that picky?
no spaces in wrong spots?!?!
the whole class?
Re: Crash as usual..
Posted: Sun Dec 16, 2007 9:56 pm
by NullCommando
Everything is was spaced right when I checked them.. Weird..
Re: Crash as usual..
Posted: Sun Dec 16, 2007 9:58 pm
by SilvaDalek
one post right after another ... lol
1 well take out grenades fully
2 munge
3 put them back
4 munge
5 run
Re: Crash as usual..
Posted: Sun Dec 16, 2007 10:04 pm
by NullCommando
I had done that already, it didn't work.
Re: Crash as usual..
Posted: Sun Dec 16, 2007 10:08 pm
by SilvaDalek
hmmm
so the class doesn't exist
rename?
replace?
something?
(this is like a million posts in a row!)
Re: Crash as usual..
Posted: Sun Dec 16, 2007 10:08 pm
by Teancum
The easiest way to debug is to comment out things unit-by-unit until the bug is gone, then you've found who the problem belongs to.
For example, we comment out one soldier and munge
ReadDataFile("SIDE\\rep146th.lvl",
--"rep_inf_ep3_recon",
"rep_inf_ep3_commander",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_rifleman",
"rep_inf_ep3_jettrooper",
"rep_inf_ep3_sniper",
"rep_inf_ep3_pilot",
"rep_inf_ep3_officer")
And we still crash, so we comment another
ReadDataFile("SIDE\\rep146th.lvl",
--"rep_inf_ep3_recon",
--"rep_inf_ep3_commander",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_rifleman",
"rep_inf_ep3_jettrooper",
"rep_inf_ep3_sniper",
"rep_inf_ep3_pilot",
"rep_inf_ep3_officer")
And things work again, so we know the problem with the grenade classLabel belongs to rep_inf_ep3_commander
Re: Crash as usual..
Posted: Sun Dec 16, 2007 10:16 pm
by SilvaDalek
replace grenades with something
munge
take out
munge
put back nades
munge
Re: Crash as usual..
Posted: Mon Dec 17, 2007 5:28 pm
by NullCommando
I fixed the grenade error but it still crashes.. The error log is shown as above.
Re: Crash as usual..
Posted: Mon Dec 17, 2007 7:30 pm
by SilvaDalek
man not even a simple severenty 3 or watever
i need to update my crash thing now . . .
Re: Crash as usual..
Posted: Mon Dec 17, 2007 7:47 pm
by NullCommando
I fixed a missing effect.. now it asked me for a turret effect.. When I transfered the map to a new one it worked just fine.. Strange.
Re: Crash as usual..
Posted: Mon Dec 17, 2007 7:50 pm
by SilvaDalek
Most of the turret effects in any of my maps are there but don't work
i just don't use the turrets
y might that b though?