Clutch152 / scripts

Collection of scripts for the lazy ... >.>
166 stars 80 forks source link

SSD 1 #3

Closed WyvernDuckie closed 2 years ago

WyvernDuckie commented 6 years ago

Every time I launch SSD 1 and inject the script into the module I get a 'scorm_api' is undefined error. Is there a fix to this?

iEatNoodlez commented 6 years ago

http://www.noodlez.org/paste/paste.php?id=3

Updated for you. Enjoy

Diablito commented 6 years ago

iEatNoodlez code is saying "'sco' is undefined" and how exactly do you target the frameset?

iEatNoodlez commented 6 years ago

@Diablito you need to look at the top left of the console.

Diablito commented 6 years ago

@iEatNoodlez i found the select element but where is the frame set? its not showing up with CTRL+F, also it still say SCO is undefined

iEatNoodlez commented 6 years ago

@Diablito Sorry for the late reply. Below you will find out what I'm talking about.

example
Diablito commented 6 years ago

@iEatNoodlez ill give it another go, and what exactly do you do is the SCO is undefined? and is there anywhere else i can contact you?

iEatNoodlez commented 6 years ago

@Diablito Feel free to use Discord or email Email me@noodlez.org

Diablito commented 6 years ago

@iEatNoodlez just sent the request on discord, i appreciate it.

dashboardabc commented 6 years ago

idk bout all that but after testing a bunch i found this code and this works for me instantly for lessons. and a lot simpler. Just load up lesson as usual open console f12, just paste

SetLesson_Status("completed");

and exit. works instantly. For the tests i just follow noodlez method

finished the whole thing in like 20 min

BTW before you exit the first popup(navigation page) after inputing the code, let the page refresh itself to let it work

rcbdakota commented 6 years ago

Noodlez test method isn't working for me. it says 'SCORMAP' is unidentified

dashboardabc commented 6 years ago

whats not working? for the test? his method for the test works but for everything else use the input i put up

rcbdakota commented 6 years ago

The portion for the tests aren't working for me.

Thank you,

Dakotajames E. Crawfoot Phone: (346) 300-7676 E-mail: rcbdakota@gmail.com Work hours: 9:00am-5:00pm M-F Hawaii Time

On Wed, May 30, 2018 at 5:26 PM, dashboardabc notifications@github.com wrote:

whats not working? for the test? his method for the test works but for everything else use the input i put up

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Clutch152/scripts/issues/3#issuecomment-393389847, or mute the thread https://github.com/notifications/unsubscribe-auth/AcykXvQ2RkVJNS9jBVDBetvaKgXV_m8uks5t32LSgaJpZM4SOGLg .

klawls commented 6 years ago

Can somebody please tell me how to get to the navigation page and then open document 11 in console?

dashboardabc commented 6 years ago

Can somebody please tell me how to get to the navigation page and then open document 11 in console?

The navigation page is the first window that pops up when you click to start a new lesson(the page you have to click on a second time for the actual lesson window to pop up). When i tried using that method i had no luck. try my way its a lot easier and faster imo.

GregAllen95 commented 6 years ago

Do these still work? I'm using IE11 and when I go to console there is no textbox to enject code.

lToris commented 6 years ago

Isnt working anymore in the test portion the system doesnt let you press F12 or do a right click

GregAllen95 commented 6 years ago

@IToris I just used the scripts two weeks ago and they worked. When the test window pops up you have to immediately right click it and hit "Inspect Element" and that will bring up the console. If you take too long you won't be able too.

lToris commented 6 years ago

Tanks im about to go to the library and try to do it

On Fri, Nov 9, 2018, 11:44 GregAllen95 notifications@github.com wrote:

@itoris https://github.com/itoris I just used the scripts two weeks ago and they worked. When the test window pops up you have to immediately right click it and hit "Inspect Element" and that will bring up the console. If you take too long you won't be able too.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Clutch152/scripts/issues/3#issuecomment-437419544, or mute the thread https://github.com/notifications/unsubscribe-auth/Aq0tpd0XoFi9k5ORqdRtJxx_W3Zh-dokks5utbECgaJpZM4SOGLg .

wulfiebard commented 5 years ago

To the people having the scorm issues, TAKE OFF COMPATIBILITY VIEW. then you can select the correct target and input noodlez. (also you may have to click from 7 to 11, top right of console) youll have to call the helpdesk for them to verify the passing score but its still faster than trial and error.-bard verified working 12-30-18

wulfiebard commented 5 years ago

SetLesson_Status("completed");

add top.close(); to the end i.e------ SetLesson_Status("completed");top.close(); ------------extra step towards true laziness

therikoxide commented 5 years ago

I think they killed the Noodlez code. Returns "Expected ';' " when it is entered.

wulfiebard commented 5 years ago

Worked for me 2 days ago, what module?

On Thu, Feb 7, 2019, 02:49 therikoxide <notifications@github.com wrote:

I think they killed the Noodlez code. Returns "Expected ';' " when it is entered.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Clutch152/scripts/issues/3#issuecomment-461234705, or mute the thread https://github.com/notifications/unsubscribe-auth/AsHmXVd6rnKUWSuwtidY_iscLl8LqYBiks5vK2omgaJpZM4SOGLg .

