STEAM GROUP
SW Addons SW Addons
STEAM GROUP
SW Addons SW Addons
11
IN-GAME
67
ONLINE
Founded
6 August, 2024
Language
English
All Discussions > Bug Reports > Topic Details
This topic has been locked
When using with VRMod, my flashlight stops working after 3 minutes.
I have no idea why this happens.

But when using VRMod and I'm exploring a map, I can pull out the flashlight just fine. But after 3 ish minutes, it quits working. I can pull it out, but the light stops working.

And I made sure that it's this mod causing the issue. Uninstalling other mods didn't fix it. After I uninstalled SW Base.... Issue went away.
Originally posted by SligWolf:
Another test with the flashlight addon.

Activated addons:
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1678408548
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2866238940
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2754171256


Beside the fact that even the original addon was recreated and is also today kinda old (last update FEB 2019), your version uses also very old code.

I checked the lua code, It's old but works very simple. You can think of it that way:
The flashlight SWEP just put a GMod Lamp in your hand.
(Like from the Toolgun Lamp, but even simpler)
It also disable the standard source engine flashlight with one simple line of code.

But that aside, I played over 10 minutes with the activated addons and got no issue with the flashlight addon in combination with our SW Base.



The only issue I found in the flashlight addon is the following:
If you have your flashlight activated in your hand and you start to grab a barrel or any other prop, your flashlight will be activated twice and leave the light on even when you holster it.

This happens in normal gameplay and in VRMod.

That's likely caused by missing some checks in the code of the flashlight SWEP.
Therefore we have to consider that it maybe could happen vice versa. That the flashlight didn't activate twice but will simple be turned off forever.

Conclusion from my side:
Our SW Base addon don't conflict with the flashlight addon on my side.
Even with the fact that the flashlight have that old code in it.
< >
Showing 1-7 of 7 comments
SligWolf 27 Feb @ 11:20am 
Originally posted by The Thunder Ghost:
I have no idea why this happens.

But when using VRMod and I'm exploring a map, I can pull out the flashlight just fine. But after 3 ish minutes, it quits working. I can pull it out, but the light stops working.

And I made sure that it's this mod causing the issue. Uninstalling other mods didn't fix it. After I uninstalled SW Base.... Issue went away.

Highly an addon conflict of another addon.

I'm very sure about that because our base addon nor our other addons modify or affect the source engine flashlight in any way. No extra gmod hooks or functions.

When checking for addon conflicts, always follow our Troubleshooting Guide.
Especially if you think our addons cause the conflict.

I will check it now and give further infos in 10-15 minutes.
Last edited by SligWolf; 27 Feb @ 12:43pm
SligWolf 27 Feb @ 11:35am 
I walked around over 5 minutes in VR mod using the flashlight. Not a single problem.

Activated addons:
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1678408548
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2866238940

By the way, what do you mean by:
Originally posted by The Thunder Ghost:
..., I can pull out the flashlight ...

The flashlight isn't a SWEP or weapons that you can pull out.
Are you speaking about a flashlight addon?
If so, send a link. And you should've mention that in the first place.
Last edited by SligWolf; 27 Feb @ 11:40am
I'm so sorry! I thought I included my flashlight addon. It was late 😭

It's the Customizable Flashlight. The flashlight works when uninstalling SW Base.

https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2754171256
A moderator of this forum has indicated that this post answers the original topic.
SligWolf 28 Feb @ 2:29pm 
Another test with the flashlight addon.

Activated addons:
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1678408548
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2866238940
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2754171256


Beside the fact that even the original addon was recreated and is also today kinda old (last update FEB 2019), your version uses also very old code.

I checked the lua code, It's old but works very simple. You can think of it that way:
The flashlight SWEP just put a GMod Lamp in your hand.
(Like from the Toolgun Lamp, but even simpler)
It also disable the standard source engine flashlight with one simple line of code.

But that aside, I played over 10 minutes with the activated addons and got no issue with the flashlight addon in combination with our SW Base.



The only issue I found in the flashlight addon is the following:
If you have your flashlight activated in your hand and you start to grab a barrel or any other prop, your flashlight will be activated twice and leave the light on even when you holster it.

This happens in normal gameplay and in VRMod.

That's likely caused by missing some checks in the code of the flashlight SWEP.
Therefore we have to consider that it maybe could happen vice versa. That the flashlight didn't activate twice but will simple be turned off forever.

Conclusion from my side:
Our SW Base addon don't conflict with the flashlight addon on my side.
Even with the fact that the flashlight have that old code in it.
Last edited by SligWolf; 1 Mar @ 12:09am
SligWolf 28 Feb @ 2:49pm 
Oh boy, after a closer look in the comments I saw the people were already complaining about the bug I found. It was already there. There also other complaintments with the flashlight addon it seems.

Maybe you should consider to look for a new flashlight addon where the developer is still being take care of it. :steamthumbsup:
Last edited by SligWolf; 28 Feb @ 2:57pm
Ooooooohhhh ok. Hey, I really really appreciate you looking into this for me. Thank you so much.
Closed as done!
Last edited by SligWolf; 3 Mar @ 4:57pm
< >
Showing 1-7 of 7 comments
Per page: 1530 50

All Discussions > Bug Reports > Topic Details