Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › C++/C Programming › C++ inequality alternate options

C++ inequality alternate options

Posts 1–9 of 9 · Page 1 of 1
cnttuchme
cnttuchme
C++ inequality alternate options
Ok so i found this code for nospread
Code:
void NoSpread()
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+No_Spread) = 0;
}
the part in red is what i am wondering i know its saying if dwPlayerptr is not equal to 0, then the playerpointer and spread = 0;
but what if we did this
[CODE]
Code:
void NoSpread()
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr >,< 0)
{
*(float*)(dwPlayerPtr+No_Spread) = 0;
}
then would we have the same results or better ones?
#1 · 16y ago
Hell_Demon
Hell_Demon
dwPlayerPtr != 0 is a check to see if the player pointer is not pointing to 0(NULL).
if you would acces members from a null pointer you'd crash.
#2 · 16y ago
cnttuchme
cnttuchme
Oh ok thanks because i didnt understand exactly what playerpointer was....except a variable...i just got through chapter 4 in my c++ book logical operators
#3 · 16y ago
BO
BooYa
Why not simply change it to

Code:
if(dwPlayerPtr)
#4 · 16y ago
ZE
zeco
Quote Originally Posted by BooYa View Post
Why not simply change it to

Code:
if(dwPlayerPtr)
Meh, because implicit things like that are annoying. I personally prefer to see things explicitly declared (to a point).
#5 · 16y ago
why06
why06
Quote Originally Posted by zeco View Post
Meh, because implicit things like that are annoying. I personally prefer to see things explicitly declared (to a point).
Lol. Is this a discussion, because if so I agree with Booya. Simply putting the whole variable in the thing seems a lot easier to me ;l
#6 · 16y ago
cnttuchme
cnttuchme
Lol my question was answered thanks guys.....
but for some reason my Compiler is wigging out XD

Code:
C:\Program Files\Microsoft Visual Studio\MyProjects\IDK\IDK.CPP(11) : warning C4005: 'Serverpointer' : macro redefinition
        c:\program files\microsoft visual studio\myprojects\idk\idk.cpp(11) : see previous definition of 'Serverpointer'
C:\Program Files\Microsoft Visual Studio\MyProjects\IDK\IDK.CPP(12) : warning C4005: 'OFS_X' : macro redefinition
        c:\program files\microsoft visual studio\myprojects\idk\idk.cpp(12) : see previous definition of 'OFS_X'
C:\Program Files\Microsoft Visual Studio\MyProjects\IDK\IDK.CPP(13) : warning C4005: 'OFS_Y' : macro redefinition
        c:\program files\microsoft visual studio\myprojects\idk\idk.cpp(13) : see previous definition of 'OFS_Y'
C:\Program Files\Microsoft Visual Studio\MyProjects\IDK\IDK.CPP(14) : warning C4005: 'OFS_Z' : macro redefinition
        c:\program files\microsoft visual studio\myprojects\idk\idk.cpp(14) : see previous definition of 'OFS_Z'
C:\Program Files\Microsoft Visual Studio\MyProjects\IDK\IDK.CPP(15) : warning C4005: 'ADR_FAST_HEALTH' : macro redefinition
        c:\program files\microsoft visual studio\myprojects\idk\idk.cpp(15) : see previous definition of 'ADR_FAST_HEALTH'
C:\Program Files\Microsoft Visual Studio\MyProjects\IDK\IDK.CPP(16) : warning C4005: 'ADR_FAST_AMMO' : macro redefinition
        c:\program files\microsoft visual studio\myprojects\idk\idk.cpp(16) : see previous definition of 'ADR_FAST_AMMO'
C:\Program Files\Microsoft Visual Studio\MyProjects\IDK\IDK.CPP(17) : warning C4005: 'ADR_FAST_FLAG' : macro redefinition
        c:\program files\microsoft visual studio\myprojects\idk\idk.cpp(17) : see previous definition of 'ADR_FAST_FLAG'
C:\Program Files\Microsoft Visual Studio\MyProjects\IDK\IDK.CPP(18) : warning C4005: 'ADR_FAST_REPAIR' : macro redefinition
        c:\program files\microsoft visual studio\myprojects\idk\idk.cpp(18) : see previous definition of 'ADR_FAST_REPAIR'
