• Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • At Work
  • CodenzHub
  • Coding
  • Deejaying
  • Donating
  • Drinking
  • Eating
  • Editing
  • Hacking
  • Hate Mailing
  • Jamin'
  • Lagging
  • Live Streaming
  • Lurking
  • No Status
  • Pawning
  • PC Gaming
  • PS Gaming
  • Raging
  • Reversing
  • Sleeping
  • Steam Gaming
  • Trolling
  • TwitchStreamer
  • Vodka!
  • Watching TV/Movie
  • Xbox Gaming
  • Youtuber
  • Zombies
  • Results 1 to 7 of 7
    1. #1
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      meneadeszz's Avatar
      Join Date
      May 2012
      Posts
      6
      Thanks (-->)
      0
      Thanks (<--)
      0

      Error with random reason

      Silent VPN
      Heuy

      I'm watching fleeps tutorials and im finishd making the dll injector script thing which finishis in episod 12 i think here it is.
      #include &lt;iostream&gt;
      #include &lt;Windows.h&gt;
      #include &lt;TlHelp32.h&gt;

      using namespace std;
      bool InjectDll(DWORD ProcessID);

      char FileToInject&#91;] ="AcubeDll.dll";
      char ProcessName&#91;] = "ac_client.exe";
      typedef HINSTANCE (*fpLoadLibrary)(char*);

      int main()
      {

      DWORD processID = NULL;
      PROCESSENTRY32 pe32 = {sizeof(PROCESSENTRY32)};
      HANDLE hProcSnap;

      while(!processID)
      {
      system("CLS");

      std::cout &lt;&lt; "Searching for " &lt;&lt; ProcessName &lt;&lt; "..." &lt;&lt; std::endl;
      std::cout &lt;&lt; "Make sure your game is running" &lt;&lt; std::endl;
      std::cout &lt;&lt; "Hello" &lt;&lt; std::endl;
      hProcSnap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);

      if(Process32First(hProcSnap, &amp;pe32))
      {
      do
      {
      if(!strcmp(pe32.szExeFile, ProcessName))
      {
      processID = pe32.th32ProcessID;
      break;
      }
      }
      while(Process32Next(hProcSnap, &amp;pe32));
      }

      Sleep(1000);

      }
      while(!InjectDll(processID))

      system("CLS");
      std::cout &lt;&lt; "DLL failed to inject" &lt;&lt; endl;
      Sleep(1000);
      std::cout &lt;&lt; "Dll succsesfully injected" &lt;&lt; endl;
      std::cout &lt;&lt; "Closing injector in 5 seconds" &lt;&lt; endl;


      CloseHandle(hProcSnap);
      Sleep(5000);

      return 0;

      }

      bool InjectDLL(DWORD ProcessId)
      {
      HANDLE hProc;
      LPVOID paraAddr;

      HINSTANCE hDLL = LoadLibrary("KERNEL32");

      fpLoadLibrary LoadLibraryAddr = (fpLoadLibrary)GetProcAddress(hDLL, "LoadLibraryA");

      hProc = OpenProcess (PROCESS_ALL_ACCESS, false, ProcessId);

      char dllPath[250] = "C:\\hacks\\";

      strcat_s(dllPath, FileToInject);

      paraAddr = VirtualAllocEx(hProc, 0, strlen(dllPath)+1, MEM_COMMIT, PAGE_READWRITE);

      bool memoryWritten = WriteProcessMemory(hProc, paraAddr, dllPath, strlen(dllPath)+1, 0);

      CreateRemoteThread(hProc, 0, 0,(LPTHREAD_START_ROUTINE)LoadLibraryAddr, paraAddr,0, 0);

      CloseHandle(hProc);

      return memoryWritten ;

      }

      But this is the error


      1&gt;------ Build started: Project: Dll Injection, Configuration: Debug Win32 ------
      1&gt;Main.obj : error LNK2019: unresolved external symbol "bool __cdecl InjectDll(unsigned long)" ([email protected]@[email protected]) referenced in function _main
      1&gt;C:\Users\Manuel\Desktop\AImbotC++\Dll Injection\Debug\Dll Injection.exe : fatal error LNK1120: 1 unresolved externals
      ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    2. #2
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      Sleinzel's Avatar
      Join Date
      May 2012
      Posts
      0
      Thanks (-->)
      0
      Thanks (<--)
      1
      LNK1120 is a Linker error... Maybe a missing .dll/.lib...

    3. #3
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      meneadeszz's Avatar
      Join Date
      May 2012
      Posts
      6
      Thanks (-->)
      0
      Thanks (<--)
      0
      But i did everythin like fleeps tutorial but he didint get the error and you know how i need to fix this

    4. #4
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      Sleinzel's Avatar
      Join Date
      May 2012
      Posts
      0
      Thanks (-->)
      0
      Thanks (<--)
      1
      Quote Originally Posted by meneadeszz
      But i did everythin like fleeps tutorial but he didint get the error and you know how i need to fix this
      Did you download a project provided by fleep? Or did you start on your own from scratch?

    5. #5
      Coder
      Learning to hack games!
       
      Feeling Normal
       
      BlackPitchPL's Avatar
      Join Date
      May 2012
      Location
      POLAND
      Posts
      171
      Thanks (-->)
      1
      Thanks (<--)
      14
      maybe you should check PATH of lib if u use Visual Studio and add manually

    6. #6
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      meneadeszz's Avatar
      Join Date
      May 2012
      Posts
      6
      Thanks (-->)
      0
      Thanks (<--)
      0
      What doe you mean exaclt but thats tutorial is for an injecter thats not realy needed for me so you can close this thread

    7. #7
      Jr.Coder
      Learning to hack games!
       
      Feeling Normal
       
      programmer's Avatar
      Join Date
      Jul 2012
      Location
      great britain
      Posts
      51
      Thanks (-->)
      0
      Thanks (<--)
      0
      Silent VPN
      in your hack properties -> character set :- put Use Multi-Byte Character Set .
      Attached Thumbnails Attached Thumbnails way.jpg  
      Last edited by programmer; 10-31-2012 at 12:52 PM.
      humans can success just if they failed .
      thank me if i helped .

      more thanks more hacks .

      programmer .

    Similar Game Hacker Threads

    1. Replies: 2
      Last Post: 02-05-2016, 04:42 AM
    2. [Help] C++ Random compiler error (LINK)
      By koro35 in forum C/C++
      Replies: 2
      Last Post: 01-03-2015, 04:02 AM
    3. [Help] Random Title Name
      By Froze in forum Hacking Help
      Replies: 1
      Last Post: 11-30-2014, 08:37 AM
    4. [Off Topic] Random Pictures :)
      By Nether in forum Off Topic
      Replies: 15
      Last Post: 06-06-2014, 01:14 AM