Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - sthilla

Pages: [1]
1
Crossfire Tools / OllyDBG
« on: November 15, 2011, 11:27:10 am »
Here i will explain some basics, for make a crossfire hack.

First, you need to find some addys:

Download Olly and Olly plugins, (atachment).
Creat a script with c++, add this code:

Code:
#include "windows.h"
#include <iostream>

int main()
{
   DWORD err;
   HINSTANCE hDLL = LoadLibrary("CShell.dll");               // Handle to DLL
   if(hDLL != NULL) {
      printf("Library has been loaded\n");
        }
   else    {
        err = GetLastError();
      printf("Couldn't load dll\n");
   }
   system("pause");
   return 0;
}


Put it in crossfire folder and run it.
Open Olly and press atach, and find the program that u created.
in the code that will show up, press "Shearch for--All referenced text (somthing like that)"
Press "M" in the top.
Then go to Plugins-Make Dump of process"
it will show up a window, shearch for "Cshell 1000000000" and save it.
Then close all, press open and select the file that u saved.
Press Shift+F7+F8+F9, then press OK in the message that will show up.
Right Click, Shearch for-- all referenced text
And Find addys , for exemple, press right click, shearch text, select the 2 things, and whrite: ReloadAnimeRatio (for the no reload addy)

Download Olly Here -> http://www.ollydbg.de/

Now, open c++, press new project, select win32, then creat a win32 Project .
It will show up a message, press next, select dll and press finish.
It will Create a dll project, for manage the dll click were the image is showing:





Then on Dllmain.cpp, just whrite the folowing:

Add at the begining of ur code in c++ add this:

Code:
#include "stdafx.h"

Then Define ur addys, for exemple:

Code:
#define noreload     0x2698
Add this after defining and including:

Code:
DWORD WINAPI Hacks(LPVOID)
{
Then just add ur function, for exemple:

Code:
bool hak = true;
For continu add this:

Code:
while(1)
 {
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell+WeaponMgr);
Define the WeaponMgr, for find addy, go in olly shear noreload and the next addy will be 10A**** and somthing (* = a number), delete the "10" and add 0x at the begining

After it just creat ur hack.

Code:
if (hak)
    {
   if (pWeaponMgr) //define weaponmgr
   {
       for(int i=0; i<560; i++)//560 is the number of the weapons, soo it will afect all weapons
{
   if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) != NULL)
       *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + NoReload ) = 150;//150 is the reload speed
}


Full code

Code:
#include "stdafx.h"
#define WeaponMgr                   0xA65EE8
#define NoReload                    0x2698

DWORD WINAPI Hacks(LPVOID)
{
bool hak = true;
bool recoil = true;

 while(1)
 {
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell+WeaponMgr);
   
if(hak)
{
   if (pWeaponMgr)
   {
       for(int i=0; i<560; i++)
{
   if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) != NULL)
       *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + NoReload ) = 150;
}
   
      }
   }
Sleep(100);
}

}

bool Ready2Hook()
{
   if(GetModuleHandleA("CShell.dll")   != NULL
   && GetModuleHandleA("ClientFx.fxd") != NULL)
       return 1;
   return 0;
}
 
DWORD WINAPI Wait(LPVOID)
{
   while(!Ready2Hook()) Sleep(200);
        CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
   return 0;
}
 
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
   DisableThreadLibraryCalls(hDll);
   
   if ( dwReason == DLL_PROCESS_ATTACH )
   {
       
       MessageBoxA(0, "your test Here for the message","your title message", 0);
       
 
        CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0,0);
   }
   return 1;
}


After all this, just debug it, by pressing the "start" icon up there.
then go to your project folder--debug.
then you will see a .dll file, thats it





thx and add credits

2
Crossfire Source Code / one hit ZM source code
« on: November 13, 2011, 05:26:14 pm »
Code: [Select]
// main.cpp.cpp : Defines the entry point for the console application.
//

#include "windows.h"


int _tmain(int argc, _TCHAR* argv[])
{
return 0;
}
#include "stdafx.h"
#define WeaponMgr 0xA65EE8
#define OneHitKill 0x7F8

DWORD WINAPI Hacks(LPVOID)
{
bool hak = true;
bool recoil = true;

while(1)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell+WeaponMgr);

if(hak)
{
if (pWeaponMgr)
{
for(int i=0; i<560; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + OneHitKill ) = 9999;
}

}
}
Sleep(100);
}

}

bool Ready2Hook()
{
if(GetModuleHandleA("CShell.dll") != NULL
&& GetModuleHandleA("ClientFx.fxd") != NULL)
return 1;
return 0;
}

DWORD WINAPI Wait(LPVOID)
{
while(!Ready2Hook()) Sleep(200);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
return 0;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);

if ( dwReason == DLL_PROCESS_ATTACH )
{

MessageBoxA(0, "Made by sthilla","CFNAv2", 0);


CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
}
return 1;
}
[/color][/b]
hey guys please dont ask how to use it its for creators only an a simple thanks would be nice becuase it took me forever to fix it  8)

3
Crossfire Source Code / No recoil/spread
« on: November 11, 2011, 08:18:41 am »
Code: [Select]
 
//NoSpread
        if(NoSpread)
        {
            if (WeaponMgr)
            {
                for(int i=0; i<560; i++)
                {
                   
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
        *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0x26A0) = 0.0f;
                }
            }
        }

//NoRecoil
        if(NoRecoil)
        {
            if (WeaponMgr)
            {
                for(int i = 0; i < 9; i++)
  {
 

if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)

 *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0x251C) = 0.0f;
 *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0x2588) = 0.0f;
 *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0x258C) = 0.0f;
 *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0x2590) = 0.0f;
 *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0x1928) = 0.0f;
 *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0x1924) = 0.0f;
 *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0x192C) = 0.0f;
            }
        }
}

4
Programming Tools / C++ download
« on: November 11, 2011, 08:09:34 am »
Hey guys today im gonna share with you a programming tool to which may help you to make your very own hacks reason for shareing this is becuase i know many of you have been searching for a tool on how to create hacks and ive decided to share it here with you guys anyway here is the link and i hope you guys enjoy being on this site here with us==>http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express

5
Crossfire Source Code / Basic Player Info
« on: November 10, 2011, 07:00:24 pm »
Hey Guys This Is For Creators Or The Ones Who Are Becoming Creators. Please Keep In Mind That You Keep This Order.

CODE
struct BasicPlayerInfo
{
           char Spacer00[4];
      float MovementSpeed;
      float MovementWalkRate;
      float MovementDuckWalkRate;
      float MovementSideMoveRate;
      float MovementFrontBackRunAnimationRate;
      float MovementLeftRightRunAnimationRate;
      float MovementFrontBackWalkAnimationRate;
      float MovementLeftRightWalkAnimationRate;
      float MovementAcceleration;
      float MovementFriction;
      float JumpTime;
      float JumpVelocity;
      float JumpLandedWaitTime;
      float JumpLandedNoJumpTimeRate;
      float JumpRepeatPenaltyMoveRate;
      float JumpRepeatPenaltyHeightRate;
      float JumpLandedMovePenaltyTimeRate;
      float JumpLandedMovePenaltyMoveRate;
           char Spacer01[40];
      float DamagePenaltyTime;
      float DamagePenaltyMoveRate;
      float C4PlantTime;
      float C4DefuseTime;
      float MaxCanDefuseDistance;
      float CharacterHiddenAlpha;
      float CharacterHiddenWalkAlpha;
      float CharacterHiddenRunAlpha;
      float MovementHiddenRate;
      DWORD CrossHairColor;
      float CrossHairRedChangeRate;
      float CrossHairGreenChangeRate;
      float CrossHairBlueChangeRate;
};


Thanks For Reading. And Welcome To Our Site 8)

6
Crossfire Source Code / C++ guide (TUT1)
« on: November 10, 2011, 06:37:09 pm »
"How to learn C++?

C++ isn't easy and it takes time to learn.But it's very helpful if you know some basics.

So I decided to make a guide(I'm not so good at C++ but I know something I gathered some information that I found on the net)

Contents:
Introduction
What you'll need
What's next?

Introduction.
C++ is an "object oriented" programming language created by Bjarne Stroustrup and released in 1985. It implements "data abstraction" using a concept called "classes", along with other features to allow object-oriented programming. Parts of the C++ program are easily reusable and extensible; existing code is easily modifiable without actually having to change the code. C++ adds a concept called "operator overloading" not seen in the earlier OOP languages and it makes the creation of libraries much cleaner.

What you'll need:
Compilers
Visual Studios 2008 Express The free version of Visual Studios, this compiler is capable of handling large projects very easily, as well as importing a variety of SDK's, it contains so many features it would be impossible to list them all. I wouldn't recommend using this compiler when first learning C++, because learning just how to use VS could interfere with learning C++. However there are a few who start off with this compiler right away. If you decide to go ahead and start off with VS it will keep you from having to learn how to use VS later on, like I am having to do now. In the end every programmer advances to VS, whether you want to jump right in or simply wait to learn the basics first is just a style preference.
Dev-C++ A very simple IDE to start off with. It's good for beginners. It allow your to quicky test codes right away without having to worry about to many elaborate features.
Other: Code::Blocks, Eclipse C/C++
Books
[ame="http://www.amazon.com/Primer-Plus-5th-Stephen-Prata/dp/0672326973/ref=pd_bbs_1?ie=UTF8&s=books&qid=1237076645&sr=8-1"]Amazon.com: C++ Primer Plus (5th Edition): Stephen Prata: Books[/ame]
Amazon.com: C++: A Beginner's Guide, Second Edition (0783254043275): Herbert Schildt: Books
Online Tutorials/ebooks
C++ Language Tutorial
C++ Beginner's Guide
C++ - Free computer books
60 C++ Video Tutorials
BluePortal.com This site is hard to navigate through, but if you look it has tons of free stuff.
Useful links
MSDN- Pretty much the only link you'll ever need.




What's Next?
Once you learn all the basic concepts of C++(classes, pointers, virtual function, etc.) it's time to move on to some cool stuff. But make sure you learn the basics first. If you skip over this it's going to come back and bite you in the... well just trust me you NEED to know the basics first. Once you have completed the basics you can move on to DirectX, and some basic Windows API. There is more information here in the Intermediate Concepts of Game Hacking.


C++ maintains aspects of the C programming language, yet has features which simplify memory management. Additionally, some of the features of C++ allow low-level access to memory but also contain high level features.

C++ could be considered a superset of C. C programs will run in C++ compilers. C uses structured programming concepts and techniques while C++ uses object oriented programming and classes which focus on data. Read about the History of C and also about the History of C++.

7
Crossfire Source Code / CF Hack Source Codes Rules
« on: November 10, 2011, 06:23:29 pm »
1. Absolutely No Spam Or Begging For Source Codes In This Section.

2. Post Source Codes Only!!!
-Source codes
-Bases
-Addies
-Offsets
-Pointers
-TUT's

3. There Be No Hesitation When It Comes To The Ban-Hammer Being Used In This Section, That Will Be Your Final Warning.

4. If You Have Any Questions For This Section, Please PM A Minion/Moderator. Other Wise. Enjoy Creating And Learning Crossfire Source Codes!.

8
C++ / C / C# / ASM Programming / C++ steps
« on: November 10, 2011, 05:37:02 pm »
hey guys today im gonna share my secret on how to create a hack useing C++ first of all you will need to learn what is C++ and you can do so by clicking on the following link==>http://www.cplusplus.com/files/tutorial.pdf NOTE: If you dont understand then its ok you can try this video that consists of 76 videos from introduction to advance steps and if you still dont understand then im sorry you are a real noob anyway here is the video an please dont forget to like me an stay tune for my CFNA v2 which will be comein soon==>http://www.youtube.com/watch?v=tyVhn0FWWB4Can This Please Be Sticked

Pages: [1]

Copyright © 2012 CrossFireHackerz. All rights reserved.