C:\Program Files\Microsoft Visual Studio\MyProjects\IDK\IDK.CPP(19) : warning C4005: 'ADR_SPEED' : macro redefinition
        c:\program files\microsoft visual studio\myprojects\idk\idk.cpp(19) : see previous definition of 'ADR_SPEED'
C:\Program Files\Microsoft Visual Studio\MyProjects\IDK\IDK.CPP(20) : warning C4005: 'ADR_SPAWN_1' : macro redefinition
        c:\program files\microsoft visual studio\myprojects\idk\idk.cpp(20) : see previous definition of 'ADR_SPAWN_1'
C:\Program Files\Microsoft Visual Studio\MyProjects\IDK\IDK.CPP(21) : warning C4005: 'ADR_SPAWN_2' : macro redefinition
        c:\program files\microsoft visual studio\myprojects\idk\idk.cpp(21) : see previous definition of 'ADR_SPAWN_2'
C:\Program Files\Microsoft Visual Studio\MyProjects\IDK\IDK.CPP(22) : warning C4005: 'ADR_BOUNDS_1' : macro redefinition
        c:\program files\microsoft visual studio\myprojects\idk\idk.cpp(22) : see previous definition of 'ADR_BOUNDS_1'
C:\Program Files\Microsoft Visual Studio\MyProjects\IDK\IDK.CPP(23) : warning C4005: 'ADR_BOUNDS_2' : macro redefinition
        c:\program files\microsoft visual studio\myprojects\idk\idk.cpp(23) : see previous definition of 'ADR_BOUNDS_2'
C:\Program Files\Microsoft Visual Studio\MyProjects\IDK\IDK.CPP(24) : warning C4005: 'ADR_SCOPE' : macro redefinition
        c:\program files\microsoft visual studio\myprojects\idk\idk.cpp(24) : see previous definition of 'ADR_SCOPE'
C:\Program Files\Microsoft Visual Studio\MyProjects\IDK\IDK.CPP(25) : warning C4005: 'OFS_PREMIUM' : macro redefinition
        c:\program files\microsoft visual studio\myprojects\idk\idk.cpp(0) : see previous definition of 'OFS_PREMIUM'
C:\Program Files\Microsoft Visual Studio\MyProjects\IDK\IDK.CPP(129) : error C2601: 'premium' : local function definitions are illegal
C:\Program Files\Microsoft Visual Studio\MyProjects\IDK\IDK.CPP(138) : error C2601: 'Stamina' : local function definitions are illegal
C:\Program Files\Microsoft Visual Studio\MyProjects\IDK\IDK.CPP(147) : error C2601: 'NFD' : local function definitions are illegal
C:\Program Files\Microsoft Visual Studio\MyProjects\IDK\IDK.CPP(157) : error C2601: 'Jump' : local function definitions are illegal
C:\Program Files\Microsoft Visual Studio\MyProjects\IDK\IDK.CPP(170) : error C2601: 'Slots5' : local function definitions are illegal
C:\Program Files\Microsoft Visual Studio\MyProjects\IDK\IDK.CPP(180) : error C2601: 'snip' : local function definitions are illegal
C:\Program Files\Microsoft Visual Studio\MyProjects\IDK\IDK.CPP(211) : error C2601: 'DllMain' : local function definitions are illegal
C:\Program Files\Microsoft Visual Studio\MyProjects\IDK\IDK.CPP(220) : fatal error C1004: unexpected end of file found
#7 · 16y ago
why06
why06
Quote Originally Posted by cnttuchme View Post
Lol my question was answered thanks guys.....
but for some reason my Compiler is wigging out XD
All that mess has to do with your #define statements. Why don't you post them and we can take a look.
#8 · 16y ago
cnttuchme
cnttuchme
Thanks but no thanks i figured it out and those are just warnings about macro defines....
But if you would like to add my msn and aid me to adding a bypass to a hack that would be extravagantly amazing!!
cnttuchme@hotmail.com
#9 · 16y ago
Posts 1–9 of 9 · Page 1 of 1

Post a Reply

Similar Threads

  • [Compiler Options]By SpiderByte in C++/C Programming
    4Last post 19y ago
  • Hardware UnBaN alternative?By W$t$5TA34TYTHSETH5Y5 in WarRock - International Hacks
    0Last post 19y ago
  • Site IP Changed/VIP Hacks/Alternative DomainBy Dave84311 in News & Announcements
    0Last post 19y ago

Tags for this Thread

#alternate#inequality#options