Outdated5.0.0 Mod Selector

Posts 3145 of 147 · Page 3 of 10
After update Java, it works!! Thanks alot~
No need to state the obvious about how awesome this new thing is. Thank you nilly, and JustaNoobROTMG. Nilly, please except this as my thank you gift (at the risk of an offtopic warning):
I made a mistake..
They didnt change anything

New code is this one

Code:
class
 refid "_-8P:_-0gX"
 instance QName(PackageNamespace("_-8P"), "_-0gX")
  extends QName(PackageNamespace("_-8P"), "_-KH")
  flag SEALED
  flag PROTECTEDNS
  protectedns ProtectedNamespace("_-6-")
  iinit
   refid "_-8P:_-0gX/iinit"
   param QName(PackageNamespace("com.company.assembleegameclient.objects"), "Player")
   body
    maxstack 10
    localcount 5
    initscopedepth 10
    maxscopedepth 11
    code
     pushfalse
     pushtrue
     setlocal3

     jump                L10

     add
     declocal            3
     declocal_i          3
     declocal_i          3
     kill                2
     pushfalse
L10:
     setlocal            4

     getlocal0
     pushscope

     pushbyte            0
     setlocal2

     getlocal0
     pushint             3552822
     pushdouble          0.5
     pushint             16777215
     pushbyte            1
     constructsuper      4

     getlocal0
     getlocal1
     initproperty        QName(PackageNamespace(""), "player_")

     getlocal            4
     dup
     iffalse             L30

     pop
     getlocal0
     convert_b
L30:
     iftrue              L268

     getlocal0
     findpropstrict      QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-1y")
     pushint             11776947
     pushtrue
     getlocal0
     getproperty         QName(PackageNamespace(""), "player_")
     constructprop       QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-1y"), 3
     initproperty        QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-003")

     findpropstrict      QName(PackageNamespace(""), "addChild")
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-003")
     callpropvoid        QName(PackageNamespace(""), "addChild"), 1

     pushbyte            34
     setlocal2

     getlocal0
     findpropstrict      QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-0YE")
     getlocal0
     getproperty         QName(PackageNamespace(""), "player_")
     getproperty         QName(PackageNamespace(""), "numStars_")
     pushfalse
     pushtrue
     constructprop       QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-0YE"), 3
     initproperty        QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-Nv")

     getlocal3
     dup
     iftrue              L60

     pop
     getlocal0
     convert_b
L60:
     iffalse             L398

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-Nv")
     getlocal3
     iffalse             L78

     pushbyte            6
     getlocal3
     iffalse             L79

     setproperty         QName(PackageNamespace(""), "x")

     getlocal3
     dup
     iftrue              L75

     pop
     getlocal2
     convert_b
L75:
     iffalse             L431

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-Nv")
L78:
     getlocal2
L79:
     setproperty         QName(PackageNamespace(""), "y")

     findpropstrict      QName(PackageNamespace(""), "addChild")
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-Nv")
     callpropvoid        QName(PackageNamespace(""), "addChild"), 1

     getlocal2
     pushbyte            30
     getlocal3
     dup
     iftrue              L92

     pop
     getlocal3
     convert_b
L92:
     iffalse             L358

     add
     getlocal3
     iffalse             L196

     convert_i
     setlocal2

     getlocal            4
     iftrue              L285

     getlocal1
     getproperty         QName(PackageNamespace(""), "guildName_")
     getlocal3
     dup
     iftrue              L108

     pop
     getlocal3
     convert_b
L108:
     iffalse             L133

     pushnull
     equals
     getlocal3
     dup
     iftrue              L117

     pop
     getlocal1
     convert_b
L117:
     iffalse             L142

     not
     getlocal            4
     dup
     iffalse             L125

     pop
     getlocal0
     convert_b
L125:
     iftrue              L142

     dup
     iffalse             L143

     getlocal            4
     iftrue              L143

     pop
     getlocal1
     getproperty         QName(PackageNamespace(""), "guildName_")
L133:
     pushstring          ""
     equals
     getlocal3
     dup
     iftrue              L141

     pop
     getlocal1
     convert_b
L141:
     iffalse             L143

L142:
     not
L143:
     iffalse             L205

     getlocal0
     findpropstrict      QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-06O")
     getlocal0
     getproperty         QName(PackageNamespace(""), "player_")
     getproperty         QName(PackageNamespace(""), "guildName_")
     getlocal0
     getproperty         QName(PackageNamespace(""), "player_")
     getproperty         QName(PackageNamespace(""), "guildRank_")
     pushshort           136
     constructprop       QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-06O"), 3
     initproperty        QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-aj")

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-aj")
     getlocal3
     iffalse             L177

     pushbyte            6
     getlocal            4
     dup
     iffalse             L166

     pop
     getlocal1
     convert_b
L166:
     iftrue              L178

     setproperty         QName(PackageNamespace(""), "x")

     getlocal3
     dup
     iftrue              L174

     pop
     getlocal3
     convert_b
L174:
     iffalse             L398

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-aj")
L177:
     getlocal2
L178:
     pushbyte            2
     subtract
     setproperty         QName(PackageNamespace(""), "y")

     getlocal            4
     iftrue              L285

     findpropstrict      QName(PackageNamespace(""), "addChild")
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-aj")
     callpropvoid        QName(PackageNamespace(""), "addChild"), 1

     getlocal2
     getlocal3
     iffalse             L294

     pushbyte            30
     getlocal3
     iffalse             L358

     add
     getlocal3
     iffalse             L359

L196:
     convert_i
     setlocal2


     getlocal3
     dup
     iftrue              L204

     pop
     getlocal2
     convert_b
L204:
     iffalse             L268

L205:


#set fullclass "_-8P:_-0gX" ; CurrentClass
#set displayclass "_-0pP"     ; Class where you fixed Numerical Hp/MP display
#set invfolder "_-0NM"
#set invclass "_-07X"
#set playerlevel "_-mu"     ; Gameobject.class :   trait slot QName(PackageNamespace(""), "_-mu") type QName(PackageNamespace(""), "int") value Integer(-1) end
#set playermaxXp "_-qK"   ; Player class , trait under exp_:  trait slot QName(PackageNamespace(""), "_-qK") type QName(PackageNamespace(""), "int") value Integer(0) end

#set fame1 "_-V8"             ; Player.class
#set fame2 "_-0pJ"             ; below numstars
;  trait slot QName(PackageNamespace(""), "_-V8") type QName(PackageNamespace(""), "int") value Integer(0) end
;  trait slot QName(PackageNamespace(""), "_-0pJ") type QName(PackageNamespace(""), "int") value Integer(-1) end


;----------------------------------------------------------------------------------------------------------
;CREATE XP BAR
;---------------------------------------------------------------------------------------------------------
	 	 getlocal0
     findpropstrict      QName(PackageNamespace("com.company.assembleegameclient.ui"), $"displayclass")
     pushshort           176
     pushbyte            16
     pushint             5931045
     pushint             5526612
     pushstring          "Lvl X"
     constructprop       QName(PackageNamespace("com.company.assembleegameclient.ui"), $"displayclass"), 5
     initproperty        QName(PrivateNamespace("*", $"fullclass"), "_xp")
		 getlocal0
		 getproperty		 		 QName(PrivateNamespace("*", $"fullclass"), "_xp")
		 pushbyte			       6
		 setproperty		     QName(PackageNamespace(""), "x")
		 getlocal0
		 getproperty		     QName(PrivateNamespace("*", $"fullclass"), "_xp")
		 getlocal2
		 setproperty		      QName(PackageNamespace(""), "y")
		 findpropstrict      QName(PackageNamespace(""), "addChild")
     getlocal0
     getproperty         QName(PrivateNamespace("*", $"fullclass"), "_xp")
     callpropvoid        QName(PackageNamespace(""), "addChild"), 1
		 getlocal0
		 getproperty		     QName(PrivateNamespace("*", $"fullclass"), "_xp")
		 pushtrue
		 setproperty		     QName(PackageNamespace(""), "visible")
		 
	 ;---------------------------------------------------------------------------------------------------------
	 ;CREATE FAME BAR 
	 ;---------------------------------------------------------------------------------------------------------
     getlocal0
     findpropstrict      QName(PackageNamespace("com.company.assembleegameclient.ui"), $"displayclass")
     pushshort           176
     pushbyte            16
     pushint             14835456
     pushint             5526612
     pushstring          "Fame"
     constructprop       QName(PackageNamespace("com.company.assembleegameclient.ui"), $"displayclass"), 5
     initproperty        QName(PrivateNamespace("*", $"fullclass"), "_fame")
		 getlocal0
		 getproperty		    QName(PrivateNamespace("*", $"fullclass"), "_fame")
		 pushbyte			      6
		 setproperty		    QName(PackageNamespace(""), "x")
		 getlocal0
		 getproperty		     QName(PrivateNamespace("*", $"fullclass"), "_fame")
     getlocal2 
     setproperty		     QName(PackageNamespace(""), "y")
     findpropstrict      QName(PackageNamespace(""), "addChild")
     getlocal0
     getproperty         QName(PrivateNamespace("*", $"fullclass"), "_fame")
     callpropvoid        QName(PackageNamespace(""), "addChild"), 1
		 getlocal0
		 getproperty		     QName(PrivateNamespace("*", $"fullclass"), "_fame")
		 pushfalse
		 setproperty		    QName(PackageNamespace(""), "visible")
		 
		 getlocal2
		 pushbyte			 24
		 add
		 convert_i
		 setlocal2

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

     getlocal0
     findpropstrict      QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-0pP")
     pushshort           176
     pushbyte            16

L216:
     pushint             14693428
     pushint             5526612
     pushstring          "HP"
     constructprop       QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-0pP"), 5
     initproperty        QName(PrivateNamespace("*", "_-8P:_-0gX"), "get")

     getlocal3
     dup
     iftrue              L227

     pop
     getlocal2
     convert_b
L227:
     iffalse             L268

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "get")
     getlocal            4
     dup
     iffalse             L236

     pop
     getlocal1
     convert_b
L236:
     iftrue              L243

     pushbyte            6
     getlocal            4
     iftrue              L244

     setproperty         QName(PackageNamespace(""), "x")

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "get")
L243:
     getlocal2
L244:
     setproperty         QName(PackageNamespace(""), "y")

     findpropstrict      QName(PackageNamespace(""), "addChild")
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "get")
     callpropvoid        QName(PackageNamespace(""), "addChild"), 1

     getlocal2
     pushbyte            24
     getlocal            4
     dup
     iffalse             L257

     pop
     getlocal3
     convert_b
L257:
     iftrue              L358

     add
     getlocal3
     dup
     iftrue              L265

     pop
     getlocal0
     convert_b
L265:
     iffalse             L359

     convert_i
     setlocal2

L268:
     getlocal0
     findpropstrict      QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-0pP")
     pushshort           176
     pushbyte            16
     pushint             6325472
     pushint             5526612
     pushstring          "MP"
     constructprop       QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-0pP"), 5
     initproperty        QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-e2")

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-e2")
     getlocal3
     iffalse             L287

     pushbyte            6
     getlocal3
     iffalse             L288

     setproperty         QName(PackageNamespace(""), "x")

L285:
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-e2")
L287:
     getlocal2
L288:
     setproperty         QName(PackageNamespace(""), "y")

     findpropstrict      QName(PackageNamespace(""), "addChild")
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-e2")
     callpropvoid        QName(PackageNamespace(""), "addChild"), 1

     getlocal2
L294:
     pushbyte            24
     getlocal3
     iffalse             L358

     add
     getlocal            4
     iftrue              L359

     convert_i
     setlocal2
     
;-----------------------------------------
; STATS BAR     
;-----------------------------------------

	 	 getlocal0
     findpropstrict      QName(PackageNamespace("com.company.assembleegameclient.ui"), "Stats")
     pushshort           180
     pushbyte            46
     constructprop       QName(PackageNamespace("com.company.assembleegameclient.ui"), "Stats"), 2
     initproperty        QName(PrivateNamespace("*", $"fullclass"), "_stats")

     getlocal0
     getproperty         QName(PrivateNamespace("*", $"fullclass"), "_stats")
     pushbyte            7
     setproperty         QName(PackageNamespace(""), "x")

     getlocal0
     getproperty         QName(PrivateNamespace("*", $"fullclass"), "_stats")
     getlocal2
     pushbyte 			 17
     subtract
     setproperty         QName(PackageNamespace(""), "y")

     findpropstrict      QName(PackageNamespace(""), "addChild")
     getlocal0
     getproperty         QName(PrivateNamespace("*", $"fullclass"), "_stats")
     callpropvoid        QName(PackageNamespace(""), "addChild"), 1
	 
		 getlocal2
		 pushshort			 55
		 add
		 convert_i
		 setlocal2
	 ;-------------------------------------------------------------------------         
     

     getlocal0
     findpropstrict      QName(PackageNamespace("_-0NM"), "_-5v")
     pushnull
     getlocal0
     getproperty         QName(PackageNamespace(""), "player_")
     getproperty         QName(PackageNamespace(""), "_-kK")
     getlocal0
     getproperty         QName(PackageNamespace(""), "player_")
     constructprop       QName(PackageNamespace("_-0NM"), "_-5v"), 3
     initproperty        QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-0-A")

     getlocal3
     dup
     iftrue              L318

     pop
     getlocal1
     convert_b
L318:
     iffalse             L361

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-0-A")
     getlocal3
     dup
     iftrue              L327

     pop
     getlocal2
     convert_b
L327:
     iffalse             L341

     pushbyte            8
     getlocal            4
     iftrue              L342

     setproperty         QName(PackageNamespace(""), "x")

     getlocal            4
     dup
     iffalse             L338

     pop
     getlocal3
     convert_b
L338:
     iftrue              L398

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-0-A")
L341:
     getlocal2
L342:
     setproperty         QName(PackageNamespace(""), "y")

     getlocal3
     dup
     iftrue              L349

     pop
     getlocal3
     convert_b
L349:
     iffalse             L371

     findpropstrict      QName(PackageNamespace(""), "addChild")
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-0-A")
     callpropvoid        QName(PackageNamespace(""), "addChild"), 1

     getlocal3
     iffalse             L361

     getlocal2
		;------------------------
    ;ADJUST POSITION OF TEXT
    ;------------------------
    ; pushbyte            52
      pushshort         132
    ;------------------------ 
L358:
     add
L359:
     convert_i
     setlocal2
     
    ;--------------------------------------------------------------------------
		; Add player inventory
		;--------------------------------------------------------------------------
		getlocal0
		findpropstrict      QName(PackageNamespace($"invfolder"), $"invclass")
		getlocal0
		getproperty         QName(PackageNamespace(""), "player_")
		dup
		pushbyte 4
		constructprop       QName(PackageNamespace($"invfolder"), $"invclass"), 3
		initproperty        QName(PrivateNamespace("*", $"fullclass"), "_inventory")
		
		getlocal0
		getproperty         QName(PrivateNamespace("*", $"fullclass"), "_inventory")
		pushbyte            8
		setproperty         QName(PackageNamespace(""), "x")
		
		getlocal0
		getproperty         QName(PrivateNamespace("*", $"fullclass"), "_inventory")
		getlocal0
		getproperty         QName(PrivateNamespace("*", $"fullclass"), "_-0-A") ; Manual update
		getproperty         QName(PackageNamespace(""), "y")
		getlocal0
		getproperty         QName(PrivateNamespace("*", $"fullclass"), "_-0-A") ; Manual update
		getproperty         QName(PackageNamespace(""), "height")
		add
		pushbyte            4
		add
		setproperty         QName(PackageNamespace(""), "y")
		
		findpropstrict      QName(PackageNamespace(""), "addChild")
		getlocal0
		getproperty         QName(PrivateNamespace("*", $"fullclass"), "_inventory")
		callpropvoid        QName(PackageNamespace(""), "addChild"), 1
		;--------------------------------------------------------------------------        
     
     

L361:
     getlocal0
     findpropstrict      QName(PackageNamespace("com.company.ui"), "SimpleText")
     pushbyte            12
     pushint             11776947
     pushfalse
     pushbyte            0
     dup
     pushstring          "Myriad Pro"
     constructprop       QName(PackageNamespace("com.company.ui"), "SimpleText"), 6
     initproperty        QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-my")

L371:
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-my")
     getlocal3
     iffalse             L433

     pushstring          "(Click to open menu)"
     setproperty         QName(PackageNamespace(""), "text")

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-my")
     getlocal3
     dup
     iftrue              L385

     pop
     getlocal0
     convert_b
L385:
     iffalse             L391

     callpropvoid        QName(PackageNamespace(""), "updateMetrics"), 0

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-my")
     getlocal            4
     iftrue              L407

L391:
     findpropstrict      QName(PackageNamespace("flash.filters"), "DropShadowFilter")
     pushbyte            0
     dup
     dup
     constructprop       QName(PackageNamespace("flash.filters"), "DropShadowFilter"), 3
     newarray            1
     setproperty         QName(PackageNamespace(""), "filters")

L398:
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-my")
     getlocal            4
     dup
     iffalse             L406

     pop
     getlocal3
     convert_b
L406:
     iftrue              L433

L407:
     getlex              QName(PackageNamespace(""), "width")
     pushbyte            2
     jump                L416

     convert_d
     kill                2
     getlocal0
     setlocal2

     equals
     typeof
L416:
     divide
     getlocal3
     dup
     iftrue              L423

     pop
     getlocal3
     convert_b
L423:
     iffalse             L430

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-my")
     getproperty         QName(PackageNamespace(""), "width")
     pushbyte            2
     divide
     subtract
L430:
     setproperty         QName(PackageNamespace(""), "x")

L431:
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-my")
L433:
     getlocal2
     setproperty         QName(PackageNamespace(""), "y")

     findpropstrict      QName(PackageNamespace(""), "addChild")
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-my")
     callpropvoid        QName(PackageNamespace(""), "addChild"), 1

     returnvoid
    end ; code
   end ; body
  end ; method
  trait slot QName(PackageNamespace(""), "player_") type QName(PackageNamespace("com.company.assembleegameclient.objects"), "Player") end
  trait slot QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-003") type QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-1y") end
  trait slot QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-Nv") type QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-0YE") end
  trait slot QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-aj") type QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-06O") end
  trait slot QName(PrivateNamespace("*", "_-8P:_-0gX"), "get") type QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-0pP") end
  trait slot QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-e2") type QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-0pP") end
  trait slot QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-my") type QName(PackageNamespace("com.company.ui"), "SimpleText") end
  trait slot QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-0-A") type QName(PackageNamespace("_-0NM"), "_-5v") end
  
  ;----------------
  ;ADDED PROPERTY
  ;----------------
  trait slot QName(PrivateNamespace("*", $"fullclass"), "_xp") type QName(PackageNamespace("com.company.assembleegameclient.ui"), $"displayclass") end  
  trait slot QName(PrivateNamespace("*", $"fullclass"), "_fame") type QName(PackageNamespace("com.company.assembleegameclient.ui"), $"displayclass") end  
  trait slot QName(PrivateNamespace("*", $"fullclass"), "_stats") type QName(PackageNamespace("com.company.assembleegameclient.ui"), "Stats") end  
	trait slot QName(PrivateNamespace("*", $"fullclass"), "_inventory") type QName(PackageNamespace($"invfolder"), $"invclass") end  

  trait method QName(PackageNamespace(""), "draw") flag OVERRIDE
   method
    refid "_-8P:_-0gX/draw"
    returns QName(PackageNamespace(""), "void")
    body
     maxstack 7
     ;------------------------
     ; INCREASE localcount
     ;-----------------------
     ;localcount 3
     localcount 4
     ;-----------------------
     initscopedepth 10
     maxscopedepth 11
     code
      pushfalse
      pushtrue
      swap
      jump                L10

      greaterthan
      multiply_i
      negate_i
      strictequals
      astypelate
      popscope
L10:
      setlocal1

      setlocal2

      getlocal0
      pushscope

      getlocal2
      iffalse             L87
      
    ;------------------------------------------------------------------------
	  ; handle drawing of xp/fame bar
	  ;------------------------------------------------------------------------

      pushstring          "Lvl "
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), $"playerlevel")
      add
      coerce_s
      setlocal3
       

      getlocal3   
      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_xp")
      getproperty         QName(PackageNamespace(""), "labelText_")
      getproperty         QName(PackageNamespace(""), "text")
      ifeq                LABEL1

      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_xp")
      getproperty         QName(PackageNamespace(""), "labelText_")
      getlocal3
      setproperty         QName(PackageNamespace(""), "text")
      
      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_xp")
      getproperty         QName(PackageNamespace(""), "labelText_")
      callpropvoid        QName(PackageNamespace(""), "updateMetrics"), 0
     

LABEL1:

      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), $"playerlevel")
      pushbyte            20
      ifeq                LABEL2

      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_xp")
      getproperty         QName(PackageNamespace(""), "visible")
      iftrue              LABEL3

      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_xp")
      pushtrue
      setproperty         QName(PackageNamespace(""), "visible")

      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_fame")
      pushfalse
      setproperty         QName(PackageNamespace(""), "visible")

LABEL3:
      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_xp")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "exp_")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), $"playermaxXp")
      pushbyte            0
      callpropvoid        QName(PackageNamespace(""), "draw"), 3

      jump                DRAWSTATS

LABEL2:
      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_fame")
      getproperty         QName(PackageNamespace(""), "visible")
      iftrue              LABEL4

      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_fame")
      pushtrue
      setproperty         QName(PackageNamespace(""), "visible")

      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_xp")
      pushfalse
      setproperty         QName(PackageNamespace(""), "visible")

LABEL4:
      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_fame")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), $"fame1")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), $"fame2")
      pushbyte            0
      callpropvoid        QName(PackageNamespace(""), "draw"), 3

DRAWSTATS:      

	  ;------------------------------------------------------------------------
	  ; DRAW STATS stats
	  ;------------------------------------------------------------------------
	   getlocal0
     getproperty         QName(PrivateNamespace("*", $"fullclass"), "_stats")
     getlocal0
     getproperty         QName(PackageNamespace(""), "player_")
     callpropvoid        QName(PackageNamespace(""), "draw"), 1
	  ;-----------------------------------------------------------------------  
	  ; draw inventory
	  ;------------------------------------------------------------------------
	  getlocal0
	  getproperty		  QName(PrivateNamespace("*", $"fullclass"), "_inventory")
	  callpropvoid		  QName(PackageNamespace(""), "draw"), 0
	  ;------------------------------------------------------------------------	      
      
;------------------------------------------------------------------------       
      
      

      getlocal0
      getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "get")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "_-xm")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "_-63")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "_-kj")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "_-wI")
      callpropvoid        QName(PackageNamespace(""), "draw"), 4

      getlocal1
      iftrue              L64

      jump                L40

      bitxor
      typeof
      getlocal2
      not
      multiply
      convert_u
L40:
      getlocal0
      getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-e2")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "_-0P-")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "_-4m")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "_-02f")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "_-Wv")
      callpropvoid        QName(PackageNamespace(""), "draw"), 4

      getlocal1
      iftrue              L85

      jump                L64

      bitand
      add_i
      setlocal2

      negate
      decrement_i
      multiply
L64:
      getlocal0
      getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-0-A")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "_-AK")
      callpropvoid        QName(PackageNamespace(""), "setItems"), 1

      getlocal2
      dup
      iftrue              L76

      pop
      getlocal0
      convert_b
L76:
      iffalse             L85

      getlocal0
      getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-Nv")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "numStars_")
      callpropvoid        QName(PackageNamespace(""), "draw"), 1

      getlocal2
      iffalse             L87

L85:
      getlocal0
      callsupervoid       QName(PackageNamespace(""), "draw"), 0
L87:
      returnvoid
     end ; code
    end ; body
   end ; method
  end ; trait
 end ; instance
 cinit
  refid "_-8P:_-0gX/cinit"
  body
   maxstack 3
   localcount 1
   initscopedepth 9
   maxscopedepth 10
   code
    getlocal0
    pushscope

    returnvoid
   end ; code
  end ; body
 end ; method
end ; class
Update: Added disable client swap mod. It is found on OP.

Quote Originally Posted by JustAnoobROTMG View Post
I made a mistake..
They didnt change anything

New code is this one

...
Nice work. I'll work on transferring this over to a .zip for the mod selector later.
Quote Originally Posted by JustAnoobROTMG View Post
I made a mistake..
They didnt change anything

New code is this one

Code:
class
 refid "_-8P:_-0gX"
 instance QName(PackageNamespace("_-8P"), "_-0gX")
  extends QName(PackageNamespace("_-8P"), "_-KH")
  flag SEALED
  flag PROTECTEDNS
  protectedns ProtectedNamespace("_-6-")
  iinit
   refid "_-8P:_-0gX/iinit"
   param QName(PackageNamespace("com.company.assembleegameclient.objects"), "Player")
   body
    maxstack 10
    localcount 5
    initscopedepth 10
    maxscopedepth 11
    code
     pushfalse
     pushtrue
     setlocal3

     jump                L10

     add
     declocal            3
     declocal_i          3
     declocal_i          3
     kill                2
     pushfalse
L10:
     setlocal            4

     getlocal0
     pushscope

     pushbyte            0
     setlocal2

     getlocal0
     pushint             3552822
     pushdouble          0.5
     pushint             16777215
     pushbyte            1
     constructsuper      4

     getlocal0
     getlocal1
     initproperty        QName(PackageNamespace(""), "player_")

     getlocal            4
     dup
     iffalse             L30

     pop
     getlocal0
     convert_b
L30:
     iftrue              L268

     getlocal0
     findpropstrict      QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-1y")
     pushint             11776947
     pushtrue
     getlocal0
     getproperty         QName(PackageNamespace(""), "player_")
     constructprop       QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-1y"), 3
     initproperty        QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-003")

     findpropstrict      QName(PackageNamespace(""), "addChild")
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-003")
     callpropvoid        QName(PackageNamespace(""), "addChild"), 1

     pushbyte            34
     setlocal2

     getlocal0
     findpropstrict      QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-0YE")
     getlocal0
     getproperty         QName(PackageNamespace(""), "player_")
     getproperty         QName(PackageNamespace(""), "numStars_")
     pushfalse
     pushtrue
     constructprop       QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-0YE"), 3
     initproperty        QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-Nv")

     getlocal3
     dup
     iftrue              L60

     pop
     getlocal0
     convert_b
L60:
     iffalse             L398

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-Nv")
     getlocal3
     iffalse             L78

     pushbyte            6
     getlocal3
     iffalse             L79

     setproperty         QName(PackageNamespace(""), "x")

     getlocal3
     dup
     iftrue              L75

     pop
     getlocal2
     convert_b
L75:
     iffalse             L431

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-Nv")
L78:
     getlocal2
L79:
     setproperty         QName(PackageNamespace(""), "y")

     findpropstrict      QName(PackageNamespace(""), "addChild")
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-Nv")
     callpropvoid        QName(PackageNamespace(""), "addChild"), 1

     getlocal2
     pushbyte            30
     getlocal3
     dup
     iftrue              L92

     pop
     getlocal3
     convert_b
L92:
     iffalse             L358

     add
     getlocal3
     iffalse             L196

     convert_i
     setlocal2

     getlocal            4
     iftrue              L285

     getlocal1
     getproperty         QName(PackageNamespace(""), "guildName_")
     getlocal3
     dup
     iftrue              L108

     pop
     getlocal3
     convert_b
L108:
     iffalse             L133

     pushnull
     equals
     getlocal3
     dup
     iftrue              L117

     pop
     getlocal1
     convert_b
