[C++ / Video] How to code an external base

This is a discussion on [C++ / Video] How to code an external base within the Counter-Strike: Source Hacks board part of the Counter-Strike Forum category; Post it in code tags or on pastebin, no need for a filehoster!...

Page 3 of 7 FirstFirst 12345 ... LastLast
Results 21 to 30 of 68
  1. #21
    Excidium is offline Banned User

    Array
    Join Date
    Jun 2012
    Location
    Somewhere near Hamburg, Germany.
    Posts
    622
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    358
    Post it in code tags or on pastebin, no need for a filehoster!

  2. The Following User Says Thank You to Excidium For This Useful Post:


  3. #22
    LOLYOU is offline Banned User
    Array
    Join Date
    May 2012
    Posts
    286
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    321

  4. #23
    Excidium is offline Banned User

    Array
    Join Date
    Jun 2012
    Location
    Somewhere near Hamburg, Germany.
    Posts
    622
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    358
    Why did you fuck around in FindProcess?

    if (_strcmpi(pEntry32.szExeFile, ccName))
    {
    memcpy((void *)pEntry, (void *)&pEntry32, sizeof(PROCESSENTRY32));
    CloseHandle(hSnapshot);
    return pEntry32.th32ProcessID;
    }

    Why did you remove the ! before strcmpi?

  5. The Following User Says Thank You to Excidium For This Useful Post:


  6. #24
    LOLYOU is offline Banned User
    Array
    Join Date
    May 2012
    Posts
    286
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    321
    Quote Originally Posted by Excidium View Post
    Why did you fuck around in FindProcess?

    if (_strcmpi(pEntry32.szExeFile, ccName))
    {
    memcpy((void *)pEntry, (void *)&pEntry32, sizeof(PROCESSENTRY32));
    CloseHandle(hSnapshot);
    return pEntry32.th32ProcessID;
    }

    Why did you remove the ! before strcmpi?
    i was trying to solve first problem, when I got errors while compiling. sorry for asking stupid questions, that was my fault
    Last edited by LOLYOU; 08-12-2012 at 12:16 PM.

  7. #25
    Excidium is offline Banned User

    Array
    Join Date
    Jun 2012
    Location
    Somewhere near Hamburg, Germany.
    Posts
    622
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    358
    Quote Originally Posted by LOLYOU View Post
    i was trying to solve first problem, when I got errors while compiling
    That surely wasnt an error, that was a warning to better use _strcmpi which is ISO-C++ instead of strcmpi, but that doesnt mean you can delete the !, so it would be !_strcmpi or !strcmpi, both work.

  8. The Following User Says Thank You to Excidium For This Useful Post:


  9. #26
    Broadway's Avatar
    Broadway is offline Addict
    Array
    Join Date
    Mar 2011
    Location
    Thailand
    Posts
    55
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    9
    Reputation
    14
    Kimx_ Like,reputation every post of Excidium

  10. #27
    Excidium is offline Banned User

    Array
    Join Date
    Jun 2012
    Location
    Somewhere near Hamburg, Germany.
    Posts
    622
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    358
    Quote Originally Posted by Broadway View Post
    Kimx_ Like,reputation every post of Excidium
    Looks like he tried to troll me.

  11. #28
    deltacoder is offline Wannabe Member
    Array
    Join Date
    Feb 2012
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0
    My problems? :S

    Code:
    ------ Build started: Project: ExtCode, Configuration: Debug Win32 ------Compiling...
    main.cpp
    c:\users\[CENSORED]\documents\visual studio 2008\projects\extscode\extscode\cprocess.h(34) : error C2664: 'strcmpi' : cannot convert parameter 1 from 'WCHAR [260]' to 'const char *'
            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    c:\users\[CENSORED]\documents\visual studio 2008\projects\extscode\extscode\cprocess.h(83) : error C2664: 'strcmp' : cannot convert parameter 1 from 'WCHAR [256]' to 'const char *'
            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    c:\users\[CENSORED]\documents\visual studio 2008\projects\extscode\extscode\cprocess.h(103) : error C2664: 'LookupPrivilegeValueW' : cannot convert parameter 2 from 'const char [17]' to 'LPCWSTR'
            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    c:\users\[CENSORED]\documents\visual studio 2008\projects\extscode\extscode\cprocess.h(126) : error C2664: 'FindWindowW' : cannot convert parameter 2 from 'const char [22]' to 'LPCWSTR'
            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    Build log was saved at "file://c:\Users\[CENSORED]\Documents\Visual Studio 2008\Projects\ExtCode\ExtCode\Debug\BuildLog.htm"
    ExtCode - 4 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

  12. #29
    furmelade's Avatar
    furmelade is offline Hacker
    Array
    Join Date
    Jun 2012
    Posts
    224
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    8
    Reputation
    100
    Dont use Unicode...

  13. #30
    deltacoder is offline Wannabe Member
    Array
    Join Date
    Feb 2012
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0
    What's unicode ^.^

Page 3 of 7 FirstFirst 12345 ... LastLast

Similar Threads

  1. [Download] Meinhoff Base (1v1)
    By Blacky372 in forum Starcraft 2 Custom Maps
    Replies: 3
    Last Post: 05-06-2012, 06:23 AM
  2. Base to learn
    By purecp in forum Counter-Strike: Source Hacks
    Replies: 2
    Last Post: 11-27-2011, 02:12 AM
  3. PSN code scam video will +rep!
    By Ellinaras in forum WoW Bots, hacks and exploits
    Replies: 1
    Last Post: 01-31-2010, 09:09 PM
  4. [Guide] Learn how to code with .Bat Files [Video-Tutorial]
    By MaRcDk in forum Operating Systems
    Replies: 3
    Last Post: 06-16-2008, 08:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •