otclient icon indicating copy to clipboard operation
otclient copied to clipboard

FPS drop with too many monsters in the battle list

Open andersonfaaria opened this issue 8 years ago • 4 comments

When you have too many monsters in your battle list the fps drops drastically.

Before creating an issue, please ensure:

  • [x] This is a bug in the software that resides in this repository, and not a support matter (use https://otland.net/forums/otclient.494/ for support)
  • [x] This issue is reproducible without changes to the code in this repository

Steps to reproduce (include any configuration/script required to reproduce)

  1. Summon lots of monsters
  2. Open Battle List (it will already be lagged even without opening it) and sort the data

Expected behaviour

Nothing unusual, this shouldn't be a costly process

Actual behaviour

FPS drops as if the game isn't being capable of handling the monsters/names in the battle list

andersonfaaria avatar Nov 15 '17 03:11 andersonfaaria

How did you make sure it's the battle list?

I have tested the battle list with 40~50 creatures on the screen without any FPS drops.

slavidodo avatar Jan 09 '18 15:01 slavidodo

I'm not, it's what people been saying all over otland. However when deactivating the battle module it indeed stops lagging, or at least reduce it by a little.

Perhaps it depends on what kind of sorting you are using, or it's somehow connected to the text box issue that edubart pointed out

andersonfaaria avatar Jan 09 '18 16:01 andersonfaaria

How did you make sure it's the battle list?

I have tested the battle list with 40~50 creatures on the screen without any FPS drops.

It is partially the battlist, try having 50 monsters on your screen all losing health and turn on "Sort by Health". Your client will crash.

Flatlander57 avatar Jun 13 '19 22:06 Flatlander57

do fps still drop when you display the list without monster icons?

Zbizu avatar Jan 06 '20 03:01 Zbizu