cubesteak Posted December 26, 2019 Share Posted December 26, 2019 Hi folks, just new to modding Avorion and I'm finding the debugging process challenging. My first task was to update the "commands" mod to work with the latest version. I've fixed turret generation, added the new upgrades and weapon types, but still have some further work to do before contributing it back tot he community. However, it is hard to get into a flow. I find that when I screw something up in a script, the "print" output in the console just hangs. The game still runs and commands that work seem to execute fine, but I can't use the console to debug anymore. I have to exit the galaxy and reload it. The odd thing is that the last command that I typed before the galaxy restart seems to execute automatically as the FIRST command when I reload the galaxy. I'm sure I'm screwing something up. I've read the "debugging" section of the wiki, but it doesn't mention anything like this and I can't believe everyone writes mod scripts by exiting and reloading the galaxy after every line change. What do y'all do to make the process flow easier? Thanks in advance. Love this game! Cheers, CS Link to comment Share on other sites More sharing options...
lammaer Posted May 17, 2020 Share Posted May 17, 2020 Well... not too many responses so im kinda necroing it - but I'm also interested to how to get up speed in avorion scripting. :) Probably either you figured out by now OR just given up.... in the first case, care to share your experience? :) Regarding the " I can't believe everyone writes mod scripts by exiting and reloading the galaxy after every line change." As per https://avorion.gamepedia.com/Debugging_Scripts , if you enable Dev mode, you can reload the changed scripts without the need to exit and reload the universe (don't worry, I did it couple times then started to look around if there are shortcus becaus I also didn't believe this is the way to go) ------ A question from me: is there any good IDE out there for scripting in LUA? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now