Other features / Advanced Options
Opening Packs:
Lackey lets you simulate opening booster packs and starter decks. For example, you might want to play a game where the terms are that each person gets a starter deck and five booster packs of their choice. To enter this mode, click on the Open Packs button in the Deck Editor. Right clicking in the gray area at the bottom of the screen will give you a list of booster packs and starter decks. Pick a few, then click on the Add All to Card Pool button. To exit this mode, click on Return to Free Build.
(https://lotrtcgwiki.com/forums/proxy.php?request=http%3A%2F%2Flotrtcgdb.com%2Flackey%2Ftutorial%2Fopenpacks.jpg&hash=b13ac907018029013ed04a4985dee18226028c05)
Note: Some of the starter decks are missing cards. I will be fixing this as soon as I have time to comb through each one.
Starting your own server:
If you have port forwarding enabled (or Hamachi, see below), you can start your own server! Essentially it gives you a private chat room and game setup for multiple players. From the Server tab, click the Start Server button. From the same tab, other people can connect to you using your IP.
Playing over a LAN/Hamachi:
Normally Hamachi isn't needed, because you can play a proxy game using the Lackey server. However, you could use it to start a private server, even without port forwarding. Also, my friends and I have played LotR via Lackey on a LAN without internet access. It's a little tricky, but here's what you would need to do:
Create a text file named YourLastIP.txt (NOT YourLastIP.txt.txt -- be careful) in your LackeyCCG folder. Put your Hamachi or LAN IP address in this file on the first line and nothing else. Restart Lackey. Now, you can start a server and host a non-proxy game. Make sure to delete this file when you are done.
The Lackey server used to have a bug that made it crash when too many proxy games were started. Now that it is fixed, you shouldn't really need this step. However, it may be useful if Lackey is ever discontinued and you want to connect to someone. Note that you can always start a server without going making the text file above, but in that case, your opponent would need to be the one to start a game (proxied).
Adding Dream Cards:
Since Lackey is plugin-based and made to work with any CCG, you are free to add your own dream cards to the mix! You will need a spreadsheet program -- OpenOffice (http://openoffice.org) works great (it's what I use). At the bottom of this post are attached two files: parody.xls and parody.txt. These will be used as a sample to get you up and running, so go ahead and download them now. Also, be sure that before you play with dream cards that you have updated the LotR plugin and downloaded all missing images.
The card information for the 3500 or so LotR cards is kept in a large text file called CardData.txt. When I work on the database or Lackey plugin, I use this spreadsheet (http://lotrtcgdb.com/files/CardData.xls). You might take a look at it to see how a variety of card types are inputting. In any case, I recommend working off of a master spreadsheet with your dream cards and then exporting it to txt when done. This allows you to pad fields with zeros (for example: Strength: 08, Card Number: 003), which helps them sort correctly in Lackey. In my experience, when you import a txt file into a spreadsheet program, it ditches the leading zeros and saves it incorrectly.
So go ahead and open up parody.xls. The first three columns -- Name, Set, and Imagefile and mandatory for every card. For set, choose something unique to your dream card set. Do not use any spaces or special characters. Examples of good set names are ReturnToMiddleEarth, NeverEndingParodyChain and ChuckNorrisVSSauron. Each of the Imagefile entries must be unique as they serve as the card identifier. If you don't have any images, that's fine -- the cards will show up as text only. If you do have images, you should save them in either your LackeyCCG\plugins\lotr\sets\setimages\SETNAMEHERE folder, or in the LackeyCCG\plugins\lotr\sets\setimages\general folder. Remember: Do not distribute dream cards images based on Decipher's LotR templates. If you make your own images from scratch, you are free to do what you want with them.
The spreadsheet needs to be saved in a TAB-separated format with NO TEXT DELIMITERS. Excel likes to add quotation marks as delimiters around text when you save. This will not work in Lackey. Open up parody.txt. The top row should read:
Name Set Imagefile Side...
Excel likes to give you:
"Name" "Set" "Imagefile" "Side"...
I'm sure there is a way to specify options in Excel so that it doesn't do this, but I don't have the program to check. In OpenOffice you can save as CSV and then edit the filter options to use TAB's and no quotes. However, an easier way exists to save your work: Select the entire spreadsheet (click anywhere in the spreadsheet and use CTRL-A to select all). Then, copy and paste it into a text editor such as Notepad. This will preserve the tabs without any quotes. If the last line is empty, make sure to delete it, and then save the file as parodyset.txt. Perhaps close and reopen it to make sure it saved correctly.
Your set's txt file should go in the LackeyCCG\plugins\lotr\sets folder, next to CardData.txt. After copying it there, edit the file LackeyCCG\plugins\lotr\setlist.txt. At the top of the file you should see:
1
CardData.txt
The number represents the number of data files to read. Change it to 2 and add your set so that it looks like this:
2
CardData.txt
parodyset.txt
Now fire up Lackey and check out your dream cards!
A couple thoughts:
1) If you are having any trouble, it might be best to load only your dream card set. Edit the setlist.txt so that it looks like:
1
parodyset.txt
That way you can look at only your dream cards without having to find them in the normal cards. If columns are off in Lackey, it's likely that the file was not saved correctly.
2) CardData.txt and setlist.txt will be overwritten whenever you update the LotR plugin. Therefore, always keep your dream cards in their own file and make a backup of setlist.txt to restore after updates.
As always, let me know if you have any questions!
A Final Note:
Lackey is still in development, but is getting better all of the time. If you find any bugs (yes, there are some) or have any ideas for improvement, let Trevor know! :)