I want to correct this topic:
https://www.mpgh.net/forum/242-crossf...ke-logger.html
Becouse MPGH closed it :\ I can't edit the topic. I did't have an IDE when I wrote that :P
This is a working example:
Code:
#define weaponpointer 0xA68F80
Code:
ofstream file;
file.open("Wapen.txt");
DWORD cshell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD weapon = *(DWORD*)(cshell + weaponpointer);
if(weapon) {
for(int i =0; i < 1000; i++ ) {
DWORD curweapon = *(DWORD*)(weapon +(i*4));
if(curweapon) {
char * weaponname = (char*)(curweapon + 0x0008);
file << hex << i << " " << (LPCSTR)weaponname << "\n";
}
}
}
file.close();
Beep(100,1000);
output:
Code:
0 XM1014
1 COLT1911
2 MP5
3 P90
4 M9
5 KNIFE
6 GRENADE
7 FLASHBANG
8 SMOKE
9 C4
a K1A
b M4A1
c AK-47
d Steyr AUG A1
e M700
f AWM
10 PSG-1
11 M60
12 USP
13 P228
14 Desert Eagle
15 UZI
16 K-2
17 DRAGUNOV
18 SG552
19 M16
1a Desert Eagle
1b AK-74
1c MP7
1d FAMAS
1e XM8
1f G36K
20 Micro-GALIL
21 Anaconda
22 SCAR Heavy
23 Combat Axe
24 SPAS-12
25 GLOCK-18
26 M4A1-B
27 MP5-B
28 AK-47-B
29 Steyr AUG A1-B
2a SG552-B
2b AWM-B
2c Desert Eagle-B
2d M4A1-A
2e AWM-A
2f XM8-B
31 FAMAS-Camo
32 QBZ-95
37 Kriss Super V
38 Golden AK-47
3c Golden Desert Eagle
3d RPK
40 Red Smoke
41 SMOKE BLUE
43 MP5-Adv
44 XM1014-A
48 M4A1-Custom
49 SCAR LIGHT
4a Field Shovel
4b DE-Scope
4c M4-Silencer
4d AUG A1-camo
4e Desert Eagle-Camo
55 AK-47 Knife
57 XM8-Adv
5a AK47-Camo
5b PSG-1
5c Anaconda-Adv
5e Golden AK-47
5f M4A1-Custom
60 AK-47 Knife
61 AK47-Camo
62 M4A1-Adv
64 Heart-GRENADE
67 AUG A1-camo
68 SG552-Camo
69 Desert Eagle-Camo
6e AWM-Camo
6f AWM-Camo
70 Kriss Super V
71 QBZ-95
73 Anaconda-Adv
74 DE-Scope
78 Slug Claws
79 AK-47 Scope
7a PSG-1 Red Dragon
7c M60-Adv
7e Mutation Grenade
7f AK47-Camo
80 MP5-Adv
84 Katana
85 Winchester
87 Wide Grenade
88 PSG-1 Red Dragon
8c AN94
8d SCAR LIGHT
91 MP7
93 K1A
94 MP5
95 P90
96 DRAGUNOV
98 AWM
99 Desert Eagle
9b Anaconda
9c Dual Colt
9d Dual Uzi
9e M60-Adv
9f RPK-Camo
a0 SG552
a1 Golden M4A1
a3 PSG-1 Red Dragon
a4 Beretta AR-70
a6 Gatling Gun
a7 SCAR Heavy
ab XM1014
ae Winchester
af K-2
b0 Slug Fists
b1 Berserker Fists
b2 Titan Fists
b6 Titan Claws
b7 Thompson
b9 AWM-Gold
ba PSG-1 Camo
bb M4A1-S Crystal
bc Gatling Gun
bd Katana Gold
be AK-47 Silver
c2 DSR-1
c3 Mutation Spike
c4 Mutation Spike
c5 Mutation Spike
c6 Mutation Spike
c7 Mutation Spike
c8 FC Grenade
c9 Beretta AR-70
cb M4A1 Custom Crystal
ce Golden M4A1
d0 TAR21
d1 Pumpkin-G
d2 CurseDoll-G
d3 Thompson
d4 Type89
d5 MP5-Halloween
d8 MP5-Halloween
d9 Golden Desert Eagle
de M16s-Camo
df Slug Nails
e0 Berserker Nails
e1 Titan Nails
e2 Mutation Spike
e3 Mutation Spike
e4 Mutation Spike
e5 M12s
e6 Winchester-S
e8 DSR-1
e9 TAR21
ea Type89
eb GLOCK-18
ec M16s-Camo
ed M4A1-Xams
ef C.Axe-Xmas
f0 Snow Grenade
f1 GLOCK 18-Xmas
f3 Dual Double Barrel
f4 Kukri
f5 MP5-Xmas
f7 D.E-Xmas
f9 AWM-Adv Xmas
101 Gold Gatling G.
105 BC-AXE Rose
106 Chocolate-G
107 KISS Grenade
10c AWM-R.Dragon
10d Field Shovel-RD
10e Berserker Claws
10f Mutation Spike
110 New Years Grenade
114 M12s
117 AWM-R.Dragon
120 Spring Grenade
123 M4A1-Spring
125 Micro GALIL-Scope
126 MSG90
12c M249 MINIMI
12e Slug Smoke
12f Berserker Smoke
130 Titan Smoke
131 Mutation Spike
132 Mutation Spike
133 Mutation Spike
139 Lotus Grenade
13b RPK-Gold
13c M249 MINIMI
148 HypoMed-S
149 XM1014-A
14b Dual Desperado
14d AKS-74U
152 Soccer Grenade
156 SPAS-12
159 Heraclops
15a Chaos
15c HypoMed-L
15d AKS-74U
15e Mauser M1896
15f M4A1-A Silver
160 Ultimax100
165 TH-Grenade
169 M60 WEM
16a MP5 WEM
16b P90 WEM
16c M4A1 WEM
16d AK-47 WEM
16e AUG A1 WEM
16f SG552 WEM
170 AWM WEM
171 XM1014 WEM
172 COLT M1911 WEM
173 Desert Eagle WEM
174 BC-Axe WEM
176 M4A1-E
178 Kris
179 Winchester-S
17a FR-F2
17d KNIFE WEM
17e GRENADE WEM
17f FLASHBANG WEM
180 SMOKE WEM
186 FAL CAMO
187 FAL CAMO STRAY
193 M4A1 Custom Crystal
194 Slug Blades
195 Berserker Blades
196 Titan Blades
197 Mutation Spike
198 Mutation Spike
199 Mutation Spike
19f M4A1-Halloween
1a0 Baby Ghost-G
1a2 AK47-Halloween
1a5 M16A2
1a6 Kriss-Halloween
1a7 Assassin Grenade
1a8 Mini Pumpkin-G
1a9 Mini CurseDoll-G
1ad SCAR LIGHT-RD
1b4 AK47-Xmas
1b5 Nightmare Blade
1b6 H.C. Grenade
1b7 Dual D.E
1b8 FN F2000
1b9 M249 MINIMI-Gold
1c7 MINKNIFE
1c8 MASTERHULKFIST
1c9 MASTERNANOKNIFE
1cf Dual Uzi Pink
1d6 M66
1d9 ROSE-G
1dc P90-Camo
1df M14EBR
1e1 EasterEgg-G
1e4 SCAR Heavy-Camo
1e7 SR-2M VERESK
1f1 Mk23 S.
1f2 M37 Stakeout
1f3 Ruger MINI-14
1f4 SL8
1f6 Galil ARM
1fa M60-WCG
1fb MP5-WCG
1fc P90-WCG
1fd M4A1-WCG
1fe AK-47-WCG
1ff AUG A1-WCG
200 SG552-WCG
201 AWM-WCG
202 XM1014-WCG
203 COLT1911-WCG
204 D.E.-WCG
205 BC-Axe-WCG
206 KNIFE-WCG
207 GRENADE-WCG
208 Flashbang-WCG
209 SMOKE-WCG
20d DSR-1 DC
20f PP-19 Bizon
211 Kriss Super V-LM
214 M4A1-Liberty
218 AK-47 Silver
21a AK47-Knife Adv
21b LR300 ML
21e M4A1-S Patriot
224 Shovel-Halloween
226 P90-Camo
22a VSK-94
22b Jack Hammer-Halloween
22c Gatling Gun-Halloween
22e Colt M16A3 LMG
22f Bushmaster ACR
23d M14EBR X-Mas
23f M249 X-Mas
240 Kris X-Mas
its:
hex weapon name
BTW, I wrote this fast and yes.. its so easy xD