Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- just paste into console and it will print the number of players and all their names into a list.
- obfHandler from F.
- */
- window.obfKey = {
- players: function(){return obfHandler.find("ig.game.",".player.length;++b")},
- };
- 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]}};
- window.init = function() {
- a = $.get("manyland.js"), a.always(function() {
- obfHandler.source = a.responseText, obfHandler.reverseSource = obfHandler.reverse(a.responseText), obfHandler.key = window.obfKey
- obfHandler.createDictionary()
- })
- }
- init()
- setTimeout(function(){
- consoleref.log("there are currently " + ig.game[players].player.length + " players in the area")
- consoleref.log("including: ")
- for(var curPlayer in ig.game[players].player){
- consoleref.log(ig.game[players].player[curPlayer].screenName + "\n")
- }
- }, 500);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement