Garry's Mod

Garry's Mod

Stop Motion Helper
M.D. Charcoal 16. aug. 2015 kl. 16:29
"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
Sidst redigeret af M.D. Charcoal; 17. aug. 2015 kl. 4:30
< >
Viser 1-5 af 5 kommentarer
Winded  [udvikler] 17. aug. 2015 kl. 3:23 
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 17. aug. 2015 kl. 3:38 
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.
Sidst redigeret af M.D. Charcoal; 17. aug. 2015 kl. 3:39
Winded  [udvikler] 17. aug. 2015 kl. 3:53 
Forgot about patching the ghosts. Fixed (again).
M.D. Charcoal 17. aug. 2015 kl. 4:30 
Yep, that ough'tha had done it; everything is smooth now none the least.

Thanks again.
(ISIG) WonderMedia 23. mar. 2019 kl. 0:08 
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.
< >
Viser 1-5 af 5 kommentarer
Per side: 1530 50