AsiaGenius 7 Posted October 11, 2016 (edited) Hello! I need help to finish my DLL Shield. My packet 0x64 content: (my dll working) My part of DLL source: unsigned int command = (*(unsigned short*)buf); if( (command == 0x64) ) { //if login packet, send mac to host serv char mac_address[18] = ""; GetMACaddress((char *)mac_address); //GET MAC memcpy((char*)buf+*len, mac_address, sizeof(mac_address)); //ATTACH MAC IN TO CURRENT PACKET 0X64 *len += 17; } ... correctly sends new packet value How do I get data added to the packet leng in the emulator? I tried so; char mac = RFIFOL(fd,12); But always returns zero... But I need some tips to properly handle this new value! I want to add MAC, HWID, Shield Version. I'm testingfirst only with the MAC! Help-me pls, I intend to share the DLL Shield for community! Edited October 12, 2016 by DAFUQ BR Quote Share this post Link to post Share on other sites
0 Samuel 83 Posted October 12, 2016 Did you configure your emulator to get mac address? Did you attached your dll file to be loaded by the client in order to get mac as well? Quote Share this post Link to post Share on other sites
0 AsiaGenius 7 Posted October 12, 2016 Did you configure your emulator to get mac address? Did you attached your dll file to be loaded by the client in order to get mac as well? Dll loaded and getting MAC successful The question is, how can I configure the emulator to receive MAC and other data that I want to send using my dll? Thanks for your attention! Quote Share this post Link to post Share on other sites
0 Samuel 83 Posted October 12, 2016 Have you tried using this diff made by dastgir. LINK you can manually use that patch to enable your server/emulator capture mac address.. Well the patch is originally made to work w/ clients who uses a launcher to get the mac address.. Well, I've been looking forward to your project.. Quote Share this post Link to post Share on other sites
0 AsiaGenius 7 Posted October 12, 2016 The link seems to be enlightening! I will study and post the results here. Quote Share this post Link to post Share on other sites
Hello!
I need help to finish my DLL Shield.
My packet 0x64 content: (my dll working)
My part of DLL source:
correctly sends new packet value
How do I get data added to the packet leng in the emulator?
I tried so;
But always returns zero...
Edited by DAFUQ BRBut I need some tips to properly handle this new value! I want to add MAC, HWID, Shield Version. I'm testing
first only with the MAC!
Help-me pls, I intend to share the DLL Shield for community!
Share this post
Link to post
Share on other sites