mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-25 02:10:53 +00:00
Removed: flooding warning
This commit is contained in:
parent
b0a33c716c
commit
056f8e147f
7 changed files with 16 additions and 16 deletions
|
@ -272,7 +272,7 @@ void CLandscapeUser::refreshZonesAround(const CVector &pos, float radius, std::s
|
||||||
{
|
{
|
||||||
if (Work.Zone == (CZone*)-1)
|
if (Work.Zone == (CZone*)-1)
|
||||||
{
|
{
|
||||||
nlwarning ("Can't load zone %s", Work.NameZoneAdded.c_str ());
|
//nlwarning ("Can't load zone %s", Work.NameZoneAdded.c_str ());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -255,7 +255,7 @@ void CZoneLoadingTask::run(void)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
nldebug("CZoneLoadingTask::run(): File not found: %s", zonePathLookup.c_str ());
|
//nldebug("CZoneLoadingTask::run(): File not found: %s", zonePathLookup.c_str ());
|
||||||
delete ZoneTmp;
|
delete ZoneTmp;
|
||||||
*_Zone = (CZone*)-1; // Return error
|
*_Zone = (CZone*)-1; // Return error
|
||||||
}
|
}
|
||||||
|
|
|
@ -2516,7 +2516,7 @@ void NLPACS::CGlobalRetriever::refreshLrAround(const CVector &position, float ra
|
||||||
|
|
||||||
// NLMEMORY::CheckHeap (true);
|
// NLMEMORY::CheckHeap (true);
|
||||||
|
|
||||||
nlinfo("Lr '%s' loading task complete", ite->LoadFile.c_str());
|
//nlinfo("Lr '%s' loading task complete", ite->LoadFile.c_str());
|
||||||
|
|
||||||
// Remove this entry
|
// Remove this entry
|
||||||
_LrLoaderList.erase (ite);
|
_LrLoaderList.erase (ite);
|
||||||
|
@ -2553,7 +2553,7 @@ void NLPACS::CGlobalRetriever::refreshLrAround(const CVector &position, float ra
|
||||||
for (it=out.begin(); it!=out.end(); ++it)
|
for (it=out.begin(); it!=out.end(); ++it)
|
||||||
{
|
{
|
||||||
const_cast<CRetrieverBank*>(_RetrieverBank)->unloadRetriever(*it);
|
const_cast<CRetrieverBank*>(_RetrieverBank)->unloadRetriever(*it);
|
||||||
nlinfo("Freed Lr '%s'", (_RetrieverBank->getNamePrefix() + "_" + toString(*it) + ".lr").c_str());
|
//nlinfo("Freed Lr '%s'", (_RetrieverBank->getNamePrefix() + "_" + toString(*it) + ".lr").c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
// if load task idle and more lr to load, setup load task
|
// if load task idle and more lr to load, setup load task
|
||||||
|
@ -2585,7 +2585,7 @@ void NLPACS::CGlobalRetriever::refreshLrAround(const CVector &position, float ra
|
||||||
|
|
||||||
CAsyncFileManager::getInstance().addLoadTask(&loader);
|
CAsyncFileManager::getInstance().addLoadTask(&loader);
|
||||||
|
|
||||||
nlinfo("Lr '%s' added to load", loader.LoadFile.c_str());
|
//nlinfo("Lr '%s' added to load", loader.LoadFile.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
// Next lr to load
|
// Next lr to load
|
||||||
|
|
|
@ -120,7 +120,7 @@ bool CAnimationMisc::interpolate(UAnimationSet *animationSet, uint idAnim, doubl
|
||||||
UTrack* Track = anim->getTrackByName("rotquat");
|
UTrack* Track = anim->getTrackByName("rotquat");
|
||||||
if(!Track)
|
if(!Track)
|
||||||
{
|
{
|
||||||
nlwarning("CAnimationMisc::interpolate(CQuat) : track with the name 'PathRotQuat' or 'rotquat' does not exist.");
|
//nlwarning("CAnimationMisc::interpolate(CQuat) : track with the name 'PathRotQuat' or 'rotquat' does not exist.");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1427,10 +1427,10 @@ void CCharacterCL::updateVisualPropertyName(const NLMISC::TGameCycle &/* gameCyc
|
||||||
// STRING_MANAGER::CStringManagerClient::instance()->waitString(nameId, this, &_Name);
|
// STRING_MANAGER::CStringManagerClient::instance()->waitString(nameId, this, &_Name);
|
||||||
STRING_MANAGER::CStringManagerClient::instance()->waitString(nameId, this);
|
STRING_MANAGER::CStringManagerClient::instance()->waitString(nameId, this);
|
||||||
|
|
||||||
if(!getEntityName().empty())
|
//if(!getEntityName().empty())
|
||||||
nlwarning("CH::updateVPName:%d: name Id '%d' received but no name allocated.", _Slot, nameId);
|
// nlwarning("CH::updateVPName:%d: name Id '%d' received but no name allocated.", _Slot, nameId);
|
||||||
else if(verboseVP(this))
|
//else if(verboseVP(this))
|
||||||
nlinfo("(%05d,%03d) CH::updateVPName:%d: name '%s(%d)' received.", sint32(T1%100000), NetMngr.getCurrentServerTick(), _Slot, getEntityName().toString().c_str(), nameId);
|
// nlinfo("(%05d,%03d) CH::updateVPName:%d: name '%s(%d)' received.", sint32(T1%100000), NetMngr.getCurrentServerTick(), _Slot, getEntityName().toString().c_str(), nameId);
|
||||||
|
|
||||||
updateMissionTarget();
|
updateMissionTarget();
|
||||||
}// updateVisualPropertyName //
|
}// updateVisualPropertyName //
|
||||||
|
@ -5429,8 +5429,8 @@ ADD_METHOD(void CCharacterCL::playToEndAnim(const double &startTimeOffset, doubl
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else
|
//else
|
||||||
nlwarning("playToEndAnim:%d: animWalkSpeed > animRunSpeed", _Slot);
|
//nlwarning("playToEndAnim:%d: animWalkSpeed > animRunSpeed", _Slot);
|
||||||
}
|
}
|
||||||
// No Mix between Walk and Run.
|
// No Mix between Walk and Run.
|
||||||
runFactor(0.0);
|
runFactor(0.0);
|
||||||
|
|
|
@ -3863,7 +3863,7 @@ void CNetManager::send(NLMISC::TGameCycle gameCycle)
|
||||||
// wait till next server is received
|
// wait till next server is received
|
||||||
if (_LastSentCycle >= gameCycle)
|
if (_LastSentCycle >= gameCycle)
|
||||||
{
|
{
|
||||||
nlinfo ("Try to CNetManager::send(%d) _LastSentCycle=%d more than one time with the same game cycle, so we wait new game cycle to send", gameCycle, _LastSentCycle);
|
//nlinfo ("Try to CNetManager::send(%d) _LastSentCycle=%d more than one time with the same game cycle, so we wait new game cycle to send", gameCycle, _LastSentCycle);
|
||||||
while (_LastSentCycle >= gameCycle)
|
while (_LastSentCycle >= gameCycle)
|
||||||
{
|
{
|
||||||
// Update network.
|
// Update network.
|
||||||
|
|
|
@ -357,7 +357,7 @@ restartLoop4:
|
||||||
{
|
{
|
||||||
bms.serial( stringId );
|
bms.serial( stringId );
|
||||||
NetMngr.push( bms );
|
NetMngr.push( bms );
|
||||||
nldebug("<CStringManagerClient::getString> sending 'STRING_MANAGER:STRING_RQ' message to server");
|
//nldebug("<CStringManagerClient::getString> sending 'STRING_MANAGER:STRING_RQ' message to server");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -393,7 +393,7 @@ restartLoop4:
|
||||||
{
|
{
|
||||||
H_AUTO( CStringManagerClient_receiveString )
|
H_AUTO( CStringManagerClient_receiveString )
|
||||||
|
|
||||||
nlinfo("String %u available : [%s]", stringId, str.toString().c_str());
|
//nlinfo("String %u available : [%s]", stringId, str.toString().c_str());
|
||||||
|
|
||||||
CHashSet<uint>::iterator it(_WaitingStrings.find(stringId));
|
CHashSet<uint>::iterator it(_WaitingStrings.find(stringId));
|
||||||
if (it != _WaitingStrings.end())
|
if (it != _WaitingStrings.end())
|
||||||
|
@ -476,7 +476,7 @@ restartLoop:
|
||||||
/// Warning: if getDynString() return true, 'first' is erased => don't use it after in this loop
|
/// Warning: if getDynString() return true, 'first' is erased => don't use it after in this loop
|
||||||
if (getDynString(number, value))
|
if (getDynString(number, value))
|
||||||
{
|
{
|
||||||
nlinfo("DynString %u available : [%s]", number, value.toString().c_str());
|
//nlinfo("DynString %u available : [%s]", number, value.toString().c_str());
|
||||||
// this dyn string is now complete !
|
// this dyn string is now complete !
|
||||||
// update the waiting dyn strings
|
// update the waiting dyn strings
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue