Jump to content

Recommended Posts

Posted

Hello everyone, i'm New using AutoIt and also on the forum. I'm here to Ask some help with a script. 

Let me give you some context. One of my friend developped a game bot on discord

(Nothing under Conditions of use or anything else as it's a self made bot.) (I also know that automation in games are not really welcome so i don't really know, and i'll understand if people don't want to help me tho' :) )

 

Well. As some people know, discord doesn't scroll automatically to the end. So what i'm trying to do is pressing "ESC" Which scroll automatically to the last message (user or bot) and if the script find the pixel of my variable (With pixelSearch) it click on it and start the loop again. ; if it don't fond it then start the loop again.

I succeded to create an inputbox, asking how many times i want to press ESC in a certain interval of times that i define. A kind of loop tho' :)

but unable to make the PixelSearch and click working (Neither alone or in the loop.)

That's script is not intended to "cheat" at all but more like a challenge between us. As we like challenge each other :)

Is it possible in one loop to do both actions and repeat? I already read that wasn't possible (but in post from 2007..) i already read manual but doesn't really helped as i'm a noob at all at AutoIt :)

 

Thanks for reading !

 

  • Moderators
Posted

Welcome to the AutoIt forum.

Unfortunately you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked.

See you soon with a legitimate question I hope.

The Moderation team

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png 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 columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

  • Moderators
Posted

@Syncoope based on your complaining report I carefully read the entire post, and would have locked it as well. The forum rules are the forum rules, whether you agree with the Moderator enforcing them or not.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

  • Moderators
Posted

Syncoope,

Having now read both your "complaining" report and very similarly worded PM I would like to thank you for reinforcing my long-held opinion of game-botters. And no, I am not going to ban you - the Mode team are not as petty as you seem to believe.

I really do hope to see you back here with a legitimate question - but you know, I somehow doubt that I will. But you could always prove me wrong.....

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png 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 columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...