#๐ macro by python
92 messages ยท Page 1 of 1 (latest)
@proper fern
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
Click here to see this code in our pastebin.
it has alot of wrong things but maybe cuz im still new so idk
btw im doing this in roblox map so the code should work in roblox
Could you please provide us some image/visual representation?
can i send a video that explains what i wanna create ?
its on yt
cuz im bad on explaining
Sure!
That would be super used, although I'm not the best at macros, so someone else may need to take the relay.
i can send here ?
Yes
Join the discord (download in gpo-fishing channel)
discord.gg/vKVBbyfHTD
https://discord.gg/vKVBbyfHTD
watch from 3:05
I think its something simple but cuz im still new at programing i can't do it
this bar in the video
you see the black thing that around the white line
i wanna do it like him
btw the black thing it moves when u left click
its auto follows the white line so he can catch the fish
Does he use tkinter?
yes he does
u can see the code
in the video
if you go back a few mintues
but not the full code
wheres the video
this is the thing that i wanna do like him
u see the white line its getting followed by the black box
and this is manually happends by left clicks
so i wanna make it auto like in the video
i see, i've watched it
a roblox auto fishing script
feels like it might violate tos
i dont think people will help u with that
but i'll give u a tip
just because he says its not a virus (maliscious), doesn't mean it isn't
I just wanna learn did he make the black box follows the white line
yes he probably did
im not using it already but i jst wanna know how did he do that
im trying from yesterday to make it but so hardd
well i dont know, but if it breaks tos, people aren't gonna help u with it in here
np
he made a screenshot of the screen region and searched for the white pixels
how
can u give example in code or explain more
also if you dont know the black box to move you have to press left click
click*
also the white line moves randomly
in the message.txt file you attached you have these comments:
# Capture area
# Mask for white```
isn't there the answer you're looking for?
do you get some error?
nope
also i forget to ask
how can i make it to click in any game
cuz when i searched i didn't find anything all of them are saying violating
its just a click like wth
pyautogui doesnt work in games
that has an anti cheat system
import keyboard
I guess this takes care of clicking
does it clicks mouse ?
https://pypi.org/project/keyboard/ it seems not
Mouse support available via project mouse (pip install mouse)
ig i found the correct thing
pynput
this one works good in games
the issue is idk how to merge
you don't merge anything, you import the module you need and you use it
Please react with โ
to upload your file(s) to our paste bin, which is more accessible for some users.
I won't read gpt slop
because I don't like wasting time or energy
so
split the problem in smaller problems:
- how to click
- how to find where to click
- how to get the color of a pixel
solve them one by one, then write a script to solve your original problem
no problem
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.