weapon logo

Posts 1–15 of 32 · Page 1 of 3
weapon logo
how can i find the weapon logo?

@A$IAN

What is a weapon logo?
Quote Originally Posted by A$IAN View Post
What is a weapon logo?
weapon ID's (adresses for weapons)
You mean a Weapon log.
Create a class, where you save the offsets and then create the function, to log it.
What is so difficult if you know C++
Quote Originally Posted by A$IAN View Post
You mean a Weapon log.
Create a class, where you save the offsets and then create the function, to log it.
What is so difficult if you know C++
could you explain better^? i am just learning
Quote Originally Posted by WeaponHacker View Post


i know, there is much things like that, but how to know it?
you must know the offsets like weapon name is 0x8 and damage is 0x7F8 etc..
Quote Originally Posted by giniyat101 View Post
you must know the offsets like weapon name is 0x8 and damage is 0x7F8 etc..
and if i know it, how to find weapon ID's? :\
Quote Originally Posted by WeaponHacker View Post


and if i know it, how to find weapon ID's? :\
not really hard, u loop through all weapons using the weapon id
Quote Originally Posted by giniyat101 View Post
not really hard, u loop through all weapons using the weapon id
i m sry , but i dont get it :1
Quote Originally Posted by WeaponHacker View Post


i m sry , but i dont get it :1
there is a line says:
for (int i=0; i<560; i++)

the i is the wepaon id..
Quote Originally Posted by giniyat101 View Post
there is a line says:
for (int i=0; i<560; i++)

the i is the wepaon id..
i know that... i mean for exemple the m16 ID is 25 ...
Don't listen to the rest

First you need to find the pointer to the weapon array:
Code:
0xA65EE8
Then you need to make a loop through the whole array:
Code:
for(int i = 0; i < 600; i++) { //You can see later how many weapons there are. Then you can lower the loop.

}
Look every weapon name in the loop. So you need to find the weapon name offset:
Code:
Weaponpointer + 0x0008;
Look at the content of the string:
Code:
char * weaponname = (char*)(Weapon + 0x0008);
Get the id of the weapon:
Code:
Hex of the id
Log it to a file:
Code:
file << "Item number: " << i << " ID: " << hex << i << " Name: " << (LPCTSTR)weaponname << ".\n";
It needs to be somting like this:
Code:
DWORD cshell = (DWORD)GetModuleHandleA( "CShell.dll" );
DWORD weapon = *(DWORD*)( cshell + 0xA65EE8);
std::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";
}
file.close();

Btw you need Fstream:
Code:
#include <fstream>
Quote Originally Posted by Brimir View Post
Don't listen to the rest

First you need to find the pointer to the weapon array:
Code:
0xA65EE8
Then you need to make a loop through the whole array:
Code:
for(int i = 0; i < 600; i++) { //You can see later how many weapons there are. Then you can lower the loop.

}
Look every weapon name in the loop. So you need to find the weapon name offset:
Code:
Weaponpointer + 0x0008;
Look at the content of the string:
Code:
char * weaponname = (char*)(Weapon + 0x0008);
Get the id of the weapon:
Code:
Hex of the id
Log it to a file:
Code:
file << "Item number: " << i << " ID: " << hex << i << " Name: " << (LPCTSTR)weaponname << ".\n";
It needs to be somting like this:
Code:
DWORD cshell = (DWORD)GetModuleHandleA( "CShell.dll" );
DWORD weapon = *(DWORD*)( cshell + 0xA65EE8);
std::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";
}
file.close();

Btw you need Fstream:
Code:
#include <fstream>
console project?
Posts 1–15 of 32 · Page 1 of 3

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us