News:

A forum for users of LackeyCCG

Main Menu

GI Joe Plugin

Started by kingstaf, November 28, 2010, 06:57:17 PM

Previous topic - Next topic

kingstaf

Hey, I'm working on a GI Joe plugin and it is mostly ready. If you are interested, you can get it at...

http://sites.google.com/site/majoritycontrol/gijoe/general/updatelist.txt

This is the correct link.

Trevor

I don't know what's going on with that web host, but it doesn't seem to be hosting the files in a normal way. Is that because its a https?

kingstaf

Did you post that link in the update from URL box and try it? I only ask because if it is a problem with the site I need to fix that too then. It seems to work for me when I use it, but that could just be my two computers.

Trevor


kingstaf

Hmm. Okay. Well, I attached a copy of the updatelist and the packdefinitions in case you just wanted to look at that. Also, I tried the link I gave earlier with http:// instead of https:// and it worked, so just to see if it will work for you this way, here's a different variation of that link.

http://sites.google.com/site/majoritycontrol/gijoe/general/updatelist.txt

Let me know if this works please because I am not sure what is preventing others from accessing it.

[attachment deleted by admin due to age]

Trevor

#5
Quote from: kingstaf on November 29, 2010, 12:08:10 AM
Hmm. Okay. Well, I attached a copy of the updatelist and the packdefinitions in case you just wanted to look at that. Also, I tried the link I gave earlier with http:// instead of https:// and it worked, so just to see if it will work for you this way, here's a different variation of that link.

http://sites.google.com/site/majoritycontrol/gijoe/general/updatelist.txt

Let me know if this works please because I am not sure what is preventing others from accessing it.
http://sites.google.com/site/majoritycontrol/gijoe/general/updatelist.txt works. I'll take a look at the plugin.

The Original Booster Pack didn't crash for me. Exactly what sequence of events, from launching, causes a crash? Does it happen all the time when you do that sequence?

A few tips: in the card data, if something is blank, just leave it blank. Don't bother saying "none".
You need should use a program like photoshop to batch resize (and crop the black border) from the cards. They should all have the same dimensions as your cardback.jpg.
Your bot.jpg should be small (200x200 pixels or so) and square.
You should try to make the generally longest card data be the last one, which is usually Text. So I suggest you have the Text be at COLUMN13.


kingstaf

 Thanks for the feedback! I will try and remedy all of that. I wish there was a way to simply auto resize everything for the viewer window so I wouldn't have to go back and resize all of the original images, but alas, it doesn't. Okay Gimp 2.6, time for some batch resizing. As for the problem with Original Booster Pack, I am having the same problem with it every time. I'm glad to hear it is working for you but now I'm wondering if something is wrong with my comp. Steps I use:

1.open Lackeyccg and GIJOE plugin
2. deck editor
3. open pack
4. add a pack
5. In the add a pack box, Original Booster Pack will be shown as having 1731081074 cards instead of 10.
6. Click the Original Booster  Pack and Choose
7. Next pops up a "
Runtime Error!
Program:C:/Users/Jefferson/Desktop/MTG/LackeyCCG/LackeyCCG.exe
This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information."


Now the weird thing is that in the past I had another Booster Pack for Armored Strike listed that had the same setup in coding as the first Booster pack. At first it wouldn't work, then it did. So when it was working I tried to erase the first booster pack code thinking I had messed up in the coding somewhere, but then once I had restarted it the Armored Strike Booster messed up everytime. Since then, I scrapped both of the boosters, and redid the first one figuring if I could get the first to work then I could get the rest to work. And that is where I am at. Any suggestions on what could be causing this? Also, my updatelist doesn't use checksums yet other than the -1 placeholder. Is that bad? Should I replace the one online that people can download with one with actual checksums on it? The whole checksum thing is a bit confuzzling to me.

Trevor

Checksums are how lackey knows if it should bother download a file or if it already has that same file locally. If you don't make checksums, lackey will just assume it always has to redownload every file whenever someone updates. If you DO you checksums, when a person updates, he will only download the files that were changed. What about generating the checksums do you not understand?

/mkupdate plugins/GIJOE/updatelist.txt will create a updatelistNEW.txt which has the checksums. Note while using .mkupdate if it tells you any files you list in updatelist.txt are missing locally. Once updatelistNEW.txt is created successfully, delete your old updatelist.txt and renamed updatelistNEW.txt yo updatelist.txt.

Trevor

I just fixed a bug that would give the wrong count of that random pack. I never experienced the crash, but I think this will also fix that. Let me know after I post it.

Trevor

#9
I just noticed a major problem with the plugin. You have different cards with the same name. The simple resolution to this is to combine the Name and subtitle columns.
Instead of having 4 cards all named Shipwreck, you should have:
Shipwreck, Salty Dog
Shipwreck, Navy SEAL
Shipwreck, Salty Sailor
Shipwreck, Sea Dog

With some CCGs, you need to artificially generate unique names, but forunately GIJOE has subtitles.
Put the name and subtitle columns adjacent to eachother in excel and copy them. Paste to a new text file (using a program that edits plain text) and then batch replace all tabs with a comma followed by a space. Then copy/paste that back into the Name column, and delete your old Subtitle column. Make sure you remove the subtitle column from the plugininfo.txt too.

kingstaf

Ahhhh, mucho gracias. I will do that as soon as possible. Unfortunately, all of these fixits probably won't be completed before  next week since I am currently updating another 400 cards or so and then resizing and filling into the Card URL sheet. But as soon as I get the plugin updated to a much better version, I will let you know as I truly appreciate the feedback.  :D Thanks for all of your help and please let me know if there is anything else could and or should do to better the game!

kingstaf

Yep, the update fixed the issue and I have just done a massive update to my plugin. The link is still the same. Although now I have a different question. I wanted one of my booster packs to be able to include cards from specific sets. Is there an OR eval command? I wanted it to randomly pick 10 cards based on rarity from 5 different specific sets. Almost like a booster pack based on formats in magic.

Trevor

Quote from: kingstaf on December 06, 2010, 12:29:42 AM
Yep, the update fixed the issue and I have just done a massive update to my plugin. The link is still the same. Although now I have a different question. I wanted one of my booster packs to be able to include cards from specific sets. Is there an OR eval command? I wanted it to randomly pick 10 cards based on rarity from 5 different specific sets. Almost like a booster pack based on formats in magic.
Ya, that's possible. Look at how the new packdefinitions works.

kingstaf

hmm, okay I am currently working on setting it up to have a high, medium, and low version. However, I noticed I screwed up a little bit in making them so I am going through and fixing them. I have fixed everything in the high version, however, I keep noticing that for some reason 1 particular set will not load well or properly or something and I can't figure out the problem. Any help would be most welcome. To get it here is the URL.

http://sites.google.com/site/majoritycontrol/gijoe/general/highupdatelist.txt

The set that doesn't seem to like loading the images is the Redemption set.

Trevor

That host of your seems to be hosting files in an odd way.