automatic updating of plugins inside MA3 onPC when *.lua file changes #24
lukas-runge
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
I use a Macro similar to Import I have gotten the debug tools working in the past. I actually have them commented out in my test plugin code that I use to test theories quickly. I honestly didn't play with it very much but I was able to hit a breakpoint. local function Main(display_handle,argument)
-- require("mobdebug").start()
-- require("mobdebug").on()
Echo("DEBUG CODE");
-- require("mobdebug").off()
end
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey everyone,
I developed a lot today and thought: "Wouldn't it be cool if reimporting the plugin over and over again after every change wouldn't be necessary anymore?"
I got 3 ideas to realize this:
LoadOnDemand
option have? Haven't really figured it out.Is there another solution I haven't thought of? Has anybody already implemented one of those three solutions and has a recommendation if it's a good idea or not? Is this even a cool solution for development or should we rather try to get the debugging tools working? (see lib_plugins/examples/debug_example/debug_example.lua 😉)
Thanks already for letting me bounce my idea!
Kind regards
@lukas-runge
Beta Was this translation helpful? Give feedback.
All reactions