Banana_Nation

StatInvViewer_1

Dec 13th, 2012
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.78 KB | None | 0 0
  1. ;Names to Update
  2. #set pns "_-0PK:_-cC" ; private namespace of injection class
  3. #set bar "_-0jy" ; found in injection class [new _-Name(176, 16, 14693428, 0x545454, "HP");]
  4.  
  5. ;---------------------------------------------------------------------------------------------------------
  6. ;Create XP bar
  7. ;---------------------------------------------------------------------------------------------------------
  8. getlocal0
  9. findpropstrict QName(PackageNamespace("com.company.assembleegameclient.ui"), $"bar")
  10. pushshort 176
  11. pushbyte 16
  12. pushint 5931045
  13. pushint 5526612
  14. pushstring "Lvl X"
  15. constructprop QName(PackageNamespace("com.company.assembleegameclient.ui"), $"bar"), 5
  16. initproperty QName(PrivateNamespace("*", $"pns"), "_xp")
  17.  
  18. getlocal0
  19. getproperty QName(PrivateNamespace("*", $"pns"), "_xp")
  20. pushbyte 6
  21. setproperty QName(PackageNamespace(""), "x")
  22.  
  23. getlocal0
  24. getproperty QName(PrivateNamespace("*", $"pns"), "_xp")
  25. getlocal2
  26. setproperty QName(PackageNamespace(""), "y")
  27.  
  28. findpropstrict QName(PackageNamespace(""), "addChild")
  29. getlocal0
  30. getproperty QName(PrivateNamespace("*", $"pns"), "_xp")
  31. callpropvoid QName(PackageNamespace(""), "addChild"), 1
  32.  
  33. getlocal0
  34. getproperty QName(PrivateNamespace("*", $"pns"), "_xp")
  35. pushtrue
  36. setproperty QName(PackageNamespace(""), "visible")
  37. ;---------------------------------------------------------------------------------------------------------
  38. ;Create Fame bar
  39. ;---------------------------------------------------------------------------------------------------------
  40. getlocal0
  41. findpropstrict QName(PackageNamespace("com.company.assembleegameclient.ui"), $"bar")
  42. pushshort 176
  43. pushbyte 16
  44. pushint 14835456
  45. pushint 5526612
  46. pushstring "Fame"
  47. constructprop QName(PackageNamespace("com.company.assembleegameclient.ui"), $"bar"), 5
  48. initproperty QName(PrivateNamespace("*", $"pns"), "_fame")
  49.  
  50. getlocal0
  51. getproperty QName(PrivateNamespace("*", $"pns"), "_fame")
  52. pushbyte 6
  53. setproperty QName(PackageNamespace(""), "x")
  54.  
  55. getlocal0
  56. getproperty QName(PrivateNamespace("*", $"pns"), "_fame")
  57. getlocal2
  58. setproperty QName(PackageNamespace(""), "y")
  59.  
  60. findpropstrict QName(PackageNamespace(""), "addChild")
  61. getlocal0
  62. getproperty QName(PrivateNamespace("*", $"pns"), "_fame")
  63. callpropvoid QName(PackageNamespace(""), "addChild"), 1
  64.  
  65. getlocal0
  66. getproperty QName(PrivateNamespace("*", $"pns"), "_fame")
  67. pushfalse
  68. setproperty QName(PackageNamespace(""), "visible")
  69.  
  70. getlocal2
  71. pushbyte 24
  72. add
  73. convert_i
  74. setlocal2
  75. ;---------------------------------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment