Clutch152 / scripts

Collection of scripts for the lazy ... >.>

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ammo 45

infamousjaybm opened this issue · comments

Does anyone have the script for ammo 45 on alms the one I got keeps saying undefined

Defense Ammunition Center_Ammo-45-DL: Introduction to Ammunition (00073039)

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);

1VM421478:1 Uncaught TypeError: Cannot read properties of undefined (reading '1')
at :1:21
(anonymous) @ VM421478:1

this pops up

Any update?

any updates on this being updated? the code doesnt work anymore

I'm no longer in the military so I can't test codes anymore, sorry!