therikoxide commented 5 years ago

SSDI Mod3 Module 3 Introduction and SSDI Mod3 Casualty Assistance

I enabled compatability > loaded the module > waited until the content popup loaded, switched back to the check mark popup > opened the console > set it to 11 > then set it to the correct .js target > then ran the script (both line by line and as a whole). Same error every time.

Tried loading it without compatability mode and the module won't load. Also appended your top.close, but received the same error. :/

wulfiebard commented 5 years ago

Click over to issues click ssd1 scroll to the bottom you'll see my code

On Thu, Feb 7, 2019, 06:46 therikoxide <notifications@github.com wrote:

SSDI Mod3 Module 3 Introduction and SSDI Mod3 Casualty Assistance

I enabled compatability > loaded the module > waited until the content popup loaded, when back to the check mark popup > opened the console > set it to 11 > then set it to the correct .js target > then ran the script (both line by line and as a whole). Same error every time.

Tried loading it without compatability mode and the module won't load. Also appended your top.close, but received the same error. :/

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Clutch152/scripts/issues/3#issuecomment-461278758, or mute the thread https://github.com/notifications/unsubscribe-auth/AsHmXWqtM0JD17J7-wrn3dS5aTEEgZN4ks5vK6GbgaJpZM4SOGLg .

wulfiebard commented 5 years ago

Nvm reread your msg, put back in compatibility mode refresh alms go back into module don't worry about the 11 keep on 7 and enter my code

On Thu, Feb 7, 2019, 07:07 Kyle .Fisher <lacocowulfie@gmail.com wrote:

Click over to issues click ssd1 scroll to the bottom you'll see my code

On Thu, Feb 7, 2019, 06:46 therikoxide <notifications@github.com wrote:

SSDI Mod3 Module 3 Introduction and SSDI Mod3 Casualty Assistance

I enabled compatability > loaded the module > waited until the content popup loaded, when back to the check mark popup > opened the console > set it to 11 > then set it to the correct .js target > then ran the script (both line by line and as a whole). Same error every time.

Tried loading it without compatability mode and the module won't load. Also appended your top.close, but received the same error. :/

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Clutch152/scripts/issues/3#issuecomment-461278758, or mute the thread https://github.com/notifications/unsubscribe-auth/AsHmXWqtM0JD17J7-wrn3dS5aTEEgZN4ks5vK6GbgaJpZM4SOGLg .

wulfiebard commented 5 years ago

dont worry about clicking over to jps just f12 it and paste-> play button

therikoxide commented 5 years ago

Thanks! Not sure what was causing it earlier, but good to go after following your last two instructions.

wulfiebard commented 5 years ago

no problem, when you get to module 4 last one called map reading use the main script code not mine or noodlez, only one that works

wulfiebard commented 5 years ago

for the module exams use noodlez test method to the T, it won't immediately display completed

Apocro commented 5 years ago

going to post this here since it is still semi-active.


Trying to do the Exams in SSD3

I click Launch, wait for the navigation to load, i inspect element and get SCOSetValue is undefined
I try the code in the Navigation window and get Object doesn't support property or method

I can't target cp3engine as seen here http://www.noodlez.org/paste/paste.php?id=3

Please... any advice
wulfiebard commented 5 years ago

Does top right of console say 11? Little screen

On Wed, Feb 27, 2019, 04:10 Apocro <notifications@github.com wrote:

going to post this here since it is still semi-active.

Trying to do the Exams in SSD3

I click Launch, wait for the navigation to load, i inspect element and get SCOSetValue is undefined I try the code in the Navigation window and get Object doesn't support property or method

I can't target cp3engine as seen here http://www.noodlez.org/paste/paste.php?id=3

Please... any advice

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Clutch152/scripts/issues/3#issuecomment-467681883, or mute the thread https://github.com/notifications/unsubscribe-auth/AsHmXSWF-Rp0-m7UtOjXP6j2cwpcIN0xks5vRdr1gaJpZM4SOGLg .

Apocro commented 5 years ago

Yes,

I've tried document mode emulation 7,8,9,10,11 (7 and 8 fail to load correctly)

Apocro commented 5 years ago

I got it working using a mash of SSD2 code;

Just press F12 once the test page loads, go into console, paste this and submit.

score=0;
while(score < 80 || score > 100){
    score=Math.floor(Math.random()*1000)
}
cwsObj.getCourseCompleted=function(){return true};
cwsObj.user.courseScore=score;
cwsObj.session.finished();
wulfiebard commented 5 years ago

Registered as complete? If so add it to ssd3 code, and which code worked under lessons?

On Wed, Feb 27, 2019, 22:40 Apocro <notifications@github.com wrote:

I got it working using a mash of SSD2 code;

Just press F12 once the test page loads, go into console, paste this and submit.

score=0; while(score < 80 || score > 100){ score=Math.floor(Math.random()*1000) } cwsObj.getCourseCompleted=function(){return true}; cwsObj.user.courseScore=score; cwsObj.session.finished();

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Clutch152/scripts/issues/3#issuecomment-468001453, or mute the thread https://github.com/notifications/unsubscribe-auth/AsHmXYwFakz_1Uydi-DAs2Q_P9QBEUvSks5vRt8UgaJpZM4SOGLg .

