Facepunch / garrysmod-issues

Garry's Mod issue tracker
147 stars 56 forks source link

TTT: c_model Hands are Gone #862

Closed Fuzzik closed 10 years ago

Fuzzik commented 10 years ago

As of commit 82ac5116dbcf6f012100b4aac1686a689946eb0f there has been a repeating Lua error when ply:SetupHands() is called.

[ERROR] gamemodes/terrortown/gamemode/player.lua:89: attempt to call method 'SetupHands' (a nil value)

  1. unknown - gamemodes/terrortown/gamemode/player.lua:89
  2. Spawn - [C]:-1
  3. SpawnForRound - gamemodes/terrortown/gamemode/player_ext.lua:295
  4. SpawnWillingPlayers - gamemodes/terrortown/gamemode/init.lua:567
  5. unknown - gamemodes/terrortown/gamemode/init.lua:414

I have tested this on my custom TTT server and a 100% vanilla variant.

handsomematt commented 10 years ago

SetupHands is a new function as of a very recent commit. Are you only pulling terror town for the git or are you using the dev branch? On 9 Mar 2014 16:53, "Fuzzik" notifications@github.com wrote:

As of commit 82ac511https://github.com/Facepunch/garrysmod-issues/commit/82ac5116dbcf6f012100b4aac1686a689946eb0fthere has been a repeating Lua error when ply:SetupHands() is called.

[ERROR] gamemodes/terrortown/gamemode/player.lua:89: attempt to call method 'SetupHands' (a nil value)

  1. unknown - gamemodes/terrortown/gamemode/player.lua:89
  2. Spawn - [C]:-1
  3. SpawnForRound - gamemodes/terrortown/gamemode/player_ext.lua:295
  4. SpawnWillingPlayers - gamemodes/terrortown/gamemode/init.lua:567
  5. unknown - gamemodes/terrortown/gamemode/init.lua:414

I have tested this on my custom TTT server and a 100% vanilla variant.

Reply to this email directly or view it on GitHubhttps://github.com/Facepunch/garrysmod-issues/issues/862 .

Fuzzik commented 10 years ago

I pulled gamemodes/base, gamemodes/sandbox, and gamemodes/terrortown.

handsomematt commented 10 years ago

There's your issue. SetupHands is in a Lua modules outside of gamemodes. Either pull everything or use the dev branch. On 9 Mar 2014 16:56, "Fuzzik" notifications@github.com wrote:

I pulled gamemodes/base, gamemodes/sandbox, and gamemodes/terrortown.

Reply to this email directly or view it on GitHubhttps://github.com/Facepunch/garrysmod-issues/issues/862#issuecomment-37131680 .

Fuzzik commented 10 years ago

Damn it, I just noticed that as I re-loaded this page.

Thank you, sorry for the waste of time.