Jump to content

Have someone tested these anti black screen methods?


Recommended Posts

  • Gold

Hello guys,

have someone tested these anti black screen methods to fix black screen when client is minimized for some time?

Spoiler
PythonApplication.cpp
  
if (!canRender){ //extended code
	RenderSpecial();
	SkipRenderBuffering(3000);
}

void CPythonApplication::RenderSpecial(){ //extended code
    m_kEftMgr.Update();
    m_kChrMgr.Render();
    m_pyItem.Render();
    m_FlyingManager.Render();
}

PythonApplication.h
void RenderSpecial(); //extended code

MapOutdoorUpdate.cpp 
//__CollectCollisionShadowReceiver(v3Player, v3Light); //just commented this piece of code
  
PythonCharacterManager.cpp
/* //just commented this piece of code
if (pkInstEach->IsForceVisible())
{
	dwForceVisibleInstCount++;
	continue;
}*/

 

I'm not sure if it works like it should or if it's completely useless. What do you think about it?

Thanks for possible answers!

Sincerely,

ReFresh

Edited by ReFresh

I'll be always helpful! 👊 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.