Issues with CW2.0 INS2 weapons. (EntGetBoneMatrix error and files not found)
4 replies, posted
Hello all,
So i've just started up a Gmod server and i've been having issues with some code in a few addons.
1. EntGetBoneMatrix - [C]:-1
2. unknown - addons/[cw_2.0]_kk_ins2doi_sweps_(wip)_657241323/lua/weapons/cw_kk_ins2_base_main/o_cl_model.lua:495
[Mathias|15|STEAM_0:1:105519107] Lua Error:
[ERROR] kk_ins2doi_sweps_(wip)_657241323/lua/weapons/cw_kk_ins2_base_main/o_cl_model.lua:495: bad argument #2 to 'EntGetBoneMatrix' (number expected, got nil)
That's the error i've been receiving in the console. this isn't on client's consoles, just the server's RCON console.
Now that line, line 495 is this:
m = EntGetBoneMatrix(self.Owner, self.OwnerAttachBoneID)
I'm not experienced enough really to fix this error in somebody else's code, could someone give me a hand?
Why dont you show this to the CW:2 creator?
Can't get in touch with them :/
(Misclicked that funny)
Spy dropped off the face of the earth to make his own game, you won't get an answer.
self.OwnerAttachBoneID doesn't exist. Look for where this is declared and used otherwise to find the underlying cause.
If you're using a playermodel with a custom skeleton, that could be the issue.
Messaged KK, he may look at the issue
Sorry, you need to Log In to post a reply to this thread.