Game Development Community

Possible bug in GuiTextCtrl in 1.5?

by Zachary Seldess · in Torque Game Engine · 10/31/2006 (10:29 pm) · 3 replies

Hi,

I've been working through the the 1.5 tutorial (just as a refresher, already did 1.4) and I'm running into a consistent problem. In the PlayGui, when I add a GuiTextCtrl, then save and exit out of Torque, on every future reload of the mission, the GuiTextCtrl is visible, but my mouse doesn't move the player's view around. I can only look straight forward while in player view. It sounds strange that these would be related, but I've checked and rechecked this problem all day: before creating the GuiTextCtrl everything is fine when loading the mission, after I have this problem. It's worth noting that the problem doesn't happen until AFTER I exit out of Torque and reload. Can someone help? Here's a section of the console:

Notice this towards the end:
Could not register dust emitter for class: PlayerBody

and this occurs twice:
Warning: shape GameOne/data/shapes/3dtorquelogo/torque_logo.dts collision detail 0 (Collision-1) bounds exceed that of shape.

Don't what's going wrong here. I didn't get these errors in 1.4.

---------------------------------------------------
Loading compiled script GameOne/server/camera.cs.
Loading compiled script GameOne/server/editor.cs.
... Shape with old version.
Loading compiled script GameOne/server/player.cs.
Loading compiled script GameOne/server/logoitem.cs.
Warning: shape GameOne/data/shapes/3dtorquelogo/torque_logo.dts collision detail 0 (Collision-1) bounds exceed that of shape.
*** LOADING MISSION: GameOne/data/missions/gameonemission.mis
*** Stage 1 load
common/server/missionLoad.cs (23): Unable to find function clearCenterPrintAll
common/server/missionLoad.cs (24): Unable to find function clearBottomPrintAll
*** Stage 2 load
Executing GameOne/data/missions/gameonemission.mis.
*** Mission loaded
Connect request from: IPX:3D202231:223B0D0A2020:8224
Connection established 1437
CADD: 1438 local
*** Sending mission load to client: GameOne/data/missions/gameonemission.mis
Mapping string: ServerMessage to index: 0
Mapping string: MsgConnectionError to index: 1
Mapping string: MsgLoadInfo to index: 2
Mapping string: MsgLoadDescripition to index: 3
Mapping string: MsgLoadInfoDone to index: 4
Mapping string: MsgClientJoin to index: 5
Mapping string: Welcome to the Torque demo app %1. to index: 6
Mapping string: Player to index: 7
Mapping string: MissionStartPhase1 to index: 8
*** New Mission: GameOne/data/missions/gameonemission.mis
*** Phase 1: Download Datablocks & Targets
Mapping string: MissionStartPhase1Ack to index: 0
RSS Feed
- Requesting RSS data at URL: /garagegames/rss/product/tge/oobe
Warning: shape GameOne/data/shapes/3dtorquelogo/torque_logo.dts collision detail 1 (Collision-1) bounds exceed that of shape.
- Got 123 lines.
- Feed title: 'GarageGames: News Headlines'
- Feed link: 'http://www.garagegames.com/'
- Headline #0 : 'Two New Games in the Game Store!'
- Headline Link #0 :
Mapping string: MissionStartPhase2 to index: 9
*** Phase 2: Download Ghost Objects
Mapping string: MissionStartPhase2Ack to index: 1
Ghost Always objects received.
Mapping string: MissionStartPhase3 to index: 10
Client Replication Startup has Happened!
fxFoliageReplicator - Client Foliage Replication Startup is complete.
*** Phase 3: Mission Lighting
Successfully loaded mission lighting file: 'GameOne/data/missions/gameonemission_49076de6.ml'
Mission lighting done
Mapping string: MissionStartPhase3Ack to index: 2
Mapping string: MissionStart to index: 11
Could not register dust emitter for class: PlayerBody
Could not register dust emitter for class: PlayerBody
Could not register dust emitter for class: PlayerBody
*** Initial Control Object

#1
11/02/2006 (8:41 am)
Hello,
Yes I am having the same problem. I didn't notice the dust emitter problem but the mouse problem is the same and no mouse button action. I did find that if I hard coded the GuiTextCtrl that it worked, so far that is, without that problem.
#2
11/10/2006 (11:24 am)
I noticed this when any change is made to the PlayGui.gui and then the gui is saved. Now when the mission launches and the PlayGui is displayed, the mouse cursor shows up and there is no player control. I had to bind a key that turns the mouse off. Then and only then did control get restored.
#3
11/10/2006 (11:29 am)
Check this post and see if it fixes your issue:

www.garagegames.com/mg/forums/result.thread.php?qt=52877

-Robert