Capped/Static Weapon Glow Bug in DX9

JamePOWER1

Active Pirate
Registered
LV
0
 
Joined
May 2, 2026
Messages
45
Reaction score
16
Points
28
Age
32
Location
Seattle
Hey everyone,

After many hours of deep diving into the source code and debugging the DX9 engine, I finally managed to fix the capped and static weapon glow bug!
I’ve seen a few possible solutions posted around the forum before, but none of them actually tackled the root cause. The real reason the glow gets capped or stuck in certain scenarios is due to several specific flaws in the engine's update and rendering logic that I managed to map out.

Since this took a lot of focused work to figure out, I want to share the step-by-step fix with those who are actively trying to solve it.

If you are still struggling with this bug and want my help:

React to this post.

&

Comment below explaining what you have already tried to fix it.

Once you do that, I'll reach out via DM and share my exact solution with you. Happy coding!
 

Attachments

  • FixedGlowDX9source.webp
    FixedGlowDX9source.webp
    18.8 KB · Views: 21
  • Fix3dGlowDX9source.webp
    Fix3dGlowDX9source.webp
    5.6 KB · Views: 21
1782622334657.webp

I have a similar issue, but I don’t know if it’s related. I haven’t looked into finding the cause yet.
 
There is a small chance that if you describe the problem, they will give you a solution. I'm not interested in guessing based on screenshots. What's on it? What is the problem?
 
So guys, I genuinely intended to share this with the people in this thread, especially those I saw who were already looking for a solution to this. Because, believe it or not, it's not easy at all to fix it in a way that doesn't break the rest of the source code.

Unfortunately, I've noticed some of my improvements from this forum being used on more than one private server that makes money from its users. Let me be clear that this isn't a problem at all; after all, if I'm sharing it, it's exactly so people can use it. But in some of these cases, my posts didn't get a single 'thank you' here on the forum, let alone a like, which in my view is the bare minimum if what I shared helped you out.

So no, I take back what I said about sharing the glow solution via private message with those looking for it. From now on, whatever I actually share here will go through a very strict filter. I don't want my work used by for-profit services without even getting a mention, no matter how small my contribution was. Sorry, but you'll have to rack your brains and grab a pen and paper just like I did to come up with an acceptable solution.
 
So guys, I genuinely intended to share this with the people in this thread, especially those I saw who were already looking for a solution to this. Because, believe it or not, it's not easy at all to fix it in a way that doesn't break the rest of the source code.

Unfortunately, I've noticed some of my improvements from this forum being used on more than one private server that makes money from its users. Let me be clear that this isn't a problem at all; after all, if I'm sharing it, it's exactly so people can use it. But in some of these cases, my posts didn't get a single 'thank you' here on the forum, let alone a like, which in my view is the bare minimum if what I shared helped you out.

So no, I take back what I said about sharing the glow solution via private message with those looking for it. From now on, whatever I actually share here will go through a very strict filter. I don't want my work used by for-profit services without even getting a mention, no matter how small my contribution was. Sorry, but you'll have to rack your brains and grab a pen and paper just like I did to come up with an acceptable solution.

I understand what you're saying about the thanks, but when you get to a certain age, that doesn't matter so much. What matters is the contribution you make to a community that used to be very diverse, but now, because of DDoS attacks, nothing is the same. But I do contribute, and I'll continue to do so. Any idea that comes to me, I'll post on the forum because it's time to bring everything back to "TOP." I'm going to try to bring a new mod or fix to the forum every weekend; it's fun. Ahhhh, what memories, ServerDev!
 
So guys, I genuinely intended to share this with the people in this thread, especially those I saw who were already looking for a solution to this. Because, believe it or not, it's not easy at all to fix it in a way that doesn't break the rest of the source code.

Unfortunately, I've noticed some of my improvements from this forum being used on more than one private server that makes money from its users. Let me be clear that this isn't a problem at all; after all, if I'm sharing it, it's exactly so people can use it. But in some of these cases, my posts didn't get a single 'thank you' here on the forum, let alone a like, which in my view is the bare minimum if what I shared helped you out.

So no, I take back what I said about sharing the glow solution via private message with those looking for it. From now on, whatever I actually share here will go through a very strict filter. I don't want my work used by for-profit services without even getting a mention, no matter how small my contribution was. Sorry, but you'll have to rack your brains and grab a pen and paper just like I did to come up with an acceptable solution.
welcome to top community , if you're so worried about it even if u sell x mods, fixes it will be more profits for them resell it after removing any credit u try to put , that's one of reasons we stopped provided random people anything
and this bug not a big deal either its annoying to figure out but simple way to use organized filters of shaders for x effect and glows ,
the issue fully in how some glows need x shaders and x type of technique's from eff.fx which is type 3 works for every glows with zero issues
but u can't set every effect to that, that's why simple way let only weapons glows to using it

even effect stucks pure fps issues, people using ai and see visual effects and be oh ye that's great, but doesn't know each touch with ai = more bugs
 
at the end we can deal with this bug by using custom itemrefineeffectinfo and ItemRefineInfo, works nice. if you dont know how to fix, use this way
 
There is a small chance that if you describe the problem, they will give you a solution. I'm not interested in guessing based on screenshots. What's on it? What is the problem?
basically upon logging/teleporting/etc some effects such as "Intense Magic" buff does freeze in place or even disappear.

So guys, I genuinely intended to share this with the people in this thread, especially those I saw who were already looking for a solution to this. Because, believe it or not, it's not easy at all to fix it in a way that doesn't break the rest of the source code.

Unfortunately, I've noticed some of my improvements from this forum being used on more than one private server that makes money from its users. Let me be clear that this isn't a problem at all; after all, if I'm sharing it, it's exactly so people can use it. But in some of these cases, my posts didn't get a single 'thank you' here on the forum, let alone a like, which in my view is the bare minimum if what I shared helped you out.

So no, I take back what I said about sharing the glow solution via private message with those looking for it. From now on, whatever I actually share here will go through a very strict filter. I don't want my work used by for-profit services without even getting a mention, no matter how small my contribution was. Sorry, but you'll have to rack your brains and grab a pen and paper just like I did to come up with an acceptable solution.
understood and thats fair to your end, but as ximboliex mentioned we do have this community in order to keep TOP alive by supporting one another and I do feel you, I used to share a lot of stuff lua based back then but eventually got tired and focused purely now on my real life and build a server if I am free.
 

Attachments

  • Like
Reactions: ximboliex