Page 1 of 1

General approaches to OpenKore development and debugging

Posted: 07 Feb 2018, 10:27
by SlipCore
I'm interested in how developing and debugging process looks like (when introducing new features or modifying and fixing existing). In particular, workflow for plugins development.

For example:
I wrote a some code of new plugin and want to test it. I run the OpenKore, it boots and connects to game server. Then I load plugin and it crashes OpenKore due to syntax error. I realize the problem and fix it. And again "Modify plugin source -> Load entire OpenKore -> Maybe get errors -> repeat". Looks a bit complicated for continuous testing of small changes. Also many connections to the server after every fail are not very good.

I can temporary disable exception throwing in Plugin module (https://github.com/OpenKore/openkore/bl ... #L155-L161), so OpenKore will not crash if there was errors in my plugin, and I can fix it and load again without restarting OpenKore. But may be there is more adequate approach? Moreover, there may still be runtime errors after plugin succesfully parsed and loaded.


Since I'm newbie in Perl development, I also would like to know, which tools OpenKore developers use nowadays? Some IDEs or just text editors with extensions (Atom, sublime, notepad++, etc).

Re: General approaches to OpenKore development and debugging

Posted: 09 Feb 2018, 09:42
by SlipCore
Is developers section of forum dead and I should discuss it at IRC/Discord?
I think that some thoughts and tips about development can be useful not only for me, and it will be better if they will be stored on forum, and not lost after chatting.

just bump up the topic in active list

Re: General approaches to OpenKore development and debugging

Posted: 09 Feb 2018, 09:48
by fadreus
For topic discussion it remain at forum but for development it moved to github.
You can go to IRC too..

If you have some request or found some bug, fill the report template form on new issue.
If you have idea for improvement or feature to add written by you, start a pull request from your repo at github.

Re: General approaches to OpenKore development and debugging

Posted: 09 Feb 2018, 09:55
by SlipCore
This is discussion topic, but no one dev reply here :O
I should not create an issue on github just to talk about dev tools, techniques, etc.

Re: General approaches to OpenKore development and debugging

Posted: 09 Feb 2018, 10:06
by fadreus
How about you can make a pull request about your improvement in openkore at git there?
And while at it, you could ask about it too since it's in regard of the improvement. ;)

Stuff at forum here are mostly about trivial things.

Re: General approaches to OpenKore development and debugging

Posted: 09 Feb 2018, 10:22
by SlipCore
I'll try to chat on IRC/Discord first.

It's may be not a bad idea to create a small developers guide for starters with common effort.

Thx for response :)

Re: General approaches to OpenKore development and debugging

Posted: 09 Feb 2018, 12:11
by sctnightcore
you can post in openkore issues xD

General approaches to OpenKore development and debugging

Posted: 22 Aug 2020, 21:29
by CharlesCak
no, the 4.07a version had a bug, which in the 4.06 series not have. the 4.06series are the stable series.

didn found the thread where i read it, but i think this was the reason