Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
[Bullet Physics (Alpha Release)] lua/systems/c_projectilemanager.lua:294: attempt to index field 'Spread' (a number value)
1. CalculateSpread - lua/systems/c_projectilemanager.lua:294
2. FireBullets - lua/autorun/bulletphysics.lua:237
3. unknown - addons/kf weapons/lua/weapons/kf_m4m203/shared.lua:105 (x117)
Sure!
Feel free to add me.
(read the first lines of the description for context)
It's actually a pretty easy fix.
You just have to add a bunch of "self:IsNPC()" checks to the "c_projectilemanager.lua" file.
And if "self" is an npc, set the "viewmodel" local to "nil".
I hope this helps anyone trying to fix the addon by them self, and the author.
Best regards everyone.
[Bullet Physics (Alpha Release)] lua/systems/c_projectilemanager.lua:112: attempt to call method 'GetViewModel' (a nil value)
1. GetViewModelFixed - lua/systems/c_projectilemanager.lua:112
2. GetMuzzlePosition - lua/systems/c_projectilemanager.lua:130
3. Setup - lua/systems/c_projectilemanager.lua:284
4. CreateProjectile - lua/systems/c_projectilemanager.lua:804
5. FireBullets - lua/autorun/bulletphysics.lua:251
6. v - lua/autorun/bulletphysics.lua:278
7. unknown - lua/includes/modules/hook.lua:96 (x18)
I noticed when I used Draconic Halo, when I tried to shoot my weapon, I shot myself.