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 › MultiPlayer Game Hacks & Cheats › CrossFire Hacks & Cheats › CrossFire Hack Coding / Programming / Source Code › Help me to get Weapon IDs

Help me to get Weapon IDs

Posts 1–8 of 8 · Page 1 of 1
PS
PSR16F80
Help me to get Weapon IDs
I'm trying to get list of weapon ids like in this thread - http://www.mpgh.net/forum/242-crossf...gun-index.html.
I need it because I want to make a weapon hack of other CF localization, not NA, and weapon ids are different.

Here is the source code of weapon logger (not mine):

Code:
#include <windows.h>
#include <fstream>
using namespace std;

#pragma comment(linker,"/MERGE:.rdata=.text")
#pragma comment(linker,"/FILEALIGN:512 /SECTION:.text,EWRX /IGNORE:4078")
#pragma comment(linker,"/BASE:0x13110000")
#pragma comment(linker,"/ENTRY:New_DllMain")

#define WeaponMgr 0xA68F90

//---
DWORD WINAPI H4X(LPVOID)
{
DWORD cshell = (DWORD)GetModuleHandleA( "CShell.dll" );
DWORD weapon = *(DWORD*)( cshell + 0xA68F90);
ofstream file;
file.open("Logger.txt");
for(int i = 0; i < 600; i++) { //You can see later how many weapons there are. Then you can lower the loop.
	  DWORD wapens = *(DWORD*)(weapon +(4*i));
	  char * weaponname = (char*)(wapens + 0x0008);
          file << "Item number: " << i << " ID: " << hex << i << " Name: " << (LPCTSTR)weaponname << ".\n";
}

	return 0;
}


//---
bool R2H()
{
    if ( GetModuleHandleA("CShell.dll") != NULL && GetModuleHandleA("ClientFx.fxd") != NULL )
        return 1;

    return 0;
}


//---
DWORD WINAPI W41t(LPVOID)
{
    while ( !R2H()) Sleep(200);

    CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)H4X, NULL, NULL, NULL);

    return 0;
}


//---
void New_DllMain(HMODULE hDll, DWORD dwReason, LPVOID lpReserved)
{
    DisableThreadLibraryCalls(hDll);

    if ( dwReason == DLL_PROCESS_ATTACH )
        CreateThread(0, 0, (LPTHREAD_START_ROUTINE)W41t, 0, 0, 0);
}
It probably works, but when I put sxs.dll into crossfire folder and start CF, it crashes with send error report. Howewer, it creates a file with weapons indexies, but list is not complete. It has 30-40 weapons only.

Maybe someone help me, because I don't really know how to fix it.
#1 · 14y ago
Brimir
Brimir
I made a tut about it... Why you don't use that?
#2 · 14y ago
PS
PSR16F80
Quote Originally Posted by Brimir View Post
I made a tut about it... Why you don't use that?
I do all step-by-step like it this tutorial - http://www.mpgh.net/forum/242-crossf...ke-logger.html.
It works, but game crashes and list becomes incomplete. I don't really know why it crashes.
#3 · 14y ago
moathebest
moathebest
Quote Originally Posted by Brimir View Post
I made a tut about it... Why you don't use that?
i would be very appreciative if u made a tut like that of logger but not for wep hack but for normal hacks
#4 · 14y ago
PS
PSR16F80
So does not any one know how to do that?

Brimir, maybe you can give me a working .dll of your logger or maybe another solution to solve my problem, please.

It's very important for me, because on my CF localization i never see a weapon hack, and I very want to make it first.
#5 · 14y ago
PS
PSR16F80
Up, up, up!
#6 · 14y ago
A$
A$IAN
Did you update the weapon pointer?
#7 · 14y ago
PS
PSR16F80
Quote Originally Posted by Philong Nguyen View Post
Did you update the weapon pointer?
What is the weapon pointer? Did your mean weaponmgr? I use this value - 0xA68F90 and its actual.
#8 · 14y ago
Posts 1–8 of 8 · Page 1 of 1

Post a Reply

Similar Threads

  • Help Me to get Zp For FreeBy ahmedrizk in CrossFire Help
    10Last post 15y ago
  • Appreciate any help I can getBy holytits in Vindictus Help
    4Last post 15y ago
  • Need help, how to get people to login to my phishing site!---help-----By fearful65 in Runescape Help
    2Last post 14y ago
  • Codes 2 get weapons,swim,5th slot,nospread recoil,...By crazy4her in WarRock - International Hacks
    9Last post 19y ago
  • Help a borther get his weapoBy MotherFucker in WarRock - International Hacks
    4Last post 20y ago

Tags for this Thread

None