Garry's Mod

Garry's Mod

[CW2] FA:S 2 Base
brekiy  [kehittäjä] 26.6.2021 klo 16.40
Bug Reports
Put em here
Viimeisin muokkaaja on brekiy; 26.6.2021 klo 16.40
< >
Näytetään 1-11 / 11 kommentista
Getting this error when spawning in a weapon:

[[CW2] FA:S 2 Base] lua/weapons/cw_fas2_base/cl_fas2_model.lua:450: attempt to index global 'mat' (a nil value)
1. func - lua/weapons/cw_fas2_base/cl_fas2_model.lua:450
2. processCategory - lua/cw/shared/cw_callbacks.lua:34
3. unknown - lua/weapons/cw_base/shared.lua:490
brekiy  [kehittäjä] 30.6.2021 klo 7.11 
I'll look at that after work, reverting to previous version for now
Viimeisin muokkaaja on brekiy; 30.6.2021 klo 7.12
when ever i try to customize the KAC PDW. the customuize menu doesnt pop up up, and i get this error

[Customizable Weaponry 2.0] lua/weapons/cw_base/cl_model.lua:1084: attempt to index local 'att' (a nil value)
1. drawInteractionMenu - lua/weapons/cw_base/cl_model.lua:1084
2. _drawViewModel - lua/weapons/cw_fas2_base/cl_fas2_model.lua:430
3. drawViewModel - lua/weapons/cw_base/cl_model.lua:681
4. v - lua/weapons/cw_base/cl_hooks.lua:34
5. unknown - lua/includes/modules/hook.lua:84 (x337)

brekiy  [kehittäjä] 1.7.2021 klo 18.58 
@Dozer05 Does the KAC PDW still have the ammo indicator on the side via the 3D HUD? If so I have no idea right now what could be the issue since that HUD code and the customization menu are both still vanilla CW code and they both use the same model attachment point (the att variable referred to as nil in the error). I'll look at it later but see if reinstalling all the addons fixes this bug
This happens whenever I ADS with a bipod using default/other CW2 weapons

[[CW2] FA:S 2 Base] lua/weapons/cw_fas2_base/cl_fas2_model.lua:368: attempt to call method '_CalcBipodAimOffsets' (a nil value)
1. func - lua/weapons/cw_fas2_base/cl_fas2_model.lua:368
2. processCategory - lua/cw/shared/cw_callbacks.lua:34
3. performViewmodelMovement - lua/weapons/cw_base/cl_model.lua:1506
4. fn - lua/weapons/cw_base/cl_hooks.lua:33
5. unknown - lua/ulib/shared/hook.lua:109 (x83)
brekiy  [kehittäjä] 9.7.2021 klo 7.45 
fixed
[[CW2] FA:S 2 Base] lua/cw_fas2/shared/cw_physical_bullets.lua:3: attempt to index a nil value
1. unknown - lua/cw_fas2/shared/cw_physical_bullets.lua:3
2. include - [C]:-1
3. unknown - lua/autorun/cw_init_fas2.lua:10
[[CW2] FA:S 2 Base] lua/weapons/cw_fas2_base/sh_fas2_stats.lua:36: attempt to index a nil value
1. CalculateEffectiveRange - lua/weapons/cw_fas2_base/sh_fas2_stats.lua:36
2. unknown - lua/weapons/cw_base/shared.lua:371
Have two issues that doesn't show up in single player but does on my dedicated server:

- [[CW2] FA:S 2 Base] lua/weapons/cw_fas2_base/sh_fas2_stats.lua:36: attempt to index a nil value
1. CalculateEffectiveRange - lua/weapons/cw_fas2_base/sh_fas2_stats.lua:36
2. unknown - lua/weapons/cw_base/shared.lua:375

- [[CW2] FA:S 2 Base] lua/weapons/cw_fas2_base/sh_fas2_firing.lua:29: attempt to index a nil value
1. MakeRecoil - lua/weapons/cw_fas2_base/sh_fas2_firing.lua:29
2. unknown - lua/weapons/cw_base/shared.lua:1589

The second lua error fills the console while the FA:S 2 weapons are equipped. There is no model or bullets either while they are equipped.
brekiy  [kehittäjä] 18.8.2022 klo 15.53 
does this only happen with this mod on the server + the prereqs (cw 2.0, cw2 fas2 base, cw2 fas2 weapons)?
brekiy lähetti viestin:
does this only happen with this mod on the server + the prereqs (cw 2.0, cw2 fas2 base, cw2 fas2 weapons)?
Yeah seems to be. It's weird my server add-ons are the same ones I have installed and the CW FAS weapons work perfectly on single player, but then on my server those errors pop up constantly. I even reinstalled my server to clear it out and the problem still exists
Viimeisin muokkaaja on Robbobb; 18.8.2022 klo 21.18
< >
Näytetään 1-11 / 11 kommentista
Sivua kohden: 1530 50