Results 1 to 10 of 10
  1. #1
    Volly1962's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Posts
    23
    Reputation
    10
    Thanks
    6
    My Mood
    Twisted

    What is in the bag hack

    I remember seeing in a older version of a hacked client a way to see what was in a bag drop before you stood on the bag. Text would be displayed over the bag saying what was in it. This is great when farming. You know, you look in a blue bag and a common egg is in the bag (worthless) instead of the pot. Does that hack still work and if it does, where do I find it?

  2. #2
    paradoxial's Avatar
    Join Date
    Feb 2014
    Gender
    male
    Posts
    29
    Reputation
    10
    Thanks
    8
    Grab Realm Relay from the post that's called "Fixed Client For Realm Relay + Realm Relay [19.5.1]" (won't let me post a direct link sorry dude) as well as the scripts_mpgh.net.rar the script you want is called lootnotif.js and I'm sure it's in there.

  3. The Following User Says Thank You to paradoxial For This Useful Post:

    harsh1412 (03-25-2014)

  4. #3
    infern000's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Posts
    294
    Reputation
    10
    Thanks
    74
    Quote Originally Posted by paradoxial View Post
    Grab Realm Relay from the post that's called "Fixed Client For Realm Relay + Realm Relay [19.5.1]" (won't let me post a direct link sorry dude) as well as the scripts_mpgh.net.rar the script you want is called lootnotif.js and I'm sure it's in there.
    nope it aint

  5. #4
    paradoxial's Avatar
    Join Date
    Feb 2014
    Gender
    male
    Posts
    29
    Reputation
    10
    Thanks
    8
    I apologize for my failures had a derp moment.
    Code:
    // lootnotif.js
    
    var ID_MOVE = $.findPacketId("MOVE");
    var ID_UPDATE = $.findPacketId("UPDATE");
    var ID_NEW_TICK = $.findPacketId("NEW_TICK");
    var ID_CREATE_SUCCESS = $.findPacketId("CREATE_SUCCESS");
    var ID_NOTIFICATION = $.findPacketId("NOTIFICATION");
    
    var player_id = -1;
    var playerLocation = null;
    var lootbags = {};
    var lootbaglocs = {};
    var send_notif = true;
    
    var tier = 11; // Minimum tier of items to be notifi'ied
    
    var desirables = [
    					0xa20, // Def Pot
    					0xa1f, // Att Pot
    					0xa21, // Spd Pot
    					0xa34, // Vit Pot
    					0xa35, // Wis Pot
    					0xa4c, // Dex Pot
    					0xae9, // Life Pot
    					0xaea  // Mana Pot
    				];
    
    function onClientPacket(event) {
    	var packet = event.getPacket();
    	switch (packet.id()) {
    		case ID_MOVE: {
    			var time = packet.time;
    			playerLocation = packet.newPosition;
    
    			if(send_notif){
    				for(var bag in lootbags){
    					if(lootbaglocs[bag].distanceSquaredTo(playerLocation) <= 200){
    						var params = {} 
    						toNotif = "";
    
    						for(var idx in lootbags[bag]){
    							if(lootbags[bag][idx] != -1){
    								var item = $.findItem(lootbags[bag][idx]);
    								toNotif += "\\n" + item.id
    							}
    						}
    						if(toNotif == ""){
    							continue;
    						}
    						this.displayNotification(event,bag,0x00ffff,toNotif);						
    					}
    				}
    				send_notif = false;
    				$.scheduleEvent(2, "refresh_notif");
    			}
    			
    			break;
    		}
    	}
    }
    
    function onServerPacket(event) {
    	var packet = event.getPacket();
    	switch (packet.id()) {
    		case ID_CREATE_SUCCESS: {
    			player_id = packet.objectId;
    			break;
    		}
    		case ID_UPDATE: {
    			// New objects
    			for (var i = 0; i < packet.newObjs.length; i++) {
    				var objectData = packet.newObjs[i];
    				if(objectData == null)
    					break;
    
    				var type = objectData.objectType;
    
    				if(type == 1280 || type == 1283 || (type >= 1286 && type <= 1296)){
    					// new loot bag
    					var bagId = objectData.status.objectId;
    					lootbags[bagId] = [-1,-1,-1,-1,-1,-1,-1,-1];
    					lootbaglocs[bagId] = objectData.status.pos;
    
    					for (var j = 0; j < objectData.status.data.length; j++){
    						var statData = objectData.status.data[j];
    						if(statData.obf0 >= 8 && statData.obf0 <= 15){
    							if(statData.obf1 != -1){
    								var item = $.findItem(statData.obf1);
    
    								if(item.tier >= tier || item.bagType == 4 || desirables.indexOf(statData.obf1) != -1){
    									lootbags[bagId][statData.obf0 - 8] = statData.obf1;
    								}
    							}
    
    						}
    					}
    
    				}
    			}
    
    			// Removed objects
    			for (var i = 0; i < packet.drops.length; i++) {
    				var droppedObjectId = packet.drops[i];
    
    				if(lootbags[droppedObjectId] != null){
    					delete lootbags[droppedObjectId];
    					delete lootbaglocs[droppedObjectId];		
    				}
    			}
    
    			break;
    		}
    		case ID_NEW_TICK: {
    			for (var i = 0; i < packet.statuses.length; i++) {
    				var status = packet.statuses[i];
    
    				if(lootbags[status.objectId] != null){
    					for (var j = 0; j < status.data.length; j++){
    						var statData = status.data[j];
    						if(statData.obf0 >= 8 && statData.obf0 <= 15){
    							if(statData.obf1 == -1){
    								lootbags[status.objectId][statData.obf0 - 8] = statData.obf1;
    							}else{
    								var item = $.findItem(statData.obf1);
    
    								if(item.tier >= tier || item.bagType == 4 || desirables.indexOf(statData.obf1) != -1){
    									lootbags[status.objectId][statData.obf0 - 8] = statData.obf1;
    								}
    							}
    
    						}
    					}
    				}
    			}
    			break;
    		}
    	}
    }
    
    function displayNotification(event, playerObjectId, color, text) {
    	var notificationPacket = event.createPacket(ID_NOTIFICATION);
    	notificationPacket.objectId = playerObjectId;
    	notificationPacket.message = "{\"key\":\"blank\",\"tokens\":{\"data\":\"" + text + "\"}}";
    	notificationPacke*****lor = color;
    	event.sendToClient(notificationPacket);
    }
    
    function refresh_notif(event) {
    	send_notif = true;
    }

  6. #5
    The_En|D's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    Stark Industries
    Posts
    856
    Reputation
    18
    Thanks
    468
    My Mood
    Innocent
    you got it already :P

    "They say the best weapon is one you never have to fire.
    I respectfully disagree.
    I prefer the weapon you only have to fire once."

    ~ Tony Stark

  7. #6
    Volly1962's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Posts
    23
    Reputation
    10
    Thanks
    6
    My Mood
    Twisted
    I'm completely confused. I would think it would be in Actionscript, not js.

  8. #7
    JustAnoobROTMG's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    1,916
    Reputation
    185
    Thanks
    18,230
    Quote Originally Posted by Volly1962 View Post
    I'm completely confused. I would think it would be in AMV2, not js.
    Fixed

    Coding this in a proxy is far easier than in the client itself. Hence no one bothered to update nilly's loot notification SWF hack
    Due to a recent DMCA takedown attempt we had to remove Faintmako brain. Please do not paid attention to what he say or do.


  9. #8
    Knorrex's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Location
    ~
    Posts
    517
    Reputation
    15
    Thanks
    975
    My Mood
    Angelic
    Quote Originally Posted by JustAnoobROTMG View Post
    Fixed

    Coding this in a proxy is far easier than in the client itself. Hence no one bothered to update nilly's loot notification SWF hack
    I'm that guy that prefers client mods to proxy hacks

  10. #9
    The_En|D's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    Stark Industries
    Posts
    856
    Reputation
    18
    Thanks
    468
    My Mood
    Innocent
    Quote Originally Posted by Knorrex View Post
    I'm that guy that prefers client mods to proxy hacks
    Everything has its pro and cons You cant do everything with a Proxy what you can do with client mods and otherwise....

    "They say the best weapon is one you never have to fire.
    I respectfully disagree.
    I prefer the weapon you only have to fire once."

    ~ Tony Stark

  11. #10
    Knorrex's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Location
    ~
    Posts
    517
    Reputation
    15
    Thanks
    975
    My Mood
    Angelic
    Quote Originally Posted by The_En|D View Post
    Everything has its pro and cons You cant do everything with a Proxy what you can do with client mods and otherwise....
    There's nothing you can't do with a client, the opposite is indeed true though, see graphical mods

Similar Threads

  1. what up with the public hacks?
    By nh10798 in forum Combat Arms Help
    Replies: 2
    Last Post: 09-04-2010, 12:21 PM
  2. What happend to the working hacks?
    By Allan990 in forum Combat Arms Discussions
    Replies: 8
    Last Post: 05-24-2010, 04:29 AM
  3. What´s happening with the public hacks?
    By SmartAlley in forum Combat Arms Discussions
    Replies: 17
    Last Post: 05-01-2010, 07:59 PM
  4. What happen with the public hacks??
    By aliasrasgu in forum WarRock - International Hacks
    Replies: 2
    Last Post: 03-01-2010, 12:22 PM
  5. Ok what's with the Aimbot Hack here?
    By wildman008a in forum Combat Arms Hacks & Cheats
    Replies: 2
    Last Post: 08-14-2009, 03:33 AM