Coder Social home page Coder Social logo

padbox's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

padbox's Issues

JSON IDs not permuted to in-game IDs.

If a user ID in the JSON is 123456789, it should be displayed as 159638247 (which is the in-game display).

Code:

def dispID(ID):
    """Permutes internal PAD ID to the displayed form.
    """
    ID = str(ID).zfill(9)
    return ''.join(ID[x-1] for x in [1,5,9,6,3,8,2,4,7])

link post-upload always redirect to one specific ids box

Really small thing, just that after uploading a json file its linked to your own box rather than the id in the field when i hit upload.

I did get a debug warning message but its likely unrelated. (included for completeness)

Processor Output:
Wide character in print at ./pad.pl line 801.
done

https certs expired on site

Websites prove their identity via certificates, which are valid for a set time period. The certificate for padbox.izenn.net expired on 11/25/2019.

Error code: SEC_ERROR_EXPIRED_CERTIFICATE

i know thi isnt technically an issue with the repo but an issue with the the config on the site but... hopefully this is the right spot for it anyway

No Feedback for error cases

It appears that when there is an error decoding json that the site just continues along as if nothing happened in error and will provide links for where you should get directed to if your box was setup properly, or at least i believe this was what happened.

Here is what i did when attempted to use the site you've hosted.

First (since i had it on hand) i tried uploading an old json dump from padherder proxy i had, from 2018, and everything worked well, box was populated and i was happy.
Then seeing that things appeared to work i made a new dump and tried to import it, and it instantly gave me a link to my box instead of the processing time it took last time, and nothing appeared to be different.
Finally to sort of check that i haven't made an error in assuming how things worked i tried uploading the new json dump to a user id one off from my own that happened to not exist yet and checked to see if it was an issue with updating or something else and it again passed thru instantly to the next screen providing links to the box data i uploaded except both of these links 404'd.

If it helps with determining the actual error for why this failed the id 312725317 was the one i used to test, and i am pretty sure i have the most recent padherder proxy, so i don't think that would be the issue... but i am open to helping figure out what caused the actual error as well

card database not updating correctly?

this is a combination of an assumption on my part as to how things work and alot of symptoms ive found, all which can be viewed on my box's page: https://padbox.izenn.net/box/312725316.html

some creatures have the wrong picture:
for example my kiriko (1973) shows up with kagato (1983)'s picture in the rem+ tab and the team/friends tab

or searching "kag" in my mats tab shows 3 creatures which have the wrong picture for them (by number: 1982, 1944, 1945)
for these cases the awakenings/stats/names/links all seem to be correct so its just the picture that got shuffled at some point?
this was the case before and after i uploaded new box data

missing name data for senri (not sure if others are effected, this is the only one i saw)
the name was shown as "*****" stats/ picture /etc seem to be right otherwise

missing stats:
my shiki(5578) im assuming has no stats data in your db and has the following issues (im assuming this extend to other creatures, but i only have samurai showdown examples, which i guess makes sense)

  • name shows up as "????"
  • shown as having the wrong attributes (mono fire/balanced)
  • no awakenings shown (but the super awakening is shown properly?)
  • skill/rarity/mp value isnt shown properly (+'s, the link, picture, and level is though)
  • several showdown characters show up as mats when they arent, even if they feel like it

when i uploaded my box with the samurai showdown characters i did pick the ilmina link option, so im not sure if thats what caused some of the newer cards to update correctly/att all, as im assuming your using those links to update your card db for when new cards are added

also as an addendum since this regressed(?) again and its not a huge deal to me, but is still something is: the link page(results.php) after updating my box linkekd specifically to your box again, rather than the id i supplied. i have both the mobile link and the desktop link bookmarked so its not a big deal to me, but...

404 on own page - can't create box

The following is what the webpage shows me:

Your box has been processed and is available here
A simplified mobile friendly box list can be found here
Processor Output:

Can't locate JSON.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ./pad.pl line 4.
BEGIN failed--compilation aborted at ./pad.pl line 4.

These were the files I tried to upload, in order:
captured_data.txt
pad.json
captured_data.txt

box not updating

after uploading to update the box, the html file was not getting updated properly

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.