News:

A forum for users of LackeyCCG

Main Menu

silence731's locked threads

Started by AuraDragon, October 29, 2015, 05:55:34 AM

Previous topic - Next topic

AuraDragon

Seems like a lot of silence731's threads are getting locked, not too sure why.  I guess some automatic locker is firing because of "question" being in the subject...

So I'm going to reply to "autoupdateinfo.txt question and major help needed" here:

Quote from: silence731I have looked at the included games and none of them have been any help for making the file

I recommend looking at the "all-encompassing" magic plugin and clean and "straight-forward" War3000 plugins exclusively.


Quote from: silence731What i do have is 5 folders inside my setimages folder that houses all the cards i have made for the game, nothing i have come across so far has told me how to link those folders with the autoupdate.txt file

Quite simply, the UpdateList.txt does not deal with card images.  Card images are downloaded by using the lines from the CardImageURLs.txt file; each line specifies a local card image address (as in, on your computer), followed by a tab, and then a URL address that points to the card's image on the web.  For example:

M15/1.jpg       http://magiccards.info/scans/en/m15/1.jpg

The local card image address is the card's set name (M15), a slash ( / ), the card's imagefile name (1) and, if unspecified, a JPG extension (.jpg).

When you mouse over a card, Lackey will assemble the local card image address (M15/1.jpg) from the data you entered in to the CardData.txt file(s) and check your /setimages/ folder for that file (specifically, the file 1.jpg in the folder /M15/).  If it doesn't find this image, it will then check the URL address associated with that local card image address and download any image it finds(, in this case, a kitty planeswalker).

Therefore, you do not need to specify the card images in the UpdateList.txt.


Quote from: silence731I have also noticed that inside the games i have looked at for help, they all have packs folder and pack definitions.txt file, which is a folder and text file i do not have yet.

Lackey supports many optional features.  This is one of them.  If you want packs, just read the Lackey tutorial about packs and mimic the PackDefinition.txt files from other plugins.   ;)


Quote from: silence731And im assuming if i want the premade decks to go with the game, i have to upload them AND specify those in the autoupdate.txt file?

Yes, although I recommend putting them in a sub-folder in the decks folder.  Some people do not appreciate tons of starter decks clogging up their personal deck area.  ;D

silence731

maybe thats why nobody is replying to my questions lol... i thought the lock was for me to keep an eye on it.. not locking it from people posting... my bad

silence731

#2
ok... i think i understand.. i need to make a CardImageURL.txt text file, and place all my card names in there with the website address of the hosting site i have my cards stored at and add that to the autoupdate.txt file so when it updates it pulls all those with it right?
Also, does the CardImageURLs.txt file have to be tab delimited like the playing card text or just a regular text file, and can i do it all on seperate lines or does it have to be one big jumbled mess like war3000?
sorry, i feel like a noob asking these questions that should be simple.

AuraDragon

The CardImageURLs.txt file is also tab-delimited.  If you saw the War3000 CardImageURLs.txt as being just one big jumbled mess then you were using Notepad which doesn't see one-character returns; It looks for \r\n exclusively, so lines ending in only \n appear like what you saw.

Oh, and one more thing.  At the bottom of the UpdateList.txt there needs to be a "CardURLFiles:" entry that is followed by the names of all the files that have card image urls (i.e. CardImageURLs.txt).

silence731

ok, running into a few problems, im trying out dropbox to see how it works, set it up, dropped my main game folder into the thing, went to their website and got the link for the update.txt file.... now lackey is telling me:
ERROR:unable to download a valid updatelist.txt
the update line above this is
updating plugin from URL:https//www.dropbox.com/s/ifq52b8ehmcvmsi/updatelist.txt
the update list is a tabdelimited file, was just a plain text file but on a hunch i changed it to delimited and still no go, so what am i doing wrong?
and here is the update file just in case ya need it

<civilization   10/28/2015
plugins/civilization/plugininfo.txt   
plugins/civilization/rough draft rulebook.txt   
plugins/civilization/sets/carddata.txt   
plugin/civilization/sets/general/cardback.jpg   
plugin/civilization/sets/general/spawned.jpg   
>
without the brackets of crouse


AuraDragon

A couple things:

When you are using dropbox links, you need to replace the www.dropbox.com with dl.dropboxusercontent.com.

Compare your file to the magic plugin's UpdateList.txt, you'll see that the magic one has two file locations and a number on each line, each separated by a tab, yours is different.  (Read this for more details: http://lackeyccg.com/tutorialplugin.html#updatelist)

I would recommend getting the dropbox program (https://www.dropbox.com/downloading) so that you can upload, update, and obtain links for your files easily and quickly.

If you have Skype, add me so I can help you in real time.  :D  My skype is thesnoogylips .

silence731

ok so im making good headway here, however, when doing the cardback and spawned.jpg pics, the lackey /mkupdate plugins/civilization/updatelist.txt tells me:
file in update list not found locally: plugins/civilization/set/general/cardback.jpg0
i have deleted the line and reentered it but still get same error, for both cards and i still get the 0 at the end no matter how i label the line, with .jpg and without... is that normal?

AuraDragon

Could you post a copy of your UpdateList.txt file?

It sounds like you didn't add the web address after the local file location.  Remember, it's Local File (tab) URL Address (tab) Checksum(or 0 if you don't know it).

silence731

civilization   10/28/2015   
plugins/civilization/plugininfo.txt   https://dl.dropboxusercontent.com/plugins/civilization/plugininfo.txt   456833
plugins/civilization/Rough_Draft_Rulebook.txt   https://dl.dropboxusercontent.com/plugins/civilization/Rough_Draft_Rulebook.txt   234565679
plugins/civilization/sets/carddata.txt   https://dl.dropboxusercontent.com/plugins/civilization/carddata.txt   542
plugins/civilization/set/general/cardback.jpg   https://dl.dropboxusercontent.com/plugins/civilization/sets/setimages/general/cardback.jpg   3q4525463
plugins/civilization/sets/general/spawned   https://dl.dropboxusercontent.com/plugins/civilization/sets/setimages/general/spawned.jpg   1345563


spawned doesnt have .jpg cuz i was trying to see if that was the problem

AuraDragon

Woops.  I meant as an attachment actually.

Seems like some of your files addresses say /sets/ and one says /set/

silence731

ok here it is as an attatchment, changed the set to sets and added my cardimageurl also, still getting the .jpg0 eror on both cardback and spawned, everythign else gives me a checksum

AuraDragon

Do you have the appropriate files in the local file location?

Your dropbox links are placeholders right?  They currently don't point to any real file on dropbox...

The cardback.jpg's checksum has a "q" in it, dunno if that matters though.

silence731

#12
Quote from: Snoogy on October 31, 2015, 03:09:07 PM
Do you have the appropriate files in the local file location?

Your dropbox links are placeholders right?  They currently don't point to any real file on dropbox...

The cardback.jpg's checksum has a "q" in it, dunno if that matters though.

um..i think so, and by local file location im assuming you mean on my computer or in the files on dropbox?
no, not placeholders,
yes already have dropbox loaded up with all files for the game,
and the q didnt seem to matter
im curious if the random number string it generates for the file location on dropbox has something to do with it.

ok after playing around with the random string of numbers dropbox gives, when i put
https://dl.dropboxusercontent.com/ifq52b8ehmcvmsi/updatelist.txt
into lackey and try to update it tells  me it timed out updating
i am atatching a new updatelist for you to look at for this part, still having the .jpg0 error while making updatelistNEW
also in my CardImageURLs.txt file i have the images listed as www.dropbox.com do i need to change them to dl.dropboxusercontent.com like i did for the other stuff?

silence731

ok got the .jpg0 figured out, i had the destination location wrong.. had to go a couple more folders in... so that one is done... i havde a valid checksummed updateinfo.txt file now, now maybe you can help me with why dropbox is timing out when i try to update through lackey

AuraDragon

#14
Seems like your links are missing the /s/ between dropboxusercontent.com and the garble of digits.

This doesn't work:
https://dl.dropboxusercontent.com/ifq52b8ehmcvmsi/updatelist.txt

But this does:
https://dl.dropboxusercontent.com/s/ifq52b8ehmcvmsi/updatelist.txt

I had to look at my own plugin to realize that error.

EDIT : Also your cardback.jpg, spawned.jpg and CardImageURLs.txt are without garbled digits in their dropbox link.