SHARE
TWEET

Untitled

a guest Dec 26th, 2011 130 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. lagcount = 0
  3. table={}
  4.  
  5. -----
  6.  
  7. function Stuff()
  8. gui.opacity(0.2)
  9. gui.drawbox(148,9,258,42, "black")
  10. gui.opacity(0.95)
  11.  
  12. lag = memory.readbyte(0x01a5)
  13. xspeed = memory.readbyte(0x05B9)+memory.readbytesigned(0x05Ba)*256
  14. yspeed = memory.readbyte(0x05Bd)+memory.readbytesigned(0x05Be)*256
  15. xpos = memory.readbyte(0x0083)+memory.readbytesigned(0x0095)*256+memory.readbyte(0x0071)/256
  16. ypos = memory.readbyte(0x00b9)+memory.readbytesigned(0x00cb)*256+memory.readbyte(0x00a7)/256
  17.  
  18. gui.text(150,9,"                         \n                         \n                         \n                         ")
  19. gui.text(150,9,"    pos     speed\n(X):\n(Y):\nlag:", "green")
  20. gui.text(172,17, math.floor(xpos*1000)/1000)
  21. gui.text(224,17, xspeed)
  22. gui.text(172,25, math.floor(ypos*1000)/1000)
  23. gui.text(224,25, yspeed)
  24.  
  25. gui.text(176, 33, lagcount, "#fd7979")
  26. if lag == 1 then gui.text(200, 33, "*********" , "red") end
  27.  
  28. table=input.get(1)
  29. if table.F1 then lagcount = lagcount - lagcount
  30. elseif table.F2 then lagcount = lagcount - lagcount
  31. elseif table.F3 then lagcount = lagcount - lagcount
  32. elseif table.F4 then lagcount = lagcount - lagcount
  33. elseif table.F5 then lagcount = lagcount - lagcount
  34. elseif table.F6 then lagcount = lagcount - lagcount
  35. elseif table.F7 then lagcount = lagcount - lagcount
  36. elseif table.F8 then lagcount = lagcount - lagcount
  37. elseif table.F9 then lagcount = lagcount - lagcount
  38. elseif table.F10 then lagcount = lagcount - lagcount
  39. end
  40.  
  41. end
  42.    gui.register(Stuff)
  43.  
  44. -----
  45.  
  46. while true do
  47.  
  48. if lag == 1 then lagcount = lagcount + 1 end
  49.  
  50. emu.frameadvance()
  51. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top