TKC-Community

Hacking and Art => General Modding & Programming / Other Games => Topic started by: jj8166 on October 24, 2013, 05:41:20 pm

Title: Color Aimbot
Post by: jj8166 on October 24, 2013, 05:41:20 pm
Hey Guys :)

I have found a working color aimbot and downloaded it.
So i made some chams too (the enemies are red)

Now my problem is: the color aimbot does move my mouse in the menu on red things, but once ingame
it seems like it moves the menu mouse but the view ingame doesnt move :/
It does recognize the color ingame, but still doesnt move the "ingame view"

I would be glad if someone could explain this to me / help me fixing it

btw im testing on With fire and sword
 but i got the same problem in warband :/



jj8166
Title: Re: Color Aimbot
Post by: UnknownDown on October 25, 2013, 07:46:07 am
Help him please, if all guys on this forum help you, you can creat one !
Title: Re: Color Aimbot
Post by: theplayer on October 25, 2013, 08:56:05 pm
i would love to help you but i know nothing about codding
Title: Re: Color Aimbot
Post by: jj8166 on October 26, 2013, 04:13:53 pm
Thanks for the support
in my opinion to many people are talking like "oh a aimbot is so easy i could make one in few mins"
but no one does it :/

hope we can get this fixed so i can release the hack
Title: Re: Color Aimbot
Post by: MrMedic on October 26, 2013, 06:10:14 pm
try set cursor they probably have hooked either mouse event or set cursor pos.
Title: Re: Color Aimbot
Post by: jj8166 on October 26, 2013, 09:26:44 pm
Ok thanks for this tip
im not very experienced but can i just change

 public static extern bool SetCursorPos(int x, int y);
to
 public static extern bool SetCursor(int x, int y);

?

EDIT: ok that doesnt work MrMedic can i send you the source code?
Title: Re: Color Aimbot
Post by: MrMedic on October 27, 2013, 07:12:29 am
BOOL WINAPI SetCursorPos(int X,int Y);

override it or use mouse_event
Title: Re: Color Aimbot
Post by: jj8166 on October 27, 2013, 10:04:47 pm
hmm it seems like it wouldnt work :/
sorry but i forgot to say that it is in c#
heres the part of the code:
Code: [Select]
using System;
using System.Runtime.InteropServices;

namespace CSharpColorAimbot
{
    /// <summary>
    /// Represents the Win32 API native type: struct RECT.
    /// </summary>
    [StructLayout(LayoutKind.Sequential)]
    public struct Rect
    {
        public int Left;
        public int Top;
        public int Right;
        public int Bottom;
    }

    /// <summary>
    /// Encapsulates Win32 native API calls.
    /// </summary>
    public static class Win32Calls
    {
        /// <summary>
        /// Gets the bounds of a Win32 window using the window handle.
        /// </summary>
        /// <param name="hWnd">The window handle of the target window.</param>
        /// <param name="rect">The RECT struct used to put the output values in.</param>
        /// <returns>Wether the function succeeded or not.</returns>
        [DllImport("User32.dll")]
        public static extern bool GetWindowRect(IntPtr hWnd, ref Rect rect);

        /// <summary>
        /// Sets the cursor position on a specified position on screen.
        /// </summary>
        /// <param name="x">The X position to set the cursor to.</param>
        /// <param name="y">The Y position to set the cursor to.</param>
        /// <returns>Wether the function succeeded or not.</returns>
        [DllImport("User32.dll")]
        bool WINAPI SetCursorPos(int x,int y);
                
        
    }
}

it gives me the error "; expected" in "SetCursorPos"
Title: Re: Color Aimbot
Post by: MrMedic on October 27, 2013, 10:25:17 pm
oh dear ...


http://www.cprogramming.com/tutorial.html
Title: Re: Color Aimbot
Post by: jj8166 on October 27, 2013, 11:05:13 pm
Oh dude atleast im trying to help all the people who want
a aimbot for the mount and blade games instead of you
sitting on your skills, not helping anyone :bang

would you please in the name of the community, tell me what to do
?
(please dont give a answer like learn c# or whatever)
Title: Re: Color Aimbot
Post by: M. O. on October 28, 2013, 02:10:47 am
You're trying to run before you can walk. You won't be able to accomplish anything unless you know what you're doing. There are no recipes or magic formulae.

You want to make a call to the function there, not a declaration, and you need to define the coordinates before you give them as inputs. You might also need to include appropriate libraries.


C# is probably a bad choice too. Try Delphi or C++ instead, it will compile to binary without any extra hassle. But yes, you need to start at the beginning, be determined and have patience.

Title: Re: Color Aimbot
Post by: UnknownDown on November 03, 2013, 04:14:46 pm
So ... we cant ? :(
Title: Re: Color Aimbot
Post by: M. O. on November 04, 2013, 01:54:44 am
We can, but no matter what instructions we give him, he won't be able to build a house unless he knows how to hold a hammer properly.

The best we can do is to offer him pieces of advice on good books to start with, and/or to attend courses on the subject. Generally speaking we're talking about months of practice, minimum.

Color aimbots generally give you poor results. You can add a custom texture with some uncommon color, but you would still have to account for discrepancies due to lighting and such, which in turn requires basic knowledge of image processing. But at that stage it would be easier to make a proper aimbot, in which case the tutorials of this site can be used.


Title: Re: Color Aimbot
Post by: ZOldDude on November 04, 2013, 08:11:20 am
Using a custom color not used in the game will give better results with a Color Bot like OCG's.

Going to a program that seeks ENEMY/SKELETON/LOCATION would give the best result as it is not dependent on colors.
Title: Re: Color Aimbot
Post by: MrMedic on November 04, 2013, 08:51:05 am
he wants copy paste code , hes one of the 'new' breed.


advising him to 'learn' is like sticking a red hot needle in his eyeball.

they just dont want to see it.
Title: Re: Color Aimbot
Post by: Warbander69 on December 01, 2013, 03:29:15 am
Do you think you can share that aimbot after you're done fixing it op?

I'd love to help but my programming skills are still at the Game Maker level   :icon_laugh
Title: Re: Color Aimbot
Post by: spartakexer on February 06, 2014, 10:23:19 pm
If you need any help I'm willing to help with some of my knowledge! :icon_devil
Title: Re: Color Aimbot
Post by: quashar on February 06, 2014, 10:49:29 pm
Help him ! Need dat aim  :D