Page 1 of 1

SP Load

Posted: Fri Jul 04, 2014 2:57 pm
by Predz
I was testing a few addons the other day, and found that "sp load" only works for addons 1 directory deep from the plugins folder. Was this intended?

Example Below.

Code: Select all

[SP] Unable to load plugin 'warcraft/races'. Missing file ../addons/source-python/plugins/warcraft/races/warcraft/races.py

Posted: Fri Jul 04, 2014 3:38 pm
by Doldol
I believe that I read that this was intended (but I can't find the post), and that you should write your own code to be able to do this.

However SP also provides a library called "plugins" for this; more info here.

Posted: Fri Jul 04, 2014 8:39 pm
by satoon101
Yes, it is intended. I will try to work on the plugins package on the wiki the next couple days.