Apocro commented 5 years ago

Yup works great! I'll add it.

I didn't use any code for the actual lessons

arcticsoldier commented 5 years ago

So currently trying to complete SSD 1 when doing the lessons im pasting a mix of

sco.NewdoLMSSetValue('cmi.completion_status','completed'); sco.NewdoLMSSetValue('cmi.success_status','passed'); sco.NewdoLMSSetValue('cmi.score.raw', 90); sco.doLMSCommit();

SetLesson_Status("completed");top.close();

in 7, 11 and neither are working

arcticsoldier commented 5 years ago

When you guys were doing the Exams was the f12 function disabled

wulfiebard commented 5 years ago

tricky trick on that one, as soon as you click onto the exam itll pop up a box and then another box for the quiz itself, you have to quickly right click on the exam box (anywhere) and click "inspect element", if you dont do it fast enough just exit the exam and retry til it works. Good luck

On Tue, Mar 19, 2019 at 4:30 PM arcticsoldier notifications@github.com wrote:

When you guys were doing the Exams was the f12 function disabled

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Clutch152/scripts/issues/3#issuecomment-474369321, or mute the thread https://github.com/notifications/unsubscribe-auth/AsHmXVwjKCao2YZphJxX3RktPZXrdbQUks5vYOZZgaJpZM4SOGLg .

wulfiebard commented 5 years ago

also for the lessons use this code SetLesson_Status("completed");top.close();

arcticsoldier commented 5 years ago

Damn its fast as hell, I mean the second it pops up I try and rick click and it grants me with a prompt " Use of right click function is prohibited during this exam"

wulfiebard commented 5 years ago

yeah it is, best to use shitty wifi for it, also when you try the codes for lessons do you have compatibility view off or on?

arcticsoldier commented 5 years ago

With the lessons i had to tinker with turning compatibility mode on and off and then switch to console version 5 using SetLesson_Status("completed");top.close() this string of text. Worked for the lessons just trying to break the exam

wulfiebard commented 5 years ago

noodlez method (top section for link) works great for exams just gotta follow it to the letter, keep trying on timing the click, try using a free vpn to slow down your speed some

arcticsoldier commented 5 years ago

Any specific VPN you recommend for me to use to try and slow it down a little?

wulfiebard commented 5 years ago

i personally use betternet vpn, free and relatively slower

On Wed, Mar 20, 2019 at 12:59 AM arcticsoldier notifications@github.com wrote:

Any specific VPN you recommend for me to use to try and slow it down a little?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Clutch152/scripts/issues/3#issuecomment-474601273, or mute the thread https://github.com/notifications/unsubscribe-auth/AsHmXaJEbJLseGpMgj2FBzcuQQVZ3hSIks5vYV3PgaJpZM4SOGLg .

WaffleBottoms commented 5 years ago

So I might just be stupid, but I keep getting SCO undefined. Also do i have to target frameset, and if so how do I do that.

wulfiebard commented 5 years ago

read noodles method, top right looks like a little screen

On Tue, Apr 2, 2019 at 10:41 PM WaffleBottoms notifications@github.com wrote:

So I might just be stupid, but I keep getting SCO undefined. Also do i have to target frameset, and if so how do I do that.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Clutch152/scripts/issues/3#issuecomment-479166309, or mute the thread https://github.com/notifications/unsubscribe-auth/AsHmXZM1OJ2CsGRqf0tmJAQP_zVp1UROks5vc7JSgaJpZM4SOGLg .

seang1121 commented 5 years ago

so noodlez.org isnt working i click it and get directed to hostwinds does anyone have the script/code from there for the tests????

wulfiebard commented 5 years ago

compatibility view off, switch little monitor thing in top right to 11 from 7, refresh, quickly right click and inspect element as soon as test page pops up because you cant function key it.

SCORMAPI.dataModelInterface.root.containers.cmi.elements.scaled_passing_score.writeable=true; SCORMAPI.SetValue("cmi.scaled_passing_score", 0.8); SCORMAPI.SetValue("cmi.score.scaled", 0.9); SCORMAPI.SetValue("cmi.completion_status", "completed"); SCORMAPI.SetValue("cmi.success_status", "passed"); SCORMAPI.SetValue("cmi.score.raw", 90); SCORMAPI.SetValue("adl.nav.request", "continue");

SCORMAPI.Commit(); SCORMAPI.FrameworkTerminate(); SCORMAPI.completeUserSession(true);

On Mon, Apr 15, 2019 at 1:36 AM seang1121 notifications@github.com wrote:

so noodlez.org isnt working i click it and get directed to hostwinds does anyone have the script/code from there for the tests????

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Clutch152/scripts/issues/3#issuecomment-483064300, or mute the thread https://github.com/notifications/unsubscribe-auth/AsHmXUVY83OWmqFUY6sr9u6wlF7FfwHpks5vg613gaJpZM4SOGLg .

jamicushouse commented 5 years ago

Scormapi undifined