Page 1 of 9 123 ... LastLast
Results 1 to 15 of 127
  1. #1
    DeVoidCoder's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Posts
    105
    Reputation
    10
    Thanks
    702

    Realm Relay v1.0.0 - Proxy for RotMG 17.2


    Realm Relay v1.0.0
    The completely open RotMG proxy utility for those who cannot be bothered to figure out how to decrypt, parse, and re-encrypt packets

    • Simplifies packet hacking
      Use an easy JavaScript API to develop hacks which manipulate packets!
    • Easy installation and use
      Works with any client; use it in conjunction with your favorite hacked client!
    • Customize your proxy
      Mix and match scripts various scripts published by members of the community!
    • Prevent IP bans
      Optionally pipe your connection through your favorite Socks4/5 proxy to hide your real ip address


     
    Code:
    // spamfilter.js
    
    var ID_TEXT = 20;
    
    var keywords = [
    	".info",
    	".net",
    	".org",
    	".us",
    	"% off",
    	"24/7",
    	"cheap",
    	"client",
    	"customer",
    	"del|very",
    	"delivery",
    	"dellvery",
    	"pric", // pricing/prices/price
    	"prize",
    	"satis", // faction/factory/fied
    	"service",
    	"stock",
    	"www"
    ];
    
    function onServerPacket(event) {
    	// get the packet involved in this event
    	var packet = event.getPacket();
    	
    	// if this event's packet is a TEXT packet...
    	if (packet.id() == ID_TEXT) {
    	
    		// make text lowercase to match the keyword list
    		var text = packet.text.toLowerCase();
    		
    		// loop through every keyword for testing
    		for (var i = 0; i < keywords.length; i++) {
    		
    			// if keyword exists in the text...
    			if (text.indexOf(keywords[i]) != -1) {
    				
    				// cancel the event to stop the packet from being sent to the client
    				event.cancel();
    				
    				// break the loop because we already know the packet is spam
    				break;
    			}
    		}
    	}
    }

     
    Code:
    // autonexus.js
    
    var ID_MOVE = 74;
    var ID_PLAYERHIT = 26;
    var ID_SHOOT = 10;
    var ID_SHOOT2 = 59;
    var ID_UPDATE = 66;
    var ID_CREATE_SUCCESS = 47;
    var ID_NEW_TICK = 50;
    var ID_AOE = 24;
    var ID_ESCAPE = 69;
    
    var nexusHealthPercentage = 20;
    
    var playerObjectId = -1;
    var health = -1;
    var maxHealth = -1;
    var defenceBonus = -1;
    var bulletIdDamageMap = {};
    var bEscapeToNexusSent = false; // true = don't confirm any more hits
    var playerLocation = null;
    
    function onClientPacket(event) {
    	if (bEscapeToNexusSent) {
    		event.cancel();
    		return;
    	}
    	var packet = event.getPacket();
    	switch (packet.id()) {
    		case ID_MOVE: {
    			playerLocation = packet.newPosition;
    			break;
    		}
    		case ID_PLAYERHIT: {
    			// predict what the damage will be
    			health -= getDamageEstimate(bulletIdDamageMap[packet.bulletId]);
    			// if the predicted health percentage is below nexusHealthPercentage...
    			if (100 * health / maxHealth <= nexusHealthPercentage) {
    				// send ESCAPE packet to the server
    				// and prevent any more packets from being sent after that
    				var escapePacket = event.createPacket(ID_ESCAPE);
    				event.sendToServer(escapePacket);
    				bEscapeToNexusSent = true;
    				event.cancel();
    			}
    			break;
    		}
    	}
    }
    
    function onServerPacket(event) {
    	var packet = event.getPacket();
    	switch (packet.id()) {
    		case ID_SHOOT2:
    		case ID_SHOOT: {
    			// store projectile damage...
    			bulletIdDamageMap[packet.bulletId] = packet.damage;
    			break;
    		}
    		case ID_UPDATE: {
    			for (var i = 0; i < packet.newObjs.length; i++) {
    				var objectData = packet.newObjs[i];
    				if (objectData.status.objectId == playerObjectId) {
    					for (var j = 0; j < objectData.status.data.length; j++) {
    						var statData = objectData.status.data[j];
    						// update player data...
    						if (statData.obf0 == 0) {
    							maxHealth = statData.obf1;
    						} else if (statData.obf0 == 1) {
    							health = statData.obf1;
    						} else if (statData.obf0 == 49) {
    							defenceBonus = statData.obf1;
    						}
    					}
    				}
    			}
    			break;
    		}
    		case ID_CREATE_SUCCESS: {
    			// keep the player's objectId
    			playerObjectId = packet.objectId;
    			break;
    		}
    		case ID_NEW_TICK: {
    			for (var i = 0; i < packet.statuses.length; i++) {
    				var status = packet.statuses[i];
    				if (status.objectId == playerObjectId) {
    					for (var j = 0; j < status.data.length; j++) {
    						var statData = status.data[j];
    						// update the player's health
    						if (statData.obf0 == 1) {
    							health = statData.obf1;
    						}
    					}
    				}
    			}
    			break;
    		}
    		case ID_AOE: {
    			if (playerLocation != null && playerLocation.distanceTo(packet.pos) <= packet.radius) {
    				// predict what the damage will be
    				health -= getDamageEstimate(packet.damage);
    				// if the predicted health percentage is below nexusHealthPercentage...
    				if (100 * health / maxHealth <= nexusHealthPercentage) {
    					// send ESCAPE packet to the server
    					// and prevent any more packets from being sent after that
    					var escapePacket = event.createPacket(ID_ESCAPE);
    					event.sendToServer(escapePacket);
    					bEscapeToNexusSent = true;
    					event.cancel();
    				}
    			}
    			break;
    		}
    	}
    }
    
    function getDamageEstimate(baseDamage) {
    	// not a perfect damage calculation at all, but good enough for govt work
    	var damage = baseDamage - defenceBonus;
    	if (damage < 0.15 * baseDamage) {
    		damage = 0.15 * baseDamage;
    	}
    	if (isNaN(damage)) {
    		return 100;
    	}
    	return damage;
    }

    The documentation for developing scripts is available in every download

    Want to contribute to the project?
    View the source and contribute at https://******.com/DeVoidCoder/Realm-Relay.
    Alternatively, publish JavaScript hacks for the rest of the community to use!


    Q & A
    Q: Help, I have no idea how to use this thing! What do I do?
    A: Follow the directions in the readme.txt located inside the .zip file download. If you have any questions, feel free to ask them in this thread.

    Q: Why do I get the "Realm Relay listener problem" error?
    A: Close any previously opened instances of Realm Relay. Check your task manager for any running instances of java.exe.

    Q: The "Realm Relay enabled!" notification does not show up when I enter the game. What did I do wrong?
    A: You either did not edit your hosts file correctly or are not connecting to USEAST3. Refer to the readme.txt. If you continue having problems, post here and someone can help you.

    Q: What exactly can this proxy do?
    A: This proxy has the potential to do all kinds of hacks! You just need to find/create scripts to do them! If you cannot find the hack you want, someone might make it sooner or later.

    Report any bugs or issues to this thread
    If it seems like I forgot anything, let me know. I am trying to make sure nothing is confusing.
    VirusTotal
    Jotti's malware scan
    VirSCAN.org
    <b>Downloadable Files</b> Downloadable Files

  2. The Following 80 Users Say Thank You to DeVoidCoder For This Useful Post:

    akaruzec (10-24-2013),aver4ge (01-03-2014),babisyahid (10-21-2013),beenljuice (06-12-2014),[MPGH]Beex (10-16-2013),Bistrovas (12-13-2015),bluuman (02-20-2017),Botmaker (10-16-2013),BRDominik (10-15-2013),C453 (10-16-2013),caschque (10-20-2014),CrazyJani (03-14-2014),Cyeclops (10-17-2013),Daenerys (10-15-2013),DANWARPER (10-15-2013),driftking24 (05-03-2014),egudalie (12-24-2014),Ekramhadidi (05-19-2015),emil000230 (08-19-2015),esp8 (10-15-2013),Exbenn (08-27-2015),Felixistheking (10-09-2015),fomeculiao (08-23-2014),gagger5 (10-17-2013),goodboy.rr (07-08-2014),greenswamp2 (06-23-2015),hasigo361 (10-15-2013),HeroOfSinnoh (10-27-2013),Idunnowhy (08-15-2016),IHazWedz (03-19-2017),ihazy (10-17-2013),isaiah.vogt (10-17-2013),jakerofl (10-16-2013),JohnnieDerp (10-16-2013),kbryan96 (07-05-2014),KidAssassin (07-22-2014),kintokan (10-16-2013),kyogi1611 (03-30-2014),leoneogeo333 (10-17-2013),ljqj (10-17-2013),lolpot132 (10-11-2014),lordplay (02-24-2017),loser000106 (10-16-2013),loveloveakb (10-16-2013),Magivictus (10-17-2013),mandela96 (09-12-2014),matueugoku (05-29-2014),MDii (10-17-2013),MeCagoEnLosHacks (07-17-2014),megaherx (10-15-2013),MelloZ (10-16-2013),mikeyjou (11-04-2014),mystagon12 (10-16-2013),narotox (10-17-2013),nern9 (07-27-2015),nesspkk (07-03-2014),Nisuxen (10-17-2013),pen023 (08-08-2015),ramswig (10-17-2013),reconscious (10-15-2013),roy30000 (10-16-2013),sebsebsebsebs (03-08-2016),snufflesrotmg (04-15-2014),Some_random_guy (10-17-2013),supergovs (10-16-2013),Sv_Marchand (10-17-2013),swordmaster (10-17-2013),theamazingtaco1 (10-15-2013),ThePepsi (08-19-2014),The_En|D (10-16-2013),ThisPix (12-13-2015),UltDemon (08-26-2014),VapeSquvd (01-08-2016),Wananoo (07-21-2014),willydew (11-02-2014),xeivous (10-16-2013),xTRayLx (10-18-2013),yutilo (10-17-2013),zachdragon199 (10-16-2013),Zasx (10-15-2013)

  3. #2
    Zasx's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Location
    Northern Italy
    Posts
    1,379
    Reputation
    10
    Thanks
    442
    My Mood
    Yeehaw
    Just asking, in what language is this written?

    EDIT: don't mind ^, I'm dumb.
    Last edited by Zasx; 10-12-2013 at 03:43 AM.
    "First get me some porn accounts"
    . . . . . . . . . . . . . . .-Trapped

  4. #3
    the0fox's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    33
    Reputation
    10
    Thanks
    0
    this is epic i would love to test it and try to learn how to script/code

  5. #4
    ilovejohncena's Avatar
    Join Date
    Jul 2013
    Gender
    male
    Posts
    24
    Reputation
    10
    Thanks
    1
    Great work!!! Im sure we can use amazing hacks with this! WOW! U must have worked hard for this! I am sure we are gonna make awesome hacks thanks to this!

  6. #5
    andrewshack's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    174
    Reputation
    10
    Thanks
    9
    My Mood
    Amused
    People should start making hacks in this format. I've do believe @krazyshank made a 50% godmode using a proxy but he is not up for sharing since he probably doesnt want it to be patched.

    We Accept Thanks

  7. #6
    supergovs's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    26
    Reputation
    10
    Thanks
    0
    Thanks, i hope there arent any features already in it, are there?

  8. #7
    JustAnoobROTMG's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    1,916
    Reputation
    185
    Thanks
    18,230
    Great works.
    Is it able to inject complex packets? I mean you have an Autonexus, but an Escape packet contains basically nothing.

    Also, i see you still have the + in the notification. Here is how i send notification without it
    Code:
        /**
         * Send a NOTIFICATION on an object
         *  @param  objectId Target ObjectId
         *  @param  color Color of the notification
         *  @param  text Notification text
         */
        public void sendNotif (int objectId, int color, String text )
        {
    
            NotificationPacket notp = new NotificationPacket();
            notp.isModified =true;
            notp.objectId = objectId;
            notp.color = color;
            notp.text =  "{\"key\":\"blank\",\"tokens\":{\"data\":\" "+ text +"\"}}";
            proxy.serverHose.addArtificialPacketToQueue(notp);
        }
    Last edited by JustAnoobROTMG; 10-12-2013 at 04:54 AM.
    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
    nilly's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    2,652
    Reputation
    155
    Thanks
    13,983
    My Mood
    Angelic
    Approved..
    Be careful, stray too far from the pack and you'll get lost.

  10. #9
    the0fox's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    33
    Reputation
    10
    Thanks
    0
    can you make a video tutorial for how to script or how to code? thanks

  11. #10
    the0fox's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    33
    Reputation
    10
    Thanks
    0
    how i can change the server i connect on the settings dosnt have a thing

  12. #11
    JustAnoobROTMG's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    1,916
    Reputation
    185
    Thanks
    18,230

    Red picture is a bit violent, i am sorry, but its just a reminder
    Last edited by JustAnoobROTMG; 10-12-2013 at 06:29 AM.
    Due to a recent DMCA takedown attempt we had to remove Faintmako brain. Please do not paid attention to what he say or do.


  13. #12
    DeVoidCoder's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Posts
    105
    Reputation
    10
    Thanks
    702
    Quote Originally Posted by JustAnoobROTMG View Post
    Great works.
    Is it able to inject complex packets? I mean you have an Autonexus, but an Escape packet contains basically nothing.

    Also, i see you still have the + in the notification. Here is how i send notification without it
    Code:
        /**
         * Send a NOTIFICATION on an object
         *  @param  objectId Target ObjectId
         *  @param  color Color of the notification
         *  @param  text Notification text
         */
        public void sendNotif (int objectId, int color, String text )
        {
    
            NotificationPacket notp = new NotificationPacket();
            notp.isModified =true;
            notp.objectId = objectId;
            notp.color = color;
            notp.text =  "{\"key\":\"blank\",\"tokens\":{\"data\":\" "+ text +"\"}}";
            proxy.serverHose.addArtificialPacketToQueue(notp);
        }
    Yes, you are able to create more complex packets and send them, for example (a ripped portion of an auto-loot script I am working on):
    Code:
    var swapPacket = event.createPacket(6);
    swapPacket.time = time;
    swapPacket.position = playerLocation;
    swapPacket.slotObject1 = event.createSlotObject();
    swapPacket.slotObject1.objectId = droppedBagId;
    swapPacket.slotObject1.slotId = k;
    swapPacket.slotObject1.objectType = objectType1;
    swapPacket.slotObject2 = event.createSlotObject();
    swapPacket.slotObject2.objectId = playerObjectId;
    swapPacket.slotObject2.slotId = j;
    swapPacket.slotObject2.objectType = -1;
    event.sendToServer(swapPacket);
    Refer to the script_help.txt file for guidance

    Quote Originally Posted by the0fox View Post
    how i can change the server i connect on the settings dosnt have a thing
    You can change the remoteHost and remotePort in the settings.properties file. For now that is the easiest way, though it is actually possible to create a script that can switch servers for you.

  14. #13
    the0fox's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    33
    Reputation
    10
    Thanks
    0
    sorry for being so noobish but what do i change it to i want to go to EuEast how do i get the port for that server?

  15. #14
    Audrela's Avatar
    Join Date
    May 2013
    Gender
    male
    Posts
    22
    Reputation
    10
    Thanks
    1
    My Mood
    Cheeky
    Add a new line to the file, with the following text:
    127.0.0.1 ec2-50-19-47-160.compute-1.amazonaws.com
    Added line. Started win bat still no work.

  16. #15
    Trollaux's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    2,074
    Reputation
    137
    Thanks
    792
    Quote Originally Posted by andrewshack View Post
    People should start making hacks in this format. I've do believe @krazyshank made a 50% godmode using a proxy but he is not up for sharing since he probably doesnt want it to be patched.
    Ofcourse people never credit me. Sigh.
    d e a d b o y s
    Quote Originally Posted by Dave84311 View Post
    What do you call a troll with shitty jokes?
    Trollaux
    Quote Originally Posted by Kyeran View Post
    Foot job with lots of oil.
    Quote Originally Posted by Kyeran View Post
    If she's 12, I'm 12.

Page 1 of 9 123 ... LastLast

Similar Threads

  1. [Outdated] Realm Relay v1.1.0 - Proxy for RotMG 19.1
    By DeVoidCoder in forum Realm of the Mad God Hacks & Cheats
    Replies: 285
    Last Post: 02-17-2014, 11:45 AM
  2. Need proxy for CA NA
    By TOMM3RD in forum Combat Arms EU Help
    Replies: 1
    Last Post: 10-15-2010, 11:57 AM
  3. Replies: 10
    Last Post: 04-09-2010, 10:09 AM
  4. building a proxy for tibia
    By *DEAD* in forum General Game Hacking
    Replies: 0
    Last Post: 06-01-2007, 07:03 AM
  5. Proxy for 30 min
    By fas19o in forum WarRock - International Hacks
    Replies: 15
    Last Post: 05-15-2007, 06:06 AM

Tags for this Thread