monday
Expert
- Joined
- Jun 23, 2014
- Messages
- 1,127
- Solutions
- 1
- Reaction score
- 158
[video=youtube]http://http://www.youtube.com/watch?v=h-FMhpIAvZs[/video]
Another video (triggerbot/aimbot):
https://www.youtube.com/watch?v=qkw1W2xo0aY
Mod which detects streamed players information. "faceTag" mode allows the user to assign an image to a specified player name and display it when he's online/streamed in.
Updates:
11/01/2016 - added "additional functions" in menu (so I'll just add stuff there instead of releasing separate mods) + triggerBot with target lock + accuracy increase tool
20/12/2015 - improved performance (if the mod causes fps drop even if its state is set "off" then this update may help)
Installation:
1.Download and unpack the following archive (21MB) Updated download - virustotal scan
2. Put "supremeInfo" folder inside your gta directory
3. Put "Dll Injector" and "supremeInfo.dll" anywhere on your disc but make sure they're in the same folder
4. Run "Dll Injector" before or while running samp
Tested with:
-samp 0.3.7
Controls:
-"numpad +" button toggles menu. It's possible to change it by changing value of "menuActivationKey=0x6B" inside "supremeInfoSettings.ini" file, check the link below for desired key value:
https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx
-right mouse button allows to move the camera while menu being open
faceTag mode usage:
To assign an image to a player a ".png" file named as the desired player has to be put inside "gta/supremeInfo/images/personalized". The image size will be automatically adjusted, however larger images may significantly increase loading time after injection. It's possible to add images while playing, just press "Reload personalized textures" button in menu after adding new images.
triggerBot function
Progressive ping style: higher ping = greater position shift
Flat ping style: stable position shift for all the players no matter what is their actual ping (position shift in this one is equivalent to 150 ping using progressive style)
Ping weight adjustment: greater weight = greater position shift (works the same for both styles above)
Bugs:
-Unability to use it as an ASI (to automatically start it instead of messing with an injector every time) http://ugbase.eu/help-12/asi-file-not-being-loaded/
-faceTag mode displays all the images when player with ID 0 is around
-If the aimbot moves rapidly and out of the target then decrease "Tracking speed"
-Problems with alt-tab use
Source:
Download - virustotal scan (not updated here but included in update files)
Source information:
External libraries used: detours, directx sdk
The code is a bit unnecessarily complicated in few places mostly because I didn't know exactly what mod I'm going to make and I'm at learning stage. It has a cool feature almost unused in the released mod which allows you to display image sequences (gifs splitted into png sequence). If anyone would like to test it, all that has to be done is to uncomment few lines in dllmain.cpp:
Whole projects:
Visual Studio 2012 supremeInfo project download - virustotal scan (also not updated but it's just a matter of copying the new source files)
Visual Studio 2012 Dll injector project download - virustotal scan
Credits:
I'm sure that if Springfield didn't help me by providing working dll file with hooked directx functions I wouldn't even start doing this mod simply out of frustration. Similar case with s0beit source shared by FYP but it's impact on samp modding community is so large that I'm not sure if its even worth mentioning it. Thanks to jmjatlanta for automatic image size adjustment possible by using: http://www.jmjatlanta.com/getting-an-image-size-in-c/. Thanks to camil1999 for allowing me to use his coloured skins: http://camil1999mods.blogspot.co.uk/2013/10/relsa-hd-weapon-icons.html. Thanks to xiaohe521 for ini management classes shared by him: http://www.codeproject.com/Articles/10809/A-Small-Class-to-Read-INI-File
Another video (triggerbot/aimbot):
https://www.youtube.com/watch?v=qkw1W2xo0aY
Mod which detects streamed players information. "faceTag" mode allows the user to assign an image to a specified player name and display it when he's online/streamed in.
Updates:
11/01/2016 - added "additional functions" in menu (so I'll just add stuff there instead of releasing separate mods) + triggerBot with target lock + accuracy increase tool
20/12/2015 - improved performance (if the mod causes fps drop even if its state is set "off" then this update may help)
Installation:
1.Download and unpack the following archive (21MB) Updated download - virustotal scan
2. Put "supremeInfo" folder inside your gta directory
3. Put "Dll Injector" and "supremeInfo.dll" anywhere on your disc but make sure they're in the same folder
4. Run "Dll Injector" before or while running samp
Tested with:
-samp 0.3.7
Controls:
-"numpad +" button toggles menu. It's possible to change it by changing value of "menuActivationKey=0x6B" inside "supremeInfoSettings.ini" file, check the link below for desired key value:
https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx
-right mouse button allows to move the camera while menu being open
faceTag mode usage:
To assign an image to a player a ".png" file named as the desired player has to be put inside "gta/supremeInfo/images/personalized". The image size will be automatically adjusted, however larger images may significantly increase loading time after injection. It's possible to add images while playing, just press "Reload personalized textures" button in menu after adding new images.
triggerBot function
Flat ping style: stable position shift for all the players no matter what is their actual ping (position shift in this one is equivalent to 150 ping using progressive style)
Ping weight adjustment: greater weight = greater position shift (works the same for both styles above)
Bugs:
-Unability to use it as an ASI (to automatically start it instead of messing with an injector every time) http://ugbase.eu/help-12/asi-file-not-being-loaded/
-faceTag mode displays all the images when player with ID 0 is around
-If the aimbot moves rapidly and out of the target then decrease "Tracking speed"
-Problems with alt-tab use
Source:
Download - virustotal scan (not updated here but included in update files)
Source information:
External libraries used: detours, directx sdk
DirectX SDK -> https://www.microsoft.com/en-us/download/details.aspx?id=6812
Microsoft Detours -> http://rghost.net/8VxHZ6b4x
The code is a bit unnecessarily complicated in few places mostly because I didn't know exactly what mod I'm going to make and I'm at learning stage. It has a cool feature almost unused in the released mod which allows you to display image sequences (gifs splitted into png sequence). If anyone would like to test it, all that has to be done is to uncomment few lines in dllmain.cpp:
//vincent.InitializeGif(dev, "supremeInfo/images/Gifs/vincentGif/vincent (", ").png", 490, 476);
//vincent.Scale(2.0f, 2.0f, 1.0f, NULL);
//vincent.SetPosition(1350.0f, 944.0f, NULL, NULL);
//if(vincent.IsInitialized())
//{
// vincent.DrawGif(6, 10, true);//int timerID,, int delay, bool reverse
//}
Btw here's some detailed info about how the code deals with animations in case if you'd like to add your own:
1. Csprites.cpp - initialization of the "Sprites" class object
Sprites vincent(100); //100 stands for number of frames, it can't exceed size of frameTex array from "Sprites" class (which is 1005 now)
2. Csprites.h - externing the object
extern Sprites vincent;
3. dllMain.cpp - initialization of the actual frames + displaying + 2 bug prevention lines
//init part
if (!InitateOnce)
{
vincent.InitializeGif(dev, "supremeInfo/images/Gifs/vincentGif/vincent (", ").png", 490, 476); //you'd have to create new folder for your animation, place all the frames there and name them with numbers included from 0 to number frames - 1 (you can select them all and press F2 to rename them appropriately)
vincent.Scale(2.0f, 2.0f, 1.0f, NULL); //scaling is not neccessary but was needed on my resolution for this particular animation to be in place
vincent.SetPosition(1350.0f, 944.0f, NULL, NULL);
}
//drawing part
if(vincent.IsInitialized())
{
vincent.DrawGif(6, 10, true);//int timerID,, int delay, bool reverse
}
//2 important lines (if you're unable to maximise gta after minimalizing it then you may be missing these 2)
void LostDeviceAction() //add all components here
{
if (vincent.sprite) vincent.sprite->OnLostDevice();
}
void ResetDeviceAction() //add all components here
{
if (vincent.sprite) vincent.sprite->OnResetDevice();
}
That's the site I was using to split gifs into png sequences: http://animizer.net/en/gif-apng-splitter
//vincent.Scale(2.0f, 2.0f, 1.0f, NULL);
//vincent.SetPosition(1350.0f, 944.0f, NULL, NULL);
//if(vincent.IsInitialized())
//{
// vincent.DrawGif(6, 10, true);//int timerID,, int delay, bool reverse
//}
Btw here's some detailed info about how the code deals with animations in case if you'd like to add your own:
1. Csprites.cpp - initialization of the "Sprites" class object
Sprites vincent(100); //100 stands for number of frames, it can't exceed size of frameTex array from "Sprites" class (which is 1005 now)
2. Csprites.h - externing the object
extern Sprites vincent;
3. dllMain.cpp - initialization of the actual frames + displaying + 2 bug prevention lines
//init part
if (!InitateOnce)
{
vincent.InitializeGif(dev, "supremeInfo/images/Gifs/vincentGif/vincent (", ").png", 490, 476); //you'd have to create new folder for your animation, place all the frames there and name them with numbers included from 0 to number frames - 1 (you can select them all and press F2 to rename them appropriately)
vincent.Scale(2.0f, 2.0f, 1.0f, NULL); //scaling is not neccessary but was needed on my resolution for this particular animation to be in place
vincent.SetPosition(1350.0f, 944.0f, NULL, NULL);
}
//drawing part
if(vincent.IsInitialized())
{
vincent.DrawGif(6, 10, true);//int timerID,, int delay, bool reverse
}
//2 important lines (if you're unable to maximise gta after minimalizing it then you may be missing these 2)
void LostDeviceAction() //add all components here
{
if (vincent.sprite) vincent.sprite->OnLostDevice();
}
void ResetDeviceAction() //add all components here
{
if (vincent.sprite) vincent.sprite->OnResetDevice();
}
That's the site I was using to split gifs into png sequences: http://animizer.net/en/gif-apng-splitter
Visual Studio 2012 supremeInfo project download - virustotal scan (also not updated but it's just a matter of copying the new source files)
Visual Studio 2012 Dll injector project download - virustotal scan
Credits:
I'm sure that if Springfield didn't help me by providing working dll file with hooked directx functions I wouldn't even start doing this mod simply out of frustration. Similar case with s0beit source shared by FYP but it's impact on samp modding community is so large that I'm not sure if its even worth mentioning it. Thanks to jmjatlanta for automatic image size adjustment possible by using: http://www.jmjatlanta.com/getting-an-image-size-in-c/. Thanks to camil1999 for allowing me to use his coloured skins: http://camil1999mods.blogspot.co.uk/2013/10/relsa-hd-weapon-icons.html. Thanks to xiaohe521 for ini management classes shared by him: http://www.codeproject.com/Articles/10809/A-Small-Class-to-Read-INI-File