Jump to content
!-->
  • 0

Have someone tested these anti black screen methods?


ReFresh

Question

  • Premium

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

  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Popular Days

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • 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.