Garry's Mod

Garry's Mod

Mystery Box Entity (Sandbox/TTT)
Ashen 2015 年 3 月 11 日 下午 10:22
Timer failed
When I get a weapon I get those errors, but not all the time. The error messages differ a little each time.

[Mystery Box Entity] lua/entities/zombies_box_weapon/init.lua:168: attempt to index field 'Entity' (a nil value)
1. unknown - lua/entities/zombies_box_weapon/init.lua:168

Timer Failed! [CycleWeps][@lua/entities/zombies_box_weapon/init.lua (line 167)]

[Mystery Box Entity] lua/entities/zombies_box_weapon/init.lua:86: attempt to index field 'Entity' (a nil value)
1. unknown - lua/entities/zombies_box_weapon/init.lua:86

Timer Failed! [stopmoving][@lua/entities/zombies_box_weapon/init.lua (line 85)]


Everything looks like its working fine but I don't even know how its supposed to look like so I can't tell.
最後修改者:Ashen; 2015 年 3 月 11 日 下午 10:27
< >
目前顯示第 1-3 則留言,共 3
Glass of Lime Soda 2015 年 10 月 23 日 下午 7:58 
Well i don't think it impacts the game much but it's annoying seeing the pop up.
or9 2016 年 3 月 17 日 下午 2:33 
i have this also but i get a crowbar error i have 76 weapons loded into the text it works for a while then i get this timer error

workshop/lua/entities/zombies_box_weapon/init.lua:146: attempt to index local 'weaponGet' (a nil value)
1. SwitchWeapon - workshop/lua/entities/zombies_box_weapon/init.lua:146
2. unknown - workshop/lua/entities/zombies_box_weapon/init.lua:174

Timer Failed! [CycleWeps][@workshop/lua/entities/zombies_box_weapon/init.lua (line 167)]
Any Clue How to fix This ?


I tried it again with all the m9k weapons and got a diffrent error

Timer Failed! [CycleWeps][@workshop/lua/entities/zombies_box_weapon/init.lua (line 167)]

[ERROR] workshop/lua/entities/zombies_mysterybox/init.lua:206: attempt to index field 'Entity' (a nil value)
1. unknown - workshop/lua/entities/zombies_mysterybox/init.lua:206

Timer Failed! [Simple][@workshop/lua/entities/zombies_mysterybox/init.lua (line 135)]

is there a limit to how many you can put in the box

最後修改者:or9; 2016 年 3 月 17 日 下午 3:01
TheBillinator3000 2016 年 9 月 12 日 下午 3:04 
My timer error landed on 193.

Here's the message:

[Mystery Box Entity] lua/entities/zombies_box_weapon/init.lua:169: attempt to index local 'weaponGet' (a nil value)
1. SwitchWeapon - lua/entities/zombies_box_weapon/init.lua:169
2. unknown - lua/entities/zombies_box_weapon/init.lua:202

Timer Failed! [CycleWeps18][@lua/entities/zombies_box_weapon/init.lua (line 193)]


I can only guess that the box is TRUELY RANDOM and it may land on the same weapon twice and I can only guess that the box isn't coded to bring up the same weapon twice and it comes up as an error. :\
< >
目前顯示第 1-3 則留言,共 3
每頁顯示: 1530 50