- Joined
- Jun 7, 2024
- Messages
- 1,115
- Solutions
- 29
- Reaction score
- 1,208
- Points
- 113
FlyFF have lots random fps drops "there and here", most of them related to rendering aspects (sfx-particles, models loading etc), but here is quick, small and simple, but useful fix for one of performance issues related to text fields, which i found after some profiling and tests.
This issue always was on background and most of the problems came from chat-log window and chat window. The larger size of the text field, the more problems there are.
In the case of the chat-log window, this was most noticeable when inserting a large number of “logs” in a short period of time, even if window is closed (in fact, hidden). For example, when opening boxes with items, when collecting items or penya, etc.
How it looks like?
Here is demonstration of the problem itself, first half of video is "before", second half - "after".
I think difference is pretty noticeable: 15-20 fps before, ~50 fps after. Together with active chat window, several /say windows and others - effect will be even better, because fix works for all text fields, not just chat & log window.
How to fix?
I added fix to the v15 clean source and defined it as __FIX_FPS_TEXTFIELDS for your comfort. Find all related snippets inside provided archive and copy them to your source.
P.S:
Dont pay attention to taskbar-zone in video, my video-recorder fucked up and i just noticed it
Download:
This issue always was on background and most of the problems came from chat-log window and chat window. The larger size of the text field, the more problems there are.
In the case of the chat-log window, this was most noticeable when inserting a large number of “logs” in a short period of time, even if window is closed (in fact, hidden). For example, when opening boxes with items, when collecting items or penya, etc.
How it looks like?
Here is demonstration of the problem itself, first half of video is "before", second half - "after".
I think difference is pretty noticeable: 15-20 fps before, ~50 fps after. Together with active chat window, several /say windows and others - effect will be even better, because fix works for all text fields, not just chat & log window.
How to fix?
I added fix to the v15 clean source and defined it as __FIX_FPS_TEXTFIELDS for your comfort. Find all related snippets inside provided archive and copy them to your source.
P.S:
Dont pay attention to taskbar-zone in video, my video-recorder fucked up and i just noticed it
Download: