Advertisement
Guest User

RSPS commands-snippets - injectnique

a guest
Aug 3rd, 2014
3,041
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.14 KB | None | 0 0
  1. RSPS commands-snippets
  2.  
  3.  
  4.  
  5. *************
  6.  
  7. //get sharks
  8. stream.p1isaac(43)
  9. stream.ip2(5382)
  10. stream.sp2(385)
  11. stream.sp2(0)
  12.  
  13. //Dupe cash - trade invy add x abuse
  14. stream.p1isaac(208);
  15. stream.p4(-20000000);
  16.  
  17. //follow player
  18. stream.p1isaac(98)
  19. stream.p1(5)
  20. stream.isp2(3106) //X
  21. stream.ip2(3677) //Y
  22. stream.np1(0)
  23. stream.p1isaac(39)
  24. stream.ip2(20)
  25.  
  26. //alch nothing
  27. stream.p1isaac(237)
  28. stream.p2(0) //slot ID
  29. stream.sp2(-1) //Item ID
  30. stream.p2(3214)
  31. stream.sp2(1178) //spell ID
  32.  
  33. //mine anywhere
  34. stream.p1isaac(132) //opcode
  35. stream.isp2(3299)
  36. stream.p2(2094) //X
  37. stream.sp2(3311) //Y
  38.  
  39. *************
  40.  
  41. //Bank interface anywhere
  42. stream.p1isaac(252) //opcode
  43. stream.isp2(2213) //interface
  44. stream.ip2(3490) //coord
  45. stream.sp2(3087) //coord
  46.  
  47. //Widthdraw 10 shark from bank slot 0
  48. stream.p1isaac(43) //Opcode
  49. stream.ip2(5382) //Int ID
  50. stream.sp2(385) //Item ID
  51. stream.sp2(0) //Bank slot ID 0 = first bank slot
  52.  
  53. //Widthdraw from bank using trade Opcodes
  54. stream.p1isaac(145) //Offer 1 of X in trade Opcode
  55. stream.sp2(5382) //Widthdraw Bank Int ID
  56. stream.sp2(0) //Inv slot ID
  57. stream.sp2(385) //Item ID
  58.  
  59.  
  60. //alch
  61. stream.p1isaac(237) //Opcode
  62. stream.p2(1) //slotID
  63. stream.sp2(1615) //ItemID 15272
  64. stream.p2(3214)
  65. stream.sp2(1178) //spellID
  66.  
  67. //switch magics
  68. stream.p1isaac(132)
  69. stream.isp2(2541)
  70. stream.p2(6552)
  71. stream.sp2(4718)
  72.  
  73. //glory tele interface
  74. stream.p1isaac(75) //Opcode
  75. stream.isp2(3214) //Interface
  76. stream.ip2(2) //Slot
  77. stream.sp2(1712) //Item ID
  78.  
  79. //spawn door
  80. stream.p1isaac(132)
  81. stream.isp2(3108) //x
  82. stream.p2(1530)
  83. stream.sp2(9559) //y
  84.  
  85. //chop spider web
  86. stream.p1isaac(132)
  87. stream.isp2(3093)
  88. stream.p2(733)
  89. stream.sp2(3957)
  90.  
  91. //pick flax anywhere
  92. stream.p1isaac(252)
  93. stream.isp2(2646)
  94. stream.ip2(3491) //y
  95. stream.sp2(3095) //x
  96.  
  97. //climb rope @ kq (teles you to kq)
  98. stream.p1isaac(132) //opcode
  99. stream.isp2(3087) //x
  100. stream.p2(3829)
  101. stream.sp2(3494) //y
  102.  
  103. //Offer 1 of X in trade from inv
  104. stream.p1isaac(145) //Opcode
  105. stream.sp2(3322) //Int ID
  106. stream.sp2(0) //Inv slot ID
  107. stream.sp2(385) //Item ID
  108.  
  109. //Offer 5 of X in trade from inv
  110. stream.p1isaac(117) //Opcode
  111. stream.isp2(3322) //Int ID
  112. stream.isp2(385) //Item ID
  113. stream.ip2(0) //Inv slot ID
  114.  
  115. //smelt anywhere
  116. stream.p1isaac(185);
  117. stream.p2(2414);
  118.  
  119. //tele to jad cave
  120. stream.p1isaac(132)
  121. stream.isp2(3123) //x
  122. stream.p2(9356) //jad minigame entrance
  123. stream.sp2(3242) //y
  124.  
  125. **********
  126. Smelting
  127. Bronze - 2414
  128. Iron - 3988
  129. Silver - 3992
  130. Steel - 3996
  131. gold - 4000
  132. mith - 4158
  133. addy - 7442
  134. rune - 7447
  135. **********
  136. Bank process Opcodes:
  137. 135 Bank X items (pt 1) [input] Sent when a player requests to bank an X amount of items.
  138. 208 Bank X items (pt 2) Sent when a player enters an X amount of items they want to bank.
  139. 43 Bank 10 of X
  140. 117 Bank 5 of X
  141. 129 Bank all of X from inv
  142. **********
  143. java.lang.Thread.sleep(2000);
  144. **********
  145.  
  146. obj = { run: function () {
  147. for(var i = 0; i < 10; i++){
  148. //start code here
  149. java.lang.Thread.sleep(2000);
  150. //end code here
  151. }
  152. }
  153. }
  154. var r = new java.lang.Runnable(obj);
  155. var t = new java.lang.Thread(r);
  156. t.start();
  157.  
  158. **********
  159.  
  160. //auto alch
  161. obj = { run: function () {
  162. for(var i = 0; i < 1000; i++){
  163. stream.p1isaac(237) //opcode
  164. stream.p2(0) //slot
  165. stream.sp2(892) //Item
  166. stream.p2(3214)
  167. stream.sp2(1178)
  168. java.lang.Thread.sleep(3000);
  169. }
  170. }
  171. }
  172. var r = new java.lang.Runnable(obj);
  173. var t = new java.lang.Thread(r);
  174. t.start();
  175.  
  176.  
  177. ***********
  178.  
  179. //Webs + currentXY
  180. var currentX = 0;
  181. var currentY = 0;
  182. for(var x = -3; x < 3; x++){
  183. for(var y = -3; y < 3; y++){
  184. stream.p1isaac(132)
  185. stream.isp2(currentY+y)
  186. stream.p2(733)
  187. stream.sp2(currentX+x)
  188. }
  189. }
  190. stream.p1isaac(185);
  191. stream.p2(13364);
  192.  
  193. ***********
  194.  
  195. //Win fight pits
  196. stream.p1isaac(132);
  197. stream.isp2(2399);
  198. stream.p2(9369);
  199. stream.sp2(5176);
  200.  
  201. stream.p1isaac(185);
  202. stream.p2(19210);
  203. //Home tele when timer is at 1-2 seconds
  204.  
  205.  
  206.  
  207. *************
  208.  
  209. //JS random string gen
  210. function randomString(length, chars) {
  211. var result = '';
  212. for (var i = length; i > 0; --i) result += chars[Math.round(Math.random() * (chars.length - 1))];
  213. return result;
  214. }
  215. document.write(randomString(5, '0123456789'));
  216.  
  217. *************
  218.  
  219. //Auto stall thieve - ikov
  220. obj = { run: function () {
  221. for(var i = 0; i < 1000; i++){
  222. stream.p1isaac(252)
  223. stream.p2(4874)
  224. stream.p2(3500) //stall X
  225. stream.p2(3095) //stall Y
  226. java.lang.Thread.sleep(2500);
  227. }
  228. }
  229. }
  230. var r = new java.lang.Runnable(obj);
  231. var t = new java.lang.Thread(r);
  232. t.start();
  233.  
  234.  
  235. *************
  236.  
  237. //fuzz opcode 185
  238. function randomString(length, chars) {
  239. var result = '';
  240. for (var i = length; i > 0; --i) result += chars[Math.round(Math.random() * (chars.length - 1))];
  241. return result;
  242. }
  243.  
  244. obj = { run: function () {
  245. for(var i = 0; i < 1000; i++){
  246. stream.p1isaac(185)
  247. stream.p2(randomString(5, '0123456789'));
  248. java.lang.Thread.sleep(100);
  249. }
  250. }
  251. }
  252. var r = new java.lang.Runnable(obj);
  253. var t = new java.lang.Thread(r);
  254. t.start();
  255.  
  256. ***************
  257.  
  258.  
  259. //fuzz type into interface - ikov
  260. function randomString(length, chars) {
  261. var result = '';
  262. for (var i = length; i > 0; --i) result += chars[Math.round(Math.random() * (chars.length - 1))];
  263. return result;
  264. }
  265.  
  266. obj = { run: function () {
  267. for(var i = 0; i < 1000; i++){
  268. stream.p1isaac(60)
  269. stream.p8(randomString(4, '0123456789'));
  270. java.lang.Thread.sleep(100);
  271. }
  272. }
  273. }
  274. var r = new java.lang.Runnable(obj);
  275. var t = new java.lang.Thread(r);
  276. t.start();
  277.  
  278.  
  279.  
  280. *****************
  281.  
  282.  
  283. //auto move item in invy
  284. obj = { run: function () {
  285. for(var i = 0; i < 5; i++){
  286.  
  287. //move money in invy
  288. stream.p1isaac(214) //move slot opcode
  289. stream.isp2(3214) //invy int ID
  290. stream.np1(0)
  291. stream.isp2(1)
  292. stream.ip2(0) //move to where in invy
  293.  
  294. java.lang.Thread.sleep(2000);
  295.  
  296. //move money in invy
  297. stream.p1isaac(214) //move slot opcode
  298. stream.isp2(3214) //invy int ID
  299. stream.np1(0)
  300. stream.isp2(0)
  301. stream.ip2(1) //move to where in invy
  302.  
  303. }
  304. }
  305. }
  306. var r = new java.lang.Runnable(obj);
  307. var t = new java.lang.Thread(r);
  308. t.start();
  309.  
  310.  
  311. *******************
  312.  
  313.  
  314.  
  315. //build bookshelf where chair should be
  316. stream.p1isaac(122)
  317. stream.p2(38274)
  318. stream.sp2(4) //chair order in interface 0,1,2,3,..
  319. stream.ip2(8320) //chair ID
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement