Lackey crashes on both Mac and iPad when trying to load plugin

Started by Sinequanon, August 26, 2014, 10:36:37 AM

Previous topic - Next topic

Sinequanon

Hi,

So after wrestling for a while with the updatelist.txt file, I finally got it to work. It gets up to the point where it wants to go find the CardImageURLs and crashes after telling me the app needs to reload the plugin. "The plugin has been updated successfully but the changes won't take effect until you reload the plugin". When I hit the reload now button, I get a window that says "Waiting for the plugin to load", then both the iPad and Mac client crash out completely after about a half second.

The CardImageURLs are all formatted thusly:

first/first_e001.jpg   http://this-is-my-url.com/thisismypluginname/sets/setimages/first/first_a001.jpg

There are about 900 of those, then:

general/cardback.jpg   http://this-is-my-url.com/mypluginname/sets/setimages/general/cardback.jpg

After that is the end of the file.

Any ideas?

Trevor

Can you give the the actual autoupdate URL so I can test it? PM it to me if you don't want it public.


Trevor

Quote from: Sinequanon on August 26, 2014, 10:36:37 AM
Hi,

So after wrestling for a while with the updatelist.txt file, I finally got it to work. It gets up to the point where it wants to go find the CardImageURLs and crashes after telling me the app needs to reload the plugin. "The plugin has been updated successfully but the changes won't take effect until you reload the plugin". When I hit the reload now button, I get a window that says "Waiting for the plugin to load", then both the iPad and Mac client crash out completely after about a half second.

The CardImageURLs are all formatted thusly:

first/first_e001.jpg   http://this-is-my-url.com/thisismypluginname/sets/setimages/first/first_a001.jpg

There are about 900 of those, then:

general/cardback.jpg   http://this-is-my-url.com/mypluginname/sets/setimages/general/cardback.jpg

After that is the end of the file.

Any ideas?
cardback.jpg and spawned.jpg should not be included with the card images but rather with the required plugin files at the top, and they should have checksums. I also suggest you save your cardback.jpg and spawned.jpg adjacent to your plugininfo.txt. There are 2 files a plugin requires to run: plugininfo.txt and cardback.jpg. What you were doing is not downloading cardback.jpg immediately, but rather "on demand" which doesn't work with necessary files.

Also, Lackey does not currently support ascii characters other than the basic set. So for example, I don't suggest you use the character for beta.

Sinequanon

Thanks, Trevor. This seems to have worked on my computer. I'll try the iPad tomorrow.

Thanks for your prompt response!