Hardware ID Ban / Check ?
Well I want to discuss about hwid ban function for Gunz 1.5
Since it is open source, why still none done something about that for Gunz which could be also puplic. I am pretty sure that few or even a bit more servers has got this. What you guys think about this ?
Re: Hardware ID Ban / Check ?
Quote:
Originally Posted by
ThroneX
Well I want to discuss about hwid ban function for Gunz 1.5
Since it is open source, why still none done something about that for Gunz which could be also puplic. I am pretty sure that few or even a bit more servers has got this. What you guys think about this ?
What do you mean? banning hardware from game????
Re: Hardware ID Ban / Check ?
Quote:
Originally Posted by
Ronny786
What do you mean? banning hardware from game????
I mean that banning (blacklisting) players hwid so he can't enter the game with the same computer. (it's something like MAC ID)
There is ways to bypass it but anyway, it could be useful.
Re: Hardware ID Ban / Check ?
Quote:
Originally Posted by
ThroneX
I mean that banning (blacklisting) players hwid so he can't enter the game with the same computer. (it's something like MAC ID)
There is ways to bypass it but anyway, it could be useful.
The owner of qualitygunz (shay) already done it , but its really hard to contact him.
Re: Hardware ID Ban / Check ?
i seriously dont have any idea bout banning a hardware, also i never thought so.. actually this system is not required, last limit that administrators can ban ip for 2 days coz no admin wants a player to leave his server if m right. only few servers like Fgunz, UGG, AGC, Aeria dont even care for players coz they already have nice count.
so no point in thinking over hardware ban
Re: Hardware ID Ban / Check ?
Quote:
Originally Posted by
Ronny786
i seriously dont have any idea bout banning a hardware, also i never thought so.. actually this system is not required, last limit that administrators can ban ip for 2 days coz no admin wants a player to leave his server if m right. only few servers like Fgunz, UGG, AGC, Aeria dont even care for players coz they already have nice count.
so no point in thinking over hardware ban
What lol? Regardless of the amount of players I had I would still want this function in place for those who break the rules. So yeah if anyone could come up with something that would be great.
Re: Hardware ID Ban / Check ?
or i can suggest some simple block.. Rather than going into hardware thing, block it through software reading..
make a function that read operating system and its Product key, Like windows has Product key , Mac has MacID ( dont know much except windows) . So every OS has its own ID for sure. Read the product Key of OS and register to account or current Login Info.
Once you ban that guy, his OS Product key will be black listed. And believe me no guy is so stupid to reinstall Product key every time for game like gunz.
So this is simple and easy method.
Re: Hardware ID Ban / Check ?
Quote:
Originally Posted by
Ronny786
or i can suggest some simple block.. Rather than going into hardware thing, block it through software reading..
make a function that read operating system and its Product key, Like windows has Product key , Mac has MacID ( dont know much except windows) . So every OS has its own ID for sure. Read the product Key of OS and register to account or current Login Info.
Once you ban that guy, his OS Product key will be black listed. And believe me no guy is so stupid to reinstall Product key every time for game like gunz.
So this is simple and easy method.
Sorry but every kid can change product key of windows. Why you make the job harder ? The function should get the serial and the hardware id of a computer (some hwid's can be same so taking the serial and/or volume size it will make every pc unique) and save it into hwid colunm in account or login db for example, and it will check any dbo.hwidblacklist and compare them with your accounts one.
I have tried my best to explain it, sorry for my english.
Re: Hardware ID Ban / Check ?
i think reading hardware key will help !
Re: Hardware ID Ban / Check ?
Quote:
Originally Posted by
Ronny786
or i can suggest some simple block.. Rather than going into hardware thing, block it through software reading..
make a function that read operating system and its Product key, Like windows has Product key , Mac has MacID ( dont know much except windows) . So every OS has its own ID for sure. Read the product Key of OS and register to account or current Login Info.
Once you ban that guy, his OS Product key will be black listed. And believe me no guy is so stupid to reinstall Product key every time for game like gunz.
So this is simple and easy method.
Yeah, great idea for all those people out there using pirated copy's and thus are all registered to one product key.
Re: Hardware ID Ban / Check ?
Re: Hardware ID Ban / Check ?
Even though I have no knowladge about c++ I will try to do something with the source you provided Forean. I also wonder how to read from table..
Re: Hardware ID Ban / Check ?
"Hardware ID" is a vague question. Which hardware?
For example, if you wanted to obtain the MAC address: GetAdaptersAddresses function (Windows)
This link: __cpuid (C++) & http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx should be enough.
Edit: Read too quick on the __cpuid page! Gimme a sec to edit it.
If you're up for WMI: http://msdn.microsoft.com/en-us/libr...77(VS.85).aspx & http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx
I can't find much else for it. But you could always just skip the Motherboard/Processor ID.
Re: Hardware ID Ban / Check ?
Quality GunZ hardware ban was via your hard-drives serial number.
Re: Hardware ID Ban / Check ?
I have found this;
Code:
#include <Iphlpapi.h>
#pragma comment(lib, "iphlpapi.lib")
std::string GetMacs (int &nCount)
{
nCount = 0;
std::string Macs;
IP_ADAPTER_INFO AdapterInfo[16];
DWORD dwBufLen = sizeof(AdapterInfo);
DWORD dwStatus = GetAdaptersInfo(AdapterInfo, &dwBufLen);
PIP_ADAPTER_INFO pAdapterInfo = AdapterInfo;
while (pAdapterInfo)
{
char *szTemp = new char[32];
sprintf (szTemp, "%02X-%02X-%02X-%02X-%02X-%02X | ", pAdapterInfo->Address[0], pAdapterInfo->Address[1], pAdapterInfo->Address[2], pAdapterInfo->Address[3], pAdapterInfo->Address[4], pAdapterInfo->Address[5]);
Macs += szTemp;
delete szTemp;
pAdapterInfo = pAdapterInfo->Next;
nCount++;
}
return Macs;
}
Credits to jacob.
I think it's not complete ?