Giter VIP home page Giter VIP logo

padherder-sync's People

Contributors

kruegerb-rv avatar madcowfred avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

padherder-sync's Issues

Monsters no longer possessed by a user are not being removed during sync

Opening this ticket as a continuation of another ticket, but in the more appropriate repository:
madcowfred/padherder-issues#244

To summarize, removing monsters is tricky because it causes cascading removal of any teams of which that monster is a leader and leaves holes on any teams which contain that monster as a sub, so it is not currently supported.

I propose that a good compromise would be to remove a monster if and only if it is not a member (leader or sub) of any team the user has created. This will cover the vast majority of cases (monsters being consumed during Power-up Fusion as XP or skill level fodder, or trivial monsters that have been sold for coins). For any monsters that are on at least one team the user has created, it makes sense for them to need to use the PADHerder website to remove them manually, where they will receive appropriate warnings about any potential problems the removal may create for their teams.

I've implemented this logic and it appears to work, returning the expected 204 No Content HTTP status for the DELETE request, but I am still seeing the monster in my account. Any idea as to why the monster isn't actually being removed?

Padherder sync not syncing all monsters.

Hi,

My first time using padherder sync only synced 13 monsters from my monster box. I currently have 82 of 105 within my box. Below is some of the json data I gathered and saved within a text file. None of those monsters were transferred into my padherder

{"cuid":844,"exp":0,"lv":1,"slv":1,"mcnt":0,"no":167,"plus":[0,0,0,0]},{"cuid":856,"exp":0,"lv":1,"slv":1,"mcnt":2,"no":306,"plus":[0,0,0,0]},{"cuid":858,"exp":0,"lv":1,"slv":1,"mcnt":2,"no":601,"plus":[0,0,0,0]},{"cuid":859,"exp":0,"lv":1,"slv":1,"mcnt":2,"no":306,"plus":[0,0,0,0]},{"cuid":861,"exp":0,"lv":1,"slv":1,"mcnt":2,"no":601,"plus":[0,0,0,0]},{"cuid":863,"exp":0,"lv":1,"slv":1,"mcnt":0,"no":601,"plus":[0,0,0,0]},{"cuid":864,"exp":0,"lv":1,"slv":1,"mcnt":2,"no":601,"plus":[0,0,0,0]}

Windows v0.1.2 broken

Produces the output:

Retrieving monster data from PADherder API...
Traceback (most recent call last):
File "padherder_sync.py", line 324, in <module>
File "padherder_sync.py", line 123, in main
File "requests\sessions.pyo", line 395, in get
File "requests\sessions.pyo", line 383, in request
File "requests\sessions.pyo", line 486, in send
File "requests\adapters.pyo", line 385, in send
requests.exceptions.SSLError: [Errno 185090050] _ssl.c:340: error:0B084002:x509
certificate routines:X509_load_cert_crl_file:system lib

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.