OUTDATED [Code] SOUND Notifier - Never miss an Event !! :)

Posts 113 of 13 · Page 1 of 1
OUTDATED [Code] SOUND Notifier - Never miss an Event !! :)
Hey,

Im proud to share with you my real first addition to the ROTMG hack community

-Thanks @nilly for your chat filter code -

Sound notifier


This code detect what Oryx or other player say and play a sound to notify you !
You'll never miss something, it work in background, so chat in facebook, skype, watch vids on youtube ! i promise you'll miss nothing on ream <3
IT WORKS WHEN ORYX SHOUT AN EVENT !




Info :

If you don't wanna be spammed by the sounds, i recommend you to put, as filter, the correct sentence of what Oryx Shout
Example :

Sweet treasure awaits powerful adventurers


Requirement :

 
REQUIREMENT

16.0+

/!\ if you haven't put a chat filter already don't forget to replace :

Location :
_-1gP/_-1Rs.class.asasm

Line :
169

Code:
localcount 5
by
Code:
localcount 6






How To :


 
HOWTO

Just put the code in :

Location :
_-1gP/_-1Rs.class.asasm

Line :
186




DOC :



How to make your own notifier :

 
DOC



Code:
;--------------------- SOUND NOTIFIER -------------------------------------------------
    getlocal1
    getproperty         QName(PackageNamespace(""), "text_")
    callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "valueOf"), 0
    coerce_s
    setlocal            5

    ;XXXX-------------------
        getlocal            5
        pushstring          "XXXX"   // What you want to filter , just replace XXXX by what ever you want
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                YYYY    // funtion called , just replace YYYY by the function you created
        ;--------------------------

YYYY:

     ;----Do something-----  
      (..)    // put here the code you wanna load when XXXX is detected   ( You can find some sounds in com\company\assembleegameclient\objects\Player.class.asasm    - search "Play"


Different sounds :

no_mana
Code:
      getlex              QName(PackageNamespace("_-1jf"), "_-sH")
      pushstring          "no_mana"
      callpropvoid        QName(PackageNamespace("", "#0"), "play"), 1

error
Code:
      getlex              QName(PackageNamespace("_-1jf"), "_-sH")
      pushstring          "error"
      callpropvoid        QName(PackageNamespace("", "#0"), "play"), 1

lvl_up
Code:
      getlex              QName(PackageNamespace("_-1jf"), "_-sH")
      pushstring          "level_up"
      callpropvoid        QName(PackageNamespace("", "#0"), "play"), 1




Code Sample:


 
EXAMPLE
Code:
;--------------------- SOUND NOTIFIER -------------------------------------------------
    getlocal1
    getproperty         QName(PackageNamespace(""), "text_")
    callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "valueOf"), 0
    coerce_s
    setlocal            5


    ;--------------------------Put Your Filter Here----------------------------------------
    
    ;-------------------------

    ;Sphinx-------------------
        getlocal            5
        pushstring          "sphinx"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------
        getlocal            5
        pushstring          "Sphinx"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------
        getlocal            5
        pushstring          "SPHINX"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------

    ;Hermit-------------------
        getlocal            5
        pushstring          "hermit"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------
        getlocal            5
        pushstring          "Hermit"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------
        getlocal            5
        pushstring          "HERMIT"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------

    ;Ghost Ship-------------------
        getlocal            5
        pushstring          "ship"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------
        getlocal            5
        pushstring          "Ship"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------
        getlocal            5
        pushstring          "SHIP"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------      

    ;Skull Shrine-------------------
        getlocal            5
        pushstring          "shrine"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------
        getlocal            5
        pushstring          "Shrine"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------
        getlocal            5
        pushstring          "SHRINE"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------


    ;Cube-------------------
        getlocal            5
        pushstring          "cube"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------
        getlocal            5
        pushstring          "Cube"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------
        getlocal            5
        pushstring          "CUBE"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------

    ;Crystal-------------------
        getlocal            5
        pushstring          "crystal"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------
        getlocal            5
        pushstring          "Crystal"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------
        getlocal            5
        pushstring          "CRYSTAL"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------
        getlocal            5
        pushstring          "treasure"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------

    ;Manor-------------------
        getlocal            5
        pushstring          "manor"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------
        getlocal            5
        pushstring          "Manor"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------
        getlocal            5
        pushstring          "MANOR"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------

    ;Lab-------------------
        getlocal            5
        pushstring          "lab"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------
        getlocal            5
        pushstring          "Lab"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------
        getlocal            5
        pushstring          "LAB"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------


    ;Cemetery-------------------
        getlocal            5
        pushstring          "cemetery"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------
        getlocal            5
        pushstring          "Cemetery"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------
        getlocal            5
        pushstring          "CEMETERY"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------


    ;Candy-------------------
        getlocal            5
        pushstring          "cland"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------
        getlocal            5
        pushstring          "Candy"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------
        getlocal            5
        pushstring          "CLAND"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------

    ;---------------------------------------------------------------------------------------

    jump                CONTINUE


NOTIF:

     ;----Play LvL UP Sound-----  
      getlex              QName(PackageNamespace("_-1jf"), "_-sH")
      pushstring          "level_up"
      callpropvoid        QName(PackageNamespace("", "#0"), "play"), 1





CONTINUE:

     ;--------------------------------------------------------------------------------------
Please post different sounds you found, and all sentence you know from Oryx

Thank you <3
Great first release, I happen to afk all the time to watch videos so this will be a great addition to my client.
Hell yeah dude this is very nice hope to see more unique things from you someday XD xxx
I will be saying hermit or cube just becaus i want to spam your sound card

Nice one !
Quote Originally Posted by JustAnoobROTMG View Post
I will be saying hermit or cube just becaus i want to spam your sound card

Nice one !
Haha
I'm listing all events sentence then no more undesired sound :3
I also plan to use some custom sounds based on a URL for specific events
Quote Originally Posted by IziLife View Post
Haha
I'm listing all events sentence then no more undesired sound :3
I also plan to use some custom sounds based on a URL for specific events
Maybe you can just check who send the message, it more efficient than checking all messages
Check if sender starts with #Oryx, you've done !
Quote Originally Posted by JustAnoobROTMG View Post
Maybe you can just check who send the message, it more efficient than checking all messages
Check if sender starts with #Oryx, you've done !
I'll be spammed by Oryx for all unwanted events like Ents, lich, Demon .. ^^"

I found all event msg here :
https://github.com/trapped/rotmg_svr.../realm/Oryx.cs

I'll update the list

Edit :

For some unknow reason i can't edit my post so here is all event msg from Oryx :

Choose what ever you want, just copy paste the msg, you can also put a different sound when the event is gone..

Source :
 
SOURCE

