Hey.This is how i do in PHP :Code: [Select] $b = $row['playerBytes']; // PlayerBytes in Character table $b2 = $row['playerBytes2']; // PlayerBytes in Character table // Set Character Features $ha = ($b>>16)%256; // Hairs $hc = ($b>>24)%256; // Hairs color $fa = ($b>>8)%256; // Face $sk = $b%256; // Skin $fh = $b2%256; // Facial / Others
$b = $row['playerBytes']; // PlayerBytes in Character table $b2 = $row['playerBytes2']; // PlayerBytes in Character table // Set Character Features $ha = ($b>>16)%256; // Hairs $hc = ($b>>24)%256; // Hairs color $fa = ($b>>8)%256; // Face $sk = $b%256; // Skin $fh = $b2%256; // Facial / Others
$b = 17367552; // PlayerBytes in Character table $b2 = 33554436; // PlayerBytes2 in Character table// Set Character Features$ha = ($b>>16)%256; // Hairs$hc = ($b>>24)%256; // Hairs color$fa = ($b>>8)%256; // Face$sk = $b%256; // Skin$fh = $b2%256; // Facial / Othersecho "Hairs : ".$ha."<br>";echo "Hair Color : ".$hc."<br>";echo "Face : ".$fa."<br>";echo "Skin : ".$sk."<br>";echo "Facial/Other : ".$fh."<br>";
$a= ($z>>24)&0xff;$b= ($z>>16)&0xff;$c= ($z>>8)&0xff;$d= ($z>>0)&0xff;$z = ($a<<24) | ($b<<16) | ($c<<8) | ($d<<0);
Code: [Select]$a= ($z>>24)&0xff;$b= ($z>>16)&0xff;$c= ($z>>8)&0xff;$d= ($z>>0)&0xff;$z = ($a<<24) | ($b<<16) | ($c<<8) | ($d<<0);
Please map the four numbers to the four names yourself. It really isn't hard.