LackeyCCG

LackeyCCG Forum => Bug Report Forum => Topic started by: Trevor on August 21, 2011, 10:03:32 PM

Title: I just posted a new version of Lackey, build date 08-21-11. Post bugs here.
Post by: Trevor on August 21, 2011, 10:03:32 PM
I just posted a new version with a bunch of rewritten network code and some other new stuff.

Plugin makers can now uninstall old files. More about that is explained here:
http://lackeyccg.com/tutorialplugin.html#uninstall

I fixed some bugs relating to packs and some other ones too.

I'll post more about it later.
Title: Re: I just posted a new version of Lackey, build date 08-21-11. Post bugs here.
Post by: innuendo on August 22, 2011, 10:21:50 AM
what happens if in an update I made some changes to a cards in a set called "abc" for instance.  So in this set I need to update the card images, not just simply remove them.

Do I simply say in my uninstall.txt, remove /sets/setimages/abc/ and then specify the updatelist to put all the new pictures into the same directory?

What happens?  I can test it out, but I was curious from your side what you intend to happen before I just went pushing all sorts of buttons.
Title: Re: I just posted a new version of Lackey, build date 08-21-11. Post bugs here.
Post by: Trevor on August 22, 2011, 11:35:41 AM
Quote from: innuendo on August 22, 2011, 10:21:50 AM
what happens if in an update I made some changes to a cards in a set called "abc" for instance.  So in this set I need to update the card images, not just simply remove them.

Do I simply say in my uninstall.txt, remove /sets/setimages/abc/ and then specify the updatelist to put all the new pictures into the same directory?

What happens?  I can test it out, but I was curious from your side what you intend to happen before I just went pushing all sorts of buttons.
If you remove card images, the next time they are needed they will be downloaded. Assuming the files you link to online are the ones you want, they will be the ones downloaded.
In you case, I suggest you remove the /sets/setimages/abc/ directory.
Title: Re: I just posted a new version of Lackey, build date 08-21-11. Post bugs here.
Post by: innuendo on August 22, 2011, 02:26:34 PM
Thanks for the clarification.

Can I ask why you didn't consolidate this into the version.txt?

It seems like in the version.txt you can simply specify "in this version, delete these files" with the same <remove> tags?  If you are wanting to divorce remove files and version date from having the same date tag...consider doing

<remove>[filepath]<date>[If local version.txt is before this date, execute this line]</date></remove>

for example

<remove>sets/setimages/abc/<date>110820</date></remove>

Just something to consider for a simpler structure to the new enhancements.

Thanks again, this feature is the most useful feature added since I've been using the program.
Title: Re: I just posted a new version of Lackey, build date 08-21-11. Post bugs here.
Post by: Trevor on August 22, 2011, 04:06:26 PM
innuendo,
People might want to use one and no the other, so they are separate. It's a new feature, so let me know if it doesn't function correctly, or in the way you would expect.
Title: Re: I just posted a new version of Lackey, build date 08-21-11. Post bugs here.
Post by: Saethori on August 22, 2011, 04:37:54 PM
Wouldn't this kind of mean having an uninstall.txt file sitting in people's plugin folder, doing nothing after the initial uninstall and being effectively uninstallable itself? o.O

Or does it work entirely off of the server and never actually goes to the client?
Title: Re: I just posted a new version of Lackey, build date 08-21-11. Post bugs here.
Post by: innuendo on August 22, 2011, 05:57:58 PM
but in that case trevor, couldn't you simply omit the tags you don't want to use?

For example, just omit the <versionurl> or <updateurl> tags if you don't want to use them?  Then it basically functions as just an uninstall.txt?

It's a minor thing really, but the number of .txt's in that folder of mine keeps blossoming so I was looking for smart ways to save!
Title: Re: I just posted a new version of Lackey, build date 08-21-11. Post bugs here.
Post by: Trevor on August 22, 2011, 08:09:18 PM
Quote from: Saethori on August 22, 2011, 04:37:54 PM
Wouldn't this kind of mean having an uninstall.txt file sitting in people's plugin folder, doing nothing after the initial uninstall and being effectively uninstallable itself? o.O
No. Once an uninstall.txt file is present, future uninstall files that are downloaded use it to see when things were last uninstalled.
Title: Re: I just posted a new version of Lackey, build date 08-21-11. Post bugs here.
Post by: Trevor on August 22, 2011, 08:13:21 PM
Quote from: innuendo on August 22, 2011, 05:57:58 PM
but in that case trevor, couldn't you simply omit the tags you don't want to use?

For example, just omit the <versionurl> or <updateurl> tags if you don't want to use them?  Then it basically functions as just an uninstall.txt?

It's a minor thing really, but the number of .txt's in that folder of mine keeps blossoming so I was looking for smart ways to save!
They are used for different things. Technically, you could put every file in a plugin in single file, but that doesn't make things easier.

version.txt is for checking if there is a new version of a plugin. It doesn't say HOW things are supposed to be updated at all, just when.

