Garry's Mod

Garry's Mod

Stop Motion Helper
"The addon "Stop Motion Helper" is creating errors, check the console for details"
The Addon is now complelety unuseable for me. Both old an new animations wont play out at all.

This problem started after update 2.1.2
I've had no such problem before that update.

Console states repeatedly as I attempt to make the animations play out:

[Stop Motion Helper] lua/smh/modifiers/bodygroup.lua:18: bad argument #1 to 'pairs' (table expected, got nil)
1. pairs - [C]:-1
2. Load - lua/smh/modifiers/bodygroup.lua:18
3. LoadBetween - lua/smh/modifiers/bodygroup.lua:24
4. PositionEntity - lua/smh/server/positioning.lua:77
5. PositionEntities - lua/smh/server/positioning.lua:85
6. Function - lua/smh/server/data.lua:54
7. _Apply - lua/smh/bivalues/bivalues.lua:281
8. _ApplySynced - lua/smh/bivalues/bivalues.lua:260
9. func - lua/smh/bivalues/bivalues.lua:386
10. unknown - lua/includes/extensions/net.lua:32
Last edited by M.D. Charcoal; Aug 17, 2015 @ 4:30am
< >
Showing 1-5 of 5 comments
Winded  [developer] Aug 17, 2015 @ 3:23am 
Problem should be fixed now. The frame system lacked backwards compatibility, and this update was the first one to have new properties that were saved on a frame, causing the errors when loading older saves.

I have an open github repository for the addon, link in the description. If you know any people who would like to contribute, you can give them that link. I will also push all new commits to that repository, so it may sometimes contain the "beta" or wip-version of an upcoming release.
M.D. Charcoal Aug 17, 2015 @ 3:38am 
The animations works now. Everything seems to be fine, but the script errors still displays in the console when dragging the frame position of the animation:

[Stop Motion Helper] lua/smh/modifiers/bodygroup.lua:18: bad argument #1 to 'pairs' (table expected, got nil)
1. pairs - [C]:-1
2. Load - lua/smh/modifiers/bodygroup.lua:18
3. LoadGhost - lua/smh/modifiers/bodygroup.lua:14
4. SetGhostFrame - lua/smh/server/ghosts.lua:54
5. RefreshGhosts - lua/smh/server/ghosts.lua:102
6. Function - lua/smh/server/data.lua:300
7. _Apply - lua/smh/bivalues/bivalues.lua:281
8. _ApplySynced - lua/smh/bivalues/bivalues.lua:260
9. func - lua/smh/bivalues/bivalues.lua:386
10. unknown - lua/includes/extensions/net.lua:32

none of the ghosts entities of the animation is displaying. Enabling/disabling them creates scripts errors, same as above.


Thanks for all your great work.
Last edited by M.D. Charcoal; Aug 17, 2015 @ 3:39am
Winded  [developer] Aug 17, 2015 @ 3:53am 
Forgot about patching the ghosts. Fixed (again).
M.D. Charcoal Aug 17, 2015 @ 4:30am 
Yep, that ough'tha had done it; everything is smooth now none the least.

Thanks again.
(ISIG) WonderMedia Mar 23, 2019 @ 12:08am 
I'm getting this message when I try to right click on the first keyframe. This is what the script error reads:
[Stop Motion Helper] lua/smh/server/data.lua:68: Invalid frame!
1. error - [C]:-1
2. Function - lua/smh/server/data.lua:68
3. _Apply - lua/smh/bivalues/bivalues.lua:281
4. _ApplySynced - lua/smh/bivalues/bivalues.lua:260
5. func - lua/smh/bivalues/bivalues.lua:386
6. unknown - lua/includes/extensions/net.lua:32
I get similar errors when I left click and even middle click on it.
< >
Showing 1-5 of 5 comments
Per page: 1530 50