Game Development Community

Strange errors..

by AllynMcelrath · in Torque Game Engine · 12/03/2005 (9:03 pm) · 9 replies

I not sure what they mean, but i would like to fix them, lol.

Im not aware that i changed ANYTHING in thies files.. i dont have a reasion to yet.

I did however make my own "MOD" using the "getting started" instructions, but it contains my names for the mod and some Objects from the previous version, only had the demo at the time.




Log file dump where i found the errors. (Ver 1.4 sdk)
Could not locate texture: creator/data/terrains/grassland/grass
pushDialog(): Invalid control: DemoEditorAlert
Mapping string: dropCameraAtPlayer to index: 3
creator/editor/EditorGui.cs (844): Unable to find object: '' attempting to call function 'open'
Activating DirectInput...
keyboard0 input device acquired.
creator/editor/EditorGui.cs (0): Unable to find object: 'MessageHud' attempting to call function 'close'
keyboard0 input device unacquired.
keyboard0 input device acquired.

#1
12/04/2005 (8:52 am)
Im still having no luck with this..

I have looked at the EditorGui.cs, but its realy unreadable to me.

Any help will be meet with the promiss of a free beer =)

(if we ever meet lol)
#2
12/04/2005 (9:26 am)
This is aparently cousing crashes for me when i use "drop player at cameria"

LAst thing in my log before the crash is

Mapping string: DropPlayerAtCamera to index: 4
Mapping string: ToggleCamera to index: 5
creator/editor/EditorGui.cs (844): Unable to find object: '' attempting to call function 'open'
#3
12/04/2005 (11:30 am)
So this happened when you used drop player at camera?
thats strange because it looks like you're error is coming from here
function EditorDoQuitMission(%saveFirst)
{
if(%saveFirst)
EditorSaveMissionMenu();
else
{
>>Editor.close("MainMenuGui");
disconnect();
}
}

which goes to here

function Editor::close(%this, %gui)
{
Canvas.setContent(%gui);
MessageHud.close();
}

and the messagehud.close causes you're error because there is no messagehud. two ways to fix this if you don't have a messagehud comment it out if you do its a different name chang the name here to match yours. or probably better change yours to match this one.
#4
12/04/2005 (12:17 pm)
Well, i attempted to revert to the default Totrial.bace.

Now, i have a whole new slew of problems.

Im not sure how, or why im getting them.

I really did not change anything about the Scripts, except for adding my custom player, changing the sky box set, adding a few terrain textures, and modifying the terrain using a hightmap, and adding one FXFoliage repclactor.

The errors have gotten progressively worse, and crashes have continued. I did however state incorrectly that i was using the starter.fps, i am infact using a coped and renamed version of the tutorial.base.

That i have modified as stated above.

I have no clue what started this chain reaction, only thing i can think of is that the tutorial.bace has some "hacks" that i must have broken when changing out the resources from what it was using.

I am not by any means a programmer, i have been reading 3DGPAI1 for about 3 months now, i have been working with the torque engine for a longer. I recently bought the License so i could get more info on the engine, and i have, it has answer many questions. I was very excited to see that the torial.bace was (from what i could tell) a BARE-BONES torque appclation, ready to be added to.

..well, with all that in mind, i dont know what i did, and it seems my only recourse it to un install/reinstall. Copying over files from the backup dosnt seem to work, nor does using the Batch DSO and pref commands.

For anyone who wishes to see what going on...here is my last Log file dump.

http://members.visi.net/~mcelrath/console.log

Once i was not able to "Drop player at camera", i gave up.. It seems all the errors are coming from the "Editor" area of the engine..something i dont even want to touch.

Any help is always welcome.

allyn.
#5
12/04/2005 (2:00 pm)
Have you tried wiping your current install and starting over from scratch?
#6
12/04/2005 (5:57 pm)
Yes i did. I still get some of the errors. But not the crashes, i dont get thoes untill i use my own mod. Like i said, my mod at this point is only a hightmaped terrain, custom player (dosnt even have bones just some nulls at this point), some grass using the FXreplacator, and my own skybox.

For somw reasion when i use my own player..in the totrial bace (nothing but the player was changed) when she hits the ground (due to the fact i havent moved the spawn point) the engine crashes.

I get some of this
pushDialog(): Invalid control: DemoEditorAlert

or this i get all the time

creator/editor/EditorGui.cs (844): Unable to find object: '' attempting to call function 'open'

common/server/missionLoad.cs (23): Unable to find function clearCenterPrintAll

common/server/missionLoad.cs (24): Unable to find function clearBottomPrintAll

creator/editor/editor.cs (96): Unable to find object: 'editor' attempting to call function 'close'

I dont know what any of this means..or if its even related to my crashing.
Thats all out of order, but you can see it in my log post above.
#7
12/05/2005 (3:05 pm)
Still the same issues.

I would love to know if i am the only one getting thies errors.
#8
12/05/2005 (5:43 pm)
Not me did you try my solution for the open and close errors
#9
12/06/2005 (5:53 pm)
I nolonger set that message for some reasion, i copyed over all the files with the defuilt ones, i still get the other errors.