Jump to content

Recommended Posts

  • Premium

There is an invisibility issue that I guess has occurred after recent using metin2 official patches

Sample

https://metin2.download/picture/HDLo7LoF0TsOiBIguvh654ySRFjZ4OUb/.png

https://www.youtube.com/watch?v=o8gpKUScnks&feature=emb_title

 

Problem is that the models that go outside the view frustum are hidden but do not appear when returning inside

Look for it

Eterlib\CullingManager.cpp -> void CCullingManager::VisibilityCallback(const Frustum &/*f*/,SpherePack *sphere,ViewState state)

 

When we remove the hide and show methods in this function, the problem is solved, however, the problem of high gpu usage occurs, because we disable view frustum

This changes solves the problem in the following post

 

I need your ideas to solve this problem I have been working on it for a long time but there is something I overlooked and I cannot find it

 

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1
Link to comment
Share on other sites

  • Developer

Doest it happen only with players?

I think you should show here some code.. if it happen only with players you should show all the ActorInstance class files and the InstanceBase files.

Edited by Ikarus_

My youtube channel  on which you can see my works here

Link to comment
Share on other sites

  • Premium
2 minutes ago, Mali61 said:

I hope you have backup of your old (working) files.

I'm looking for a more logical solution instead of reverting to backup.

The method I mentioned also causes a problem that causes invisible characters to be visible after camera movements in the game. So there is something problematic already

Link to comment
Share on other sites

  • Honorable Member
1 minute ago, Shorty said:

I'm looking for a more logical solution instead of reverting to backup.

I want to say, for now is to restore your backups until you find the solution because your server is working now.

  • Good 1

 

Link to comment
Share on other sites

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.