YackPack and TGEA 1.8 - Two errors
by Josef Froschauer · in Technical Issues · 08/10/2009 (2:22 pm) · 5 replies
Hi,
I am trying to integrate the YackPack in TGEA 1.8. I followed the official documentation and this link...
http://tdn.garagegames.com/wiki/TorqueShaderEngine/Yack_Pack_TGEA_1_7
When I recompile the engine, I get the following two error messages:
_______________
..\..\..\..\..\engine\source\T3D\player.cpp(3739) : error C2039: 'getGhostendex': Ist kein Element von 'GameConnection'
c:\Torque\TGEA_1_8_0\engine\source\T3D/gameConnection.h(47): Siehe Deklaration von 'GameConnection'
..\..\..\..\..\engine\source\T3D\player.cpp(3800) : error C2039: 'readet': Ist kein Element von 'BitStream'
c:\Torque\TGEA_1_8_0\engine\source\core/stream/bitStream.h(33): Siehe Deklaration von 'BitStream'
_______________
Where could be the problem? Can anybody help me with this?
I am trying to integrate the YackPack in TGEA 1.8. I followed the official documentation and this link...
http://tdn.garagegames.com/wiki/TorqueShaderEngine/Yack_Pack_TGEA_1_7
When I recompile the engine, I get the following two error messages:
_______________
..\..\..\..\..\engine\source\T3D\player.cpp(3739) : error C2039: 'getGhostendex': Ist kein Element von 'GameConnection'
c:\Torque\TGEA_1_8_0\engine\source\T3D/gameConnection.h(47): Siehe Deklaration von 'GameConnection'
..\..\..\..\..\engine\source\T3D\player.cpp(3800) : error C2039: 'readet': Ist kein Element von 'BitStream'
c:\Torque\TGEA_1_8_0\engine\source\core/stream/bitStream.h(33): Siehe Deklaration von 'BitStream'
_______________
Where could be the problem? Can anybody help me with this?
#3
--------- Loading MODS ---------
--------- Parsing Arguments ---------
Reading Display Device information...
Primary Display Device Found:
Vendor Id: VEN_0000
Device Id: DEV_0000
Binding server port to default IP
UDP initialized on port 0
DirectX 8 version - 9.0c
DirectX 9 version - 9.0c
GLExtensions: Extension bind failed for glBufferRegionEnabledEXT
GLExtensions: Extension bind failed for glNewBufferRegionEXT
GLExtensions: Extension bind failed for glDeleteBufferRegionEXT
GLExtensions: Extension bind failed for glReadBufferRegionEXT
GLExtensions: Extension bind failed for glDrawBufferRegionEXT
GLExtensions: Extension bind failed for glVertexWeighthNV
GLExtensions: Extension bind failed for glVertexWeighthvNV
GFXInit::getAdapterTypeFromName - Invalid renderer name, defaulting to D3D9
Attempting to create GFX device: NVIDIA GeForce 8300 GS (D3D9)
GFXD3D9EnumTranslate: Unassigned value in GFXD3D9TextureFormat: 11
Device created, setting adapter and enumerating modes
GFXD3D9Device - using 'd3dx9_39.dll' for dynamic linking.
Cur. D3DDevice ref count=1
Maximum number of simultaneous samplers: 8
Pix version detected: 3.000000
Vert version detected: 3.000000
WMIVideoInfo: DxDiag initialized
Initializing GFXCardProfiler (D3D9)
o Chipset : 'GeForce 8300 GS'
o Card : 'GeForce 8300 GS '
o Version : '6.14.0011.8122'
- Scanning card capabilities...
GFXCardProfiler (D3D9) - Setting capability 'autoMipMapLevel' to 1.
GFXCardProfiler (D3D9) - Setting capability 'maxTextureWidth' to 8192.
GFXCardProfiler (D3D9) - Setting capability 'maxTextureHeight' to 8192.
GFXCardProfiler (D3D9) - Setting capability 'maxTextureSize' to 8192.
GFXCardProfiler (D3D9) - Setting capability 'lerpDetailBlend' to 1.
GFXCardProfiler (D3D9) - Setting capability 'fourStageDetailBlend' to 1.
GFXCardProfiler (D3D9) - Setting capability 'allowRGB24BitTextures' to 0.
- Loading card profiles...
- Loaded card profile profile/D3D9.cs
- No card profile profile/D3D9.GeForce8300GS.cs exists
- No card profile profile/D3D9.GeForce8300GS.GeForce8300GS.cs exists
- No card profile profile/D3D9.GeForce8300GS.GeForce8300GS.61400118122.cs exists
% - Initialized Common
--------- Initializing MOD: FPS ---------
sfxStartup...
SFXSystem::createDevice - created XAudio device 'Realtek HD Audio output'
Provider: XAudio
Device: Realtek HD Audio output
Hardware: No
Buffers: 16
--------- Initializing adventure: Server Scripts ---------
--------- Initializing adventure: Client Scripts ---------
--------------
Attempting to set resolution to "800 600 false 32 60 0"
Accepted Mode:
--Resolution : 800 600
--Full Screen : No
--Bits Per Pixel : 32
--Refresh Rate : 60
--FSAA Level 0
--------------
Could not map material: TerrainSoft to a texture name, need to specify 'mapTo' or 'baseTex[0]' parameter
Could not map material: TerrainHard to a texture name, need to specify 'mapTo' or 'baseTex[0]' parameter
Binding server port to default IP
UDP initialized on port 0
Validation required for shape: scriptsAndAssets/data/shapes/players/SpaceOrc/SpaceOrc.dts
Validation required for shape: scriptsAndAssets/data/shapes/players/BoomBot/BoomBot.dts
Validation required for shape: scriptsAndAssets/data/shapes/players/Elf/Elf.dts
Validation required for shape: scriptsAndAssets/data/shapes/players/ForgeSoldier/ForgeSoldier.dts
Validation required for shape: scriptsAndAssets/data/shapes/players/SpaceOrc/SpaceOrc.dts
Validation required for shape: scriptsAndAssets/data/shapes/players/Spacesuit/Spacesuit.dts
Validation required for shape: scriptsAndAssets/data/shapes/players/TorqueOrc/TorqueOrc.dts
% - Initializing common GUIs
% - Initializing Tools
% - Initializing Tools Base
% - Initializing Base Editor
% - Initializing Mission Editor
% - Initializing Gui Builder
% - Initializing Debugger
Engine initialized...
Win32Window::WindowProc - resetting device due to window size change.
Window focus status changed: focus: 1
Exporting server prefs...
scriptsAndAssets/server/scripts/aiPlayer.cs (40): Unable to find parent object PlayerBody for PlayerData.
08/12/2009 (1:33 am)
There is no error anymore when compiling the game engine. But when I start the game in Torsion, I get the following error messages. Especially the last line 'aiPlayer.cs (40): Unable to find parent object PlayerBody for PlayerData' isn't clear to me... and what about those 'GLExtensions' and 'Validation required' issues? Thx for help.--------- Loading MODS ---------
--------- Parsing Arguments ---------
Reading Display Device information...
Primary Display Device Found:
Vendor Id: VEN_0000
Device Id: DEV_0000
Binding server port to default IP
UDP initialized on port 0
DirectX 8 version - 9.0c
DirectX 9 version - 9.0c
GLExtensions: Extension bind failed for glBufferRegionEnabledEXT
GLExtensions: Extension bind failed for glNewBufferRegionEXT
GLExtensions: Extension bind failed for glDeleteBufferRegionEXT
GLExtensions: Extension bind failed for glReadBufferRegionEXT
GLExtensions: Extension bind failed for glDrawBufferRegionEXT
GLExtensions: Extension bind failed for glVertexWeighthNV
GLExtensions: Extension bind failed for glVertexWeighthvNV
GFXInit::getAdapterTypeFromName - Invalid renderer name, defaulting to D3D9
Attempting to create GFX device: NVIDIA GeForce 8300 GS (D3D9)
GFXD3D9EnumTranslate: Unassigned value in GFXD3D9TextureFormat: 11
Device created, setting adapter and enumerating modes
GFXD3D9Device - using 'd3dx9_39.dll' for dynamic linking.
Cur. D3DDevice ref count=1
Maximum number of simultaneous samplers: 8
Pix version detected: 3.000000
Vert version detected: 3.000000
WMIVideoInfo: DxDiag initialized
Initializing GFXCardProfiler (D3D9)
o Chipset : 'GeForce 8300 GS'
o Card : 'GeForce 8300 GS '
o Version : '6.14.0011.8122'
- Scanning card capabilities...
GFXCardProfiler (D3D9) - Setting capability 'autoMipMapLevel' to 1.
GFXCardProfiler (D3D9) - Setting capability 'maxTextureWidth' to 8192.
GFXCardProfiler (D3D9) - Setting capability 'maxTextureHeight' to 8192.
GFXCardProfiler (D3D9) - Setting capability 'maxTextureSize' to 8192.
GFXCardProfiler (D3D9) - Setting capability 'lerpDetailBlend' to 1.
GFXCardProfiler (D3D9) - Setting capability 'fourStageDetailBlend' to 1.
GFXCardProfiler (D3D9) - Setting capability 'allowRGB24BitTextures' to 0.
- Loading card profiles...
- Loaded card profile profile/D3D9.cs
- No card profile profile/D3D9.GeForce8300GS.cs exists
- No card profile profile/D3D9.GeForce8300GS.GeForce8300GS.cs exists
- No card profile profile/D3D9.GeForce8300GS.GeForce8300GS.61400118122.cs exists
% - Initialized Common
--------- Initializing MOD: FPS ---------
sfxStartup...
SFXSystem::createDevice - created XAudio device 'Realtek HD Audio output'
Provider: XAudio
Device: Realtek HD Audio output
Hardware: No
Buffers: 16
--------- Initializing adventure: Server Scripts ---------
--------- Initializing adventure: Client Scripts ---------
--------------
Attempting to set resolution to "800 600 false 32 60 0"
Accepted Mode:
--Resolution : 800 600
--Full Screen : No
--Bits Per Pixel : 32
--Refresh Rate : 60
--FSAA Level 0
--------------
Could not map material: TerrainSoft to a texture name, need to specify 'mapTo' or 'baseTex[0]' parameter
Could not map material: TerrainHard to a texture name, need to specify 'mapTo' or 'baseTex[0]' parameter
Binding server port to default IP
UDP initialized on port 0
Validation required for shape: scriptsAndAssets/data/shapes/players/SpaceOrc/SpaceOrc.dts
Validation required for shape: scriptsAndAssets/data/shapes/players/BoomBot/BoomBot.dts
Validation required for shape: scriptsAndAssets/data/shapes/players/Elf/Elf.dts
Validation required for shape: scriptsAndAssets/data/shapes/players/ForgeSoldier/ForgeSoldier.dts
Validation required for shape: scriptsAndAssets/data/shapes/players/SpaceOrc/SpaceOrc.dts
Validation required for shape: scriptsAndAssets/data/shapes/players/Spacesuit/Spacesuit.dts
Validation required for shape: scriptsAndAssets/data/shapes/players/TorqueOrc/TorqueOrc.dts
% - Initializing common GUIs
% - Initializing Tools
% - Initializing Tools Base
% - Initializing Base Editor
% - Initializing Mission Editor
% - Initializing Gui Builder
% - Initializing Debugger
Engine initialized...
Win32Window::WindowProc - resetting device due to window size change.
Window focus status changed: focus: 1
Exporting server prefs...
scriptsAndAssets/server/scripts/aiPlayer.cs (40): Unable to find parent object PlayerBody for PlayerData.
#4
The only problem is the "Unable to find parent object PlayerBody for PlayerData". It's looking for the datablock "PlayerBody", but it can't find it. Most likely it was never created. What it needs is something to base the aiplayer data on. It looks like you are using the template based on the T3D project, so change PlayerBody to one of the existing datablocks (like BoomBotData, etc). These are normally defined int the ScriptsAndAssets/Server/Scripts/Players files
PS - You may want to post from the account that you used when you purchased TGEA. Don't want anyone thinking that you downloaded it.
08/12/2009 (6:21 am)
The "Validation required" and GlExtensions are not a problem.The only problem is the "Unable to find parent object PlayerBody for PlayerData". It's looking for the datablock "PlayerBody", but it can't find it. Most likely it was never created. What it needs is something to base the aiplayer data on. It looks like you are using the template based on the T3D project, so change PlayerBody to one of the existing datablocks (like BoomBotData, etc). These are normally defined int the ScriptsAndAssets/Server/Scripts/Players files
PS - You may want to post from the account that you used when you purchased TGEA. Don't want anyone thinking that you downloaded it.
#5
sorry for posting with the other account. we are 2 people working on an academic project, of course we purcased TGEA.
08/12/2009 (7:25 am)
thanks for the help, now it works!sorry for posting with the other account. we are 2 people working on an academic project, of course we purcased TGEA.
Associate Jaimi McEntire
King of Flapjacks
it should be getGhostIndex