Code:
 static readonly Tuple<string, TauntData>[] criticalEnemies = new Tuple<string, TauntData>[]
        {
            Tuple.Create("Lich", new TauntData()
            {
                numberOfEnemies = new string[] {
                    "I am invincible while my {COUNT} Liches still stand!",
                    "My {COUNT} Liches will feast on your essence!"
                },
                final = new string[] {
                    "My final Lich shall consume your souls!",
                    "My final Lich will protect me forever!"
                }
            }),
            Tuple.Create("Ent Ancient", new TauntData()
            {
                numberOfEnemies = new string[] {
                    "Mortal scum! My {COUNT} Ent Ancients will defend me forever!",
                    "My forest of {COUNT} Ent Ancients is all the protection I need!"
                },
                final = new string[] {
                    "My final Ent Ancient will destroy you all!"
                }
            }),
            Tuple.Create("Oasis Giant", new TauntData()
            {
                numberOfEnemies = new string[] {
                    "My {COUNT} Oasis Giants will feast on your flesh!",
                    "You have no hope against my {COUNT} Oasis Giants!"
                },
                final = new string[] {
                    "A powerful Oasis Giant still fights for me!",
                    "You will never defeat me while an Oasis Giant remains!"
                }
            }),
            Tuple.Create("Phoenix Lord", new TauntData()
            {
                numberOfEnemies = new string[] {
                    "Maggots! My {COUNT} Phoenix Lord will burn you to ash!"
                },
                final = new string[] {
                    "My final Phoenix Lord will never fall!",
                    "My last Phoenix Lord will blacken your bones!"
                }
            }),
            Tuple.Create("Ghost King", new TauntData()
            {
                numberOfEnemies = new string[] {
                    "My {COUNT} Ghost Kings give me more than enough protection!",
                    "Pathetic humans! My {COUNT} Ghost Kings shall destroy you utterly!"
                },
                final = new string[] {
                    "A mighty Ghost King remains to guard me!",
                    "My final Ghost King is untouchable!"
                }
            }),
            Tuple.Create("Cyclops God", new TauntData()
            {
                numberOfEnemies = new string[] {
                    "Cretins! I have {COUNT} Cyclops Gods to guard me!",
                    "My {COUNT} powerful Cyclops Gods will smash you!"
                },
                final = new string[] {
                    "My last Cyclops God will smash you to pieces!"
                }
            }),
            Tuple.Create("Red Demon", new TauntData()
            {
                numberOfEnemies = new string[] {
                    "Fools! There is no escape from my {COUNT} Red Demons!",
                    "My legion of {COUNT} Red Demons live only to serve me!"
                },
                final = new string[] {
                    "My final Red Demon is unassailable!"
                }
            }),
            
            Tuple.Create("Skull Shrine", new TauntData()
            {
                spawn = new string[] {
                    "Your futile efforts are no match for a Skull Shrine!"
                },
                numberOfEnemies = new string[] {
                    "Imbeciles! My {COUNT} Skull Shrines make me invincible!"
                },
                killed = new string[] {
                    "{PLAYER} defaced a Skull Shrine! Minions, to arms!",
                    "{PLAYER} razed one of my Skull Shrines -- I WILL HAVE MY REVENGE!",
                    "{PLAYER}, you will rue the day you dared to defile my Skull Shrine!",
                    "{PLAYER}, you contemptible pig! Ruining my Skull Shrine will be the last mistake you ever make!",
                    "{PLAYER}, you insignificant cur! The penalty for destroying a Skull Shrine is death!"
                }
            }),
            Tuple.Create("Cube God", new TauntData()
            {
                spawn = new string[] {
                    "Your meager abilities cannot possibly challenge a Cube God!"
                },
                numberOfEnemies = new string[] {
                    "Filthy vermin! My {COUNT} Cube Gods will exterminate you!",
                    "Loathsome slugs! My {COUNT} Cube Gods will defeat you!",
                    "You piteous cretins! {COUNT} Cube Gods still guard me!",
                    "Your pathetic rabble will never survive against my {COUNT} Cube Gods!"
                },
                final = new string[] {
                    "Worthless mortals! A mighty Cube God defends me!"
                },
                killed = new string[] {
                    "You have dispatched my Cube God, {PLAYER}, but you will never escape my Realm!",
                    "I have many more Cube Gods, {PLAYER}!",
                    "{PLAYER}, you wretched dog! You killed my Cube God!",
                    "{PLAYER}, you pathetic swine! How dare you assault my Cube God!"
                }
            }),
            Tuple.Create("Pentaract", new TauntData()
            {
                spawn = new string[] {
                    "Behold my Pentaract, and despair!"
                },
                numberOfEnemies = new string[] {
                    "Wretched creatures! {COUNT} Pentaracts remain!",
                    "You detestable humans will never defeat my {COUNT} Pentaracts!",
                    "Defiance is useless! My {COUNT} Pentaracts will crush you!"
                },
                final = new string[] {
                    "Ignorant fools! A Pentaract guards me still!"
                },
                killed = new string[] {
                    "That was but one of many Pentaracts, {PLAYER}!",
                    "{PLAYER}, you flea-ridden animal! You destoryed my Pentaract!",
                    "{PLAYER}, by destroying my Pentaract you have sealed your own doom!"
                }
            }),
            Tuple.Create("Grand Sphinx", new TauntData()
            {
                spawn = new string[] {
                    "At last, a Grand Sphinx will teach you to respect!",
                    "A Grand Sphinx is more than a match for this rabble."
                },
                numberOfEnemies = new string[] {
                    "You dull-spirited apes! You shall pose no challenge for {COUNT} Grand Sphinxes!",
                    "Regret your choices, blasphemers! My {COUNT} Grand Sphinxes will teach you respect!",
                    "My Grand Sphinxes will bewitch you with their beauty!"
                },
                final = new string[] {
                    "You festering rat-catchers! A Grand Sphinx will make you doubt your purpose!",
                    "Gaze upon the beauty of the Grand Sphinx and feel your last hopes drain away."
                },
                killed = new string[] {
                    "My Grand Sphinx, she was so beautiful. I will kill you myself, {PLAYER}!",
                    "My Grand Sphinx had lived for thousands of years! You, {PLAYER}, will not survive the day!",
                    "{PLAYER}, you up-jumped goat herder! You shall pay for defeating my Grand Sphinx!",
                    "{PLAYER}, you pestiferous lout! I will not forget what you did to my Grand Sphinx!",
                    "{PLAYER}, you foul ruffian! Do not think I forget your defiling of my Grand Sphinx!"
                }
            }),
            Tuple.Create("Lord of the Lost Lands", new TauntData()
            {
                spawn = new string[] {
                    "Pathetic fools! My Lord of the Lost Lands will crush you all!",
                    "My Lord of the Lost Lands will make short work of you!"
                },
                numberOfEnemies = new string[] {
                    "You dull-spirited apes! You shall pose no challenge for {COUNT} Grand Sphinxes!",
                    "Regret your choices, blasphemers! My {COUNT} Grand Sphinxes will teach you respect!",
                    "My Grand Sphinxes will bewitch you with their beauty!"
                },
                final = new string[] {
                    "You festering rat-catchers! A Grand Sphinx will make you doubt your purpose!",
                    "Gaze upon the beauty of the Grand Sphinx and feel your last hopes drain away."
                },
                killed = new string[] {
                    "How dare you foul-mouthed hooligans treat my Lord of the Lost Lands with such indignity!",
                    "What trickery is this?! My Lord of the Lost Lands was invincible!"
                }
            }),
            Tuple.Create("Hermit God", new TauntData()
            {
                spawn = new string[] {
                    "My Hermit God's thousand tentacles shall drag you to a watery grave!"
                },
                numberOfEnemies = new string[] {
                    "You dull-spirited apes! You shall pose no challenge for {COUNT} Grand Sphinxes!",
                    "Regret your choices, blasphemers! My {COUNT} Grand Sphinxes will teach you respect!",
                    "My Grand Sphinxes will bewitch you with their beauty!"
                },
                final = new string[] {
                    "You festering rat-catchers! A Grand Sphinx will make you doubt your purpose!",
                    "Gaze upon the beauty of the Grand Sphinx and feel your last hopes drain away."
                },
                killed = new string[] {
                    "My Hermit God was more than you'll ever be, {PLAYER}. I will kill you myself!",
                    "You naive imbecile, {PLAYER}! Without my Hermit God, Dreadstump is free to roam the seas without fear!"
                }
            }),
            Tuple.Create("Ghost Ship", new TauntData()
            {
                spawn = new string[] {
                    "My Ghost Ship will terrorize you pathetic peasants!",
                    "A Ghost Ship has entered the Realm."
                },
                numberOfEnemies = new string[] {
                    "You dull-spirited apes! You shall pose no challenge for {COUNT} Grand Sphinxes!",
                    "Regret your choices, blasphemers! My {COUNT} Grand Sphinxes will teach you respect!",
                    "My Grand Sphinxes will bewitch you with their beauty!"
                },
                final = new string[] {
                    "You festering rat-catchers! A Grand Sphinx will make you doubt your purpose!",
                    "Gaze upon the beauty of the Grand Sphinx and feel your last hopes drain away."
                },
                killed = new string[] {
                    "How could a creature like {PLAYER} defeat my dreaded Ghost Ship?!",
                    "{PLAYER}, has crossed me for the last time! My Ghost Ship shall be avenged.",
                    "The spirits of the sea will seek revenge on your worthless soul, {PLAYER}!"
                }
            }),
        };


