smallest-cock / RL-Custom-Quickchat

Enables custom quick chats (and more) in Rocket League using keypress automation
4 stars 0 forks source link

Question #4

Closed hamzaelasmar closed 6 months ago

hamzaelasmar commented 6 months ago

Sooo, Currently Disable save modes laggs my game I dont want it in the macro which piece of code do i remove?

hamzaelasmar commented 6 months ago

that was fixed, but it doesn't work] and make alphaconsole open

hamzaelasmar commented 6 months ago

yeah the first issue happenes

smallest-cock commented 6 months ago

@hamzaelasmar Do you mean you want to remove the macro which triggers enableBallTexture() completely, or do you just want to make the autoclicker skip the part where it clicks the "Disable Safe Mode" button?

If you want to remove the autoclicker functionality completely, you can just delete whatever macro contains enableBallTexture() in your main script (the whole elif combine(...): block)

If you want the autoclicker to skip the "Disable Safe Mode" button, would that mean you want to click the button yourself then have the autoclicker click the remaining buttons? I'm not sure I understand what you mean, sorry.

smallest-cock commented 6 months ago

I can also make a separate function (an alternative to enableBallTexture()) which clicks points on the screen based on a list of pre-saved coordinates... which should use less CPU resources (because there's no image searching going on), which may reduce lag. The only downside being: the pre-saved coordinates will become invalid if you move/resize the alphaconsole menu yourself.

Let me know if that sounds like what you need 👌

hamzaelasmar commented 6 months ago

I mean i want to click the button myself, and if possible hopefully make the seperate function and teach non-coders how to change them, if you want to i currently dont need it. Thank you so much for responding.

hamzaelasmar commented 6 months ago

and for some reason i set up everything and the macro but it still doesn't change, and im sure i did all the steps

smallest-cock commented 6 months ago

@hamzaelasmar I updated the code to allow customization of the autoclicker. Check out the autoclicker usage guide for info on how to use it

For your specific case I'd recommend trying this first:

enableBallTexture(onlyUseCoordsForFastMode=True)

because it makes the autoclicker not use any image searching when clicking the "Disable Safe Mode" button, which should reduce CPU usage (and hopefully lag). Note: You would have to run the autoclicker once in freeplay or something (so it can find all the correct button coordinates), then all the runs after that would use those coordinates instead of image searching.

If the above function still causes lag, or you would rather manually click "Disable Safe Mode", you can copy this example instead