Snippet Some QoLs #4

Welcome to our Community
Wanting to join the rest of our members? Feel free to sign up today.
Sign up

zOmbie

Administrator
Administrator
Joined
Jun 7, 2024
Messages
1,108
Solutions
29
Reaction score
1,162
Points
113
Here is few more goodies / fixes for your servers. As always - nothing impressive, but maybe one of those edits will be useful for you, who knows ;)

How it looks like?
---
Fix for crash which related to double clicks in messenger window & another fix for similar crash in emoticon window.

1.png2.png
---
Experimental fix for infinite loop inside FOR_LINKMAP. Or, using simple words: "fix for random freezes on siege and other activities for all players at the almost same time".
I wasted like 2 or 3 weeks to find reason of this issue, and even now i'm not 100% sure my fix is correct. As a "low tier code-enjoyer" i have no any idea about double pointers and such, + linkmap itself is pretty complicated stuff, so the only thing i can say: this issue related to custom models which increasing "bound box" of the character.
After exploring it again and again in source, final result was: "Hmm, this part looks bad, let me add some code to it". And it works. No idea why, but yes, it works.

3.png

4.png

---
Fix for situation where stackable items with a timer were merged with the same ones, but without a timer.
This fix is from v21, but i highly recommend you to pay attention to it again, if you want to avoid this headache: CLICK

---
Fix for rare crash when trying to drag chat shortcut by left mouse button

---
Fix for issue when SOMETIMES it's impossible to start world server after you added new map or renamed one of old ones (xd)

How to fix?
I added fix to the v15 clean source and defined it as __SOME_QOLS_4 for your comfort. Find all related snippets inside provided archive and copy them to your source.

Download:
Hey There!
Please login and(or) register to see this awesome content today.
 
  • Like
Reactions: NaoBane