CloudSixteen / Clockwork

A roleplaying framework developed by Cloud Sixteen for the people.
http://CloudSixteen.com
MIT License
45 stars 43 forks source link

[HL2RP] Can't Drop/Pick Up Items #283

Closed xTheCatalyst closed 8 years ago

xTheCatalyst commented 8 years ago

[HTML] http://mymaplist.com/js/vendor/TweenLite.min.js:1: Uncaught SyntaxError: Unexpected token < [HTML] http://forums.cloudsixteen.com/js/xenforo/xenforo.js?_v=073095e7:170: Uncaught TypeError: Property 'group' of object # is not a function

^ This is the error I receive in console whenever I try to drop an item. Items cannot exist outside of my player's inventory (nor anyone elses) for whatever reason.

Here's another grim-looking one that I don't quite understand:

[ERROR] gamemodes/clockwork/framework/libraries/sv_player.lua:794: bad argument #2 to 'SetNetworkedInt' (number expected, got nil)

  1. SetNetworkedInt - [C]:-1
    1. GiveProperty - gamemodes/clockwork/framework/libraries/sv_player.lua:794
    2. CreateItem - gamemodes/clockwork/framework/libraries/sh_entity.lua:1202
      1. OnPlayerUnequipped - gamemodes/clockwork/framework/items/sh_weapon_base.lua:127
      2. unknown - gamemodes/clockwork/framework/sv_kernel.lua:3895
      3. func - gamemodes/clockwork/framework/libraries/sh_datastream.lua:89
      4. unknown - lua/includes/extensions/net.lua:32

Any light that could be shed on the subject would make me extremely grateful.

xTheCatalyst commented 8 years ago

Something weird happened with that second log when I dropped it. It should look more like, but without the x's:

[ERROR] gamemodes/clockwork/framework/libraries/sv_player.lua:794: bad argument #2 to 'SetNetworkedInt' (number expected, got nil) x1. SetNetworkedInt - [C]:-1 x2. GiveProperty - gamemodes/clockwork/framework/libraries/sv_player.lua:794 x3. CreateItem - gamemodes/clockwork/framework/libraries/sh_entity.lua:1202 x4. OnPlayerUnequipped - gamemodes/clockwork/framework/items/sh_weapon_base.lua:127 x5. unknown - gamemodes/clockwork/framework/sv_kernel.lua:3895 x6. func - gamemodes/clockwork/framework/libraries/sh_datastream.lua:89 x7. unknown - lua/includes/extensions/net.lua:32