TGB 1.8 Bugs
by Orion the Hunter · in Torque Game Builder · 02/02/2013 (12:06 pm) · 49 replies
Hello,
I'm sure I'm not the first to see all the bugs that have been introduced in Torque Game Builder, 1.8. I think it would be great if the T2D legacy ended on a good note, but currently, I've seen a few problems with the engine recently. These may just be Mac specific, but here goes:
1. Annoying blue screen on startup. This isn't really a bug, but it sure "bugs" me. :P
2. Editor sometimes has button offset which causes problems. (For example, you might try to click on the "Y Coordinates" field and instead it will select the "X Coordinates" field.
3. GUI Editor and Level Editor save shortcuts no longer function.
4. F11 no longer closes the GUI Editor.
5. T2dScrollObject shows a weird white bar if it's moving and is about to repeat.
If anyone else finds more bugs, please list them here.
I'm sure I'm not the first to see all the bugs that have been introduced in Torque Game Builder, 1.8. I think it would be great if the T2D legacy ended on a good note, but currently, I've seen a few problems with the engine recently. These may just be Mac specific, but here goes:
1. Annoying blue screen on startup. This isn't really a bug, but it sure "bugs" me. :P
2. Editor sometimes has button offset which causes problems. (For example, you might try to click on the "Y Coordinates" field and instead it will select the "X Coordinates" field.
3. GUI Editor and Level Editor save shortcuts no longer function.
4. F11 no longer closes the GUI Editor.
5. T2dScrollObject shows a weird white bar if it's moving and is about to repeat.
If anyone else finds more bugs, please list them here.
#2
4. Yes.
5. Never mind, I fixed it. (Turn off filter pad in Imagemap editor)
Thanks!
02/04/2013 (6:11 am)
1. How do I change it to black?4. Yes.
5. Never mind, I fixed it. (Turn off filter pad in Imagemap editor)
Thanks!
#3
Step 2: Find the following function:
Step 3: Change this line of code:
To:
02/04/2013 (6:16 am)
Step 1: Open engine/source/platformOSX/osxWindow.mmStep 2: Find the following function:
void Platform::initWindow(const Point2I &initialSize, const char *name)
Step 3: Change this line of code:
[tempWindow setBackgroundColor:[NSColor blueColor]];
To:
[tempWindow setBackgroundColor:[NSColor blackColor]];
#4
Thanks!
02/04/2013 (7:10 am)
I wish I could do that but what are the correct build settings for Xcode? I can make the changes, just not build it properly.Thanks!
#5
What do you mean? What is not building? Are you getting errors?
02/04/2013 (7:17 am)
Quote:I can make the changes, just not build it properly.
What do you mean? What is not building? Are you getting errors?
#6
02/04/2013 (7:49 am)
Here are ten of the errors:"Net::sendtoSocket(int, unsigned char const*, int)", referenced from:
TCPObject::send(unsigned char const*, unsigned int) in tcpObject.o
"Net::openConnectTo(char const*)", referenced from:
TCPObject::connect(char const*) in tcpObject.o
"Net::closeConnectTo(int)", referenced from:
TCPObject::disconnect() in tcpObject.o
"Net::openListenPort(unsigned short)", referenced from:
TCPObject::listen(unsigned short) in tcpObject.o
"Net::addressToString(NetAddress const*, char*)", referenced from:
GameConnection::readConnectRequest(BitStream*, char const**) in gameConnection.o
__ZL22processPingsAndQueriesjb in serverQuery.o
__ZL16pickMasterServerv in serverQuery.o
__ZL24processMasterServerQueryj in serverQuery.o
__ZL14csetServerInfoP9SimObjectiPPKc in serverQuery.o
sendHeartbeat(unsigned char) in serverQuery.o
__ZL22handleGamePingResponsePK10NetAddressP9BitStreamjh in serverQuery.o
...
"Net::stringToAddress(char const*, NetAddress*)", referenced from:
queryLanServers(unsigned int, unsigned char, char const*, char const*, unsigned char, unsigned char, unsigned char, unsigned int, unsigned int, unsigned short, unsigned char) in serverQuery.o
__ZL19pushServerFavoritesv in serverQuery.o
getMasterServerList() in serverQuery.o
__ZL18cquerySingleServerP9SimObjectiPPKc in serverQuery.o
addFakeServers(int) in serverQuery.o
__ZL30handleMasterServerListResponseP9BitStreamjh in serverQuery.o
__ZL21cNetConnectionconnectP13NetConnectioniPPKc in netConnection.o
...
"Net::compareAddresses(NetAddress const*, NetAddress const*)", referenced from:
__ZL24processMasterServerQueryj in serverQuery.o
querySingleServer(NetAddress const*, unsigned char) in serverQuery.o
__ZL14findServerInfoPK10NetAddress in serverQuery.o
__ZL13findPingEntryR6VectorI4PingEPK10NetAddress in serverQuery.o
__ZL16removeServerInfoPK10NetAddress in serverQuery.o
__ZL15addressFinishedPK10NetAddress in serverQuery.o
NetConnection::lookup(NetAddress const*) in netConnection.o
...
"Net::bind(int, unsigned short)", referenced from:
TelnetConsole::setTelnetParameters(int, char const*, char const*, bool) in telnetConsole.o
TelnetDebugger::setDebugParameters(int, char const*, bool) in telnetDebugger.o
"Net::init()", referenced from:
initializeLibraries() in defaultGame.o
"Net::recv(int, unsigned char*, int, int*)", referenced from:
TelnetConsole::process() in telnetConsole.o
TelnetDebugger::checkDebugRecv() in telnetDebugger.o
"Net::send(int, unsigned char const*, int)", referenced from:
TelnetConsole::processConsoleLine(char const*) in telnetConsole.o
TelnetConsole::process() in telnetConsole.o
TelnetDebugger::send(char const*) in telnetDebugger.o
"Net::accept(int, NetAddress*)", referenced from:
TelnetConsole::process() in telnetConsole.o
TelnetDebugger::process() in telnetDebugger.o
#7
02/04/2013 (7:50 am)
Okay... maybe twelve...
#8
02/04/2013 (7:52 am)
Have you modified the source or Xcode project settings at all? Additionally, what Xcode project are you opening?
#9
I've only added the PSK source to the structure. I'm not sure that should matter, because it was fine with that before.
02/04/2013 (8:27 am)
Torque2D.xcode in compilers/xcode.I've only added the PSK source to the structure. I'm not sure that should matter, because it was fine with that before.
#10
02/04/2013 (9:36 am)
That does matter because we have renamed several functions and moved source files around.
#11
/Applications/T2D_1_8/engine/compilers/Xcode/../../source/platformOSX/platformOSX.h
/Applications/T2D_1_8/engine/compilers/Xcode/../../source/platformOSX/osxCocoaUtilities.h
Those are new, I believe, which is why they are causing trouble now when they weren't before. All the errors are mainly "LLVM GCC 4.2 ERROR: Unknown property attribute."
02/04/2013 (10:39 am)
I trie again by uninstalling and reinstalling TGB and this time I got errors (fatal) from these files:/Applications/T2D_1_8/engine/compilers/Xcode/../../source/platformOSX/platformOSX.h
/Applications/T2D_1_8/engine/compilers/Xcode/../../source/platformOSX/osxCocoaUtilities.h
Those are new, I believe, which is why they are causing trouble now when they weren't before. All the errors are mainly "LLVM GCC 4.2 ERROR: Unknown property attribute."
#12
02/04/2013 (10:49 am)
What version of Xcode are you using?
#13
02/04/2013 (10:50 am)
4.5.2 (I think that's the latest, but I'll check the app store anyway).
#14
02/04/2013 (10:54 am)
Looks like I'm 0.0.8 behind. 4.6 is the latest! I'm getting it now...
#15
02/04/2013 (10:56 am)
We've developed and test on 4.5.2 as well, but never got that error. I'll need to see the full log to know what it's complaining about.
#16
CompileC /Users/Torque/Library/Developer/Xcode/DerivedData/Torque2D-cemyqdrlkszcxfbjjvfvpkbjrgkp/Build/Intermediates/Torque2D.build/Debug/TorqueGameBuilder.build/Objects-normal/i386/osxFileDialogs.o ../../source/platformOSX/osxFileDialogs.mm normal i386 objective-c++ com.apple.compilers.llvmgcc42
cd /Applications/T2D_1_8/engine/compilers/Xcode
setenv LANG en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2 -x objective-c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -O0 -Wreturn-type -Wunused-variable -Wuninitialized -Wshorten-64-to-32 -DTORQUE_OS_OSX -DTORQUE_DEBUG -DTORQUE_DEBUG_GUARD -DTORQUE_DISABLE_MEMORY_MANAGER -D__MACOSX__ -fasm-blocks -mmacosx-version-min=10.7 -gdwarf-2 -fvisibility-inlines-hidden -I/Users/Torque/Library/Developer/Xcode/DerivedData/Torque2D-cemyqdrlkszcxfbjjvfvpkbjrgkp/Build/Intermediates/Torque2D.build/Debug/TorqueGameBuilder.build/TorqueGameBuilder_DEBUG.hmap -I/Applications/T2D_1_8/engine/compilers/Xcode/../../../tgb/include -I../../source -I../../lib -I../../lib/lpng -I../../lib/ljpeg -I../../lib/lungif -I/System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/QD.framework/Headers -I/System/Library/Frameworks/OpenGL.framework/Headers -I/Users/Torque/Library/Developer/Xcode/DerivedData/Torque2D-cemyqdrlkszcxfbjjvfvpkbjrgkp/Build/Intermediates/Torque2D.build/Debug/TorqueGameBuilder.build/DerivedSources/i386 -I/Users/Torque/Library/Developer/Xcode/DerivedData/Torque2D-cemyqdrlkszcxfbjjvfvpkbjrgkp/Build/Intermediates/Torque2D.build/Debug/TorqueGameBuilder.build/DerivedSources -F/Applications/T2D_1_8/engine/compilers/Xcode/../../../tgb -include /Users/Torque/Library/Developer/Xcode/DerivedData/Torque2D-cemyqdrlkszcxfbjjvfvpkbjrgkp/Build/Intermediates/PrecompiledHeaders/Torque2D-Prefix-akwadmwsdyvqcqezggnmpobybkou/Torque2D-Prefix.pch -c /Applications/T2D_1_8/engine/compilers/Xcode/../../source/platformOSX/osxFileDialogs.mm -o /Users/Torque/Library/Developer/Xcode/DerivedData/Torque2D-cemyqdrlkszcxfbjjvfvpkbjrgkp/Build/Intermediates/Torque2D.build/Debug/TorqueGameBuilder.build/Objects-normal/i386/osxFileDialogs.o
cc1objplus: warning: -Wuninitialized is not supported without -O
In file included from ../../source/platform/types.h:70,
from ../../source/platform/platform.h:14,
from ../../source/core/tVector.h:11,
from ../../source/console/simBase.h:10,
from ../../source/platform/platformInput.h:10,
from ../../source/platformOSX/osxInputManager.h:8,
from ../../source/platformOSX/osxTorqueView.h:7,
from ../../source/platformOSX/platformOSX.h:8,
from /Applications/T2D_1_8/engine/compilers/Xcode/../../source/platformOSX/osxFileDialogs.mm:6:
../../source/platform/types.gcc.h:66:1: warning: "TORQUE_OS_OSX" redefined
<command-line>: warning: this is the location of the previous definition
In file included from /Applications/T2D_1_8/engine/compilers/Xcode/../../source/platformOSX/osxFileDialogs.mm:6:
../../source/platformOSX/platformOSX.h:89: error: unknown property attribute
../../source/platformOSX/platformOSX.h:89: error: syntax error in @property's attribute declaration
../../source/platformOSX/platformOSX.h:89: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed
../../source/platformOSX/platformOSX.h:89: warning: assign attribute (default) not appropriate for non-gc object property 'window'
../../source/platformOSX/platformOSX.h:90: error: unknown property attribute
../../source/platformOSX/platformOSX.h:90: error: syntax error in
02/04/2013 (11:40 am)
I just updated and built. Here is the error log: (P1)CompileC /Users/Torque/Library/Developer/Xcode/DerivedData/Torque2D-cemyqdrlkszcxfbjjvfvpkbjrgkp/Build/Intermediates/Torque2D.build/Debug/TorqueGameBuilder.build/Objects-normal/i386/osxFileDialogs.o ../../source/platformOSX/osxFileDialogs.mm normal i386 objective-c++ com.apple.compilers.llvmgcc42
cd /Applications/T2D_1_8/engine/compilers/Xcode
setenv LANG en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2 -x objective-c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -O0 -Wreturn-type -Wunused-variable -Wuninitialized -Wshorten-64-to-32 -DTORQUE_OS_OSX -DTORQUE_DEBUG -DTORQUE_DEBUG_GUARD -DTORQUE_DISABLE_MEMORY_MANAGER -D__MACOSX__ -fasm-blocks -mmacosx-version-min=10.7 -gdwarf-2 -fvisibility-inlines-hidden -I/Users/Torque/Library/Developer/Xcode/DerivedData/Torque2D-cemyqdrlkszcxfbjjvfvpkbjrgkp/Build/Intermediates/Torque2D.build/Debug/TorqueGameBuilder.build/TorqueGameBuilder_DEBUG.hmap -I/Applications/T2D_1_8/engine/compilers/Xcode/../../../tgb/include -I../../source -I../../lib -I../../lib/lpng -I../../lib/ljpeg -I../../lib/lungif -I/System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/QD.framework/Headers -I/System/Library/Frameworks/OpenGL.framework/Headers -I/Users/Torque/Library/Developer/Xcode/DerivedData/Torque2D-cemyqdrlkszcxfbjjvfvpkbjrgkp/Build/Intermediates/Torque2D.build/Debug/TorqueGameBuilder.build/DerivedSources/i386 -I/Users/Torque/Library/Developer/Xcode/DerivedData/Torque2D-cemyqdrlkszcxfbjjvfvpkbjrgkp/Build/Intermediates/Torque2D.build/Debug/TorqueGameBuilder.build/DerivedSources -F/Applications/T2D_1_8/engine/compilers/Xcode/../../../tgb -include /Users/Torque/Library/Developer/Xcode/DerivedData/Torque2D-cemyqdrlkszcxfbjjvfvpkbjrgkp/Build/Intermediates/PrecompiledHeaders/Torque2D-Prefix-akwadmwsdyvqcqezggnmpobybkou/Torque2D-Prefix.pch -c /Applications/T2D_1_8/engine/compilers/Xcode/../../source/platformOSX/osxFileDialogs.mm -o /Users/Torque/Library/Developer/Xcode/DerivedData/Torque2D-cemyqdrlkszcxfbjjvfvpkbjrgkp/Build/Intermediates/Torque2D.build/Debug/TorqueGameBuilder.build/Objects-normal/i386/osxFileDialogs.o
cc1objplus: warning: -Wuninitialized is not supported without -O
In file included from ../../source/platform/types.h:70,
from ../../source/platform/platform.h:14,
from ../../source/core/tVector.h:11,
from ../../source/console/simBase.h:10,
from ../../source/platform/platformInput.h:10,
from ../../source/platformOSX/osxInputManager.h:8,
from ../../source/platformOSX/osxTorqueView.h:7,
from ../../source/platformOSX/platformOSX.h:8,
from /Applications/T2D_1_8/engine/compilers/Xcode/../../source/platformOSX/osxFileDialogs.mm:6:
../../source/platform/types.gcc.h:66:1: warning: "TORQUE_OS_OSX" redefined
<command-line>: warning: this is the location of the previous definition
In file included from /Applications/T2D_1_8/engine/compilers/Xcode/../../source/platformOSX/osxFileDialogs.mm:6:
../../source/platformOSX/platformOSX.h:89: error: unknown property attribute
../../source/platformOSX/platformOSX.h:89: error: syntax error in @property's attribute declaration
../../source/platformOSX/platformOSX.h:89: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed
../../source/platformOSX/platformOSX.h:89: warning: assign attribute (default) not appropriate for non-gc object property 'window'
../../source/platformOSX/platformOSX.h:90: error: unknown property attribute
../../source/platformOSX/platformOSX.h:90: error: syntax error in
#17
../../source/platformOSX/platformOSX.h:90: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed
../../source/platformOSX/platformOSX.h:90: warning: assign attribute (default) not appropriate for non-gc object property 'torqueView'
../../source/platformOSX/platformOSX.h:92: error: unknown property attribute
../../source/platformOSX/platformOSX.h:92: error: syntax error in @property's attribute declaration
../../source/platformOSX/platformOSX.h:92: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed
../../source/platformOSX/platformOSX.h:92: warning: assign attribute (default) not appropriate for non-gc object property 'applicationID'
../../source/platformOSX/platformOSX.h:111: error: unknown property attribute
../../source/platformOSX/platformOSX.h:111: error: syntax error in @property's attribute declaration
../../source/platformOSX/platformOSX.h:111: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed
../../source/platformOSX/platformOSX.h:111: warning: assign attribute (default) not appropriate for non-gc object property 'osxTimer'
In file included from /Applications/T2D_1_8/engine/compilers/Xcode/../../source/platformOSX/osxFileDialogs.mm:7:
../../source/platformOSX/osxCocoaUtilities.h:55: error: unknown property attribute
../../source/platformOSX/osxCocoaUtilities.h:55: error: syntax error in @property's attribute declaration
../../source/platformOSX/osxCocoaUtilities.h:55: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed
../../source/platformOSX/osxCocoaUtilities.h:55: warning: assign attribute (default) not appropriate for non-gc object property 'menu'
../../source/platformOSX/osxCocoaUtilities.h:56: error: unknown property attribute
../../source/platformOSX/osxCocoaUtilities.h:56: error: syntax error in @property's attribute declaration
../../source/platformOSX/osxCocoaUtilities.h:56: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed
../../source/platformOSX/osxCocoaUtilities.h:56: warning: assign attribute (default) not appropriate for non-gc object property 'menuItem'
//***END OF REPORT***//
02/04/2013 (11:41 am)
@property's attribute declaration../../source/platformOSX/platformOSX.h:90: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed
../../source/platformOSX/platformOSX.h:90: warning: assign attribute (default) not appropriate for non-gc object property 'torqueView'
../../source/platformOSX/platformOSX.h:92: error: unknown property attribute
../../source/platformOSX/platformOSX.h:92: error: syntax error in @property's attribute declaration
../../source/platformOSX/platformOSX.h:92: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed
../../source/platformOSX/platformOSX.h:92: warning: assign attribute (default) not appropriate for non-gc object property 'applicationID'
../../source/platformOSX/platformOSX.h:111: error: unknown property attribute
../../source/platformOSX/platformOSX.h:111: error: syntax error in @property's attribute declaration
../../source/platformOSX/platformOSX.h:111: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed
../../source/platformOSX/platformOSX.h:111: warning: assign attribute (default) not appropriate for non-gc object property 'osxTimer'
In file included from /Applications/T2D_1_8/engine/compilers/Xcode/../../source/platformOSX/osxFileDialogs.mm:7:
../../source/platformOSX/osxCocoaUtilities.h:55: error: unknown property attribute
../../source/platformOSX/osxCocoaUtilities.h:55: error: syntax error in @property's attribute declaration
../../source/platformOSX/osxCocoaUtilities.h:55: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed
../../source/platformOSX/osxCocoaUtilities.h:55: warning: assign attribute (default) not appropriate for non-gc object property 'menu'
../../source/platformOSX/osxCocoaUtilities.h:56: error: unknown property attribute
../../source/platformOSX/osxCocoaUtilities.h:56: error: syntax error in @property's attribute declaration
../../source/platformOSX/osxCocoaUtilities.h:56: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed
../../source/platformOSX/osxCocoaUtilities.h:56: warning: assign attribute (default) not appropriate for non-gc object property 'menuItem'
//***END OF REPORT***//
#18
02/04/2013 (11:52 am)
Very odd. Those line number do not match up. Have you tried deleting your derived data folder yet?
#19
02/04/2013 (11:53 am)
One other question: What OS version are you on?
#20
Thanks!
02/04/2013 (11:54 am)
My OS version is 10.7.5 (Lion). What's the "derived data folder?" Where is it found?Thanks!
Employee Michael Perry
ZombieShortbus
2. There is actually a far worse that might be related (info following this list).
3. Hm, that is a bug I'll look into.
4. Even if you use fn + F11?
5. Can you post a screenshot of this, please?
There are three way more important bugs I discovered that require another release, be it a patched source file or just a new zip that overwrites the previous.
1. Crash when trying to go into fullscreen mode
2. Fullscreen mode uses the wrong window mask
3. Vertical mouse offset when window is extended past a standard 1024x768 resolution
I've resolved these in the T2D 2.0 (MIT) repository, so I just need to port them back to the legacy T2D and iT2D engines. These are all OS X, btw.