SWProxy icon indicating copy to clipboard operation
SWProxy copied to clipboard

Adding plugins

Open msteudel opened this issue 9 years ago • 1 comments

I wanted to install the runlogger plugin, but wasn't sure if all I needed to do was to drop the three files into the plugins folder (runlogger.py, *.pyc, *.yapsy-plugin). I did that, I can see it says it's loaded:

Plugins:
        Barion Rune Efficiency Plugin
        SWARFARM Export Plugin
        Generate Runes
        Generate Visit Friend
        Print Unit Collection
        Runs Logger
        Demo Plugin

But I'm not seeing the run file being created ... anything else I need to do?

msteudel avatar Jun 06 '16 17:06 msteudel

I noticed that it's importing a lot of other things that the other plugins don't need:

import json
import os
import time
from SWParser import *
from SWPlugin import SWPlugin
import threading
import logging
logger = logging.getLogger()

Am I perhaps missing some of those? How would I check?

msteudel avatar Jun 06 '16 17:06 msteudel