Add "Realm-Eye Me!" menu item

Posts 115 of 53 · Page 1 of 4
Add "Realm-Eye Me!" menu item
This menu item allow you to open a browser window showing the RealmEye page of the player you clicked.




1) You must locate the class where the menu is drawn. Easy => look for "Unlock" in files..
You will be in a method dealing with "Unlock", "Lock", "Trade" items..

For me its in _-aa\_-0BN.asasm

2) Add this just before the returnvoid


Code:
;-----------------------------------------------------------------------------
; ADD RealmEye Shortcut
;-----------------------------------------------------------------------------

     findpropstrict      QName(PackageNamespace("_-aa"), "_-T6")
     getlex                QName(PackageNamespace("com.company.util"), "AssetLibrary")
     pushstring          "lofiInterface2"
     pushbyte            3
     callproperty        QName(PackageNamespace("", "#0"), "_-0U6"), 2
     pushint             16777215
     pushstring          "RealmEye-Me !"
     constructprop     QName(PackageNamespace("_-aa"), "_-T6"), 3
     coerce              QName(PackageNamespace("_-aa"), "_-T6")
     setlocal3

     getlocal3
     getlex              QName(PackageNamespace("flash.events"), "MouseEvent")
     getproperty         QName(PackageNamespace("", "#0"), "CLICK")
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-aa:_-0BN"), "_realmeye")
     callpropvoid        QName(PackageNamespace("", "#0"), "addEventListener"), 2

     findpropstrict      QName(ProtectedNamespace("_-81"), "_-0Fn")
     getlocal3
     callpropvoid        QName(ProtectedNamespace("_-81"), "_-0Fn"), 1
 ;-------------------------------------------------------------------------------------
So if we click on the button, the method "_realmeye" will be called

Lets add it !


3) We have just edited a method.
Copy this code UNDER THE METHOD WE'VE JUST MODIFIED !
(under the end; method)

Code:
  
 ;--------------------------------------------------------------------------------- 
  trait method QName(PrivateNamespace("*", "_-aa:_-0BN"), "_realmeye")
   method
    refid "_-aa:_-0BN/_realmeye"
    param QName(PackageNamespace("flash.events"), "Event")
    returns QName(PackageNamespace("", "#0"), "void")
    body
     maxstack 4
     localcount 4
     initscopedepth 10
     maxscopedepth 11
     code
     
      ; Initialize URLRequest
      findpropstrict      QName(PackageNamespace("flash.net"), "URLRequest")
      constructprop       QName(PackageNamespace("flash.net"), "URLRequest"), 0
      coerce              QName(PackageNamespace("flash.net"), "URLRequest")
      setlocal1 
          
      ;Set URL base
      pushstring          "http://www.realmeye.com/player/"
      setlocal2
      
      ;Get clicked player name
      getlocal0
      getproperty         QName(PackageNamespace("", "#0"), "player_")      
      getproperty         QName(PackageNamespace("", "#0"), "name_")    
      setlocal3     
      
      ;Add playername to URL
      getlocal2
      getlocal3
      add 
      setlocal3
      
      ;set the URLRequest Url to our url
      getlocal1
      getlocal3                                      
      setproperty         QName(PackageNamespace("", "#0"), "url")     
      
      ; Open Browser Window
      findpropstrict      QName(PackageNamespace("flash.net"), "navigateToURL")
      getlocal1
      pushstring          "_blank"
      callpropvoid        QName(PackageNamespace("flash.net"), "navigateToURL"), 2      
     
       ; to be like other menu items we call remove
       findpropstrict      QName(ProtectedNamespace("_-81"), "remove")
       callpropvoid        QName(ProtectedNamespace("_-81"), "remove"), 0
       
       returnvoid
     end ; code
    end ; body
   end ; method
  end ; trait 
 ;-------------------------------------------------------------------------------

If you plan to update this code, remember that you need to update
* _-aa with the folder where your file is
* _-0BN with the file name we are currently editing
* _-T6, _-81", and "_-0Fn" with the good names . See how the other menu items are build to find new names.
Good Add-On! I'm adding this to my client!
Nice one jNoob.
Finally an original idea by someone.
Good job

Quote Originally Posted by nilly View Post
Nice one jNoob.
And I was typing justanoob the whole time... Thanks to you aswell (I have an addiction of ... )
Quote Originally Posted by runekri3 View Post
Finally an original idea by someone.
Good job
Yeah, thanks. I was wondering what new hack can be done and i thought about this one.I have another idea like this (maybe a shortcut to /tell <playername>)
Quote Originally Posted by JustAnoobROTMG View Post
Yeah, thanks. I was wondering what new hack can be done and i thought about this one.I have another idea like this (maybe a shortcut to /tell <playername>)
I like that idea. One idea I've been working on for weeks and not getting anywhere: Turning player names in the chatlog into teleport buttons. Imagine: the next time someone says "TP FOR CRYSTAL." you can just click their name and tp to them!
Quote Originally Posted by redex View Post
I like that idea. One idea I've been working on for weeks and not getting anywhere: Turning player names in the chatlog into teleport buttons. Imagine: the next time someone says "TP FOR CRYSTAL." you can just click their name and tp to them!
Both of those are such good ideas! +1
This is perfect, Adding it when im home!
Thanx jNooooob
That is cool

I have managed to get everything apart from aimbot to work, not that I use aimbot, but still, would like to get it to work lol )
New to editing swfs and, what if mines isn't in the _-aa file, where do I look then?
Quote Originally Posted by gainb View Post
New to editing swfs and, what if mines isn't in the _-aa file, where do I look then?
Quote Originally Posted by JustAnoobROTMG
Easy => look for "Unlock" in files..
And it's more like _-aa folder.
Since the topic is going to new ideas and stuff people are making.
Im going to make a program to add new entries and edit existing ones, first for items.xml, later maybe monsters and more.
Gonna use python ofcourse

It wont, like most of my other projects help regular players.
But people making a pserver or who just wants to change they're staff to a cosmic whore (did it ) can do it.
Then Ill start a complete overhaul to roti, *winkwink*
i still dont quite get from the description what realmeye exactly does.
@JustAnoobROTMG since this was quite "easy" as an unlock.
can u unlock the teleport to player option in places where its locked, like oryx castle?? just wondering if that is similarily easy to do or if its serverside checked...
I tried a long time ago to allow teleporting into castle : menu works fine but server respond "not allowed on this map".
Same problem with teleport delay.. Server blocks me.

No way.
Another idea I would like to implement is to remove the black and white filter that is applied to the screen when you are paused.

I think it would be really cool to bring an alt with your guild into a tomb running a fullscreen client, pause it in the corner and use fraps to record the whole boss battle in full color!

you could go over the fight later with your guild and critique each other, and find out who it really was that awoke Geb early
Posts 115 of 53 · Page 1 of 4

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?