Jump to content

Recommended Posts

  • Former Staff

Hi, in my server when a player (sura) use his hability (dissipate) it cause some lag on the other player. How I can fix it?

I'm not sure if there's a fix for that problem.

The official still has it.

  • Love 1

I assume there's no fix for that unless you rebuild skill or Compute() function by yourself.

In short, when Sura uses his skill --> game is checking and fixing every stat on your character, it happens as many times as many buffs you have on.

 

I know, it's so sad.  :unsure:

Yay, managed to fix it, though I made some new functions based on the original ones but it doesn't matter now.

If you want to fix lag issues you must go to char_affect.cpp and find this:

bool CHARACTER::RemoveAffect(CAffect * pkAff)

Not gonna post a complete fix so have fun with it! :D

The rest of the functions that are linked to that one (and would be nice to do something with them):

void CHARACTER::ComputeAffect(CAffect * pkAff, bool bAdd)
bool CHARACTER::RemoveAffect(DWORD dwType)
void CHARACTER::RemoveGoodAffect()

Proof here:

suraskill.gif

 

or link_to_optimized_version

dem ymir coders, everything so complicated :wub: 

 

Regards,

newja

Edited by Metin2 Dev
Core X - External 2 Internal
  • 2 months later...
  • 1 year later...
  • 8 months later...
  • 2 months later...
  • Honorable Member

will post again.

  • Love 1

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

@Syreldar thanks, the lag is gone, but here is the "new bug":

https://metin2.download/picture/h83s7dKWQcKbV8Ne8uOYM1Vu7fGxoRTt/.gif

https://metin2.download/picture/Y2XOHnBXwbghE8g85RphZp45QGWPw3Pc/.gif

Edited by Metin2 Dev
Core X - External 2 Internal
  • Honorable Member
2 minutes ago, Horinna said:

Sorry, what's the bug? The stats are correctly updating.

Edited by Metin2 Dev
Core X - External 2 Internal

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

  • Honorable Member
2 minutes ago, Horinna said:

05dab7de19f29c151335f7a3ddbc3f61.gif

@Syreldar with you fix the effect doesnt removed - look :)

I'll look into it.

 

can you screenshot your CHARACTER::RemoveAffect(CAffect * pkAff) ?

Edited by Metin2 Dev
Core X - External 2 Internal

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

  • Honorable Member
Just now, Horinna said:

@Syreldar thanks :) here is an another gif:
cae245c983f407c2c0b3cb1c9b186dd2.gif

can you screenshot your CHARACTER::RemoveAffect(CAffect * pkAff) ?

Edited by Metin2 Dev
Core X - External 2 Internal

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

  • Honorable Member
25 minutes ago, Horinna said:

b7c669a095684592d83a0e96536ccda0.png

can you add me on skype? I can help you better!

contact: aresyournightmare

Edited by Metin2 Dev
Core X - External 2 Internal

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

  • Honorable Member

 

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



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.