Skip to content

Instantly share code, notes, and snippets.

@lethak
Last active August 29, 2015 14:16
Show Gist options
  • Save lethak/ff134ee32d637b56ebeb to your computer and use it in GitHub Desktop.
Save lethak/ff134ee32d637b56ebeb to your computer and use it in GitHub Desktop.
RobertsSpaceIndustries.com StarCitizen Orion Minigame Auto Success
//https://robertsspaceindustries.com/comm-link/engineering/14535-Orion-Vault-A-Loan-In-The-Verse
window.ltkOrionMinigameHelper = {
uid:null,
phase:null,
init: function(){
console.info("== LTK Orion Minigame Helper == init");
window.ltkOrionMinigameHelper.uid = "";
window.ltkOrionMinigameHelper.phase = 0;
window.ltkOrionMinigameHelper.apiCall();
},
samePhase: function(){
console.info("== LTK Orion Minigame Helper == samePhase");
setTimeout(window.ltkOrionMinigameHelper.apiCall, 2000);
},
nextPhase: function(){
console.info("== LTK Orion Minigame Helper == nextPhase");
window.ltkOrionMinigameHelper.phase++;
if(window.ltkOrionMinigameHelper.phase<3)
setTimeout(window.ltkOrionMinigameHelper.apiCall, 2000);
else
window.alert('== LTK Orion Minigame Helper == success');
},
apiCall: function(){
console.info("== LTK Orion Minigame Helper == apiCall", this);
RSI.Api.Minigame.initPhase(window.ltkOrionMinigameHelper.phaseCallback, {"game":"orion","uid":window.ltkOrionMinigameHelper.uid,"phase": window.ltkOrionMinigameHelper.phase})
},
phaseCallback: function(e)
{
if(e.success)
{
window.ltkOrionMinigameHelper.uid=e.data;
ltkOrionMinigameHelper.nextPhase();
}
else
{
ltkOrionMinigameHelper.samePhase();
}
}
};
window.ltkOrionMinigameHelper.init();
@lethak
Copy link
Author

lethak commented Feb 27, 2015

Start a new game then open a javascript console (F12) and copy/paste/execute this code into it.
Then wait a -very-very-very- loooong time, a popup will inform you when its finished.

It is taking so long because they have included a "plausible" gameplay session duration check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment