Giter Site home page Giter Site logo

Comments (2)

vxcall avatar vxcall commented on July 27, 2024

Basically, Windows.h is only used for mouse manipulation here.
Specifically these lines

// simulating mouse left click
mouse_event(MOUSEEVENTF_LEFTDOWN, NULL, NULL, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, NULL, NULL, 0, 0);

You have to find and use the function that is equivalent to mouse_event() in linux.
Idk how to implement it in linux but if you find the function, it's ok to delete #include <Windows.h>

By the way Triggerbot feature is barely work as it should be and kinda unstable.
I was like focusing bug fix of other features such as Aimbot and Glowhack.
Therefore, I'm trying to apply some treatment which make it possible to shoot without mouse_event() to Triggerbot right now.

So, update yourself on my repo.

from dainsleif.

vxcall avatar vxcall commented on July 27, 2024

Ok, I finished up the work.
As you can see here you can use dwForceAttack to force local player to shoot.

Set it to 5, player will SHOOT.
Set it to 4, player will be STOP SHOOTING.

If you get something to ask me, let me know.
Your welcome :)

from dainsleif.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.