Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MRdNk/c70cafdc8553b2ca50f4db959674a4c0 to your computer and use it in GitHub Desktop.
Save MRdNk/c70cafdc8553b2ca50f4db959674a4c0 to your computer and use it in GitHub Desktop.
Battlelog: BF4: Open all battlepacks
//submit one, look at the network tab for the post-check-sum
//paste into console
var postCheckSum = "5f5a7b128a";
$(".battlepack-item .btn").each(function() {
var id = $(this).attr("data-open-pack");
$.post("https://battlelog.battlefield.com/bf4/battlepacks/openpack/"+id, {"packId":id, "post-check-sum":postCheckSum});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment