mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-21 12:49:10 +00:00
Convert SDL (mostly) to plStrings
This commit is contained in:
@ -624,7 +624,7 @@ void plNetClientMgr::ICheckPendingStateLoad(double secs)
|
||||
// discard the state if object not found in dataset.
|
||||
hsLogEntry( DebugMsg( "Failed to find object %s in dataset. Discarding pending state '%s'",
|
||||
tmpUoid.StringIze().c_str(),
|
||||
pl->fSDRec->GetDescriptor()->GetName() ) );
|
||||
pl->fSDRec->GetDescriptor()->GetName().c_str() ) );
|
||||
delete pl;
|
||||
it = fPendingLoads.erase(it);
|
||||
continue;
|
||||
@ -645,9 +645,10 @@ void plNetClientMgr::ICheckPendingStateLoad(double secs)
|
||||
#ifdef HS_DEBUGGING
|
||||
if (plNetObjectDebugger::GetInstance()->IsDebugObject(so))
|
||||
{
|
||||
hsLogEntry( DebugMsg( "Delivering SDL state %s:%s", pl->fKey->GetName().c_str(), pl->fSDRec->GetDescriptor()->GetName() ) );
|
||||
// hsLogEntry(plNetObjectDebugger::GetInstance()->LogMsg(xtl::format("Dispatching SDL state, type %s to object:%s, locallyOwned=%d, st=%.3f rt=%.3f",
|
||||
// pl->fSDRec->GetDescriptor()->GetName(), pl->fKey->GetName(),
|
||||
hsLogEntry( DebugMsg( "Delivering SDL state %s:%s", pl->fKey->GetName().c_str(),
|
||||
pl->fSDRec->GetDescriptor()->GetName().c_str() ) );
|
||||
// hsLogEntry(plNetObjectDebugger::GetInstance()->LogMsg(plString::Format("Dispatching SDL state, type %s to object:%s, locallyOwned=%d, st=%.3f rt=%.3f",
|
||||
// pl->fSDRec->GetDescriptor()->GetName().c_str(), pl->fKey->GetName().c_str(),
|
||||
// so->IsLocallyOwned()==plSynchedObject::kYes, secs, hsTimer::GetSeconds()).c_str()));
|
||||
// hsLogEntry( pl->fSDRec->DumpToObjectDebugger( "Delivering SDL state", false, 0 ) );
|
||||
}
|
||||
@ -671,7 +672,7 @@ void plNetClientMgr::ICheckPendingStateLoad(double secs)
|
||||
// for around 5 minutes and its time to go
|
||||
|
||||
WarningMsg( "Pending state '%s' for object [uoid:%s,key:%s] has been queued for about %f secs. Removing...",
|
||||
pl->fSDRec && pl->fSDRec->GetDescriptor() ? pl->fSDRec->GetDescriptor()->GetName() : "?",
|
||||
pl->fSDRec && pl->fSDRec->GetDescriptor() ? pl->fSDRec->GetDescriptor()->GetName().c_str() : "?",
|
||||
pl->fUoid.StringIze().c_str(), pl->fKey ? pl->fKey->GetUoid().StringIze().c_str() : "?",
|
||||
( rawSecs - pl->fQueuedTime ) * pl->fQueueTimeResets);
|
||||
|
||||
@ -681,7 +682,7 @@ void plNetClientMgr::ICheckPendingStateLoad(double secs)
|
||||
}
|
||||
|
||||
WarningMsg( "Pending state '%s' for object [uoid:%s,key:%s] has been queued for about %f secs. %s",
|
||||
pl->fSDRec && pl->fSDRec->GetDescriptor() ? pl->fSDRec->GetDescriptor()->GetName() : "?",
|
||||
pl->fSDRec && pl->fSDRec->GetDescriptor() ? pl->fSDRec->GetDescriptor()->GetName().c_str() : "?",
|
||||
pl->fUoid.StringIze().c_str(), pl->fKey ? pl->fKey->GetUoid().StringIze().c_str() : "?",
|
||||
( rawSecs - pl->fQueuedTime ) * pl->fQueueTimeResets,
|
||||
so ? "(not loaded)" : "(not final)" );
|
||||
|
Reference in New Issue
Block a user