Git Product home page Git Product logo

Comments (4)

Clutch152 avatar Clutch152 commented on September 17, 2024 1

I understand a bit about JS but im trying to learn how to find the variable that represents the course "completion status" or "course leght" in order to tell the script that its completed or we are at the end.

Unfortunatly it isn't always so obvious or clean cut like that. Some are more complicated than others and require a fair amount of stuff to be considered "complete".
I typically will start from the end and work backwards. Find out where the page is closed automatically, typically represented as a "top.close" somewhere, and look for the calls to it backwards. Eventually you may run across a function that displays what is required to signify a completion. Sometimes you might just find an easy method that is called that sets it as complete for you. Once you find something make a note of it and where you found it and start tracing it and experimenting with it. Use breakpoints in your tracebacks to stop the code when it is reached. When you do that you can see what each variable actually contains and you can use that to trace back where it changes, when, and why causing you to eventually find a way to alter it or set it manually. Make sure that when you use breakpoints to watch variables that you make sure what you change actually sticks because some times the developer of the course will add in a check somewhere later on that may change it back if some other variable isn't set properly.
Just experiment and have fun :)

from scripts.

Clutch152 avatar Clutch152 commented on September 17, 2024 1

Also, a vast majority of the only courses for the military are based off a run time environment called Scorm. Google it and you might find some calls you can use to help figure out what data is stored. you can google Scorm API or Scorm methods or a combination of those words and find some good stuff. You will even find the one I used for JKO. "cmi.completion_status"

from scripts.

gindy39 avatar gindy39 commented on September 17, 2024

same boat. I understand a bit about JS but im trying to learn how to find the variable that represents the course "completion status" or "course leght" in order to tell the script that its completed or we are at the end. At some point in the past a lot of the classes used the same variable as I was able to skip most courses using the SSD scripts, but I think they update it because they don't work anymore and I see other courses with different variables as well. I need some courses that I bet maybe 1 other person that knows this page exist will need so I'm trying to find it myself and then post it, unless somebody already knows the answer lol

from scripts.

xKira-4 avatar xKira-4 commented on September 17, 2024

I am also interested in learning how to code these scripts myself. I would be willing to join a discord if you made a server.

from scripts.

Related Issues (20)

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.