TheMostUpset / Half-Life-SWEPs

Half-Life SWEPs addon for Garry's Mod
3 stars 3 forks source link

Gauss gun reflect death error #1

Closed Python1320 closed 4 years ago

Python1320 commented 5 years ago

Somehow reflect shoot yourself and you get

lua/weapons/weapon_hl1_gauss.lua:352: attempt to call method 'LagCompensation' (a nil value)
  1. GaussFire - lua/weapons/weapon_hl1_gauss.lua:352
   2. StartFire - lua/weapons/weapon_hl1_gauss.lua:333
    3. SpecialThink - lua/weapons/weapon_hl1_gauss.lua:238
     4. unknown - lua/weapons/weapon_hl1_base.lua:711
TheMostUpset commented 5 years ago

Can't reproduce. Any other addons installed?

Python1320 commented 5 years ago

No other addons. Haven't had time to check but may have something to do with reflections.

map gm_flatgrass
sbox_godmode 0
sv_cheats 1
setpos -868.599426 21.316036 -12223.968750;setang 40.700069 77.307907 0.000000

Charge up and shoot and you should die. I cannot reproduce the error either. It may require srcds or somesuch.

TheMostUpset commented 5 years ago

No error on srcds without addons.

TheMostUpset commented 4 years ago

I've finally updated the github repo with all latest changes, this should be fixed.