Garry's Mod

Garry's Mod

Weapon Damage Balancer & Scaler
w.black57  [developer] 23 Jan @ 4:43am
Gmod Lua Errors
Kindly comment lua errors here, state what workshop mod are you using and if you can describe what you did. Thank you! :happyfaye: (And hopefully I have the time to troubleshoot and fix it).
Last edited by w.black57; 23 Jan @ 5:01am
< >
Showing 1-4 of 4 comments
derpblue 23 Jan @ 5:58am 
[Weapon Damage Balancer & Scaler] lua/autorun/wedamage.lua:703: Tried to use a NULL entity!
1. GetClass - [C]:-1
2. unknown - lua/autorun/wedamage.lua:703
3. unknown - addons/dlib_glua_library/lua/dlib/modules/hook.lua:904
4. TakeDamageInfo - [C]:-1
5. BurnThink - lua/entities/vfire/shared.lua:826
6. unknown - lua/entities/vfire/shared.lua:620


I think vfire is the problem
w.black57  [developer] 23 Jan @ 7:27am 
Originally posted by derpblue:
[Weapon Damage Balancer & Scaler] lua/autorun/wedamage.lua:703: Tried to use a NULL entity!
1. GetClass - [C]:-1
2. unknown - lua/autorun/wedamage.lua:703
3. unknown - addons/dlib_glua_library/lua/dlib/modules/hook.lua:904
4. TakeDamageInfo - [C]:-1
5. BurnThink - lua/entities/vfire/shared.lua:826
6. unknown - lua/entities/vfire/shared.lua:620


I think vfire is the problem

Fixed the lua errors, the weapon should work on the scale as well :HappyElle:
Guy 31 Jan @ 4:48pm 
I was trying to multiply the default HL2 USP's damage by 3 times, but when I do, this error is produced:

[Weapon Damage Balancer & Scaler] lua/autorun/wedamage.lua:231: attempt to index upvalue 'wblDamageScales' (a nil value)
1. AddToWblDamageScales - lua/autorun/wedamage.lua:231
2. func - lua/autorun/wedamage.lua:424
3. unknown - lua/includes/extensions/net.lua:37

The only addon enabled was this one. I typed (without the quotes) 'weapon_pistol' for weapon class, 'none' for projectile class and '3' for the damage multiplier.
w.black57  [developer] 31 Jan @ 8:02pm 
Originally posted by Autumn:
I was trying to multiply the default HL2 USP's damage by 3 times, but when I do, this error is produced:

[Weapon Damage Balancer & Scaler] lua/autorun/wedamage.lua:231: attempt to index upvalue 'wblDamageScales' (a nil value)
1. AddToWblDamageScales - lua/autorun/wedamage.lua:231
2. func - lua/autorun/wedamage.lua:424
3. unknown - lua/includes/extensions/net.lua:37

The only addon enabled was this one. I typed (without the quotes) 'weapon_pistol' for weapon class, 'none' for projectile class and '3' for the damage multiplier.

Hi Autumn, I cant seem to replicate how you got the error. But it should be fixed nonetheless! :happyfaye:
< >
Showing 1-4 of 4 comments
Per page: 1530 50