Results 1 to 8 of 8
  1. #1
    angelofsilence123's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Posts
    151
    Reputation
    10
    Thanks
    139
    My Mood
    Psychedelic

    Realm Relay Command Script!

    Hey guys, I figured I'd release a Realm Relay script, as that was the entire purpose of RealmRelay.

    This one only works with the newest source of mine or DeVoid Coder's ******.
    His is here: https://******.com/DeVoidCoder/Realm-Relay
    Mine is here: https://******.com/AngelofSilence/Realm-Relay

    Without further ado, the script.

    Code:
    var ID_PLAYERTEXT;
    
    function onEnable(event) {
    	ID_PLAYERTEXT = event.findPacketId("PLAYERTEXT");	
    }
    
    function onClientPacket(event) {
    	var packet = event.getPacket();
    	
    	if (packet.id() == ID_PLAYERTEXT) {	 
    			var text_ = packet.text.toLowerCase()			
    			if(text_ == "/harlemshake"){
    				event.echo("Do the Harlem Shake!");
    				harlemPacket = event.createPacket(83);
    				harlemPacket.effectType = 14;				
    				event.sendToClient(harlemPacket);
                                    event.cancel();
    	                }
            }
    }
    Last edited by angelofsilence123; 10-14-2013 at 02:44 PM. Reason: added cancel

  2. #2
    Nisuxen's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    164
    Reputation
    10
    Thanks
    95
    Should also do event.cancel() since it's really no business of the client to see the text "/harlemshake"

  3. #3
    DeVoidCoder's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Posts
    105
    Reputation
    10
    Thanks
    702
    Pretty goofy. FYI, it would probably be best to release scripts designed for the stable version released on mpgh. Most users will be on that version until the next official release.

  4. #4
    krazyshank's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Location
    RealmStock
    Posts
    2,589
    Reputation
    467
    Thanks
    16,668
    My Mood
    Angelic
    Quote Originally Posted by DeVoidCoder View Post
    Pretty goofy. FYI, it would probably be best to release scripts designed for the stable version released on mpgh. Most users will be on that version until the next official release.
    Off topic: Could.you consider a way to make "static" scripts meaning that if the script writer chooses, they remain loaded in memory even if the user disconnects, changes maps, etc?

    Accepting PayPal - Bitcoin - Giftcards - Items:

    Find it here: MPGH Sales Thread

  5. #5
    DeVoidCoder's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Posts
    105
    Reputation
    10
    Thanks
    702
    Quote Originally Posted by krazyshank View Post
    Off topic: Could.you consider a way to make "static" scripts meaning that if the script writer chooses, they remain loaded in memory even if the user disconnects, changes maps, etc?
    I suppose it is possible, but what would it allow that you could not do with global variables?

  6. #6
    krazyshank's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Location
    RealmStock
    Posts
    2,589
    Reputation
    467
    Thanks
    16,668
    My Mood
    Angelic
    Quote Originally Posted by DeVoidCoder View Post
    I suppose it is possible, but what would it allow that you could not do with global variables?
    They're a hassle and inefficient code wise for things i'm trying to do :/

    Accepting PayPal - Bitcoin - Giftcards - Items:

    Find it here: MPGH Sales Thread

  7. #7
    DANWARPER's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    19
    Reputation
    10
    Thanks
    0
    My Mood
    Blah
    what does this do??

  8. #8
    Goodfeet's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    The Netherlands
    Posts
    771
    Reputation
    150
    Thanks
    903
    Quote Originally Posted by DANWARPER View Post
    what does this do??
    This is a script for Realm Relay, A proxy for Realm of the Mad God with option to make scripts/hacks.
    [IMG]https://lh3.googleuserconten*****m/-00iIf0SVXqM/Wx7De4Gt3cI/AAAAAAAAHPw/cy33De9pX4AE7Arzy2gPMgRRcwno-sVEQCHMYCw/s0/ifNXCIl.gif[/IMG]

Similar Threads

  1. PLEASE NEED HELP WITH REALM RElAY
    By DANWARPER in forum Realm of the Mad God Help & Requests
    Replies: 18
    Last Post: 01-04-2014, 05:38 AM
  2. [Outdated] Realm Relay v1.0.0 - Proxy for RotMG 17.2
    By DeVoidCoder in forum Realm of the Mad God Hacks & Cheats
    Replies: 126
    Last Post: 10-17-2013, 10:23 PM
  3. Hey can some 1 tell/give me the kill commanded script
    By debo2132 in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 4
    Last Post: 01-05-2013, 01:13 PM
  4. AutoIt script that sends commands to AVA window only...
    By Sando1337 in forum Alliance of Valiant Arms (AVA) Help
    Replies: 4
    Last Post: 08-09-2012, 01:28 PM
  5. Commands Script's
    By tuve2 in forum RuneScape Discussions
    Replies: 3
    Last Post: 07-11-2010, 10:00 AM