#๐Ÿ”’ macro by python

92 messages ยท Page 1 of 1 (latest)

shadow cargoBOT
#

@proper fern

Python help channel opened

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.

proper fern
#

code example

shadow cargoBOT
proper fern
#

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

lapis cloud
#

Could you please provide us some image/visual representation?

proper fern
#

its on yt

#

cuz im bad on explaining

lapis cloud
#

Sure!

#

That would be super used, although I'm not the best at macros, so someone else may need to take the relay.

proper fern
#

i can send here ?

lapis cloud
proper fern
#

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

lapis cloud
#

Does he use tkinter?

proper fern
#

yes he does

#

u can see the code

#

in the video

#

if you go back a few mintues

#

but not the full code

thin cedar
#

wheres the video

proper fern
#

watch it from 3:05

proper fern
#

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

thin cedar
#

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

proper fern
#

I just wanna learn did he make the black box follows the white line

thin cedar
#

yes he probably did

proper fern
#

im trying from yesterday to make it but so hardd

thin cedar
#

well i dont know, but if it breaks tos, people aren't gonna help u with it in here

proper fern
#

๐Ÿ™‚

#

alr man

#

ty

thin cedar
#

np

orchid horizon
proper fern
#

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

orchid horizon
#

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?
proper fern
#

it doesnt work

#

some how doesnt work

orchid horizon
#

do you get some error?

proper fern
#

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

orchid horizon
proper fern
#

does it clicks mouse ?

orchid horizon
#

Mouse support available via project mouse (pip install mouse)

proper fern
#

ig i found the correct thing

#

pynput

#

this one works good in games

#

the issue is idk how to merge

orchid horizon
#

you don't merge anything, you import the module you need and you use it

proper fern
#

this one gpt made it for me

shadow cargoBOT
# proper fern

Please react with โœ… to upload your file(s) to our paste bin, which is more accessible for some users.

orchid horizon
#

I won't read gpt slop

proper fern
#

woah

#

why

orchid horizon
#

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

proper fern
#

alr

#

ty man

orchid horizon
#

no problem

shadow cargoBOT
#
Python help channel closed for inactivity

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.