Lua Console window popups
Moderators: Víctor Paredes, Belgarath, slowtiger
Lua Console window popups
Every time I add a point between two other points already drawn the Lua Console window pops up. Been going on for a couple of days now. Restarted the program a few times. Rebooted the PC, but it's still hanging around. Any ideas?
Windows 10
Windows 10
Adam
Re: Lua Console window popups
Is with the regular Add Points tool or a custom script?
If it's with a custom script, I would suspect that tool. Maybe it's missing something or got corrupted.
If it's with the regular, unmodified Add Points tool, maybe something is interfering with it. To test for that, try this:
1. Quit Moho
2. Rename your Custom Content Folder. This will prevent Moho from seeing it and loading any custom tools.
3. Moho will as you to set a Custom Content Folder. I would go ahead and have is create a new one at the location where you have the renamed one, just so Moho remembers where it's supposed to be.
4, Launch Moho
5. Test the tool.
If the tool now works properly, the problem is probably another script interfering with the native tool script.
Now, instead of deleting the new Custom Content Folder, try moving your custom scripts and support files from the old renamed Custom Content Folder to the new one. Maybe this will leave behind any bad files. To do this properly, move the scripts over one at a time and test the Add Points work. If anything breaks it, that's probably the culprit.
If none of this made any difference, then maybe your Moho install is corrupted, or something about your OS or another program is interfering with it. The next step would be to deactivate Moho, uninstall and re-install it, and then reactivate it.
If it's with a custom script, I would suspect that tool. Maybe it's missing something or got corrupted.
If it's with the regular, unmodified Add Points tool, maybe something is interfering with it. To test for that, try this:
1. Quit Moho
2. Rename your Custom Content Folder. This will prevent Moho from seeing it and loading any custom tools.
3. Moho will as you to set a Custom Content Folder. I would go ahead and have is create a new one at the location where you have the renamed one, just so Moho remembers where it's supposed to be.
4, Launch Moho
5. Test the tool.
If the tool now works properly, the problem is probably another script interfering with the native tool script.
Now, instead of deleting the new Custom Content Folder, try moving your custom scripts and support files from the old renamed Custom Content Folder to the new one. Maybe this will leave behind any bad files. To do this properly, move the scripts over one at a time and test the Add Points work. If anything breaks it, that's probably the culprit.
If none of this made any difference, then maybe your Moho install is corrupted, or something about your OS or another program is interfering with it. The next step would be to deactivate Moho, uninstall and re-install it, and then reactivate it.
D.R. Greenlaw
Artist/Partner - Little Green Dog | Little Green Dog Channel on Vimeo | Greenlaw's Demo Reel 2020 Edtion
Artist/Partner - Little Green Dog | Little Green Dog Channel on Vimeo | Greenlaw's Demo Reel 2020 Edtion
Re: Lua Console window popups
BTW, this is all just me guessing, and it's what I would do under this situation.
Hopefully, a user with a much better understanding of LUA errors will pop in with a better solution.
Hopefully, a user with a much better understanding of LUA errors will pop in with a better solution.
D.R. Greenlaw
Artist/Partner - Little Green Dog | Little Green Dog Channel on Vimeo | Greenlaw's Demo Reel 2020 Edtion
Artist/Partner - Little Green Dog | Little Green Dog Channel on Vimeo | Greenlaw's Demo Reel 2020 Edtion
- hayasidist
- Posts: 3536
- Joined: Wed Feb 16, 2011 8:12 pm
- Location: Kent, England
Re: Lua Console window popups
Are you using the modified Add Point tool from this thread? https://www.lostmarble.com/forum/viewtopic.php?t=35776
if so, that would be the likely issue as the fix suggested involves a SetWeight call.
if so, that would be the likely issue as the fix suggested involves a SetWeight call.
Re: Lua Console window popups
Yes I have been using it. It was weird because the same problem I described in that thread popped up again. I just pulled those to files out of the custom content folder, started Moho, shut it down, dragged the 2 files back into the CC folder, started Moho again and it's fine now.
My pc is is just weird sometimes
My pc is is just weird sometimes
Adam
Re: Lua Console window popups
Hmm. I'm trying the modified tool now and seeing the same error here.
Next I tried your fix but still seeing the error. Guess I'll report it over there.
Next I tried your fix but still seeing the error. Guess I'll report it over there.
D.R. Greenlaw
Artist/Partner - Little Green Dog | Little Green Dog Channel on Vimeo | Greenlaw's Demo Reel 2020 Edtion
Artist/Partner - Little Green Dog | Little Green Dog Channel on Vimeo | Greenlaw's Demo Reel 2020 Edtion
- synthsin75
- Posts: 9982
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Lua Console window popups
Yep, my bad. Here's the updated add point tool that should correct the problem: https://dl.dropboxusercontent.com/s/gph ... t.zip?dl=0
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Re: Lua Console window popups
Yes...it's perfect now! Thank you Wes!
D.R. Greenlaw
Artist/Partner - Little Green Dog | Little Green Dog Channel on Vimeo | Greenlaw's Demo Reel 2020 Edtion
Artist/Partner - Little Green Dog | Little Green Dog Channel on Vimeo | Greenlaw's Demo Reel 2020 Edtion