Clutch152 / scripts

Collection of scripts for the lazy ... >.>
162 stars 78 forks source link

Ammo courses on alms #41

Open wulfiebard opened 3 years ago

wulfiebard commented 3 years ago

Anyone have a code that works? I've tried the ones I normally use for alms courses with no luck

Hectoronian commented 3 years ago

Anyone have a code that works? I've tried the ones I normally use for alms courses with no luck

Hi wulfiebard, do you have the course id of the courses you've tried?

wulfiebard commented 3 years ago

I've tried every code that's posted in the alms master list to no avail.

smillysmile commented 3 years ago

need help with a code for Defense Ammunition Center_Ammo-31-DL: Environmental Considerations for Ammunition Personnel (00069872). there is no answers on quizlet

Anyone have a code that works? I've tried the ones I normally use for alms courses with no luck

Hi wulfiebard, do you have the course id of the courses you've tried?

TH3MoBBv2 commented 3 years ago

Use this code on the Lesson and the test it works on both of them.

test=document.frames[1].frames[1].frames[1].parent.API_1484_11; test.dataModelInterface.root.containers.cmi.elements.scaled_passing_score.writeable=true;

r=0; while(r < 0.8 || r > 1){ r=Math.floor((Math.random() * 100))/100; }

test.SetValue("cmi.scaled_passing_score", 0.8); test.SetValue("cmi.score.scaled", r); test.SetValue("cmi.completion_status", "completed"); test.SetValue("cmi.success_status", "passed"); test.SetValue("cmi.score.raw", r*100); test.SetValue("adl.nav.request", "continue");

test.completeUserSession(true);

smillysmile commented 3 years ago

Use this code on the Lesson and the test it works on both of them.

test=document.frames[1].frames[1].frames[1].parent.API_1484_11; test.dataModelInterface.root.containers.cmi.elements.scaled_passing_score.writeable=true;

r=0; while(r < 0.8 || r > 1){ r=Math.floor((Math.random() * 100))/100; }

test.SetValue("cmi.scaled_passing_score", 0.8); test.SetValue("cmi.score.scaled", r); test.SetValue("cmi.completion_status", "completed"); test.SetValue("cmi.success_status", "passed"); test.SetValue("cmi.score.raw", r*100); test.SetValue("adl.nav.request", "continue");

test.completeUserSession(true);

Enter in the entire thing?

TH3MoBBv2 commented 3 years ago

Use this code on the Lesson and the test it works on both of them. test=document.frames[1].frames[1].frames[1].parent.API_1484_11; test.dataModelInterface.root.containers.cmi.elements.scaled_passing_score.writeable=true; r=0; while(r < 0.8 || r > 1){ r=Math.floor((Math.random() 100))/100; } test.SetValue("cmi.scaled_passing_score", 0.8); test.SetValue("cmi.score.scaled", r); test.SetValue("cmi.completion_status", "completed"); test.SetValue("cmi.success_status", "passed"); test.SetValue("cmi.score.raw", r100); test.SetValue("adl.nav.request", "continue"); test.completeUserSession(true);

Enter in the entire thing?

Yes the entire thing.

GotEmCoach commented 3 years ago

https://github.com/Clutch152/scripts/blob/Advanced/Skillport/mitmproxy_instructions.md

Alternate method for research purposes

smillysmile commented 3 years ago

Use this code on the Lesson and the test it works on both of them. test=document.frames[1].frames[1].frames[1].parent.API_1484_11; test.dataModelInterface.root.containers.cmi.elements.scaled_passing_score.writeable=true; r=0; while(r < 0.8 || r > 1){ r=Math.floor((Math.random() 100))/100; } test.SetValue("cmi.scaled_passing_score", 0.8); test.SetValue("cmi.score.scaled", r); test.SetValue("cmi.completion_status", "completed"); test.SetValue("cmi.success_status", "passed"); test.SetValue("cmi.score.raw", r100); test.SetValue("adl.nav.request", "continue"); test.completeUserSession(true);

Enter in the entire thing?

Yes the entire thing.

getting a uncaught type error. cannot read property 1

TH3MoBBv2 commented 3 years ago

Use this code on the Lesson and the test it works on both of them. test=document.frames[1].frames[1].frames[1].parent.API_1484_11; test.dataModelInterface.root.containers.cmi.elements.scaled_passing_score.writeable=true; r=0; while(r < 0.8 || r > 1){ r=Math.floor((Math.random() 100))/100; } test.SetValue("cmi.scaled_passing_score", 0.8); test.SetValue("cmi.score.scaled", r); test.SetValue("cmi.completion_status", "completed"); test.SetValue("cmi.success_status", "passed"); test.SetValue("cmi.score.raw", r100); test.SetValue("adl.nav.request", "continue"); test.completeUserSession(true);

Enter in the entire thing?

Yes the entire thing.

getting a uncaught type error. cannot read property 1

Are you using Internet Explorer?

smillysmile commented 3 years ago

Use this code on the Lesson and the test it works on both of them. test=document.frames[1].frames[1].frames[1].parent.API_1484_11; test.dataModelInterface.root.containers.cmi.elements.scaled_passing_score.writeable=true; r=0; while(r < 0.8 || r > 1){ r=Math.floor((Math.random() 100))/100; } test.SetValue("cmi.scaled_passing_score", 0.8); test.SetValue("cmi.score.scaled", r); test.SetValue("cmi.completion_status", "completed"); test.SetValue("cmi.success_status", "passed"); test.SetValue("cmi.score.raw", r100); test.SetValue("adl.nav.request", "continue"); test.completeUserSession(true);

Enter in the entire thing?

Yes the entire thing.

getting a uncaught type error. cannot read property 1

Are you using Internet Explorer?

Chrome

TH3MoBBv2 commented 3 years ago

Use this code on the Lesson and the test it works on both of them. test=document.frames[1].frames[1].frames[1].parent.API_1484_11; test.dataModelInterface.root.containers.cmi.elements.scaled_passing_score.writeable=true; r=0; while(r < 0.8 || r > 1){ r=Math.floor((Math.random() 100))/100; } test.SetValue("cmi.scaled_passing_score", 0.8); test.SetValue("cmi.score.scaled", r); test.SetValue("cmi.completion_status", "completed"); test.SetValue("cmi.success_status", "passed"); test.SetValue("cmi.score.raw", r100); test.SetValue("adl.nav.request", "continue"); test.completeUserSession(true);

Enter in the entire thing?

Yes the entire thing.

getting a uncaught type error. cannot read property 1

Are you using Internet Explorer?

Chrome

The code only works on Internet Explorer

smillysmile commented 3 years ago

Use this code on the Lesson and the test it works on both of them. test=document.frames[1].frames[1].frames[1].parent.API_1484_11; test.dataModelInterface.root.containers.cmi.elements.scaled_passing_score.writeable=true; r=0; while(r < 0.8 || r > 1){ r=Math.floor((Math.random() 100))/100; } test.SetValue("cmi.scaled_passing_score", 0.8); test.SetValue("cmi.score.scaled", r); test.SetValue("cmi.completion_status", "completed"); test.SetValue("cmi.success_status", "passed"); test.SetValue("cmi.score.raw", r100); test.SetValue("adl.nav.request", "continue"); test.completeUserSession(true);

Enter in the entire thing?

Yes the entire thing.

getting a uncaught type error. cannot read property 1

Are you using Internet Explorer?

Chrome

The code only works on Internet Explorer

tested. works perfectly for the course content. Tried on the test, it said it was passed but would not let me complete the survey portion to complete the course. Also is there a general code that works on any alms course?

phaynes74 commented 1 year ago

this code doesnt seem to work anymore any suggestions