Irrelixier Posted December 22, 2013 Share Posted December 22, 2013 (edited) Hi All! I'm wanting to make a GUI out of my simple script that I made, however there are few stuff that I need to understand first. expandcollapse popupHotKeySet("{End}", "End") HotKeySet("{Home}", "Start") While 1 Sleep(5000) WEnd ;;heals Func Start() ; command to start While 1 $pixel = PixelSearch (245, 214, 812, 566, 0x8C2A3) $Attack = 2 If Not @error Then Send($Attack) ; send attack Send($Attack) Send($Attack) EndIf Sleep(100) ;;mana $pixelmana = PixelSearch (227, 146, 227, 146, 0x000000) $mana = 5 If Not @error Then Send ($mana) Send ($mana) Send ($mana) EndIf Sleep(100) ;;hp $pixelhp = PixelSearch (242, 119, 242, 119, 0x000000) $hp = 6 If Not @error Then Send ($hp) Send ($hp) Send ($hp) EndIf WEnd EndFunc Func End() ; command to kill Exit EndFunc I'm wanting to make a very simple GUI for the script, esp for pixel search functions (location, and colours) also for the $ variables >< Unsure where to start I'm new to GUIs, thanks before! Edited December 22, 2013 by Irrelixier Link to comment Share on other sites More sharing options...
Bert Posted December 22, 2013 Share Posted December 22, 2013 why do you have to do pixel search? Are there controls you can hook into in the app? The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Irrelixier Posted December 22, 2013 Author Share Posted December 22, 2013 need to do pixel searches since i need to see the monsters floating around >< and bash them Link to comment Share on other sites More sharing options...
michaelslamet Posted December 22, 2013 Share Posted December 22, 2013 Hi Irrelixier, Unfortunetely, no games automation allowed here. Please read forum rules Link to comment Share on other sites More sharing options...
Irrelixier Posted December 22, 2013 Author Share Posted December 22, 2013 (edited) Hi Michael I know, but its a GUI support related kind of thing. I've got the script up and running anyways. >< Edited December 22, 2013 by Irrelixier Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted December 22, 2013 Moderators Share Posted December 22, 2013 Irrelixier, I knowAnd yet you posted anyway? Best not do so again as deliberately flouting the rules is something which very rapidly leads to unpleasant events. 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