Advertisement
R4TB0Y

manyland players in area script (WORKS ON ALL VERSIONS)

Apr 26th, 2018
10,276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2. just paste into console and it will print the number of players and all their names into a list.
  3. obfHandler from F.
  4. */
  5.  
  6.  
  7. window.obfKey = {
  8.     players: function(){return obfHandler.find("ig.game.",".player.length;++b")},
  9. };
  10.  
  11. window.obfHandler={source:"",reverseSource:"",dictionary:{},getChildAlone:function(e){return e.split(".").slice(-1)[0]},reverse:function(e){return e.split("").reverse().join("")},rightIndexOf:function(e,n){return t=this.reverseSource,n=n?t.length-n:null,t.length-t.indexOf(this.reverse(e),n)},isEmpty:function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0},item:function(e,t){return startLoc=this.source.indexOf(e),endLoc=this.source.indexOf(t)+t.length-startLoc,this.source.substr(startLoc,endLoc)},path:function(e,t){return startLoc=this.source.indexOf(e),endLoc=this.source.indexOf(t)-startLoc,this.source.substr(startLoc,endLoc)},cleanOwn:function(e,t){return e.slice(e.lastIndexOf(t),e.length)},clean:function(e){return e.slice(e.lastIndexOf("ig.game."),e.length)},find:function(e,t){return lastIndex=this.source.indexOf(t),firstIndex=this.rightIndexOf(e,lastIndex),this.source.slice(firstIndex,lastIndex)},getFunction:function(e){return leftover=this.source.slice(0,this.source.indexOf(e)),leftover.slice(leftover.lastIndexOf(",")+1,leftover.lastIndexOf(":function("))},defind:function(e,t){return e+this.find(e,t)},getParent:function(e){return e.split(".").slice(0,-1).join(".")},createDictionary:function(){for(var e in this.key)this.dictionary[e]=this.key[e](),window[e]=this.dictionary[e]}};
  12. window.init = function() {
  13.     a = $.get("manyland.js"), a.always(function() {
  14.         obfHandler.source = a.responseText, obfHandler.reverseSource = obfHandler.reverse(a.responseText), obfHandler.key = window.obfKey
  15.         obfHandler.createDictionary()
  16.     })
  17. }
  18. init()
  19. setTimeout(function(){
  20. consoleref.log("there are currently " + ig.game[players].player.length + " players in the area")
  21. consoleref.log("including: ")
  22. for(var curPlayer in ig.game[players].player){
  23.     consoleref.log(ig.game[players].player[curPlayer].screenName + "\n")
  24. }
  25. }, 500);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement