Garry's Mod

Garry's Mod

[ArcVR][UNOFFCIAL]ArcVR: Anniversary Special/Shotgun,Grenade bugfix
78 Comments
carlotheattackheli 27 Apr @ 7:06am 
@Heytherekiddo make sure u have worldmodels turned off.
func_dumbass 31 Jan @ 3:22pm 
in multiplayer, when u insert a mag into a gun, it has a chance to randomly eject itself without me pushing the eject bind. This repeats 4-5 times until it finally gets into the freaking gun.
Heytherekiddo 9 Nov, 2024 @ 7:55am 
My mags dont appear
62 24 Jul, 2024 @ 8:05am 
Let me know if it fks up again in some other way I wanna make sure this gets fixed too
Священник 24 Jul, 2024 @ 6:11am 
author of the mod can you fix this?
Священник 24 Jul, 2024 @ 5:02am 
thanks!
62 24 Jul, 2024 @ 3:55am 
hook.Add( "PlayerSwitchWeapon", "preventVRmodCrash", function( ply, oldWeapon, newWeapon )
if IsValid(oldWeapon) then
if oldWeapon:GetClass() == "weapon_vrmod_empty" && string.StartWith(newWeapon:GetClass(), "arcticvr") then
local randomtimername = ply:GetName()
timer.Create( randomtimername .. "vrcrashfixtimer", 0.5, 1, function()
ply:SelectWeapon( "weapon_physgun" )
end)
timer.Create( randomtimername .. "vrcrashfixtimer2", 0.9, 1, function()
ply:SelectWeapon( newWeapon )
end)
return true
else
end
end
end )
62 24 Jul, 2024 @ 3:54am 
Can use this script if you want, if you're playing sandbox have the person that is hosting the server paste this code at the bottom of the file: C:/Program Files\Steam\Steamapps\GarrysMod\garrysmod\gamemodes\sandbox\gamemode\init.lua
or wherever gmod is installed. Remember to backup init.lua first in case it doesn't work or you want to revert

If you want the intermediary weapon to be something other than physgun just change "weapon_physgun" to some weapon the player
will always have with them.
Священник 24 Jul, 2024 @ 2:29am 
@62 yeah i have exactly that problem, so what can i do with it?
62 23 Jul, 2024 @ 4:54pm 
I think I remember having that bug or something similar. I think it was if you switch from the "vrmod empty hands" weapon to an arctic vr weapon that has a magazine loaded into it, It error spams and crashes vrmod? It may also only happen to client players not the server host though don't remember.

I just did a little workaround script that makes the player automatically quickly switch to a different weapon in between the switch to an arctic vr weapon. Shitty workaround but works
Священник 23 Jul, 2024 @ 2:06pm 
and also this happens only when i grab weapon with vr hand's, when i grab weapon after something else like physgan evreything works perfectly fine
Священник 23 Jul, 2024 @ 1:51pm 
also when i have this bug my vr screen breaks
Священник 23 Jul, 2024 @ 1:49pm 
i have this bug
Warning! Detected missing render.PopRenderTarget call!

[[ArcVR][UNOFFCIAL]ArcVR: Anniversary Special/Shotgun,Grenade bugfix] lua/weapons/arcticvr_base/cl_think.lua:427: Tried to use a NULL entity!
1. SetBodygroup - [C]:-1
2. VRThink - lua/weapons/arcticvr_base/cl_think.lua:427
3. v - lua/autorun/cl_arcticvr.lua:71
4. Call - lua/includes/modules/hook.lua:96
5. v - lua/vrmod/vrmod.lua:488
6. unknown - lua/includes/modules/hook.lua:96
it appears only when i grab any weapon from arcvr, then grab something else in my enventory and then i grab again same weapon from arcvr, it appears only at the server of my friend and he reinstalled garry's mod fully and dilited all his files and this didn't work, how to fix it?
NNinja1255 3 Jan, 2023 @ 11:15am 
God dammit I forgot I had world models on.
NNinja1255 3 Jan, 2023 @ 11:05am 
I have a case where magazines will not go into the gun. Is this a hook conflict of some sort?
Yukki Freeman 1 Oct, 2022 @ 12:36pm 
@pescorr, if you want rename for the "complete" version, do, and at same time add things from beta, this will not make a unnecessary name change, so go ahead:8bitheart:
Pescorr  [author] 1 Oct, 2022 @ 12:27pm 
To avoid the "it was usable in AnniversaryEdition, but it is no longer usable after updating" situation, I will keep this version addon.
---
Now that I have your permission, I really want to rename this one as the Legacy version and make the BETA version the official version, but I've heard that if you rename it unnecessarily, it may disappear from your collection or favorites, so I'm not sure what to do.
Pescorr  [author] 1 Oct, 2022 @ 12:21pm 
@Yukki :3
Yes. You are right.
I would like to add such a setting in the BETA version first.
Yukki Freeman 23 Sep, 2022 @ 7:50am 
@pescorr, should be cool to add things from beta here, and you can make we can change between "default" and "beta" configs by commands or in spawn menu so who prefer the reload to grab the gun uses "default" config, and can dont like, uses the "beta" config
nathanfish1998 19 Sep, 2022 @ 12:14am 
so- why was the mag grabber removed? it was clunky, sure, but it was kinda useful
mrzach11 8 Aug, 2022 @ 2:58pm 
Install ARCCW and then it will work, you will be able to grab magazines and actually load the gun
Abraham Drinkin 6 Jul, 2022 @ 6:05am 
Hey man nice work, I don't know what happened to Hugo and the VRmod discord has been deleted. I'm currently trying to pick up on the Black Mesa VR weapons, and I've managed to model the crossbow and make it appear in game. It's completely broken though, was wondering if you would be up for a chat to discuss some of the things you did to fix this addon, I believe it will help me with what I'm doing. Total blender and lua noob here but I have some idea of how things work. Add me if you see this!
Pescorr  [author] 6 Jun, 2022 @ 9:22pm 
I have a question for those of you who are not using the BETA version and are using this version.

This version of NOBETA only fixes the shotgun and grenade and leaves everything else intact, including the other bugs, and we have tried to maintain a compatible stance.
However, when fixing the bug that prevents you from grabbing magazines in multiplayer and the screen clutter when switching from EmptyHand to ArcVR, it involved quite a large change, and we did not make any changes here for fear of another bug occurring.
However, we have not received any bug reports with the changes we made to the BETA version, and we are thinking of adapting them to this version as well.

If you have any suggestions, I would appreciate it if you could write them in this comment section.

---
[ArcVR][UNOFFCIAL]ArcVR: Anniversary Special/Shotgun,Grenaded bugfix-BetaVersion
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2700469904
MMillion 2 Jun, 2022 @ 2:03pm 
As of the most recent update, interacting with weapons and grabbing mags doesn't work.
Pescorr  [author] 30 May, 2022 @ 5:56pm 
What?
Did you suddenly stop grabbing the mags in this version?
In the BETA version, we added one console command as a countermeasure against net lag, but since we have made adjustments here that are as similar as possible to the original, it is strange that you suddenly can't grab them anymore.
How does it behave?
Rinus 30 May, 2022 @ 12:10pm 
what the hell is wrong with the ammo pouch?! i cant seem to grab ammo!!
62 27 Mar, 2022 @ 1:24am 
Yeah this needs to be linked on the original one since dev refuses to fix it for some reason and people are still wondering why it doesn't work on that thread
Hermann 27 Mar, 2022 @ 12:47am 
Damn.. It actually works
Hermann 27 Mar, 2022 @ 12:30am 
How to reload weapons?
Pescorr  [author] 1 Mar, 2022 @ 9:34pm 
Sorry for the delay in replying.
If you install the mod here, you should be able to throw it. Didn't it work?
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2741383451
𝙁 𝙀 𝙇 𝙇 28 Feb, 2022 @ 7:45am 
*grenade fix
𝙁 𝙀 𝙇 𝙇 28 Feb, 2022 @ 7:30am 
Pescorr  [author] 21 Feb, 2022 @ 1:05am 
I haven't updated it because there have been no reports or discoveries of fatal bugs since the last update, but if you find any bugs, I would appreciate it if you could write them in this comment box. (I don't necessarily have the technical skills to fix the bugs, though.)
Pescorr  [author] 3 Feb, 2022 @ 8:14am 
It is not perfect, but I have released a mod that puts it in a state where it can be thrown to make it explode.
It was made in a very hurry, so there may be some bugs.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2741383451
Pescorr  [author] 29 Jan, 2022 @ 6:02pm 
In this update, I made a bold adjustment by replacing the shotshell model.
However, the model data itself seems to be different between the original and anniversary versions, and I couldn't think of any other way to get the shotshells in the correct position without causing bugs.
Please let me know if you want me to change the shotshell model back to the anniversary spec.
Pescorr  [author] 28 Jan, 2022 @ 9:41pm 
Updated.
Fixed the bug that when switching from VRHand to ArcVR with a bullet in it, the screen goes black and you can't operate it at all.
5. To fix the problem of the shotgun shifting its position when discharging the shell, the shot shell was returned to the original model and only the way of holding it was changed to the anniversary specification.
Pescorr  [author] 24 Jan, 2022 @ 7:23pm 
Thank you for even taking the trouble to find a solution.
I will refer to it.
62 23 Jan, 2022 @ 7:04pm 
Cool thanks. For now I just made a script that detects when a player switches from an empty weapon like weapon_vrmod_empty to one of these guns and first makes them switch to crowbar and then to their chosen vr weapon and this avoids the crash
Pescorr  [author] 22 Jan, 2022 @ 7:53pm 
The problem with vrmod stopping when switching from VR hand to arcVR weapon.
It seemed to be a symptom that occurred when I joined as a client online and played VRMOD for a while.
It seems to be a bug that occurs when the function that records the number of bullets in the gun gets corrupted.
I'll keep testing with my friends to make sure, but it may take some time.
Thank you for your patience.
62 16 Jan, 2022 @ 4:27pm 
It's when you switch back to a mag loaded arvcr weapon after you've been using vr hands. But it doesn't happen every single time.
Pescorr  [author] 16 Jan, 2022 @ 3:19pm 
This is a report of a bug that causes an error when loading mags into a weapon, switching to VR hand, and then back to the weapon.
I have not been able to figure out the cause of the bug yet, because nothing happened in my environment when I loaded mags in mac10 and then switched to VR hand. Sorry about that.
Pescorr  [author] 16 Jan, 2022 @ 2:56pm 
You're right. I hadn't noticed.
I'll try to change something.
Please wait a while.
cammy 16 Jan, 2022 @ 2:12pm 
it seems like the origin of a couple shells aren't lined up with this version. as far as i know, the original anniversary special does not have this problem. its most noticeable with the sawed off.
62 9 Jan, 2022 @ 12:02am 
So here is a weird bug. Sometimes when you load a mag into a weapon then switch to VR hands and back to the weapon it completely kills vrmod with this console message:

[[ArcVR][UNOFFCIAL]ArcVR: Anniversary Special/Shotgun,Grenaded bugfix] lua/weapons/arcticvr_base/cl_think.lua:425: Tried to use a NULL entity!
1. SetBodygroup - [C]:-1
2. VRThink - lua/weapons/arcticvr_base/cl_think.lua:425
3. v - lua/autorun/cl_arcticvr.lua:71
4. Call - lua/includes/modules/hook.lua:96
5. v - lua/vrmod/vrmod.lua:488
6. unknown - lua/includes/modules/hook.lua:96

But... it doesn't happen every time you switch just sometimes so to replicate it load mag into mac10 then switch to vr hands then back to mac10 a few times and you will see it.
Pescorr  [author] 30 Dec, 2021 @ 9:05pm 
I've always been unclear about the "previousInput" error you reported before, but it seems that older versions of VRMod had a button input decision called "previousInput.boolean_primaryfire".
My guess is that GmodVR has not been updated for some reason, or there is a problem with the GmodVR key configuration.
I can't confirm this as I don't have access to download the old version.
I apologize if I am saying something wrong.
Pescorr  [author] 29 Dec, 2021 @ 12:37am 
I've adjusted it as much as possible, but still If the grenades don't work, try using j2b2's mod.
It is an independent mod that is not ArcVR, so it may work.
Equip "NOT VR" hl2 grenade -> maybe Can Throw
------
j2b2: VRMod improved HL2 weapons
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1936962466
(Thanks, j2b2, for the great mod!)
------
• .50 BMG • 28 Dec, 2021 @ 10:47am 
grenade still broken
Silly McSillington 28 Dec, 2021 @ 9:48am 
It's okay. I think it's an addon conflict anyways. Thanks for responding.
Pescorr  [author] 27 Dec, 2021 @ 6:33pm 
I have tried to find the cause of this error, but I have not been able to identify the complete cause yet, so I will report the situation.
I was not able to reproduce such an error in the example below, but the error statement was related to the key to which "boolean_secondaryfire" is assigned.
Also, there are a few ulib errors, but I don't know ulib at all, so if this is the root cause, I may have to give up.
Silly McSillington 20 Dec, 2021 @ 8:19am 
But my friend has been getting this error on the original mod when we play vr together. He's unable to pull back the slide on all guns but i'm able to.

[ERROR] lua/includes/extensions/table.lua:158: bad argument #1 to 'pairs' (table expected, got nil)
1. pairs - [C]:-1
2. Count - lua/includes/extensions/table.lua:158
3. FiremodeSwitch - lua/weapons/arcticvr_base/cl_misc.lua:146
4. VRInput - lua/weapons/arcticvr_base/cl_input.lua:27
5. fn - lua/autorun/cl_arcticvr.lua:41
6. Call - lua/ulib/shared/hook.lua:109
7. fn - lua/vrmod/vrmod.lua:421
8. unknown - lua/ulib/shared/hook.lua:109

Is this still present on this updated mod?