Results 1 to 3 of 3
  1. #1
    [P]tc's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    60
    Reputation
    10
    Thanks
    1

    Crossfire Sign Script

    Here is how to make a custom sign

    credits to Geek4ever


    Code:
    /*
    This is open source you may not sell this script or make any type of profit from it.
    You may not claim this script as your own
    
    You may edit it to your liking though.
    You may not post on any other site.
    Credits Geek4Ever,CEF
    */
    
    <?php
    
    header('Content-Type: image/png');
    $Image = imagecreatetruecolor(265, 45);
    
    $fName = 'ctl00_Main_lbl_charactername">';
    $fTotalMatches = 'ctl00_Main_lbl_play_cnt">';
    $fWins = 'ctl00_Main_lbl_win_cnt">';
    $fLoses = 'ctl00_Main_lbl_lose_cnt">';
    $fTotalKills = 'ctl00_Main_lbl_enemy_kill_cnt">';
    $fDeaths = 'ctl00_Main_lbl_death_cnt">';
    $fExp = 'ctl00_Main_lbl_exp">';
    $fHeadshots = 'ctl00_Main_lbl_headshot_kill_cnt">';
    $fTeamkills = 'ctl00_Main_lbl_friend_kill_cnt">';
    $fDesertion = 'ctl00_Main_lbl_escape_cnt">';
    $fRegisterDate = 'ctl00_Main_lbl_reg_date">';
    $fLastPlayDate = 'ctl00_Main_lbl_last_play_date">';
    
    $fLevel = 'images/RANKINGICON_BIG/Bigclass_';
    
    
    $ID = $_GET["cfID"];
    $Site = 'https://clan.z8games.com/charstat_cf.aspx?usn=' . $ID;
    $Contents = file_get_contents($Site); 
    
    $tName = explode($fName,$Contents); 
    $tTotalMatches = explode($fTotalMatches,$Contents); 
    $tWins = explode($fWins,$Contents); 
    $tLoses = explode($fLoses,$Contents); 
    $tTotalKills = explode($fTotalKills,$Contents); 
    $tDeaths = explode($fDeaths,$Contents); 
    $tExp = explode($fExp,$Contents); 
    $tHeadshots = explode($fHeadshots,$Contents); 
    $tTeamkills = explode($fTeamkills,$Contents); 
    $tDesertion = explode($fDesertion,$Contents);
    $tRegisterDate = explode($fRegisterDate,$Contents); 
    $tLastPlayDate = explode($fLastPlayDate,$Contents); 
    $tLevel = explode($fLevel,$Contents); 
    
    $dName = explode('</span>',$tName[1]); 
    $dTotalMatches = explode('</span>',$tTotalMatches[1]); 
    $dWins = explode('</span>',$tWins[1]); 
    $dLoses = explode('</span>',$tLoses[1]); 
    $dTotalKills = explode('</span>',$tTotalKills[1]); 
    $dDeaths = explode('</span>',$tDeaths[1]); 
    $dExp = explode('</span>',$tExp[1]); 
    $dHeadshots = explode('</span>',$tHeadshots[1]); 
    $dTeamkills = explode('</span>',$tTeamkills[1]); 
    $dDesertion = explode('</span>',$tDesertion[1]);
    $dRegisterDate = explode('</span>',$tRegisterDate[1]);
    $dLastPlayDate = explode('</span>',$tLastPlayDate[1]);
    $dLevel = explode('.jpg',$tLevel[1]); 
    
    
    $White = imagecolorallocate($Image, 255, 255, 255);
    
    $pFont = 'vagron.TTF';
    $iconRank = "https://clan.z8games.com/images/rankingicon/class_" . $dLevel[0]  . ".jpg";
    $iRank = imagecreatefromjpeg($iconRank); 
    
    imagettftext($Image, 9,0, 15, 15, $White, $pFont, 'Name: ' . $dName[0] );
    imagettftext($Image, 9,0, 15, 25, $White, $pFont, 'Matches: ' . $dTotalMatches[0] );
    imagettftext($Image, 9,0, 15, 35, $White, $pFont, 'Wins: ' . $dWins[0] );
    imagettftext($Image, 9,0, 125, 15, $White, $pFont, 'Loses: ' . $dLoses[0] );
    imagettftext($Image, 9,0, 125, 25, $White, $pFont, 'Kills: ' . $dTotalKills[0] );
    imagettftext($Image, 9,0, 125, 35, $White, $pFont, 'Deaths: ' . $dDeaths[0] );
    
    imagecopy ($Image, $iRank, 230, 10,0 , 0, 23, 26);
    imagepng($Image);
    imagedestroy($Image);
    imagedestroy($iRank);
    ?>



  2. #2
    Fox's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Beyond the Earth
    Posts
    7,806
    Reputation
    206
    Thanks
    2,174
    My Mood
    Worried
    Show us a tutorial...

  3. #3
    Unstopable-X's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    182
    Reputation
    10
    Thanks
    49
    My Mood
    In Love
    yeah make tutorial please

Similar Threads

  1. [Solved] Crossfire PH SCRIPT folder REQUEST
    By hyperbega23 in forum CrossFire Help
    Replies: 1
    Last Post: 04-08-2012, 09:04 PM
  2. [Updated]Crossfire Tournament Sign-Ups
    By Evelyn in forum CrossFire Discussions
    Replies: 107
    Last Post: 02-13-2011, 10:53 AM
  3. [Release] Crossfire Script Aimbot Release
    By addcoolman1 in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 5
    Last Post: 02-09-2011, 03:15 PM
  4. Rate My Crossfire Sign
    By Hitman in forum CrossFire Discussions
    Replies: 35
    Last Post: 10-23-2010, 04:18 PM
  5. How to Sign up to Korean Crossfire With Pics!.
    By Hitman in forum CrossFire Tutorials
    Replies: 53
    Last Post: 07-17-2010, 07:23 AM