Game Development Community

Odd GUI problem

by Chris Mooney · in Torque Game Engine · 11/02/2005 (11:30 am) · 2 replies

"GuiControlProfile: requested gui profile (GuiDialogProfile) does not exist."

I get this error on launching torque, I can't seem to find any soloution to it.

I was trying to add a weapon selection menu, before I got the error, but. I'm sure I reversed changes to the files I had changed.
Any ideas? I downloaded under "HEAD" from cvs, but. Torque was working fine before the changes.

Chris

#1
11/02/2005 (1:21 pm)
Do you remember to do the following in your main.cs ?

exec("./ui/YourFileNameGui.gui");
exec("./scripts/YourFileName.cs");

*edit NameConventioned it a bit!
#2
11/02/2005 (1:40 pm)
I just fixed it, Im not entirly certain of the problem but I believe it was:

exec("./ui/KitSelectDlg.gui");
exec("./scripts/KitSelectDlg.cs");
exec("./scripts/WeaponKits.cs");

In, client/init.cs. I had forgot to remove those lines after I had removed my files and possibly they were being called?? not sure.
Torque starts up again, and my weapon selection menu comes up when asked, now back to fixing the problems with that :p.

Thanks for your reply Christian :).