Pudge 24 Posted May 13 Share Posted May 13 Hello, I'm facing a problem where I can't use the same compiled plugin for different versions of wrobot, because the binaries from the references are not suitable. The bot just crashes, and I can't even figure out which method is causing this. I just wouldn’t want to make several projects that would have completely identical plugin code, except for binaries. The fact is that some compiled plugins with references to WOTLK binaries work without problems for TBC. Is there a way to determine which of the methods is not suitable for a particular version? I would like to get at least an exception thrown into the log, instead of crashing the program. Link to comment https://wrobot.eu/forums/topic/15464-isssue-of-using-one-plugin-for-different-wrobot-versions/ Share on other sites More sharing options...
Droidz 2742 Posted May 14 Share Posted May 14 Hello, I'm not sure if this will work, but try adding a Try/Catch with a log in case of an error in the "Initialize" function (from IPlugin). Usually, it's the enums, so you can try to retrieve them from a String instead of a raw link: https://stackoverflow.com/questions/16100/convert-a-string-to-an-enum-in-c-sharp Link to comment https://wrobot.eu/forums/topic/15464-isssue-of-using-one-plugin-for-different-wrobot-versions/#findComment-69347 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