aosma9 Posted October 3, 2010 Share Posted October 3, 2010 (edited) Hey guys i was bored so i started to make a GUI for a simple mw2 trainer change xp etc. But when i tested just the xp part it didnt wrk. I think it is becuz the XP button is not binded to the memory writing. But im not sure . Here is the script: expandcollapse popup#include <ButtonConstants.au3> #include <ComboConstants.au3> #include <GUIConstantsEx.au3> #include <GUIListBox.au3> #include <StaticConstants.au3> #include <TabConstants.au3> #include <WindowsConstants.au3> #include <NomadMemory.au3> #RequireAdmin While ProcessExists ("iw4mp.exe") = False WEnd #Region ### START Koda GUI section ### Form= "C:\Users\Desktop\form1.kxf" $Form1_1 = GUICreate("Form1", 615, 440, 192, 124) $Stats = GUICtrlCreateTab(48, 24, 513, 385, $WS_GROUP) GUICtrlSetResizing(-1, $GUI_DOCKWIDTH+$GUI_DOCKHEIGHT) $TabSheet1 = GUICtrlCreateTabItem("TabSheet1") $List1 = GUICtrlCreateList("", 64, 88, 177, 279, BitOR($WS_GROUP,$WS_VSCROLL,$WS_BORDER)) GUICtrlSetData(-1, "1. 0|10. 29700|11. 36500|12. 44300|13. 53100|14. 62900|15. 73700|16. 85500|17. 98300|18. 112100|19. 126900|2. 500|20. 142700|21. 159500|22. 177300|23. 196100|24. 215900|25. 236700|26. 258500|27. 281300|28. 305100|29. 329900|3. 1700|30. 355700|31. 382700|32. 410900|33. 440300|34. 470900|35. 502700|36. 535700|37. 569900|38. 605300|39. 641900|4. 3600|40. 679700|41. 718700|42. 758900|43. 800300|44. 842900|45. 886700|46. 931700|47. 977900|48. 1025300|49. 1073900|5. 6200|50. 1123700|51. 1175000|52. 1227800|53. 1282100|54. 1337900|55. 1395200|56. 1454000|57. 1514300|58. 1576100|59. 1639400|6. 9500|60. 1704200|61. 1770500|62. 1838300|63. 1907600|64. 1978400|65. 2050700|66. 2124500|67. 2199800|68. 2276600|69. 2354900|7. 13500|70. 2434700|8. 18200|9. 23600|Prestige. 2516000") $ExpList = GUICtrlCreateLabel("ExpList", 64, 56, 38, 17, $WS_GROUP) $Button1 = GUICtrlCreateButton("EXP", 400, 56, 89, 23, $WS_GROUP) GUICtrlCreateCombo("", 312, 56, 89, 25) GUICtrlSetData(-1, "0|500|1700|3600|6200|9500|13500|18200|23600|29700|36500|44300|53100|62900|73700|85500|98300|112100|126900|142700|159500|177300|196100|215900|236700|258500|281300|305100|329900|355700|382700|410900|440300|470900|502700|535700|569900|605300|641900|679700|718700|758900|800300|842900|886700|931700|977900|1025300|1073900|1123700|1175000|1227800|1282100|1337900|1395200|1454000|1514300|1576100|1639400|1704200|1770500|1838300|1907600|1978400|2050700|2124500|2199800|2276600|2354900|2434700|2516000") $Button2 = GUICtrlCreateButton("EXP", 400, 80, 89, 23, $WS_GROUP) $Button3 = GUICtrlCreateButton("EXP", 400, 120, 89, 23, $WS_GROUP) $TabSheet2 = GUICtrlCreateTabItem("TabSheet2") $TabSheet3 = GUICtrlCreateTabItem("TabSheet3") GUICtrlCreateTabItem("") GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### $open = _MemoryOpen(ProcessExists("iw4mp.exe")) $adresse1 = 0x01B2C89C _MemoryWrite($adresse1,$open,$Button1,"dword") While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $List1 Case $Button1 Case $Button2 Case $Button3 Case $Stats EndSwitch WEnd Thanks alot if anyone could help me. Sorry about wrong section didnt see GUI help lol Edited October 3, 2010 by aosma9 Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted October 3, 2010 Moderators Share Posted October 3, 2010 aosma9,didnt see GUI helpAnd obviously did not see this either. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now