Code:
 
CODE
Code:
;--------------------- SOUND NOTIFIER -------------------------------------------------
    getlocal1
    getproperty         QName(PackageNamespace(""), "text_")
    callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "valueOf"), 0
    coerce_s
    setlocal            5


    ;--------------------------Put Your Filter Here----------------------------------------
    
    ;-------------------------

    ;Sphinx-------------------
        getlocal            5
        pushstring          "At last, a Grand Sphinx will teach you to respect!"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------


    ;Hermit-------------------
        getlocal            5
        pushstring          "My Hermit God's thousand tentacles shall drag you to a watery grave!"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------


    ;Ghost Ship-------------------
        getlocal            5
        pushstring          "My Ghost Ship will terrorize you pathetic peasants!"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------
        getlocal            5
        pushstring          "A Ghost Ship has entered the Realm."  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------
     

    ;Skull Shrine-------------------
        getlocal            5
        pushstring          "Your futile efforts are no match for a Skull Shrine!"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------



    ;Cube-------------------
        getlocal            5
        pushstring          "Your meager abilities cannot possibly challenge a Cube God!"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------
        getlocal            5
        pushstring          "Worthless mortals! A mighty Cube God defends me!"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------   
        

    ;Pentaract-------------------
        getlocal            5
        pushstring          "Behold my Pentaract, and despair!"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------

    ;Crystal-------------------
        getlocal            5
        pushstring          "crystal"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------
        getlocal            5
        pushstring          "Crystal"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------
        getlocal            5
        pushstring          "CRYSTAL"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------
        getlocal            5
        pushstring          "treasure"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------



    ;Lucky Ent/Djin-------------------
        getlocal            5
        pushstring          "lucky ent"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------
        getlocal            5
        pushstring          "Lucky ent"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------
        getlocal            5
        pushstring          "LUCKY ENT"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------

    ;Lucky Ent/Djin-------------------
        getlocal            5
        pushstring          "lucky djin"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------
        getlocal            5
        pushstring          "Lucky djin"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------
        getlocal            5
        pushstring          "LUCKY DJIN"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------


    ;WC-------------------
        getlocal            5
        pushstring          "UNLOCKED"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------
        getlocal            5
        pushstring          "Unlocked"  
        callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
        pushint             0
        ifge                NOTIF
        ;--------------------------


    ;---------------------------------------------------------------------------------------

    jump                CONTINUE


NOTIF:

     ;----Play enter_realm Sound-----  
      getlex              QName(PackageNamespace("_0X_j"), "_A_R_")
      pushstring          "enter_realm"
      callpropvoid        QName(PackageNamespace(""), "play"), 1 


CONTINUE:

     ;--------------------------------------------------------------------------------------



I also found some other sounds :
 
SOUND


Code:
arrowShoot
death_screen
loot_appears
bladeSwing
enter_realm
magicShoot
button_click
error.mp3
use_key
daggerSwing
inventory_move_item
use_potion
death_screen (old)
level_up
no_mana
There should be a delay between each sound, like 5 sec or something, since some ppl will abuse the lucky djiin etc to explode your ears.
Could someone learn me or tell me how i put this code in or where. i use flash player to play realm but i dont know how i edit it?
Does this work with 17.3? couldnt find _-1Rs.class.asasm
God.. I feel so noob
I dont even know how to use this.. Halllllllp!!
Quote Originally Posted by Alde. View Post
God.. I feel so noob
I dont even know how to use this.. Halllllllp!!
Here is the code the the 17.3 (i don't play anymore it's the latest update i made sorry), i edited it a bit to easily update it and customize it :

Code:
;---------------------------------------------------------------------------------------------------------
;---Event-Notifier-----Code-:-17.3------------------------------------------------------------------------
;---------------------------------------------------------------------------------------------------------
      ;---------------------------------------------------------------------------------------------------
      ;--Where-To-Insert----------------------------------------------------------------------------------
      ;---------------------------------------------------------------------------------------------------
            ; Search spam in the source folder
            ; search execute
            ; 1) change localcount 5 to 6
            ; 2) after code insere this code      
      ;---------------------------------------------------------------------------------------------------
      ;--Names-To-Update----------------------------------------------------------------------------------
      ;---------------------------------------------------------------------------------------------------
      ;-----Play-a-sound----------------------------------------------------------------------------------
            #set audio              "_-0VJ" ;Package name ,search for level_up in Player.class.asasm
            #set noti               "_-0Xg" ;Namespace,search for level_up in Player.class.asasm
      ;---------------------------------------------------------------------------------------------------
      ;-----Signal-for-Event-Found-in-Chat-BOX------------------------------------------------------------
      ;-For these names, just search for "spam"-----------------------------------------------------------
      ;---------------------------------------------------------------------------------------------------

            #set chat               "_-5V"  ; getproperty         QName(PackageNamespace("", "")
            #set chat2              "_-1FQ" ; getlex              QName(PackageNamespace("")
            #set chat3              "_-Zo" ; getlex              QName(PackageNamespace("")
            #set chat4              "_-z9" ; getproperty         QName(PackageNamespace("")
      
