News:

A forum for users of LackeyCCG

Main Menu

CHECKSUMS!?

Started by r0cknes, April 20, 2011, 03:03:37 PM

Previous topic - Next topic

r0cknes

Hey,

I have successfully created a plugin that has no issues so far. However, I don't know how to do an updatelist.txt properly because I haven't seen anything on checksums yet. How do you use them and how do I know what to put in my updatelist? I am sure it is very simple, but I just haven't seen any information on it yet.

Picks-at-Flies

#1
Set your checksums to -1 then go:
/mkupdate plugins/[pluginname]/updatelist.txt

Or to get an individual file
/checksum plugins/[rest of path]/filename

r0cknes

#2
Quote from: Picks-at-Flies on April 20, 2011, 03:59:52 PM
Set your checksums to -1 then go:
/mkupdate plugins/[pluginname]/updatelist.txt

Or to get an individual file
/checksum plugins/[rest of path]/filename

Forgive me I am completely new to the update list. Where do I put the the statements you wrote. here is an example of my update list.

Empire Earth   04-20-11

plugins/Empire Earth/plugininfo.txt   http://curtisbaker.webs.com/plugininfo.txt   -1
plugins/Empire Earth/setlist.txt   http://curtisbaker.webs.com//setlist.txt   -1
plugins/Empire Earth/sets/setinfo.txt   http://curtisbaker.webs.com//setinfo.txt   -1

CardGeneralURLs:
http://curtisbaker.webs.com/Images

Picks-at-Flies

In the chat box of the Game tab.

Trevor

/mkupdate plugins/[pluginname]/updatelist.txt

That will generate a new file called plugins/[pluginname]/updatelistNEW.txt which is the same as updatelist.txt except the checksums will be correct.

r0cknes

This is my latest update list and it does not work. The checksums are correct and the links are not broken.

Empire Earth   04-20-11
plugins/Empire Earth/plugininfo.txt   http://curtisbaker.webs.com/plugininfo.txt   67283
plugins/Empire Earth/setlist.txt   http://curtisbaker.webs.com/setlist.txt   3005
plugins/Empire Earth/sets/setinfo.txt   http://curtisbaker.webs.com/setinfo.txt   124720
CardImageURLs:
general/cardback.jpg   http://curtisbaker.webs.com/Images/cardback.jpg   
CardGeneralURLs:
http://curtisbaker.webs.com/Images

I tried the second way with the checksums at -1 and it kept telling me that it could not find some files locally like: "File in Update list not found locally: 04-20-110"

It did that with many other things that are not files like the web addresses and turned my update list into this.

Empire   Earth
04-20-11   plugins/Empire   0
http://curtisbaker.webs.com/plugininfo.txt   67283   0
Earth/setlist.txt   http://curtisbaker.webs.com/setlist.txt   0
plugins/Empire   Earth/sets/setinfo.txt   0
124720   CardImageURLs:   0
http://curtisbaker.webs.com/Images/cardback.jpg   CardGeneralURLs:   0

What am I doing wrong?

Picks-at-Flies

Firstly, when pasting from code files, always use [ code][ /code] tags.

If you look carefully at the second file, it has removed Earth to the URL.  We all forgot that Lackey won't use folder names with spaces in them.  Actually it's generally a good idea not to use spaces in public file/folder names because you force programs to interpret them and they may interpret them wrongly.  Change the plugin folder to empireearth and try again.

Btw, you don't need to use both methods.  However, the /mkupdate will make sure it's in the correct form.

r0cknes

Yes I knew you only had to do one of them, but the first did not work so I tried the second. Thanks for the info! I will change my folder name and try it when I get home. THANK YOU!

r0cknes


Empireearth   04-20-11
plugins/Empireearth/plugininfo.txt   http://curtisbaker.webs.com/plugininfo.txt   67283
plugins/Empireearth/setlist.txt   http://curtisbaker.webs.com/setlist.txt   3005
plugins/Empireearth/sets/setinfo.txt   http://curtisbaker.webs.com/setinfo.txt   124720
CardImageURLs:
general/cardback.jpg   http://curtisbaker.webs.com/Images/cardback.jpg   
CardGeneralURLs:
http://curtisbaker.webs.com/Images


I feel like this shouldn't be this hard. I know I am a newbie so forgive me, but now the issue is that when I try an update from the update list it says that the date is wrong and should be written mm-dd-yy. I thought that is how I did it, but maybe not. Help... again?  :D

r0cknes

Nevermind. It worked on my computer. I had a friend test it. They may have done it incorrectly.