TGEA 1.71 Bug and Fix: Water Block Not Visible
by Devin Passage · in Torque Game Engine Advanced · 08/09/2008 (3:21 pm) · 1 replies
Hey, if your water block isn't appearing when you use a dedicated server, change
at line 151 in waterBlock.cpp
void WaterBlock::onGhostAlwaysDone()
{
if ( isClientObject() )
setupVBIB();
}
to
void WaterBlock::onGhostAlwaysDone()
{
// if ( isClientObject() )
// setupVBIB();
}
then at line 132, comment out
NetConnection::smGhostAlwaysDone.notify( this, &WaterBlock::onGhostAlwaysDone );
and above it paste in:
if ( isClientObject() )
setupVBIB();
your water block will now appear when connecting to a ded. server.
at line 151 in waterBlock.cpp
void WaterBlock::onGhostAlwaysDone()
{
if ( isClientObject() )
setupVBIB();
}
to
void WaterBlock::onGhostAlwaysDone()
{
// if ( isClientObject() )
// setupVBIB();
}
then at line 132, comment out
NetConnection::smGhostAlwaysDone.notify( this, &WaterBlock::onGhostAlwaysDone );
and above it paste in:
if ( isClientObject() )
setupVBIB();
your water block will now appear when connecting to a ded. server.
About the author
www.martianarctic.com
Associate Tom Spilman
Sickhead Games
Did you look into this at all? I would trace to see why NetConnection::smGhostAlwaysDone.trigger/signal isn't getting called on your client when connecting to a dedicated server.