Jump to content

Maze

Web Developer
  • Posts

    161
  • Joined

  • Last visited

Everything posted by Maze

  1. update: - fixed creator automatic color change when "None" is the active color and any modifiers are changed (except the 2 checkboxes and color filters) will automatically change color to "Neutral" - fixed personal max input of the heatmaps, which wouldn't reset, when changing cards - added new api route to generate deck images on the server for embedding them in the forum, discord and other things (correct font and symbol color is not applied, just like the other server generated images, as I still haven't figured out how to fix this) Any deck code type works, the code can contain more than 20 cards, but the image will only render the first 20. the cards will be displayed as fully upgraded and there are 3 optional modifiers: - "columns" to adjust number of card columns (standard max: columns=10) - "upgrade" to adjust the upgrade level (standard: upgrade=3) - "charges" to adjust the number of charge (standard: charges=3) - "scale" to adjust the size, with the maximum scale being 0.6 which is also the standard value, since there are problems with my server if the exposed image exceeds 4MB in size - I can very easily add the same url parameters supported by https://smj.cards/image if needed Example: https://smj.cards/api/images/deck/MiEwEkI8E (schema https://smj.cards/api/images/deck/[code]?columns=10&upgrade=2&charges=1) Just pasting the link into the forum message automatically imports the image, so you don't need to manually generate a deck image with https://smj.cards/image , download it and then post it. 🙂 (but keep in mind that the correct fonts and symbol colors aren't applied this way) (this image was automatically imported just from pasting the image link here)
  2. update: - changed heatmap number of steps from 6 to 7 and colors to be a gradient from green to red - added long term weekday heatmap to the card pages, - added "Missing Data" group to the heatmaps to not cause sivual bugs, if there are no values available for a given day - fixed creator card preset functionality - added ability to set personal max to heatmaps, to not lose usability when there are some outliers. values exceeding the personally set maximum will be grouped under "Excess" - updated charts display so that they hopefully aren't squashed to unreadable on mobile anymore - added unrestricted positioning functionality to the creator, which prevents orbs and abilities from being pushed together to not have gaps on the image and prevent correct orb order from being applied
  3. update: - added deck code input to the deck page, to make creating shareable deck links from ingame deck codes more convenient, once they are available - added long term weekday heatmap to the totals views of the deck and main page - fixed some visual issues with the card creator
  4. update: - total views of the deck and the main page now show sums of daily median prices if there is no median available for the card on that day, the 1 week median is used. this is a temporary solution until ich change it to the last known daily median in the next update, as well as adding some price heatmaps. - creator page now adjusts the url and inputs can be changed through the url parameters this means that creation presets can be shared, everything except the personal artwork upload is applied when opening a preset link. there is one parameter which doesn't have a ui component, which is "cardArtwork" it is set with the card preset and persists even if you change modifiers that aren't your own artwork upload. there aren't many input checks set up yet for the url inputs so changing values to something that isn't supported may cause some visual inconsistencies with the image.
  5. update: - added new deck encoding type (in accordance with the types supported on: https://jakub.bandola.cz/wa/deck_info/) - added "None" as an option for the color selection of the creator, to allow for the color modification of the card back artwork - changed color filters order of the creator so that sepia is applied before hue to make fully mono colored cards of any frame color possible
  6. update: - added loading animation to the new deck/list image generator - set image generator columns preset to 10 for lists/deck containing more than 10 cards, otherwise preset is set to the number of cards in the list/deck
  7. update: - lists page now has two different buttons to save as list or deck instead of selecting type and the single add button - deck page now shows every type of the list/deck code for you to copy and check - fixed a code decoding issue. there is still something to keep in mind when using an official IDs code when only one id is in the code, since for example 1640 as an smj code is Mutating Frenzy and Nomad R while as an official ID it would be Amii Phantom. therefore please add a "," to the code if you want it to be decoded as an official ID. this is a very specific edge case, so changing the encodings for the two types wouldn't realy make sense, so it's just something to keep in mind, when you want to use official IDs as input.
  8. update: - removed the code type setting when adding a new list/deck, since the input is now decoded automatically independent of the type, anywhere you are able to set a code, if I didn't miss any places. - added a deck page (https://smj.cards/deck) for additional info on decks/lists, also accessible by clicking on the name of the saved decks/lists on the lists page (https://smj.cards/lists) where you can edit your lists/decks like the regular lists table, but with a bit more info on the prices. the page also makes it easier to share decks/lists among one another. Please note that all adding/saving of lists/decks will still overwrite lists/decks of the same name if you have any with the same name, and saving the lists/decks from the new page under a new name will not actually erase/overwrite the old list/deck so it is generally better to update them from the lists page. As for the overwrite checks, they will be put in place at a later date. Example: https://smj.cards/deck?name=NewCards&code=A0A1A2A3A4A5A6A7A8A9AAABACADAEAFAGAH - added List/Deck image generator, if you want to share just the image, or if you want to create a wallpaper out of them. It is accessible through the totals view of either the main page (with sorting applied) or the new deck page, or just set the options yourself from the url. You are able to set: - the upgrade and charges set in the totals views will also be applied to the cards in the image - the scale of the image (I recommend reducing the scale if you want to share the image since they tend to get very big in size) - the number of columns (leaving the columns at 0 will place the images in one line) - the gap between the images (with a gap of -10 you are able to get the cards as close to one another without overlapping the actual cards) there are 2 more options that don't have a UI element yet, but you can add them to the image generator url, they are: - "type=jpeg" which, as you might have guessed generates a jpeg image instead of a png (in this case I recommend a minimum gap of -5 to not clip into the card image, but anything lower will automatically changed to -5 anyways) - "background" which adds a specific background color to the image, so "background=000" would add a completely black background instead of a transparent background in case of the image being a png. The input for background can be any hex color code. Example: https://smj.cards/image?code=A0A1A2A3A4A5A6A7A8A9AAABACADAEAFAGAH&upgrade=2&charges=1&scale=0.7&columns=10&gap=-5&type=jpeg&background=333333 this will generate:
  9. update: - added reset button to the creator - added "None" as an option to the type modifier to allow for the creation of cards with a regular non-spell frame without any unit or building symbols - added color filters to allow for a wider range of image modification to create even more unique cards. filters include hue, saturation, brightness and sepia, they are applied to the frame, tokenslot, upgrades, charges, badges as well as damage and health symbols, if symbol colors modifier is applied. Example:
  10. update: - removed Ability 5 Slot from the creator modifiers to avoid confusion (was put in place to be able to write in a 5th line when recreating long card upgrade texts) - added card preset option to the creator, with which it is possible to automatically preset all relevant modifiers: while there is an active card preset (name visible in the card preset input field), changing upgrade/charges while the preset is a non-promo card will result in the automatic adjustment of relevant modifiers. if the preset is a promo card and the upgrade/charges are changed or any modifier are changed while any preset card is selected will result in you being able to adjust the image from what it was set to and the modifiers not changing automatically anymore.
  11. update: - decided to improve generated image styles a bit more, to be closer to the ingame styles and colors (now it should really be final) - added a button that let's you switch between displaying sever generated and locally generated general card images, with a tooltip clarifying the differences EDIT: I think I know the reason for the wrong font on server generated images, same happens as well on mobile with the creator. I will look into it next, but I don't think it will fix the symbol coloring, sadly.
  12. update: - switched to generating the general card images in your browser for the symbol coloring to work, until I figure out how else to do it - added symbol color modifier to the creator for those that like the plain black and white symbols more - adjusted style of some elements that are drawn on the image (element positioning and style should now be finalized) EDIT: - switched back to api generated general card images, as load times were just too big and images didn't change when switching to another card, will have to make the symbol coloring work some other way (font also doesn't seem to be correct when generating the images on the server)
  13. newest updates: - custom cards now have colored damage and health icons (doesn't seem to work for the general card images, I think that is due to them being generated on my server and then exposed through the api instead of them being generated in your browser) - mini deck builder on the main page now also has the delete by right clicking functionality - sort by prices was moved to the start of the sorters list - main page window size was increased to be more user friendly on larger screen sizes - some list name restrictions and auto adjustment was put in place, like trimming spaces and more (note that there is no check in place if a list/deck name already exists and will replace any list/deck of the same name, when adding and editing!) That should be all changes. I thought of maybe doing these smaller patch notes from now on when there are changes that affect users, not sure if they are of use to you, but I felt like keeping you all in the loop of changes a bit more. 🙂
  14. The lists received an update so you can add cards to a list by fuzzy searching for and selecting them in the improved card add input field. Deletion method of cards from list was also changed to deleting by right clicking on the card, same will be implemented for the mini deck builder on the main page at a later date. The option to copy the list by its official ids and also adding a new list or deck by its official ids was added. Hope you like these small changes. 🙂 EDIT: This update also included the correction for the reforging average calculation, which was not only changed recently, but also had a wrong calculation formular for neutral and hybrid cards. The average value of the forged card when destroying 4 of the same card should now show the correct average. 🙂
  15. There is a tiny bug with the stars placement of Ability 2 if no Ability Type is selected while one is selected for Ability 1 and vice versa. This will be fixed in the next update. For now I recommend using Ability settings 1, 3, 4 and 5. 🙂 EDIT: fixed
  16. Hey everyone, I am here to tell you that there are two new features available on the website and I hope you will like them. 🙂 Lists and Decks: (https://smj.cards/lists) With this feature you are able to create custom lists and decks, as well as rename and edit them as you like. Both work in an identical manner, with the only difference being that a deck is limited to 20 cards. There is one special list named "Favorites" and one special deck named "Current". In the table view on the main page it is currently only possible to add new card to these two special lists. To add cards to a different deck/list simply rename "Current" and/or "Favorites" in the lists tab to something else. You are also able to add specific cards to existing lists while editing them, but this currently only works with SMJ Card Ids. I know this is not quite ideal, but I will probably change things to make it more convenient in the future. All your set lists and decks are stored in your browser, if you want to migrate to a different computer/browser, simply export the data to a JSON file and import it again when and from whereever you like. You can also share SMJ and base64 codes of specific lists/decks for others to add them to their lists. I plan to add overviews and more features to the seperate lists, like total costs and more in the near future, which is technically already possible by selecting the respective list and clicking "Display Totals" on the main page, but still. Card Creator: (https://smj.cards/creator) With this tool you are able to generate custom card images, like this one: I left the options quite flexible, but there are some restrictions for input convenience. Restriction Example: Orbs 1,2 and 4 set and 3 left unset will cause Orb 4 to be pushed to the slot of Orb 3 (same goes for abilities) Please let me know if you would like me to remove those restrictions. You are able to upload an image to be used as the artwork and to prevent distortions I recommend using an image with an aspect ratio of 1:1. There are also some things that still need work, like the coloring of the damage and health symbols, which I will fix at a later date. I have a few more features planned for these new tools, so stay tuned. 😉
  17. It is now possible to sort by current/median/mean/min/max prices on the main page, enjoy. 🙂
  18. The new iterations of the website and bot are online, go check them out. 🙂 Since I changed the data schema again to be more future proof, there won't be any notable prices or long term ohcl prices at first and since they require more intensive calculations than my simple server can handle at the moment, I will have to add them manually once enough data is in the database again for it to be relevant. I don't plan to add past short term data at the moment, but I may add past long term ohcl data in the next few weeks or so. I am sorry again, that it took so long for me to fix the issues. 🙏
  19. I am actually currently reworking a lot of things behind the scenes and adding the newer cards to the site and the bot. No promises, but expect to see the new iterations up and running again some time next week. 🙂 Sorry that it took so long for me to finally fix the issues. 🙏
  20. Sorting by price is planned and one of the things I will work on next, I just haven't gotten around to implementing it yet. 🙂
  21. I decided to implement a few additional feature that were suggested, and were on my list in some way anyway, so I just went ahead and coded them up. But keep in mind that they are only in a preliminary state and layout changes are highly probable. It was surprisingly fast to code with 2 long evening sessions. xD Anyway, the features are: - add cards to a favorites list that is stored locally in your browser - filter the cards on the main page with your lists or a List Code - copy the List Code of the currently filtered cards - set the favorites list with a List Code so you don't need to click on the favorite button for every card - copy the current favorites List Code so you can store it in a textfile or somewhere else in case you want to switch browsers or devices - calculate the total amount of gold to upgrade a list/all cards and how much bfp it would cost to complete your collection with some additional adjustable settings (filtering is done with a List Code) You are now probably wondering what a List Code is, it's simply a string of SMJ ids that are joined together. Example: "A1A2A3A4A5A6A7" is a list of all the newest cards (the order doesn't matter). The List doesn't have a maximum size, so go crazy with it. xD You can also place as many commas or spaces in the string if that helps you with readabiliy, but they are removed when stored in the localStorage, it also removes duplicate ids and sorts the ids for better readability when you copy it again. I set it up to allow the addition of other personal lists in the future, but I haven't coded that yet. Nonetheless, you should be able to adjust the value of the "lists" key in your localStorage to manually add another list and use it on the main page. 🙂 I haven't tested every little detail yet, so please tell me if you notice any weird behavior/have problems with the usability and have a better suggestion. On a side note, I also fixed a few bugs (Mini Booster values were wrong, Card Auction Details didn't change when the card changed) and added some tooltips here and there. Next I really have to fix the prices, since the Long Term and Notables data haven't updated for a few days and the I should finally migrate the old data from before the patch 🙈
  22. my cardSlug is also just generated with this as a basis: https://hub.backend.skylords.eu/api/auctions/cards?id=all just make everything lower-case, add "-promo" if it's a promo, add "-r"/"-p"/"-g"/"-b" for the respective affinities and in case of Protector's Seal add either "-tl" or "-ls". but if there would ever be a card that needs all 3 different extensions I would probably go with the order: color -> promo -> affinity, just as a suggestion. 🙂 I will expose it in the next patch (hopefully before this sunday), then you can use it for your mapping. I only created enums for most of the static card data (like color, rarity, edition, affinity), but my ID, cardSlug, cardName and official card ID is in all of them. I use cardSlug for the mapping most of the time, since all my data objects are set up to always have a cardSlug, but in theory I could just get rid of the cardSlugs and replace it with my own ID everywhere, but having it readable if I need to look something up helps and also sometimes there is more than one instance of a card, like in the details. so I only use my ID, in cases where there is only one instance of a card, like with buyouts, notables, or the static data, as the _id should never change. I used the cardSlug for that in the beginning, but then Lord Cyrian changed, so I switched to the official id, but then Plague changed. xD
  23. yes I have, I just forgot to expose it through an api 🙈 (the cards have my own enums though, so not sure how usefull that will be for other people)
  24. these might also interest you then: 🙂 https://smj.cards/api/buyouts (current buyouts by card) https://smj.cards/api/details (current details by auction) the full data from the details api will be used by the reinstation of the deals page once it's done, but currently it is only used by the current auctions at the bottom of each card page 🙂 lol, didn't notice that, but yeah sucks to be nox trooper xD Luckily there is at least no card with 500 as the id, xD I should be able to change that, but I don't think that many people look for nox trooper by it's official id either way. xD
  25. totally forgot about that one and that I didn't take it down yet 🙈 I still don't know why you would need the full table view for that? Were you scraping the site for the values before? If so, you could have just used the same apis that the site uses. 🙂 https://smj.cards/api/notables might give you the data that you are looking for. (I still have some problems updating the values though, because of the way they are generated from the database. so they are not always correct yet. all other price apis should be accurate though, it's just this one that's been bugging me even on the old site...) I wouldn't call it a masterpiece but thanks. 🙂 (I cut too many corners for my taste to have it ready sooner. 🙈)
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use