;---------------------------------------------------------------------------------------------------------
; Option
;---------------------------------------------------------------------------------------------------------
      ;-----Custom-Sound----------------------------------------------------------------------------------
      #set source             "enter_realm" ; ex :level_up or enter_realm - search for "play"
      ;---------------------------------------------------------------------------------------------------
      ;-----Custom-Signal---------------------------------------------------------------------------------
      #set signal             "**!!** EVENT FOUND **!!**" ; What ever you want
      ;---------------------------------------------------------------------------------------------------
;---------------------------------------------------------------------------------------------------------
      getlocal1
      getproperty         QName(PackageNamespace("", "#0"), "text_")
      callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "valueOf"), 0
      coerce_s
      setlocal            5

      getlocal            5
      pushstring          "At last, a Grand Sphinx will teach you to respect!"
      callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
      pushint             0
      ifge                LNOTIFY

      getlocal            5
      pushstring          "A Grand Sphinx is more than a match for this rabble."
      callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
      pushint             0
      ifge                LNOTIFY

      getlocal            5
      pushstring          "My Grand Sphinxes will bewitch you with their beauty!"
      callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
      pushint             0
      ifge                LNOTIFY

      getlocal            5
      pushstring          "You festering rat-catchers! A Grand Sphinx will make you doubt your purpose!"
      callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
      pushint             0
      ifge                LNOTIFY

      getlocal            5
      pushstring          "Gaze upon the beauty of the Grand Sphinx and feel your last hopes drain away."
      callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
      pushint             0
      ifge                LNOTIFY

      getlocal            5
      pushstring          "My Hermit God's thousand tentacles shall drag you to a watery grave!"
      callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
      pushint             0
      ifge                LNOTIFY

      getlocal            5
      pushstring          "My Ghost Ship will terrorize you pathetic peasants!"
      callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
      pushint             0
      ifge                LNOTIFY

      getlocal            5
      pushstring          "A Ghost Ship has entered the Realm."
      callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
      pushint             0
      ifge                LNOTIFY

      getlocal            5
      pushstring          "Your futile efforts are no match for a Skull Shrine!"
      callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
      pushint             0
      ifge                LNOTIFY

      getlocal            5
      pushstring          "Your meager abilities cannot possibly challenge a Cube God!"
      callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
      pushint             0
      ifge                LNOTIFY

      getlocal            5
      pushstring          "Worthless mortals! A mighty Cube God defends me!"
      callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
      pushint             0
      ifge                LNOTIFY

      getlocal            5
      pushstring          "Pathetic fools! My Lord of the Lost Lands will crush you all!"
      callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
      pushint             0
      ifge                LNOTIFY

      getlocal            5
      pushstring          "My Lord of the Lost Lands will make short work of you!"
      callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
      pushint             0
      ifge                LNOTIFY

      getlocal            5
      pushstring          "My final Lich shall consume your souls!"
      callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
      pushint             0
      ifge                LNOTIFY

      getlocal            5
      pushstring          "My final Lich will protect me forever!"
      callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
      pushint             0
      ifge                LNOTIFY

      getlocal            5
      pushstring          "Sweet treasure awaits for powerful adventurers!"
      callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
      pushint             0
      ifge                LNOTIFY

      getlocal            5
      pushstring          "I think you need more people..."
      callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
      pushint             0
      ifge                LNOTIFY

      getlocal            5
      pushstring          "If you are not very strong, this could kill you"
      callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
      pushint             0
      ifge                LNOTIFY


      jump                CONTINUE
Posts 113 of 13 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?