Garry's Mod

Garry's Mod

Ced's Taser
 此主題已被置頂,因此它可能很重要
Ced  [開發人員] 2019 年 3 月 3 日 上午 6:40
BUGS
Post the bugs that you find here, explain how it happened, and include the console error!
最後修改者:Ced; 2019 年 3 月 3 日 上午 6:42
< >
目前顯示第 1-15 則留言,共 28
Skoblin 2019 年 3 月 3 日 下午 4:54 
Hey Ced!

I had a look through the files and I can't for the life find why it's spewing this error out at me:

[ERROR] addons/ceds taser/lua/weapons/weapon_taser.lua:162: attempt to index a nil value 1. unknown - addons/ceds taser/lua/weapons/weapon_taser.lua:162

Whenever the taser fires, it falls to your feet and does nothing and then produces this error in console.

Any help would be appreciated :)
最後修改者:Skoblin; 2019 年 3 月 3 日 下午 4:58
Ced  [開發人員] 2019 年 3 月 4 日 上午 2:24 
引用自 Jckuk
Hey Ced!

I had a look through the files and I can't for the life find why it's spewing this error out at me:

[ERROR] addons/ceds taser/lua/weapons/weapon_taser.lua:162: attempt to index a nil value 1. unknown - addons/ceds taser/lua/weapons/weapon_taser.lua:162

Whenever the taser fires, it falls to your feet and does nothing and then produces this error in console.

Any help would be appreciated :)
The ConVar "taser_delay" somehow became nil, try changing it's value. Also, when did this start happening? Did it happen after you subscribed or when you fiddled around with the ConVars?
Skoblin 2019 年 3 月 4 日 上午 3:54 
Hey Ced,

I'll give changing that value a try.

Also, it happened on subscription to it :)
Skoblin 2019 年 3 月 4 日 上午 4:30 
Sorry to say after changing the value of the taser_delay, still exactly the same happening :/

Just thought i'd let you know :)
Ced  [開發人員] 2019 年 3 月 4 日 上午 5:22 
引用自 Jckuk
Sorry to say after changing the value of the taser_delay, still exactly the same happening :/

Just thought i'd let you know :)
Weird, I'm gonna go check on it next time, I'm pretty busy at the moment, but it might be conflicting addons because I don't see anything wrong with the creation of the ConVar and grabbing it's float value.
Skoblin 2019 年 3 月 4 日 上午 6:24 
Neither could I buddy, and it's fine man dw if you're busy haha.

RMP can do without tasers for now :D
Colli White 2019 年 3 月 4 日 上午 11:00 
I have the same problem


[Ced's Taser] lua/weapons/weapon_taser.lua:162: attempt to index a nil value
1. unknown - lua/weapons/weapon_taser.lua:162
Ced  [開發人員] 2019 年 3 月 4 日 下午 4:40 
I tried to fix it, not sure if it's okay now because I don't get the error myself.
Skoblin 2019 年 3 月 5 日 上午 4:58 
I'll give it a whirl Ced and let you know :)
Skoblin 2019 年 3 月 5 日 上午 5:16 
No joy, still the same error. Must be something conflicting with it perhaps :/
Ced  [開發人員] 2019 年 3 月 5 日 上午 6:07 
引用自 Jckuk
No joy, still the same error. Must be something conflicting with it perhaps :/
Yeah, it might be, but it's most likely my spaghetti code lol, thanks for helping!
Skoblin 2019 年 3 月 5 日 上午 11:32 
The code looks good to me Ced, i'll keep trying to have a dig around in my spare time and let you know if I find out what's making the issues :)

Thanks though man :)
EvilDude 2019 年 3 月 5 日 下午 11:57 
yo theres a bug thats like when i fire it the taser string thing just goes above me
Ced  [開發人員] 2019 年 3 月 6 日 上午 3:44 
Perhaps an addon which prevents high velocity entities?
There's no problem in my tests which is weird.
LV-06 | Eres 2019 年 3 月 19 日 上午 11:25 
[ERROR] lua/weapons/weapon_taser.lua:164: attempt to index a nil value
1. unknown - lua/weapons/weapon_taser.lua:164
I tried to find it, but nothing was finded
< >
目前顯示第 1-15 則留言,共 28
每頁顯示: 1530 50