Parto Posted June 9, 2012 Share Posted June 9, 2012 Hi Guys,I'm helping the author of this code out to fix an issue he has with this pieace of code. Its a bot in diablo 3 which does a run, kills some minions, pick their gold and scans items that lay on the floor. The items in Diablo 3 drop on the floor with text and each text has a different color, rare has yellow, legendary orange etc. I have checked that these colors match with my own Whenever the bot scans something on the ground to pickup i get this error.."Line 203MouseClick("left",$SearchResult[0], $SearchResult[1], 1, 10)MouseClick("left",$SearchResult^ ErrorError: Subscript used with non-Array variable"Here is the code:http://pastebin.com/BQJ0YrKrI'm not a real code, but I could try any coding that you suggest instantly, just let me know what to change.Thank you! Link to comment Share on other sites More sharing options...
someone Posted June 9, 2012 Share Posted June 9, 2012 http://www.autoitscript.com/forum/forum-2/announcement-13-forum-rules/Please read the forum rules. Game 'bots', or automation is not discussed here. While ProcessExists('Andrews bad day.exe') BlockInput(1) SoundPlay('Music.wav') SoundSetWaveVolume('Louder') WEnd Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted June 9, 2012 Moderators Share Posted June 9, 2012 Parto,Welcome to the AutoIt forum. Please read those Forum Rules before you post again. This thread will now be locked. See you soon with a legitimate question I hope. 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