izenn / padbox Goto Github PK
View Code? Open in Web Editor NEWSuccessor to PadHerder
Home Page: http://padbox.izenn.net/
Successor to PadHerder
Home Page: http://padbox.izenn.net/
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])
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
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
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
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)
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...
Pengdra/Moltdra do not stack and do not have latents.
For example, 890 uses card_0890.png, which is a 404. I suspect all cards with <4 digits have this issue. The correct image is card_00890.png. Needs a zero-fill to 5 for consistency.
ex:
05772
05657
05650
05657
05650
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
image assets exist, data missing from database??
after uploading to update the box, the html file was not getting updated properly
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.