Jump to content

  •  

DarkGuerra

Member Since 28 Aug 2015
Offline Last Active Jun 02 2017 08:19 PM
-----

#79737 Get last_mac Address

Posted by DarkGuerra on 17 January 2017 - 05:01 PM

Buenas, esto funciona? esta muy bueno la verdad! y e intentado meterlo manual pero no encuentro la linea

 

char *accname = (char *)RFIFOP(fd, 9);
         char *token = (char *)RFIFOP(fd, 0x5C);
+        char *mac = {(char *)RFIFOP(fd, 60)};
         size_t uAccLen = strlen(accname);
+        size_t uMac = 18;
         size_t uTokenLen = RFIFOREST(fd) - 0x5C;
+        safestrncpy(mac,mac, uMac);
+        safestrncpy(sd->mac_address,mac, uMac);
 
         version = RFIFOL(fd,4);
 
en src/login/login.c
 
alguien me colabora? y decir si funciona o no?



#77621 comando matar un Mob ?

Posted by DarkGuerra on 23 October 2016 - 11:46 AM

@killmonster

@killmonster2