uninstall.txt is for removing old files/folders when you are actually updating.
Title: Re: I just posted a new version of Lackey, build date 08-21-11. Post bugs here.
Post by: innuendo on August 23, 2011, 07:59:07 AM
Makes sense.  Like I said, just discussing.
Title: Re: I just posted a new version of Lackey, build date 08-21-11. Post bugs here.
Post by: Knighthawk on August 23, 2011, 11:24:28 PM
Is there a reason that my download bar only goes about halfway when it says it's done for lackey's update from the updater? It's giving me the same problem that I had many updates ago, and then many before then. The message about whether I need a 32 bit or 64 bit version of the program and such....

I'd like to find a way to stop this rather common occurrence from happening as I tend to use this program just so that I may play cardgames with my girlfriend online since we can't always meet in person.

Note: The last time I had this problem, I couldn't even get on the forum's to find out what happened. The website would never load for me even if I used internet explorer instead of firefox.   
Title: Re: I just posted a new version of Lackey, build date 08-21-11. Post bugs here.
Post by: Trevor on August 24, 2011, 12:16:48 AM
Quote from: Knighthawk on August 23, 2011, 11:24:28 PM
Is there a reason that my download bar only goes about halfway when it says it's done for lackey's update from the updater? It's giving me the same problem that I had many updates ago, and then many before then. The message about whether I need a 32 bit or 64 bit version of the program and such....

I'd like to find a way to stop this rather common occurrence from happening as I tend to use this program just so that I may play cardgames with my girlfriend online since we can't always meet in person.

Note: The last time I had this problem, I couldn't even get on the forum's to find out what happened. The website would never load for me even if I used internet explorer instead of firefox.   
What download bar are you referring to? Updater.exe? Your web browser? If you can't use the updater.exe, use the manual download. If you can't use the manual download, try the updater. Let me know if the alternate method works.
Title: Re: I just posted a new version of Lackey, build date 08-21-11. Post bugs here.
Post by: Knighthawk on August 24, 2011, 01:19:25 AM
I apologizing for not specifying, I used the updater.
Title: Re: I just posted a new version of Lackey, build date 08-21-11. Post bugs here.
Post by: Nava on August 25, 2011, 03:02:41 PM
I just tried to update to the new plugin format and to use NUMDIGITSINSTAT to change the points display

<definition>
<kind>NUMDIGITSINSTAT</kind><value>7</value>
</definition>


Unfortunately it does not seem to work...

Nava

P.S. It also does not seem to work when using the old plugininfo layout...
Title: Re: I just posted a new version of Lackey, build date 08-21-11. Post bugs here.
Post by: Knighthawk on August 31, 2011, 01:05:57 AM
The regular download is giving me the same problem. A friend mentioned something about possibly compiling the 32 and 64 bit versions....or something like that, I'm not tech-savvy at all. Suggestions?
Title: Re: I just posted a new version of Lackey, build date 08-21-11. Post bugs here.
Post by: Knighthawk on August 31, 2011, 01:51:43 AM
Scratch that, after trying everything in your (if lackey doesn't load for you) I tried one more time to redownload manually, and it worked all the sudden!
Title: Re: I just posted a new version of Lackey, build date 08-21-11. Post bugs here.
Post by: Alastair on September 01, 2011, 02:22:08 AM
There is no 64bit version of lackey.
Title: Re: I just posted a new version of Lackey, build date 08-21-11. Post bugs here.
Post by: innuendo on September 02, 2011, 11:35:13 AM
Having some issues with the uninstall.txt

The ccg i'm working on using a image naming system that uses the card number (ex: rvg110.jpg).  The card number is derived from the alpha sort of the set (among other things).  So what happens is when I change a cards name in the set it usually changes some of the card's numbers, and thus their image names.

This is why the uninstall.txt is so helpful, because I can specify to delete the folder /sets/setimages/rvg/ and then redownload them all.

The only issue is it never deletes the folder, it just ignores it.  I'm wondering if this has to do with the date thing.  When I update I switch the version.txt and updatelist.txt to both have the current date, and then I also am updating the uninstall.txt to the current date.

For example, i updated today and this is my uninstall.txt

<uninstall>

<dateYYMMDD>110902</dateYYMMDD>
<removepath>sets/setimages/rvg/</removepath>

</uninstall>


But i'm having no luck, it doesn't clear out the folder, and thus card images aren't correct.

Any ideas of what I might be doing wrong, I feel like i'm overlooking something very basic.
Title: Re: I just posted a new version of Lackey, build date 08-21-11. Post bugs here.
Post by: Picks-at-Flies on September 02, 2011, 03:54:03 PM
Innuendo:  are you testing in a different instance of Lackey from the one you build in?  It's worth having a clean install JUST for testing purposes.  Sorry if I mentioned that before.
Title: Re: I just posted a new version of Lackey, build date 08-21-11. Post bugs here.
Post by: innuendo on September 02, 2011, 08:36:56 PM
Yup, i purposefully deleted my entire lackey install from my work pc and tried again...no result, and my buddy is having the same issues I am, so I'm really not sure.

What's really interesting is I'm pretty sure this worked the very first time I did an auto update.  Is this possibly some sort of caching issue where once it does it once it wont do it again?
Title: Re: I just posted a new version of Lackey, build date 08-21-11. Post bugs here.
Post by: Ascent on September 18, 2011, 04:19:38 AM
I downloaded a fresh version of Lackey and it doesn't provide the list of plugins, won't do anything when I click the "Find plugins with Plugin inder" won't let me use the pasted update URL (http://www.lackeyccg.com/starwars/high/updatelist.txt), both saying "Error: timed out while updating plugin." and the LackeyCCGUpdater.exe won't update Lackey. It gives me "Download failed. Error = 0x800C0005" and "No message available."

In fact, in the zip providered, there is no pluginfinder.txt, serverlist.txt, prefs.txt, pluginfinder.txt, GLU.DLL, libpng13.dll, msvcm80.dll, msvcp80.dll, msvcr80.dll, OpenPlay.dll, or URLMON.DLL files. I also can't access the server tab; its not dark, yet it won't select.

I'm using Windows XP over a wireless connection.
Title: Re: I just posted a new version of Lackey, build date 08-21-11. Post bugs here.
Post by: Trevor on September 18, 2011, 10:43:11 AM
Quote from: Ascent on September 18, 2011, 04:19:38 AM
I downloaded a fresh version of Lackey and it doesn't provide the list of plugins, won't do anything when I click the "Find plugins with Plugin inder" won't let me use the pasted update URL (http://www.lackeyccg.com/starwars/high/updatelist.txt), both saying "Error: timed out while updating plugin." and the LackeyCCGUpdater.exe won't update Lackey. It gives me "Download failed. Error = 0x800C0005" and "No message available."

In fact, in the zip providered, there is no pluginfinder.txt, serverlist.txt, prefs.txt, pluginfinder.txt, GLU.DLL, libpng13.dll, msvcm80.dll, msvcp80.dll, msvcr80.dll, OpenPlay.dll, or URLMON.DLL files. I also can't access the server tab; its not dark, yet it won't select.

I'm using Windows XP over a wireless connection.
Lackey doesn't come with any of those text files.
A lot of the other files you mentioned, like URLMON.DLL, are no longer used. Why do you think it should be downloading those?

I just tested the posted version of Lackey and it works. And lots of other people have also confirmed that it works. I think perhaps you just downloaded a corrupted file or something like that. Try clearing your internet cache, restart your computer, then download the zip from the downloads section.
Title: Re: I just posted a new version of Lackey, build date 08-21-11. Post bugs here.
Post by: Ascent on September 19, 2011, 03:57:26 AM
Done. Still the exact same problems.
Title: Re: I just posted a new version of Lackey, build date 08-21-11. Post bugs here.
Post by: Gordon228 on September 19, 2011, 11:18:44 AM
what dose the zip contain for reference and do note sdl-image uses libpng12-0.dll. do you know your way around the changes as i just tested the version you download from the zip and it worked for me.
Title: Re: I just posted a new version of Lackey, build date 08-21-11. Post bugs here.
Post by: Ascent on September 19, 2011, 02:40:45 PM
Freshly unzipped LackeyCCG file folder:

(http://i159.photobucket.com/albums/t131/Corjay/LackeyCCGFolder.jpg)

Failed Updater:

(http://i159.photobucket.com/albums/t131/Corjay/LackeyCCGUpdater2.jpg)

Incomplete Lackey with buttons pushed and starwars update address entered:

(http://i159.photobucket.com/albums/t131/Corjay/LackeyPreferences.jpg)
Title: Re: I just posted a new version of Lackey, build date 08-21-11. Post bugs here.
Post by: Gordon228 on September 19, 2011, 03:14:39 PM
ok that looks different then what you should be seeing. i will have a pic up for you to show you what mine looks like in a moment.
(http://img854.imageshack.us/img854/3821/whashouldlooklike.th.png) (http://imageshack.us/photo/my-images/854/whashouldlooklike.png/)

Uploaded with ImageShack.us (http://imageshack.us)
Title: Re: I just posted a new version of Lackey, build date 08-21-11. Post bugs here.
Post by: Trevor on September 21, 2011, 03:08:02 AM
There is a new Lackey out. Please report bugs in the new thread:
http://www.lackeyccg.com/forum/index.php?topic=1275.0
Title: Re: I just posted a new version of Lackey, build date 08-21-11. Post bugs here.
Post by: Trevor on September 21, 2011, 04:45:02 AM
Quote from: Nava on August 25, 2011, 03:02:41 PM
I just tried to update to the new plugin format and to use NUMDIGITSINSTAT to change the points display

<definition>
<kind>NUMDIGITSINSTAT</kind><value>7</value>
</definition>


Unfortunately it does not seem to work...

Nava

P.S. It also does not seem to work when using the old plugininfo layout...
I just fixed this but it isn't posted yet.
And, as with many features, it will not work with anything but the latest plugin format.