L117:
     iffalse             L142

     not
     getlocal            4
     dup
     iffalse             L125

     pop
     getlocal0
     convert_b
L125:
     iftrue              L142

     dup
     iffalse             L143

     getlocal            4
     iftrue              L143

     pop
     getlocal1
     getproperty         QName(PackageNamespace(""), "guildName_")
L133:
     pushstring          ""
     equals
     getlocal3
     dup
     iftrue              L141

     pop
     getlocal1
     convert_b
L141:
     iffalse             L143

L142:
     not
L143:
     iffalse             L205

     getlocal0
     findpropstrict      QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-06O")
     getlocal0
     getproperty         QName(PackageNamespace(""), "player_")
     getproperty         QName(PackageNamespace(""), "guildName_")
     getlocal0
     getproperty         QName(PackageNamespace(""), "player_")
     getproperty         QName(PackageNamespace(""), "guildRank_")
     pushshort           136
     constructprop       QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-06O"), 3
     initproperty        QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-aj")

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-aj")
     getlocal3
     iffalse             L177

     pushbyte            6
     getlocal            4
     dup
     iffalse             L166

     pop
     getlocal1
     convert_b
L166:
     iftrue              L178

     setproperty         QName(PackageNamespace(""), "x")

     getlocal3
     dup
     iftrue              L174

     pop
     getlocal3
     convert_b
L174:
     iffalse             L398

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-aj")
L177:
     getlocal2
L178:
     pushbyte            2
     subtract
     setproperty         QName(PackageNamespace(""), "y")

     getlocal            4
     iftrue              L285

     findpropstrict      QName(PackageNamespace(""), "addChild")
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-aj")
     callpropvoid        QName(PackageNamespace(""), "addChild"), 1

     getlocal2
     getlocal3
     iffalse             L294

     pushbyte            30
     getlocal3
     iffalse             L358

     add
     getlocal3
     iffalse             L359

L196:
     convert_i
     setlocal2


     getlocal3
     dup
     iftrue              L204

     pop
     getlocal2
     convert_b
L204:
     iffalse             L268

L205:


#set fullclass "_-8P:_-0gX" ; CurrentClass
#set displayclass "_-0pP"     ; Class where you fixed Numerical Hp/MP display
#set invfolder "_-0NM"
#set invclass "_-07X"
#set playerlevel "_-mu"     ; Gameobject.class :   trait slot QName(PackageNamespace(""), "_-mu") type QName(PackageNamespace(""), "int") value Integer(-1) end
#set playermaxXp "_-qK"   ; Player class , trait under exp_:  trait slot QName(PackageNamespace(""), "_-qK") type QName(PackageNamespace(""), "int") value Integer(0) end

#set fame1 "_-V8"             ; Player.class
#set fame2 "_-0pJ"             ; below numstars
;  trait slot QName(PackageNamespace(""), "_-V8") type QName(PackageNamespace(""), "int") value Integer(0) end
;  trait slot QName(PackageNamespace(""), "_-0pJ") type QName(PackageNamespace(""), "int") value Integer(-1) end


;----------------------------------------------------------------------------------------------------------
;CREATE XP BAR
;---------------------------------------------------------------------------------------------------------
	 	 getlocal0
     findpropstrict      QName(PackageNamespace("com.company.assembleegameclient.ui"), $"displayclass")
     pushshort           176
     pushbyte            16
     pushint             5931045
     pushint             5526612
     pushstring          "Lvl X"
     constructprop       QName(PackageNamespace("com.company.assembleegameclient.ui"), $"displayclass"), 5
     initproperty        QName(PrivateNamespace("*", $"fullclass"), "_xp")
		 getlocal0
		 getproperty		 		 QName(PrivateNamespace("*", $"fullclass"), "_xp")
		 pushbyte			       6
		 setproperty		     QName(PackageNamespace(""), "x")
		 getlocal0
		 getproperty		     QName(PrivateNamespace("*", $"fullclass"), "_xp")
		 getlocal2
		 setproperty		      QName(PackageNamespace(""), "y")
		 findpropstrict      QName(PackageNamespace(""), "addChild")
     getlocal0
     getproperty         QName(PrivateNamespace("*", $"fullclass"), "_xp")
     callpropvoid        QName(PackageNamespace(""), "addChild"), 1
		 getlocal0
		 getproperty		     QName(PrivateNamespace("*", $"fullclass"), "_xp")
		 pushtrue
		 setproperty		     QName(PackageNamespace(""), "visible")
		 
	 ;---------------------------------------------------------------------------------------------------------
	 ;CREATE FAME BAR 
	 ;---------------------------------------------------------------------------------------------------------
     getlocal0
     findpropstrict      QName(PackageNamespace("com.company.assembleegameclient.ui"), $"displayclass")
     pushshort           176
     pushbyte            16
     pushint             14835456
     pushint             5526612
     pushstring          "Fame"
     constructprop       QName(PackageNamespace("com.company.assembleegameclient.ui"), $"displayclass"), 5
     initproperty        QName(PrivateNamespace("*", $"fullclass"), "_fame")
		 getlocal0
		 getproperty		    QName(PrivateNamespace("*", $"fullclass"), "_fame")
		 pushbyte			      6
		 setproperty		    QName(PackageNamespace(""), "x")
		 getlocal0
		 getproperty		     QName(PrivateNamespace("*", $"fullclass"), "_fame")
     getlocal2 
     setproperty		     QName(PackageNamespace(""), "y")
     findpropstrict      QName(PackageNamespace(""), "addChild")
     getlocal0
     getproperty         QName(PrivateNamespace("*", $"fullclass"), "_fame")
     callpropvoid        QName(PackageNamespace(""), "addChild"), 1
		 getlocal0
		 getproperty		     QName(PrivateNamespace("*", $"fullclass"), "_fame")
		 pushfalse
		 setproperty		    QName(PackageNamespace(""), "visible")
		 
		 getlocal2
		 pushbyte			 24
		 add
		 convert_i
		 setlocal2

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

     getlocal0
     findpropstrict      QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-0pP")
     pushshort           176
     pushbyte            16

L216:
     pushint             14693428
     pushint             5526612
     pushstring          "HP"
     constructprop       QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-0pP"), 5
     initproperty        QName(PrivateNamespace("*", "_-8P:_-0gX"), "get")

     getlocal3
     dup
     iftrue              L227

     pop
     getlocal2
     convert_b
L227:
     iffalse             L268

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "get")
     getlocal            4
     dup
     iffalse             L236

     pop
     getlocal1
     convert_b
L236:
     iftrue              L243

     pushbyte            6
     getlocal            4
     iftrue              L244

     setproperty         QName(PackageNamespace(""), "x")

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "get")
L243:
     getlocal2
L244:
     setproperty         QName(PackageNamespace(""), "y")

     findpropstrict      QName(PackageNamespace(""), "addChild")
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "get")
     callpropvoid        QName(PackageNamespace(""), "addChild"), 1

     getlocal2
     pushbyte            24
     getlocal            4
     dup
     iffalse             L257

     pop
     getlocal3
     convert_b
L257:
     iftrue              L358

     add
     getlocal3
     dup
     iftrue              L265

     pop
     getlocal0
     convert_b
L265:
     iffalse             L359

     convert_i
     setlocal2

L268:
     getlocal0
     findpropstrict      QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-0pP")
     pushshort           176
     pushbyte            16
     pushint             6325472
     pushint             5526612
     pushstring          "MP"
     constructprop       QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-0pP"), 5
     initproperty        QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-e2")

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-e2")
     getlocal3
     iffalse             L287

     pushbyte            6
     getlocal3
     iffalse             L288

     setproperty         QName(PackageNamespace(""), "x")

L285:
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-e2")
L287:
     getlocal2
L288:
     setproperty         QName(PackageNamespace(""), "y")

     findpropstrict      QName(PackageNamespace(""), "addChild")
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-e2")
     callpropvoid        QName(PackageNamespace(""), "addChild"), 1

     getlocal2
L294:
     pushbyte            24
     getlocal3
     iffalse             L358

     add
     getlocal            4
     iftrue              L359

     convert_i
     setlocal2
     
;-----------------------------------------
; STATS BAR     
;-----------------------------------------

	 	 getlocal0
     findpropstrict      QName(PackageNamespace("com.company.assembleegameclient.ui"), "Stats")
     pushshort           180
     pushbyte            46
     constructprop       QName(PackageNamespace("com.company.assembleegameclient.ui"), "Stats"), 2
     initproperty        QName(PrivateNamespace("*", $"fullclass"), "_stats")

     getlocal0
     getproperty         QName(PrivateNamespace("*", $"fullclass"), "_stats")
     pushbyte            7
     setproperty         QName(PackageNamespace(""), "x")

     getlocal0
     getproperty         QName(PrivateNamespace("*", $"fullclass"), "_stats")
     getlocal2
     pushbyte 			 17
     subtract
     setproperty         QName(PackageNamespace(""), "y")

     findpropstrict      QName(PackageNamespace(""), "addChild")
     getlocal0
     getproperty         QName(PrivateNamespace("*", $"fullclass"), "_stats")
     callpropvoid        QName(PackageNamespace(""), "addChild"), 1
	 
		 getlocal2
		 pushshort			 55
		 add
		 convert_i
		 setlocal2
	 ;-------------------------------------------------------------------------         
     

     getlocal0
     findpropstrict      QName(PackageNamespace("_-0NM"), "_-5v")
     pushnull
     getlocal0
     getproperty         QName(PackageNamespace(""), "player_")
     getproperty         QName(PackageNamespace(""), "_-kK")
     getlocal0
     getproperty         QName(PackageNamespace(""), "player_")
     constructprop       QName(PackageNamespace("_-0NM"), "_-5v"), 3
     initproperty        QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-0-A")

     getlocal3
     dup
     iftrue              L318

     pop
     getlocal1
     convert_b
L318:
     iffalse             L361

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-0-A")
     getlocal3
     dup
     iftrue              L327

     pop
     getlocal2
     convert_b
L327:
     iffalse             L341

     pushbyte            8
     getlocal            4
     iftrue              L342

     setproperty         QName(PackageNamespace(""), "x")

     getlocal            4
     dup
     iffalse             L338

     pop
     getlocal3
     convert_b
L338:
     iftrue              L398

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-0-A")
L341:
     getlocal2
L342:
     setproperty         QName(PackageNamespace(""), "y")

     getlocal3
     dup
     iftrue              L349

     pop
     getlocal3
     convert_b
L349:
     iffalse             L371

     findpropstrict      QName(PackageNamespace(""), "addChild")
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-0-A")
     callpropvoid        QName(PackageNamespace(""), "addChild"), 1

     getlocal3
     iffalse             L361

     getlocal2
		;------------------------
    ;ADJUST POSITION OF TEXT
    ;------------------------
    ; pushbyte            52
      pushshort         132
    ;------------------------ 
L358:
     add
L359:
     convert_i
     setlocal2
     
    ;--------------------------------------------------------------------------
		; Add player inventory
		;--------------------------------------------------------------------------
		getlocal0
		findpropstrict      QName(PackageNamespace($"invfolder"), $"invclass")
		getlocal0
		getproperty         QName(PackageNamespace(""), "player_")
		dup
		pushbyte 4
		constructprop       QName(PackageNamespace($"invfolder"), $"invclass"), 3
		initproperty        QName(PrivateNamespace("*", $"fullclass"), "_inventory")
		
		getlocal0
		getproperty         QName(PrivateNamespace("*", $"fullclass"), "_inventory")
		pushbyte            8
		setproperty         QName(PackageNamespace(""), "x")
		
		getlocal0
		getproperty         QName(PrivateNamespace("*", $"fullclass"), "_inventory")
		getlocal0
		getproperty         QName(PrivateNamespace("*", $"fullclass"), "_-0-A") ; Manual update
		getproperty         QName(PackageNamespace(""), "y")
		getlocal0
		getproperty         QName(PrivateNamespace("*", $"fullclass"), "_-0-A") ; Manual update
		getproperty         QName(PackageNamespace(""), "height")
		add
		pushbyte            4
		add
		setproperty         QName(PackageNamespace(""), "y")
		
		findpropstrict      QName(PackageNamespace(""), "addChild")
		getlocal0
		getproperty         QName(PrivateNamespace("*", $"fullclass"), "_inventory")
		callpropvoid        QName(PackageNamespace(""), "addChild"), 1
		;--------------------------------------------------------------------------        
     
     

L361:
     getlocal0
     findpropstrict      QName(PackageNamespace("com.company.ui"), "SimpleText")
     pushbyte            12
     pushint             11776947
     pushfalse
     pushbyte            0
     dup
     pushstring          "Myriad Pro"
     constructprop       QName(PackageNamespace("com.company.ui"), "SimpleText"), 6
     initproperty        QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-my")

L371:
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-my")
     getlocal3
     iffalse             L433

     pushstring          "(Click to open menu)"
     setproperty         QName(PackageNamespace(""), "text")

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-my")
     getlocal3
     dup
     iftrue              L385

     pop
     getlocal0
     convert_b
L385:
     iffalse             L391

     callpropvoid        QName(PackageNamespace(""), "updateMetrics"), 0

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-my")
     getlocal            4
     iftrue              L407

L391:
     findpropstrict      QName(PackageNamespace("flash.filters"), "DropShadowFilter")
     pushbyte            0
     dup
     dup
     constructprop       QName(PackageNamespace("flash.filters"), "DropShadowFilter"), 3
     newarray            1
     setproperty         QName(PackageNamespace(""), "filters")

L398:
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-my")
     getlocal            4
     dup
     iffalse             L406

     pop
     getlocal3
     convert_b
L406:
     iftrue              L433

L407:
     getlex              QName(PackageNamespace(""), "width")
     pushbyte            2
     jump                L416

     convert_d
     kill                2
     getlocal0
     setlocal2

     equals
     typeof
L416:
     divide
     getlocal3
     dup
     iftrue              L423

     pop
     getlocal3
     convert_b
L423:
     iffalse             L430

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-my")
     getproperty         QName(PackageNamespace(""), "width")
     pushbyte            2
     divide
     subtract
L430:
     setproperty         QName(PackageNamespace(""), "x")

L431:
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-my")
L433:
     getlocal2
     setproperty         QName(PackageNamespace(""), "y")

     findpropstrict      QName(PackageNamespace(""), "addChild")
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-my")
     callpropvoid        QName(PackageNamespace(""), "addChild"), 1

     returnvoid
    end ; code
   end ; body
  end ; method
  trait slot QName(PackageNamespace(""), "player_") type QName(PackageNamespace("com.company.assembleegameclient.objects"), "Player") end
  trait slot QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-003") type QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-1y") end
  trait slot QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-Nv") type QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-0YE") end
  trait slot QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-aj") type QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-06O") end
  trait slot QName(PrivateNamespace("*", "_-8P:_-0gX"), "get") type QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-0pP") end
  trait slot QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-e2") type QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-0pP") end
  trait slot QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-my") type QName(PackageNamespace("com.company.ui"), "SimpleText") end
  trait slot QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-0-A") type QName(PackageNamespace("_-0NM"), "_-5v") end
  
  ;----------------
  ;ADDED PROPERTY
  ;----------------
  trait slot QName(PrivateNamespace("*", $"fullclass"), "_xp") type QName(PackageNamespace("com.company.assembleegameclient.ui"), $"displayclass") end  
  trait slot QName(PrivateNamespace("*", $"fullclass"), "_fame") type QName(PackageNamespace("com.company.assembleegameclient.ui"), $"displayclass") end  
  trait slot QName(PrivateNamespace("*", $"fullclass"), "_stats") type QName(PackageNamespace("com.company.assembleegameclient.ui"), "Stats") end  
	trait slot QName(PrivateNamespace("*", $"fullclass"), "_inventory") type QName(PackageNamespace($"invfolder"), $"invclass") end  

  trait method QName(PackageNamespace(""), "draw") flag OVERRIDE
   method
    refid "_-8P:_-0gX/draw"
    returns QName(PackageNamespace(""), "void")
    body
     maxstack 7
     ;------------------------
     ; INCREASE localcount
     ;-----------------------
     ;localcount 3
     localcount 4
     ;-----------------------
     initscopedepth 10
     maxscopedepth 11
     code
      pushfalse
      pushtrue
      swap
      jump                L10

      greaterthan
      multiply_i
      negate_i
      strictequals
      astypelate
      popscope
L10:
      setlocal1

      setlocal2

      getlocal0
      pushscope

      getlocal2
      iffalse             L87
      
    ;------------------------------------------------------------------------
	  ; handle drawing of xp/fame bar
	  ;------------------------------------------------------------------------

      pushstring          "Lvl "
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), $"playerlevel")
      add
      coerce_s
      setlocal3
       

      getlocal3   
      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_xp")
      getproperty         QName(PackageNamespace(""), "labelText_")
      getproperty         QName(PackageNamespace(""), "text")
      ifeq                LABEL1

      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_xp")
      getproperty         QName(PackageNamespace(""), "labelText_")
      getlocal3
      setproperty         QName(PackageNamespace(""), "text")
      
      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_xp")
      getproperty         QName(PackageNamespace(""), "labelText_")
      callpropvoid        QName(PackageNamespace(""), "updateMetrics"), 0
     

LABEL1:

      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), $"playerlevel")
      pushbyte            20
      ifeq                LABEL2

      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_xp")
      getproperty         QName(PackageNamespace(""), "visible")
      iftrue              LABEL3

      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_xp")
      pushtrue
      setproperty         QName(PackageNamespace(""), "visible")

      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_fame")
      pushfalse
      setproperty         QName(PackageNamespace(""), "visible")

LABEL3:
      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_xp")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "exp_")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), $"playermaxXp")
      pushbyte            0
      callpropvoid        QName(PackageNamespace(""), "draw"), 3

      jump                DRAWSTATS

LABEL2:
      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_fame")
      getproperty         QName(PackageNamespace(""), "visible")
      iftrue              LABEL4

      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_fame")
      pushtrue
      setproperty         QName(PackageNamespace(""), "visible")

      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_xp")
      pushfalse
      setproperty         QName(PackageNamespace(""), "visible")

LABEL4:
      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_fame")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), $"fame1")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), $"fame2")
      pushbyte            0
      callpropvoid        QName(PackageNamespace(""), "draw"), 3

DRAWSTATS:      

	  ;------------------------------------------------------------------------
	  ; DRAW STATS stats
	  ;------------------------------------------------------------------------
	   getlocal0
     getproperty         QName(PrivateNamespace("*", $"fullclass"), "_stats")
     getlocal0
     getproperty         QName(PackageNamespace(""), "player_")
     callpropvoid        QName(PackageNamespace(""), "draw"), 1
	  ;-----------------------------------------------------------------------  
	  ; draw inventory
	  ;------------------------------------------------------------------------
	  getlocal0
	  getproperty		  QName(PrivateNamespace("*", $"fullclass"), "_inventory")
	  callpropvoid		  QName(PackageNamespace(""), "draw"), 0
	  ;------------------------------------------------------------------------	      
      
;------------------------------------------------------------------------       
      
      

      getlocal0
      getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "get")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "_-xm")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "_-63")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "_-kj")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "_-wI")
      callpropvoid        QName(PackageNamespace(""), "draw"), 4

      getlocal1
      iftrue              L64

      jump                L40

      bitxor
      typeof
      getlocal2
      not
      multiply
      convert_u
L40:
      getlocal0
      getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-e2")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "_-0P-")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "_-4m")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "_-02f")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "_-Wv")
      callpropvoid        QName(PackageNamespace(""), "draw"), 4

      getlocal1
      iftrue              L85

      jump                L64

      bitand
      add_i
      setlocal2

      negate
      decrement_i
      multiply
L64:
      getlocal0
      getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-0-A")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "_-AK")
      callpropvoid        QName(PackageNamespace(""), "setItems"), 1

      getlocal2
      dup
      iftrue              L76

      pop
      getlocal0
      convert_b
L76:
      iffalse             L85

      getlocal0
      getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-Nv")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "numStars_")
      callpropvoid        QName(PackageNamespace(""), "draw"), 1

      getlocal2
      iffalse             L87

L85:
      getlocal0
      callsupervoid       QName(PackageNamespace(""), "draw"), 0
L87:
      returnvoid
     end ; code
    end ; body
   end ; method
  end ; trait
 end ; instance
 cinit
  refid "_-8P:_-0gX/cinit"
  body
   maxstack 3
   localcount 1
   initscopedepth 9
   maxscopedepth 10
   code
    getlocal0
    pushscope

    returnvoid
   end ; code
  end ; body
 end ; method
end ; class
is this the inventory viewer?
if this should be used with the mod selector, which mod shall i edit?
already tried replacing some stuff from the 4.0 mod, but no way it'd work as you posted 1 big code, and the mod contains a few splitted text files.
@theross

Yes, its the inventory viewer.

It should be used with rabcdasm, manually. Since the modselector dont touch the _-0gX.class.asasm file you maybe be able to use this code on an already modded client.
I've already got trouble to update this, i dont have the time to translate it into the "modselector" format..
nilly is the specialist for that

Replace the whole content of _-0gX.class.asasm with the given code.. Save and compile.
how do i change this in my client?
Quote Originally Posted by JustAnoobROTMG View Post
I made a mistake..
They didnt change anything

New code is this one

Code:
class
 refid "_-8P:_-0gX"
 instance QName(PackageNamespace("_-8P"), "_-0gX")
  extends QName(PackageNamespace("_-8P"), "_-KH")
  flag SEALED
  flag PROTECTEDNS
  protectedns ProtectedNamespace("_-6-")
  iinit
   refid "_-8P:_-0gX/iinit"
   param QName(PackageNamespace("com.company.assembleegameclient.objects"), "Player")
   body
    maxstack 10
    localcount 5
    initscopedepth 10
    maxscopedepth 11
    code
     pushfalse
     pushtrue
     setlocal3

     jump                L10

     add
     declocal            3
     declocal_i          3
     declocal_i          3
     kill                2
     pushfalse
L10:
     setlocal            4

     getlocal0
     pushscope

     pushbyte            0
     setlocal2

     getlocal0
     pushint             3552822
     pushdouble          0.5
     pushint             16777215
     pushbyte            1
     constructsuper      4

     getlocal0
     getlocal1
     initproperty        QName(PackageNamespace(""), "player_")

     getlocal            4
     dup
     iffalse             L30

     pop
     getlocal0
     convert_b
L30:
     iftrue              L268

     getlocal0
     findpropstrict      QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-1y")
     pushint             11776947
     pushtrue
     getlocal0
     getproperty         QName(PackageNamespace(""), "player_")
     constructprop       QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-1y"), 3
     initproperty        QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-003")

     findpropstrict      QName(PackageNamespace(""), "addChild")
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-003")
     callpropvoid        QName(PackageNamespace(""), "addChild"), 1

     pushbyte            34
     setlocal2

     getlocal0
     findpropstrict      QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-0YE")
     getlocal0
     getproperty         QName(PackageNamespace(""), "player_")
     getproperty         QName(PackageNamespace(""), "numStars_")
     pushfalse
     pushtrue
     constructprop       QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-0YE"), 3
     initproperty        QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-Nv")

     getlocal3
     dup
     iftrue              L60

     pop
     getlocal0
     convert_b
L60:
     iffalse             L398

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-Nv")
     getlocal3
     iffalse             L78

     pushbyte            6
     getlocal3
     iffalse             L79

     setproperty         QName(PackageNamespace(""), "x")

     getlocal3
     dup
     iftrue              L75

     pop
     getlocal2
     convert_b
L75:
     iffalse             L431

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-Nv")
L78:
     getlocal2
L79:
     setproperty         QName(PackageNamespace(""), "y")

     findpropstrict      QName(PackageNamespace(""), "addChild")
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-Nv")
     callpropvoid        QName(PackageNamespace(""), "addChild"), 1

     getlocal2
     pushbyte            30
     getlocal3
     dup
     iftrue              L92

     pop
     getlocal3
     convert_b
L92:
     iffalse             L358

     add
     getlocal3
     iffalse             L196

     convert_i
     setlocal2

     getlocal            4
     iftrue              L285

     getlocal1
     getproperty         QName(PackageNamespace(""), "guildName_")
     getlocal3
     dup
     iftrue              L108

     pop
     getlocal3
     convert_b
L108:
     iffalse             L133

     pushnull
     equals
     getlocal3
     dup
     iftrue              L117

     pop
     getlocal1
     convert_b
L117:
     iffalse             L142

     not
     getlocal            4
     dup
     iffalse             L125

     pop
     getlocal0
     convert_b
L125:
     iftrue              L142

     dup
     iffalse             L143

     getlocal            4
     iftrue              L143

     pop
     getlocal1
     getproperty         QName(PackageNamespace(""), "guildName_")
L133:
     pushstring          ""
     equals
     getlocal3
     dup
     iftrue              L141

     pop
     getlocal1
     convert_b
L141:
     iffalse             L143

L142:
     not
L143:
     iffalse             L205

     getlocal0
     findpropstrict      QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-06O")
     getlocal0
     getproperty         QName(PackageNamespace(""), "player_")
     getproperty         QName(PackageNamespace(""), "guildName_")
     getlocal0
     getproperty         QName(PackageNamespace(""), "player_")
     getproperty         QName(PackageNamespace(""), "guildRank_")
     pushshort           136
     constructprop       QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-06O"), 3
     initproperty        QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-aj")

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-aj")
     getlocal3
     iffalse             L177

     pushbyte            6
     getlocal            4
     dup
     iffalse             L166

     pop
     getlocal1
     convert_b
L166:
     iftrue              L178

     setproperty         QName(PackageNamespace(""), "x")

     getlocal3
     dup
     iftrue              L174

     pop
     getlocal3
     convert_b
L174:
     iffalse             L398

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-aj")
L177:
     getlocal2
L178:
     pushbyte            2
     subtract
     setproperty         QName(PackageNamespace(""), "y")

     getlocal            4
     iftrue              L285

     findpropstrict      QName(PackageNamespace(""), "addChild")
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-aj")
     callpropvoid        QName(PackageNamespace(""), "addChild"), 1

     getlocal2
     getlocal3
     iffalse             L294

     pushbyte            30
     getlocal3
     iffalse             L358

     add
     getlocal3
     iffalse             L359

L196:
     convert_i
     setlocal2


     getlocal3
     dup
     iftrue              L204

     pop
     getlocal2
     convert_b
L204:
     iffalse             L268

L205:


#set fullclass "_-8P:_-0gX" ; CurrentClass
#set displayclass "_-0pP"     ; Class where you fixed Numerical Hp/MP display
#set invfolder "_-0NM"
#set invclass "_-07X"
#set playerlevel "_-mu"     ; Gameobject.class :   trait slot QName(PackageNamespace(""), "_-mu") type QName(PackageNamespace(""), "int") value Integer(-1) end
#set playermaxXp "_-qK"   ; Player class , trait under exp_:  trait slot QName(PackageNamespace(""), "_-qK") type QName(PackageNamespace(""), "int") value Integer(0) end

#set fame1 "_-V8"             ; Player.class
#set fame2 "_-0pJ"             ; below numstars
;  trait slot QName(PackageNamespace(""), "_-V8") type QName(PackageNamespace(""), "int") value Integer(0) end
;  trait slot QName(PackageNamespace(""), "_-0pJ") type QName(PackageNamespace(""), "int") value Integer(-1) end


;----------------------------------------------------------------------------------------------------------
;CREATE XP BAR
;---------------------------------------------------------------------------------------------------------
	 	 getlocal0
     findpropstrict      QName(PackageNamespace("com.company.assembleegameclient.ui"), $"displayclass")
     pushshort           176
     pushbyte            16
     pushint             5931045
     pushint             5526612
     pushstring          "Lvl X"
     constructprop       QName(PackageNamespace("com.company.assembleegameclient.ui"), $"displayclass"), 5
     initproperty        QName(PrivateNamespace("*", $"fullclass"), "_xp")
		 getlocal0
		 getproperty		 		 QName(PrivateNamespace("*", $"fullclass"), "_xp")
		 pushbyte			       6
		 setproperty		     QName(PackageNamespace(""), "x")
		 getlocal0
		 getproperty		     QName(PrivateNamespace("*", $"fullclass"), "_xp")
		 getlocal2
		 setproperty		      QName(PackageNamespace(""), "y")
		 findpropstrict      QName(PackageNamespace(""), "addChild")
     getlocal0
     getproperty         QName(PrivateNamespace("*", $"fullclass"), "_xp")
     callpropvoid        QName(PackageNamespace(""), "addChild"), 1
		 getlocal0
		 getproperty		     QName(PrivateNamespace("*", $"fullclass"), "_xp")
		 pushtrue
		 setproperty		     QName(PackageNamespace(""), "visible")
		 
	 ;---------------------------------------------------------------------------------------------------------
	 ;CREATE FAME BAR 
	 ;---------------------------------------------------------------------------------------------------------
     getlocal0
     findpropstrict      QName(PackageNamespace("com.company.assembleegameclient.ui"), $"displayclass")
     pushshort           176
     pushbyte            16
     pushint             14835456
     pushint             5526612
     pushstring          "Fame"
     constructprop       QName(PackageNamespace("com.company.assembleegameclient.ui"), $"displayclass"), 5
     initproperty        QName(PrivateNamespace("*", $"fullclass"), "_fame")
		 getlocal0
		 getproperty		    QName(PrivateNamespace("*", $"fullclass"), "_fame")
		 pushbyte			      6
		 setproperty		    QName(PackageNamespace(""), "x")
		 getlocal0
		 getproperty		     QName(PrivateNamespace("*", $"fullclass"), "_fame")
     getlocal2 
     setproperty		     QName(PackageNamespace(""), "y")
     findpropstrict      QName(PackageNamespace(""), "addChild")
     getlocal0
     getproperty         QName(PrivateNamespace("*", $"fullclass"), "_fame")
     callpropvoid        QName(PackageNamespace(""), "addChild"), 1
		 getlocal0
		 getproperty		     QName(PrivateNamespace("*", $"fullclass"), "_fame")
		 pushfalse
		 setproperty		    QName(PackageNamespace(""), "visible")
		 
		 getlocal2
		 pushbyte			 24
		 add
		 convert_i
		 setlocal2

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

     getlocal0
     findpropstrict      QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-0pP")
     pushshort           176
     pushbyte            16

L216:
     pushint             14693428
     pushint             5526612
     pushstring          "HP"
     constructprop       QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-0pP"), 5
     initproperty        QName(PrivateNamespace("*", "_-8P:_-0gX"), "get")

     getlocal3
     dup
     iftrue              L227

     pop
     getlocal2
     convert_b
L227:
     iffalse             L268

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "get")
     getlocal            4
     dup
     iffalse             L236

     pop
     getlocal1
     convert_b
L236:
     iftrue              L243

     pushbyte            6
     getlocal            4
     iftrue              L244

     setproperty         QName(PackageNamespace(""), "x")

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "get")
L243:
     getlocal2
L244:
     setproperty         QName(PackageNamespace(""), "y")

     findpropstrict      QName(PackageNamespace(""), "addChild")
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "get")
     callpropvoid        QName(PackageNamespace(""), "addChild"), 1

     getlocal2
     pushbyte            24
     getlocal            4
     dup
     iffalse             L257

     pop
     getlocal3
     convert_b
L257:
     iftrue              L358

     add
     getlocal3
     dup
     iftrue              L265

     pop
     getlocal0
     convert_b
L265:
     iffalse             L359

     convert_i
     setlocal2

L268:
     getlocal0
     findpropstrict      QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-0pP")
     pushshort           176
     pushbyte            16
     pushint             6325472
     pushint             5526612
     pushstring          "MP"
     constructprop       QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-0pP"), 5
     initproperty        QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-e2")

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-e2")
     getlocal3
     iffalse             L287

     pushbyte            6
     getlocal3
     iffalse             L288

     setproperty         QName(PackageNamespace(""), "x")

L285:
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-e2")
L287:
     getlocal2
L288:
     setproperty         QName(PackageNamespace(""), "y")

     findpropstrict      QName(PackageNamespace(""), "addChild")
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-e2")
     callpropvoid        QName(PackageNamespace(""), "addChild"), 1

     getlocal2
L294:
     pushbyte            24
     getlocal3
     iffalse             L358

     add
     getlocal            4
     iftrue              L359

     convert_i
     setlocal2
     
;-----------------------------------------
; STATS BAR     
;-----------------------------------------

	 	 getlocal0
     findpropstrict      QName(PackageNamespace("com.company.assembleegameclient.ui"), "Stats")
     pushshort           180
     pushbyte            46
     constructprop       QName(PackageNamespace("com.company.assembleegameclient.ui"), "Stats"), 2
     initproperty        QName(PrivateNamespace("*", $"fullclass"), "_stats")

     getlocal0
     getproperty         QName(PrivateNamespace("*", $"fullclass"), "_stats")
     pushbyte            7
     setproperty         QName(PackageNamespace(""), "x")

     getlocal0
     getproperty         QName(PrivateNamespace("*", $"fullclass"), "_stats")
     getlocal2
     pushbyte 			 17
     subtract
     setproperty         QName(PackageNamespace(""), "y")

     findpropstrict      QName(PackageNamespace(""), "addChild")
     getlocal0
     getproperty         QName(PrivateNamespace("*", $"fullclass"), "_stats")
     callpropvoid        QName(PackageNamespace(""), "addChild"), 1
	 
		 getlocal2
		 pushshort			 55
		 add
		 convert_i
		 setlocal2
	 ;-------------------------------------------------------------------------         
     

     getlocal0
     findpropstrict      QName(PackageNamespace("_-0NM"), "_-5v")
     pushnull
     getlocal0
     getproperty         QName(PackageNamespace(""), "player_")
     getproperty         QName(PackageNamespace(""), "_-kK")
     getlocal0
     getproperty         QName(PackageNamespace(""), "player_")
     constructprop       QName(PackageNamespace("_-0NM"), "_-5v"), 3
     initproperty        QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-0-A")

     getlocal3
     dup
     iftrue              L318

     pop
     getlocal1
     convert_b
L318:
     iffalse             L361

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-0-A")
     getlocal3
     dup
     iftrue              L327

     pop
     getlocal2
     convert_b
L327:
     iffalse             L341

     pushbyte            8
     getlocal            4
     iftrue              L342

     setproperty         QName(PackageNamespace(""), "x")

     getlocal            4
     dup
     iffalse             L338

     pop
     getlocal3
     convert_b
L338:
     iftrue              L398

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-0-A")
L341:
     getlocal2
L342:
     setproperty         QName(PackageNamespace(""), "y")

     getlocal3
     dup
     iftrue              L349

     pop
     getlocal3
     convert_b
L349:
     iffalse             L371

     findpropstrict      QName(PackageNamespace(""), "addChild")
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-0-A")
     callpropvoid        QName(PackageNamespace(""), "addChild"), 1

     getlocal3
     iffalse             L361

     getlocal2
		;------------------------
    ;ADJUST POSITION OF TEXT
    ;------------------------
    ; pushbyte            52
      pushshort         132
    ;------------------------ 
L358:
     add
L359:
     convert_i
     setlocal2
     
    ;--------------------------------------------------------------------------
		; Add player inventory
		;--------------------------------------------------------------------------
		getlocal0
		findpropstrict      QName(PackageNamespace($"invfolder"), $"invclass")
		getlocal0
		getproperty         QName(PackageNamespace(""), "player_")
		dup
		pushbyte 4
		constructprop       QName(PackageNamespace($"invfolder"), $"invclass"), 3
		initproperty        QName(PrivateNamespace("*", $"fullclass"), "_inventory")
		
		getlocal0
		getproperty         QName(PrivateNamespace("*", $"fullclass"), "_inventory")
		pushbyte            8
		setproperty         QName(PackageNamespace(""), "x")
		
		getlocal0
		getproperty         QName(PrivateNamespace("*", $"fullclass"), "_inventory")
		getlocal0
		getproperty         QName(PrivateNamespace("*", $"fullclass"), "_-0-A") ; Manual update
		getproperty         QName(PackageNamespace(""), "y")
		getlocal0
		getproperty         QName(PrivateNamespace("*", $"fullclass"), "_-0-A") ; Manual update
		getproperty         QName(PackageNamespace(""), "height")
		add
		pushbyte            4
		add
		setproperty         QName(PackageNamespace(""), "y")
		
		findpropstrict      QName(PackageNamespace(""), "addChild")
		getlocal0
		getproperty         QName(PrivateNamespace("*", $"fullclass"), "_inventory")
		callpropvoid        QName(PackageNamespace(""), "addChild"), 1
		;--------------------------------------------------------------------------        
     
     

L361:
     getlocal0
     findpropstrict      QName(PackageNamespace("com.company.ui"), "SimpleText")
     pushbyte            12
     pushint             11776947
     pushfalse
     pushbyte            0
     dup
     pushstring          "Myriad Pro"
     constructprop       QName(PackageNamespace("com.company.ui"), "SimpleText"), 6
     initproperty        QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-my")

L371:
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-my")
     getlocal3
     iffalse             L433

     pushstring          "(Click to open menu)"
     setproperty         QName(PackageNamespace(""), "text")

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-my")
     getlocal3
     dup
     iftrue              L385

     pop
     getlocal0
     convert_b
L385:
     iffalse             L391

     callpropvoid        QName(PackageNamespace(""), "updateMetrics"), 0

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-my")
     getlocal            4
     iftrue              L407

L391:
     findpropstrict      QName(PackageNamespace("flash.filters"), "DropShadowFilter")
     pushbyte            0
     dup
     dup
     constructprop       QName(PackageNamespace("flash.filters"), "DropShadowFilter"), 3
     newarray            1
     setproperty         QName(PackageNamespace(""), "filters")

L398:
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-my")
     getlocal            4
     dup
     iffalse             L406

     pop
     getlocal3
     convert_b
L406:
     iftrue              L433

L407:
     getlex              QName(PackageNamespace(""), "width")
     pushbyte            2
     jump                L416

     convert_d
     kill                2
     getlocal0
     setlocal2

     equals
     typeof
L416:
     divide
     getlocal3
     dup
     iftrue              L423

     pop
     getlocal3
     convert_b
L423:
     iffalse             L430

     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-my")
     getproperty         QName(PackageNamespace(""), "width")
     pushbyte            2
     divide
     subtract
L430:
     setproperty         QName(PackageNamespace(""), "x")

L431:
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-my")
L433:
     getlocal2
     setproperty         QName(PackageNamespace(""), "y")

     findpropstrict      QName(PackageNamespace(""), "addChild")
     getlocal0
     getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-my")
     callpropvoid        QName(PackageNamespace(""), "addChild"), 1

     returnvoid
    end ; code
   end ; body
  end ; method
  trait slot QName(PackageNamespace(""), "player_") type QName(PackageNamespace("com.company.assembleegameclient.objects"), "Player") end
  trait slot QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-003") type QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-1y") end
  trait slot QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-Nv") type QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-0YE") end
  trait slot QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-aj") type QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-06O") end
  trait slot QName(PrivateNamespace("*", "_-8P:_-0gX"), "get") type QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-0pP") end
  trait slot QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-e2") type QName(PackageNamespace("com.company.assembleegameclient.ui"), "_-0pP") end
  trait slot QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-my") type QName(PackageNamespace("com.company.ui"), "SimpleText") end
  trait slot QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-0-A") type QName(PackageNamespace("_-0NM"), "_-5v") end
  
  ;----------------
  ;ADDED PROPERTY
  ;----------------
  trait slot QName(PrivateNamespace("*", $"fullclass"), "_xp") type QName(PackageNamespace("com.company.assembleegameclient.ui"), $"displayclass") end  
  trait slot QName(PrivateNamespace("*", $"fullclass"), "_fame") type QName(PackageNamespace("com.company.assembleegameclient.ui"), $"displayclass") end  
  trait slot QName(PrivateNamespace("*", $"fullclass"), "_stats") type QName(PackageNamespace("com.company.assembleegameclient.ui"), "Stats") end  
	trait slot QName(PrivateNamespace("*", $"fullclass"), "_inventory") type QName(PackageNamespace($"invfolder"), $"invclass") end  

  trait method QName(PackageNamespace(""), "draw") flag OVERRIDE
   method
    refid "_-8P:_-0gX/draw"
    returns QName(PackageNamespace(""), "void")
    body
     maxstack 7
     ;------------------------
     ; INCREASE localcount
     ;-----------------------
     ;localcount 3
     localcount 4
     ;-----------------------
     initscopedepth 10
     maxscopedepth 11
     code
      pushfalse
      pushtrue
      swap
      jump                L10

      greaterthan
      multiply_i
      negate_i
      strictequals
      astypelate
      popscope
L10:
      setlocal1

      setlocal2

      getlocal0
      pushscope

      getlocal2
      iffalse             L87
      
    ;------------------------------------------------------------------------
	  ; handle drawing of xp/fame bar
	  ;------------------------------------------------------------------------

      pushstring          "Lvl "
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), $"playerlevel")
      add
      coerce_s
      setlocal3
       

      getlocal3   
      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_xp")
      getproperty         QName(PackageNamespace(""), "labelText_")
      getproperty         QName(PackageNamespace(""), "text")
      ifeq                LABEL1

      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_xp")
      getproperty         QName(PackageNamespace(""), "labelText_")
      getlocal3
      setproperty         QName(PackageNamespace(""), "text")
      
      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_xp")
      getproperty         QName(PackageNamespace(""), "labelText_")
      callpropvoid        QName(PackageNamespace(""), "updateMetrics"), 0
     

LABEL1:

      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), $"playerlevel")
      pushbyte            20
      ifeq                LABEL2

      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_xp")
      getproperty         QName(PackageNamespace(""), "visible")
      iftrue              LABEL3

      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_xp")
      pushtrue
      setproperty         QName(PackageNamespace(""), "visible")

      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_fame")
      pushfalse
      setproperty         QName(PackageNamespace(""), "visible")

LABEL3:
      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_xp")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "exp_")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), $"playermaxXp")
      pushbyte            0
      callpropvoid        QName(PackageNamespace(""), "draw"), 3

      jump                DRAWSTATS

LABEL2:
      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_fame")
      getproperty         QName(PackageNamespace(""), "visible")
      iftrue              LABEL4

      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_fame")
      pushtrue
      setproperty         QName(PackageNamespace(""), "visible")

      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_xp")
      pushfalse
      setproperty         QName(PackageNamespace(""), "visible")

LABEL4:
      getlocal0
      getproperty         QName(PrivateNamespace("*", $"fullclass"), "_fame")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), $"fame1")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), $"fame2")
      pushbyte            0
      callpropvoid        QName(PackageNamespace(""), "draw"), 3

DRAWSTATS:      

	  ;------------------------------------------------------------------------
	  ; DRAW STATS stats
	  ;------------------------------------------------------------------------
	   getlocal0
     getproperty         QName(PrivateNamespace("*", $"fullclass"), "_stats")
     getlocal0
     getproperty         QName(PackageNamespace(""), "player_")
     callpropvoid        QName(PackageNamespace(""), "draw"), 1
	  ;-----------------------------------------------------------------------  
	  ; draw inventory
	  ;------------------------------------------------------------------------
	  getlocal0
	  getproperty		  QName(PrivateNamespace("*", $"fullclass"), "_inventory")
	  callpropvoid		  QName(PackageNamespace(""), "draw"), 0
	  ;------------------------------------------------------------------------	      
      
;------------------------------------------------------------------------       
      
      

      getlocal0
      getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "get")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "_-xm")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "_-63")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "_-kj")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "_-wI")
      callpropvoid        QName(PackageNamespace(""), "draw"), 4

      getlocal1
      iftrue              L64

      jump                L40

      bitxor
      typeof
      getlocal2
      not
      multiply
      convert_u
L40:
      getlocal0
      getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-e2")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "_-0P-")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "_-4m")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "_-02f")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "_-Wv")
      callpropvoid        QName(PackageNamespace(""), "draw"), 4

      getlocal1
      iftrue              L85

      jump                L64

      bitand
      add_i
      setlocal2

      negate
      decrement_i
      multiply
L64:
      getlocal0
      getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-0-A")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "_-AK")
      callpropvoid        QName(PackageNamespace(""), "setItems"), 1

      getlocal2
      dup
      iftrue              L76

      pop
      getlocal0
      convert_b
L76:
      iffalse             L85

      getlocal0
      getproperty         QName(PrivateNamespace("*", "_-8P:_-0gX"), "_-Nv")
      getlocal0
      getproperty         QName(PackageNamespace(""), "player_")
      getproperty         QName(PackageNamespace(""), "numStars_")
      callpropvoid        QName(PackageNamespace(""), "draw"), 1

      getlocal2
      iffalse             L87

L85:
      getlocal0
      callsupervoid       QName(PackageNamespace(""), "draw"), 0
L87:
      returnvoid
     end ; code
    end ; body
   end ; method
  end ; trait
 end ; instance
 cinit
  refid "_-8P:_-0gX/cinit"
  body
   maxstack 3
   localcount 1
   initscopedepth 9
   maxscopedepth 10
   code
    getlocal0
    pushscope

    returnvoid
   end ; code
  end ; body
 end ; method
end ; class
so nilly, did you update the mod selector with latest codes/stats/inv viewer?
In the Black Box i can read, that the word java is written wrong or cant found , so somebody can help me private or in TS3/Skype...

ty
Hey this is my first time using this hack but i got a problem, how to he heck do i open up that menu?
Approved .
2nd attachment.
Maybe someone can help me?
I try all, but the tool didnt work...

Now OryxDomination also doesnt starting!
What i did wrong, why dont work anymore...
srry just had to bump this its getting to low down there
When I load it up, it goes to testing not real rotmg.
Posts 3145 of 147 · Page 3 of 10
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?