*Author

icybraker

  • Guest
Re: Elements deck image generator https://elementscommunity.org/forum/index.php?topic=4173.msg41268#msg41268
« Reply #12 on: March 20, 2010, 12:31:44 am »
Look at the urls of the card images.

"http://helltgivre.free.fr/elements/?mark=entropy&deck=4sa4t34t44t54t64t76qq6rj6rk6rl6rm6rn"

They have the deck code in them: "4sa4t34t44t54t64t76qq6rj6rk6rl6rm6rn"

So, I could make a deck like this:

http://helltgivre.free.fr/elements/?mark=entropy&deck=4t34t34t34t34t34t34t34t34t34t3

I made that through copy/pasting the code for "Dagger", which is "4t3".

All in all, beautiful system. I applaud.

Scaredgirl

  • Guest
Re: Elements deck image generator https://elementscommunity.org/forum/index.php?topic=4173.msg41270#msg41270
« Reply #13 on: March 20, 2010, 12:37:00 am »
I was going to start a thread asking a deck image builder that was:

B) Produces an identical image of what we seen in game
Except this one doesn't quite manage that in its current form. All that's missing is a bit of sorting though, so that should be easy enough to fix.
If you are talking about card images missing, that's easy to fix. When I said it's perfect I meant the functionality. Only add images and it's perfect.

Or did I miss something?


Edit: Would it be a lot of work to make it crop the image if no mark is given? So a 30 card deck for example would look something like this:

This would be very useful for a [deck (http://elementscommunity.org/forum/index.php/topic,4147.0.html)] code, if we were to make that happen, and you don't mind sharing your code (at least to SG / the forum).
May need to make it accept spaces as well... shouldn't be difficult either.
Why the need the get rid of the mark? There are no decks without marks. Mark is basically a part of the deck.

Delreich

  • Guest
Re: Elements deck image generator https://elementscommunity.org/forum/index.php?topic=4173.msg41278#msg41278
« Reply #14 on: March 20, 2010, 12:46:24 am »
If you are talking about card images missing, that's easy to fix. When I said it's perfect I meant the functionality. Only add images and it's perfect.

Or did I miss something?
Guess I wasn't very clear. Currently, the images appear in the order the codes are put in. You won't have it look like this in the game, for example:
http://helltgivre.free.fr/elements/?mark=entropy&deck=4sa4t34t44t54t64t76qq6rj6rk6rl6rm6rn4sa (the QP after the upped cards)
Not a major issue, but one that's very easy to fix.

Why the need the get rid of the mark? There are no decks without marks. Mark is basically a part of the deck.
Because it's easier to make a [deck] code if you put the mark separately, and there's less dead space on the image.
It might be possible to make it something like [deck=<mark>], but even then most members won't realise this.

Scaredgirl

  • Guest
Re: Elements deck image generator https://elementscommunity.org/forum/index.php?topic=4173.msg41338#msg41338
« Reply #15 on: March 20, 2010, 02:37:24 am »
If you are talking about card images missing, that's easy to fix. When I said it's perfect I meant the functionality. Only add images and it's perfect.

Or did I miss something?
Guess I wasn't very clear. Currently, the images appear in the order the codes are put in. You won't have it look like this in the game, for example:
http://helltgivre.free.fr/elements/?mark=entropy&deck=4sa4t34t44t54t64t76qq6rj6rk6rl6rm6rn4sa (the QP after the upped cards)
Not a major issue, but one that's very easy to fix.
Good catch. I didn't even think about this. Yes, that needs a fix.


Why the need the get rid of the mark? There are no decks without marks. Mark is basically a part of the deck.
Because it's easier to make a [deck] code if you put the mark separately, and there's less dead space on the image.
It might be possible to make it something like [deck=<mark>], but even then most members won't realise this.
This one I don't get. The way I see it, mark is just an image like the cards, I see no reason why it would be more difficult to include there but maybe I'm missing something.

I would really like the mark to be included because of newbies (and me) always forgetting to add the mark manually.

Delreich

  • Guest
Re: Elements deck image generator https://elementscommunity.org/forum/index.php?topic=4173.msg41348#msg41348
« Reply #16 on: March 20, 2010, 03:34:27 am »
This one I don't get. The way I see it, mark is just an image like the cards, I see no reason why it would be more difficult to include there but maybe I'm missing something.

I would really like the mark to be included because of newbies (and me) always forgetting to add the mark manually.
The idea was that you'd do something like this, right?
Code: [Select]
[deck]5bs 5bs 5bs 5bs 5bs 5bs 5bs 5bs 5bs 5bs 5bs 5bs 5bu 5bu 5bu 5bu 5bu 5bu 5c0 5c0 5c0 5c0 5c0 5c0 5c7 5c7 5c7 5c7 5c7 5c7[/deck]But the import/export feature doesn't include the mark. Also, from what I can tell, making a code that takes the text in between and makes it part of an image url is trivial.
I don't know much about modding SMF stuff though, so maybe it's easy to do more complex things as well, such as supplying the mark as an argument.

Offline PlanplanTopic starter

  • Jr. Member
  • **
  • Posts: 130
  • Country: fr
  • Reputation Power: 8
  • Planplan is a Spark waiting for a buff.
Re: Elements deck image generator https://elementscommunity.org/forum/index.php?topic=4173.msg41443#msg41443
« Reply #17 on: March 20, 2010, 10:07:36 am »
If you are talking about card images missing, that's easy to fix. When I said it's perfect I meant the functionality. Only add images and it's perfect.

Or did I miss something?
Guess I wasn't very clear. Currently, the images appear in the order the codes are put in. You won't have it look like this in the game, for example:
http://helltgivre.free.fr/elements/?mark=entropy&deck=4sa4t34t44t54t64t76qq6rj6rk6rl6rm6rn4sa (the QP after the upped cards)
Not a major issue, but one that's very easy to fix.
I'm aware of this, and thanks to the card code, I could sort them in the correct order easily. But I can't work on it for the moment, girlfriend day is more important than personnal coding moments. ;)

Why the need the get rid of the mark? There are no decks without marks. Mark is basically a part of the deck.
Because it's easier to make a [deck] code if you put the mark separately, and there's less dead space on the image.
It might be possible to make it something like [deck=<mark>], but even then most members won't realise this.
I can make the mark optional, not complicated, but I think like Scaredgirl, mark is needed for a deck. I'm planning on making the card area resizing hisself when less than 6 column of cards ar present (maybe optional). But I want to focus on adding the missing cards before further coding.

Look at the urls of the card images.

"http://helltgivre.free.fr/elements/?mark=entropy&deck=4sa4t34t44t54t64t76qq6rj6rk6rl6rm6rn"

They have the deck code in them: "4sa4t34t44t54t64t76qq6rj6rk6rl6rm6rn"

So, I could make a deck like this:

http://helltgivre.free.fr/elements/?mark=entropy&deck=4t34t34t34t34t34t34t34t34t34t3

I made that through copy/pasting the code for "Dagger", which is "4t3".

All in all, beautiful system. I applaud.
http://helltgivre.free.fr/elements/?mark=entropy&deck=4t34t34t34t34t34t34t34t34t34t3
is now equivalent to
http://helltgivre.free.fr/elements/?mark=entropy&deck=z94t34t3

The card codes are a number in base 32, so it use numbers from "0 to "9" and letters from "a" to "v".
All cards codes are using 3 characters. So I basically added a special character "z" followed by a number (let's say z_number) to tell the program "if you encounter z, repeat [z_number] the following card.
But I'm limited to 9 repeat because of the very naive approach. I know how to change that to limit to 99, but like I said before, I prefer finishing the cards images before.

Scaredgirl

  • Guest
Re: Elements deck image generator https://elementscommunity.org/forum/index.php?topic=4173.msg41497#msg41497
« Reply #18 on: March 20, 2010, 02:03:12 pm »
This one I don't get. The way I see it, mark is just an image like the cards, I see no reason why it would be more difficult to include there but maybe I'm missing something.

I would really like the mark to be included because of newbies (and me) always forgetting to add the mark manually.
The idea was that you'd do something like this, right?
Code: [Select]
[deck]5bs 5bs 5bs 5bs 5bs 5bs 5bs 5bs 5bs 5bs 5bs 5bs 5bu 5bu 5bu 5bu 5bu 5bu 5c0 5c0 5c0 5c0 5c0 5c0 5c7 5c7 5c7 5c7 5c7 5c7[/deck]But the import/export feature doesn't include the mark. Also, from what I can tell, making a code that takes the text in between and makes it part of an image url is trivial.
I don't know much about modding SMF stuff though, so maybe it's easy to do more complex things as well, such as supplying the mark as an argument.
Yea, I was half-asleep when I wrote that previous post. Forgot all about that small detail. :)

Laxaria

  • Guest
Re: Elements deck image generator https://elementscommunity.org/forum/index.php?topic=4173.msg41780#msg41780
« Reply #19 on: March 21, 2010, 02:36:35 am »
This is looking awesome.

This is something we could all use :D

Offline PlanplanTopic starter

  • Jr. Member
  • **
  • Posts: 130
  • Country: fr
  • Reputation Power: 8
  • Planplan is a Spark waiting for a buff.
Re: Elements deck image generator https://elementscommunity.org/forum/index.php?topic=4173.msg41926#msg41926
« Reply #20 on: March 21, 2010, 11:33:22 am »
Look like my free host give me connexion limits... I'll just put links to image until I finish it and found a better host ;)

ftbhrygvn

  • Guest
Re: Elements deck image generator https://elementscommunity.org/forum/index.php?topic=4173.msg41978#msg41978
« Reply #21 on: March 21, 2010, 04:24:16 pm »
I now AM working on something similar. You can send me your entropy cards if you want. It's still unpublished and still under development in my own computer. (I installed Apache on my copmuter and actually published it using DDNS. Although the up time is terrible 'cuz I treat it as an normal computer instead of a server, you can try to access http://ftbhrygvn.selfip.com/elements/generator/)

Re: Elements deck image generator https://elementscommunity.org/forum/index.php?topic=4173.msg42013#msg42013
« Reply #22 on: March 21, 2010, 06:15:10 pm »
Man, Planplan. Last time I looked at this you only had Entropy. Good to see your progressing.

akromat

  • Guest
Re: Elements deck image generator https://elementscommunity.org/forum/index.php?topic=4173.msg42336#msg42336
« Reply #23 on: March 22, 2010, 10:16:54 am »
This is coming along very nicely. Are you planning on caching the images? Also have you though about using a method similar to the one used by tinyurl to shorten the urls? Perhaps even using the tinyurl API and letting their service handle the load?

 

blarg: