Raised This Month: $ Target: $400
 0% 

[L4D & L4D2] Custom Player Stats v1.4B121


Post New Thread Reply   
 
Thread Tools Display Modes
muukis
Veteran Member
Join Date: Apr 2009
Old 08-04-2013 , 14:31   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1611

Quote:
Originally Posted by blaquicat View Post
Thanks man!!
Theres +rep here?

Btw, can i translate it to PT-BR ?
If yes, can you tell me where are the lines?
I'm sorry, but the plugin is still not easily translatable. The quotations are scattered around the plugin.
__________________
Monster Hunter

Though certainly not superhuman, the man's prowess inspires an excess of whispered rumors. But those rumors remain in the realm of speculation.
muukis is offline
blaquicat
Member
Join Date: Aug 2009
Old 08-05-2013 , 11:13   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1612

Quote:
Originally Posted by muukis View Post
I'm sorry, but the plugin is still not easily translatable. The quotations are scattered around the plugin.
i guess i need to wait for the multilang version..

Thanks anyway for the feedback
blaquicat is offline
JonnyBoy0719
Member
Join Date: Apr 2012
Location: Sweden
Old 09-10-2013 , 18:28   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1613

Since there was no multilang version, I just played around with the web stats, and I changed a few lines of codes and inserted a half finished multilang version Did it for fun since I got bored for the past 2 weeks.

Code example (from v1.0.2 of multilang support)
Code:
<?php
/*==================================
#    Language File created by:       #
#            JonnyBoy0719           #
#    ============================   #
#    L4D/L4D2 Stats created by:     #
#           Mikko Andersson           #
==================================*/

// This is the English language file. Here you can easily edit the languge(s) and/or add/make your own.
// Available languages: en, se
$lang = "en";

    if($lang == "en"){
    
        /*==================================
            Default -- Template Author
        ==================================*/
        
        $template_author = "JonnyBoy0719";
        $template_author_url = "http://gamefurs.net/jonnyboy0719/";
        $template_author_text = "Designed by";
        
        /*==================================
            Default -- Awards
        ==================================*/
        
        $lang_award_pills = "Pills Given";
        $lang_award_pills_desc = "Pills given to another Survivor";
        
        $lang_award_medkit = "Medkits Given";
        $lang_award_medkit_desc = "Healed another Survivor";
        
        $lang_award_shunt = "Saved Friendlies from Hunters";
        $lang_award_shunt_desc = "Saved a Survivor from Hunters";
        
        $lang_award_ssmoke = "Saved Friendlies from Smokers";
        $lang_award_ssmoke_desc = "Saved a Survivor from Smokers";
        
        $lang_award_defib = "Defibrillators Used";
        $lang_award_defib_desc = "Dead Survivors brought back to life";
        
/*==============================================================================*/
        
        /* New language lines should be added below */
        
        /*==================================
            Achivements
            File: players_stats.php?steamid=STEAM_x:x:xxxxxxxx
        ==================================*/
        
        // These are the custom achievements you can add onto your server.
        // Their main purpuse is to read the MySQL data from the player
        //$ach00 = "Title of my achievement";
        //$ach00_desc = "Description of my achievement";
        //$ach00_progress = "25"; // (OPTIONAL, Numbers only, set maximum)
        //$ach00_award = "headshot"; // Reads the awards you earn from the server (Very simple, yet it works fine.)
        //
        // Available awards:
        // TODO
        
        // Default examples
        $ach01 = "The Meat Butcher";
        $ach01_desc = "Turn into a crazy butcher luniac";
        $ach01_progress = "1500";
        $ach01_award = "melee_kills";
        
        $ach02 = "No Headed";
        $ach02_desc = "Get over <b>500</b> headshots on the common infected.";
        $ach02_progress = "500";
        $ach02_award = "headshots";
        
        
        /*==================================
            Extra Achivement Description
        ==================================*/
        
        $badachivement = "W"; // Stands for 'Bad/Warning'
         $badachivement_desc = "<b>WARNING:</b> This achievement  will make you lose points"; // The description when you hover.
        $devtest = "D"; // Stands for 'Debug/Dev/Testing'
         $devtest_desc = "<b>DEBUG:</b> Test achievement for  Versus Mode. This user was part of the <i><b>Testing  Group</b></i><br>Last updated  <b>(2013-09-10)</b>"; // The description when you hover.
        $infected = "I"; // Stands for 'Infected (TEAM)'
         $infected_desc = "<b>VERSUS:</b> This achievement only  specify for Team Infected)</b>"; // The description when you  hover.
        $survivor = "S"; // Stands for 'Survivor (TEAM)'
         $survivor_desc = "<b>VERSUS:</b> This achievement only  specify for Team Survivor</b>"; // The description when you hover.

    }
?>
picture example (from v1.0.2 of multilang support)

(note: the achievements is a new, better version of the original test one that existed (City Buster))

also,
Just wondering, how long until the new version? Can't wait until i can actually make the achievements into in-game.

Last edited by JonnyBoy0719; 09-10-2013 at 18:30.
JonnyBoy0719 is offline
Send a message via Skype™ to JonnyBoy0719
muukis
Veteran Member
Join Date: Apr 2009
Old 09-11-2013 , 01:48   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1614

Quote:
Originally Posted by JonnyBoy0719 View Post
...
Looks really nice. What kind of achievement system you are planning? If you wish or let me, I can integrate your work to the front post, with credits of course.

I don't have any estimates on new versions. There are no development plans other than fix bugs that people keep reporting here and if someone hands out a nice idea of something new, I could push out another version. When I have enough time, I will do a translatable version.
__________________
Monster Hunter

Though certainly not superhuman, the man's prowess inspires an excess of whispered rumors. But those rumors remain in the realm of speculation.

Last edited by muukis; 09-11-2013 at 06:38.
muukis is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 09-11-2013 , 05:33   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1615

Quote:
Originally Posted by JonnyBoy0719 View Post
...
One more thing...

If you really want to contribute, please join the project @GitHub!
__________________
Monster Hunter

Though certainly not superhuman, the man's prowess inspires an excess of whispered rumors. But those rumors remain in the realm of speculation.
muukis is offline
JonnyBoy0719
Member
Join Date: Apr 2012
Location: Sweden
Old 09-11-2013 , 07:46   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1616

Quote:
Originally Posted by muukis View Post
One more thing...

If you really want to contribute, please join the project @GitHub!
Sure thing, Will take some time to upload tho + still working on the multilang v2 (almost done). Still havin some bugs with the .tpl files where it doesn't want to load the $lang_credits on the footer tho :p

Quote:
Originally Posted by muukis View Post
Looks really nice. What kind of achievement system you are planning? If you wish or let me, I can integrate your work to the front post, with credits of course.
Would be nice if we could make it into MySQL so I can easily edit/change the achievements for the players, and so they can also see a little popup "chat" saying that they earned it. With the progress bar, it shows how much you have until it unlocks (like Steam, just made a look-a-like version on the design).


Example, this is how it looks like in the languages.php file
Code:
        $ach01 = "The Meat Butcher";
        $ach01_desc = "Turn into a crazy butcher luniac";
        $ach01_progress = "1500";
        $ach01_award = "melee_kills";
and this is how the PHP code looks like for that achievement.
Code:
    // Achivement 1
    if ($row[$ach01_award] <= 1499) {
        $arr_achievements2[] = "
        <div class='achievement-base'>
            <div class='achievement-img'>
                <div class='notachieved'></div>
                <img src='img/ach/ach01.jpg' />
            </div>
            <div class='achievement-desc-base'>
                <div class='achievement-desc'>
                <h3>" . $ach01 . "<h3>
                <h5>
                    " . $ach01_desc . "
                </h5>
                <div class='achievement-progress-text'> " . $row[$ach01_award] . " / " . $ach01_progress . "</div>
                <div class='achievement-progress-bar'>
                    <img src='img/misc/ach_bar.gif' height='14' width='" . $row[$ach01_award] / 15 . "%' > 
                </div>
                </div>
            </div>
        </div>
        <br clear='left'></br>";
    }
You see that on "$row[$ach01_award]" I have to use a divider, in this case 15. Its to make sure it doesn't go over 100% and screw up, I hope there is a fix later on so it reads the maximum, and uses either Multiplication or Division to calculate the 100%.

Other than that It actually works.
Example from player_stats.php?steamid=STEAM_1:1:43775360
[IMG]http://img845.**************/img845/6208/dnhf.png[/IMG]
Example from player_stats.php?steamid=STEAM_1:1:24323838



Oh, another thing that I'm doing for L4D2 stats, is that I'm integrating it into Sourcemod WebAdmin v2.1, since its an easier way for me to manage everything on the server. Might become useful for everyone who uses it.

Last edited by JonnyBoy0719; 09-11-2013 at 07:47.
JonnyBoy0719 is offline
Send a message via Skype™ to JonnyBoy0719
muukis
Veteran Member
Join Date: Apr 2009
Old 09-11-2013 , 11:40   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1617

Quote:
Originally Posted by JonnyBoy0719 View Post
Would be nice if we could make it into MySQL so I can easily edit/change the achievements for the players, and so they can also see a little popup "chat" saying that they earned it. With the progress bar, it shows how much you have until it unlocks (like Steam, just made a look-a-like version on the design).
We would need (at least) one table that links the player table to it. The entities in that table would show what achievement the player has won. And another table that would contain achievement name and other settings like required amount of occurrences for the achievement to be won over. The functionality would however need to be hardcoded and would not be editable through the database entities. It would be nice if I could create an engine that would allow the achievement code to be compiled runtime from the database, although I believe it is either impossible or hard to do.
Quote:
Originally Posted by JonnyBoy0719 View Post
Oh, another thing that I'm doing for L4D2 stats, is that I'm integrating it into Sourcemod WebAdmin v2.1, since its an easier way for me to manage everything on the server. Might become useful for everyone who uses it.
That's nice! Well done.
__________________
Monster Hunter

Though certainly not superhuman, the man's prowess inspires an excess of whispered rumors. But those rumors remain in the realm of speculation.
muukis is offline
XBlade_RunnerX
Member
Join Date: Jun 2009
Old 09-16-2013 , 10:18   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1618

How do I change the timezone so the time reads correct for my timezone?

I have seen these lines in the Config.php

Code:
// Database time modifier (hours)
// 0 if the db time is the same as the websites
$dbtimemod = 0;

// Date format for player last online time
// http://www.php.net/manual/en/function.date.php
// Example: 24h - "M d, Y H:i";
$lastonlineformat = "M d, Y g:ia";
I tried changing $dbtimemod = 0; to 6 and -6 with no effect...
Does it get the time and date from my MySql server?
Shouldn't my MySql Server be the same timezone and date as my system?
Can anyone help me with this? I don't really understand how/where it gets the time/date.
I just want it to read accurately for my timezone.. (Eastern Standard Time w Daylight Savings)
But I have no idea how to do it :-( Any help is ver very much appreciated :-)

EDIT: OR is it my servers PHP php.ini?? can I set the default timezone in there? Would that fix it?

This is my page http://www.left4dead-candd.info/coopstats/
It is in the awards section that I am seeing the wrong date/time, but I assume it is just
wrong universally everywhere.... please help :-)
Thanks in advance,
Chris

*** EDIT ***

I fixed it!! Woot!
For anyone else wanting to change/fix this for their particular TimeZone follow these easy steps:

1. Access you WebServer's PHP configuration file php.ini
2. Search for the line containing "date.timezone=" without quotes
3. Change the value to your correct timezone.
4. Restart your Webserver/php

**Mine happened to be date.timezone=America/Montreal
**You can find your personal correct timezone here: http://ca1.php.net/timezones

Hope this helps somebody :-)

Chris
__________________
XBlade_RunnerX,

Last edited by XBlade_RunnerX; 09-16-2013 at 11:08. Reason: PROBLEM SOVED!
XBlade_RunnerX is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 09-17-2013 , 02:12   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1619

Quote:
Originally Posted by XBlade_RunnerX View Post
I fixed it!! Woot!
For anyone else wanting to change/fix this for their particular TimeZone follow these easy steps:

1. Access you WebServer's PHP configuration file php.ini
2. Search for the line containing "date.timezone=" without quotes
3. Change the value to your correct timezone.
4. Restart your Webserver/php

**Mine happened to be date.timezone=America/Montreal
**You can find your personal correct timezone here: http://ca1.php.net/timezones

Hope this helps somebody :-)

Chris
Nice work fixing it out on your own! Well done!
Also, thanks for letting everyone know what the resolution was.
__________________
Monster Hunter

Though certainly not superhuman, the man's prowess inspires an excess of whispered rumors. But those rumors remain in the realm of speculation.

Last edited by muukis; 09-17-2013 at 02:14.
muukis is offline
JonnyBoy0719
Member
Join Date: Apr 2012
Location: Sweden
Old 09-17-2013 , 05:14   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1620

Quote:
Originally Posted by muukis View Post
Nice work fixing it out on your own! Well done!
Also, thanks for letting everyone know what the resolution was.
Heh, been wonderin' why it was like that

Oh, yesterday i probably went ahead of myself.


Its a simple php image file called sig.php, and its connected with common.php inside l4dstats. Works perfectly and it was fun doing it

Anyway, here, have the source code, its not 100% done, since its on v1.2, but it got working multi lang support, and its kinda easy to modify if you know what to do
Code:
<?php
    header('content-type: image/png');
    
/*
    L4Dstats
*/

    // Include the primary PHP functions file
    include("./common.php");
    
    // Set Steam ID as var, and quit on hack attempt
    if (strstr($_GET['steamid'], "/")) exit;
    $id = mysql_real_escape_string($_GET['steamid']);
    
    // Lets load the configs from config.php
    $dbhandle = mysql_connect($mysql_server, $mysql_user, $mysql_password)
    or die($str_error_1);
    
    $result = mysql_query("SELECT * FROM " . $mysql_tableprefix . "players WHERE steamid = '" . $id . "'");
    $row = mysql_fetch_array($result);
    $totalpoints = $row['points'] + $row['points_survival'] + $row['points_survivors'] + $row['points_infected'] + ($game_version != 1 ? $row['points_realism'] + $row['points_scavenge_survivors'] + $row['points_scavenge_infected'] + $row['points_realism_survivors'] + $row['points_realism_infected'] + $row['points_mutations'] : 0);
    $rankrow = mysql_fetch_array(mysql_query("SELECT COUNT(*) AS rank FROM " . $mysql_tableprefix . "players WHERE points + points_survival + points_survivors + points_infected" . ($game_version != 1 ? " + points_realism + points_scavenge_survivors + points_scavenge_infected + points_realism_survivors + points_realism_infected + points_mutations" : "") . " >= '" . $totalpoints . "'"));
    $rank = $rankrow['rank'];
    
/*
    Resources
*/
    
    $str_res_dir='./user/res/';

/*
    Fonts
*/

    $str_font_reg='tahoma.ttf';
    $str_font_bold='tahomabd.ttf';
    
/*
    Font Sizes
*/
    
    $num_font_size=10;
    $rank_font_size=10;
    $error_font_size=15;
    $error2_font_size=8;
    $nam_font_size=8;
    $sid_font_size=7;
    
/*
    Background Chooser
    // TODO
*/
    if ($str_bkgnd == null)
        $str_bkgnd = 'bgs/2.png';
    
    //$str_bkgnd=$_GET['bg'];

/*
    Font colors
*/
    
    $res_image_main=imagecreatefrompng($str_res_dir.$str_bkgnd);
    $res_font_color_lblue=imagecolorallocate($res_image_main,0,192,192);
    $res_font_color_white=imagecolorallocate($res_image_main,255,255,255);
    $res_font_color_rank1=imagecolorallocate($res_image_main,0,150,0);
    $res_font_color_rank2=imagecolorallocate($res_image_main,0,150,100);
    $res_font_color_rank3=imagecolorallocate($res_image_main,150,10,0);
    $res_font_color_rank=imagecolorallocate($res_image_main,255,255,255);
    $res_font_color_sid=imagecolorallocate($res_image_main,255,255,255);

/*
    Start Image
*/

if (file_exists('./common.php')) {
// Load the database
if ($dbhandle) {
//select a database to work with
if (mysql_select_db($mysql_db,$dbhandle)) {
    if (mysql_num_rows($result) > 0)
    {
        // Rank IMG
            
        if ($rank == 1) {
            $rank_img = 'img/1.png';
            $res_rank_color_choose = $res_font_color_rank1;
        } elseif ($rank == 2) {
            $rank_img = 'img/2.png';
            $res_rank_color_choose = $res_font_color_rank2;
        } elseif ($rank == 3) {
            $rank_img = 'img/3.png';
            $res_rank_color_choose = $res_font_color_rank3;
        } else {
            $rank_img = null;
            $res_rank_color_choose = $res_font_color_rank;
        }
        
        if ($rank_img == null)
            $rank_img = 'img/0.png';
        
        $res_rank=imagecreatefrompng($str_res_dir.$rank_img);
        imagecopy($res_image_main,$res_rank,316.7,-2,0,0,34,34);
        // End Rank IMG
        
        // Name
        imagettftext($res_image_main,$nam_font_size,0,7,18,$res_font_color_lblue,$str_res_dir.$str_font_bold,$str_name . " " . $row['name']);
        
        // Achivements
        $arr_achievements = array();
        $maxachivements = 30;
        
        // Start List
        
        //ach 1
        if ($row['kills'] > $population_minkills) {$arr_achievements[] = "";}
        //ach 2
        if ($row['melee_kills'] >= 1500) {$arr_achievements[] = "";}
        //ach 3
        if ($row['headshots'] >= 500) {$arr_achievements[] = "";}
        //ach 4    
        if ($row['playtime'] >= 500) {$arr_achievements[] = "";}
        //ach 5
        if ($row['award_witchdisturb'] >= 15) {$arr_achievements[] = "";}
        //ach 6
        if ($row['award_teamkill'] >= 15) {$arr_achievements[] = "";}
        //ach 7
        if ($row['award_fincap'] >= 30) {$arr_achievements[] = "";}
        //ach 8
        if ($row['kill_boomer'] >= 4) {$arr_achievements[] = "";}
        //ach 9
        if ($row['award_pills'] >= 1) {$arr_achievements[] = "";}
        //ach 10
        if ($row['award_tankkillnodeaths'] >= 10) {$arr_achievements[] = "";}
        //ach 11
        if ($row['award_medkit'] >= 4) {$arr_achievements[] = "";}
        
        // End List
        
        imagettftext($res_image_main,$nam_font_size,0,7,30,$res_font_color_lblue,$str_res_dir.$str_font_bold,$str_ach . " " . count($arr_achievements));
        
        // Rank
        imagettftext($res_image_main,$rank_font_size,0,330,20,$res_rank_color_choose,$str_res_dir.$str_font_bold,$rank);
        
        // Points
        imagettftext($res_image_main,$nam_font_size,0,7,42,$res_font_color_lblue,$str_res_dir.$str_font_bold,$str_points . " " . number_format($totalpoints));
        
        // Achivement borders
        $ach_border = 'img/ach.png';
        $ach_border_no = 'img/ach_no.png';
        
        // ACH IMG
        $ach_id1 = 'img/ach1.jpg';
        $ach_id2 = 'img/ach2.jpg';
        $ach_id3 = 'img/ach3.jpg';
        $ach_id4 = 'img/ach4.jpg';
        // Callers - ACH IMG
        $res_ach_1=imagecreatefromjpeg($str_res_dir.$ach_id1);
        $res_ach_2=imagecreatefromjpeg($str_res_dir.$ach_id2);
        $res_ach_3=imagecreatefromjpeg($str_res_dir.$ach_id3);
        $res_ach_4=imagecreatefromjpeg($str_res_dir.$ach_id4);
        
        // Border - Achived
        $res_ach_a=imagecreatefrompng($str_res_dir.$ach_border);
        $res_ach_b=imagecreatefrompng($str_res_dir.$ach_border);
        $res_ach_c=imagecreatefrompng($str_res_dir.$ach_border);
        $res_ach_d=imagecreatefrompng($str_res_dir.$ach_border);
        // Border - Not achived
        $res_ach_a_no=imagecreatefrompng($str_res_dir.$ach_border_no);
        $res_ach_b_no=imagecreatefrompng($str_res_dir.$ach_border_no);
        $res_ach_c_no=imagecreatefrompng($str_res_dir.$ach_border_no);
        $res_ach_d_no=imagecreatefrompng($str_res_dir.$ach_border_no);
        
        if ($row['playtime'] >= 500) {$arr_achievements[] = "" . 
            imagecopy($res_image_main,$res_ach_1,200,5,0,0,20,20);
            imagecopy($res_image_main,$res_ach_a,200,5,0,0,20,20)
        
        ;} else {$arr_achievements[] = "" .
            imagecopy($res_image_main,$res_ach_1,200,5,0,0,20,20);
            imagecopy($res_image_main,$res_ach_a_no,200,5,0,0,20,20)
        ;}
        
        if ($row['headshots'] >= 500) {$arr_achievements[] = "" . 
            imagecopy($res_image_main,$res_ach_2,222,5,0,0,20,20);
            imagecopy($res_image_main,$res_ach_b,222,5,0,0,20,20)
        
        ;} else {$arr_achievements[] = "" .
            imagecopy($res_image_main,$res_ach_2,222,5,0,0,20,20);
            imagecopy($res_image_main,$res_ach_b_no,222,5,0,0,20,20)
        ;}
        
        if ($row['award_tankkillnodeaths'] >= 10) {$arr_achievements[] = "" . 
            imagecopy($res_image_main,$res_ach_3,244,5,0,0,20,20);
            imagecopy($res_image_main,$res_ach_c,244,5,0,0,20,20)
        
        ;} else {$arr_achievements[] = "" .
            imagecopy($res_image_main,$res_ach_3,244,5,0,0,20,20);
            imagecopy($res_image_main,$res_ach_c_no,244,5,0,0,20,20)
        ;}
        
        if ($row['award_witchdisturb'] >= 15) {$arr_achievements[] = "" . 
            imagecopy($res_image_main,$res_ach_4,266,5,0,0,20,20);
            imagecopy($res_image_main,$res_ach_c,266,5,0,0,20,20)
        
        ;} else {$arr_achievements[] = "" .
            imagecopy($res_image_main,$res_ach_4,266,5,0,0,20,20);
            imagecopy($res_image_main,$res_ach_c_no,266,5,0,0,20,20)
        ;}

        // STEAMID
        imagettftext($res_image_main,$sid_font_size,0,245,70,$res_font_color_sid,$str_res_dir.$str_font_bold,$row['steamid']);
        
        // L4Dstats LOGO
        imagettftext($res_image_main,$num_font_size,0,2,73,$res_font_color_white,$str_res_dir.$str_font_bold,$title);

    // Normal Error
    } else {
        
        imagettftext($res_image_main,$error_font_size,0,37,42,$res_font_color_white,$str_res_dir.$str_font_bold,$str_error);
        imagettftext($res_image_main,$error2_font_size,0,37,52,$res_font_color_white,$str_res_dir.$str_font_reg,$str_error_id);
        
    }
    // Error Code 2
    } else {
        imagettftext($res_image_main,$error_font_size,0,37,42,$res_font_color_white,$str_res_dir.$str_font_bold,$str_error);
        imagettftext($res_image_main,$error2_font_size,0,37,52,$res_font_color_white,$str_res_dir.$str_font_reg,$str_error_2);
    }
    // Error Code 1
    } else {
        imagettftext($res_image_main,$error_font_size,0,37,42,$res_font_color_white,$str_res_dir.$str_font_bold,$str_error);
        imagettftext($res_image_main,$error2_font_size,0,37,52,$res_font_color_white,$str_res_dir.$str_font_reg,$str_error_1);
        
    }
} else {
    imagettftext($res_image_main,$error_font_size,0,37,42,$res_font_color_white,$str_res_dir.$str_font_bold,$str_error);
    imagettftext($res_image_main,$error2_font_size,0,37,52,$res_font_color_white,$str_res_dir.$str_font_reg,$str_error_3);
    imagettftext($res_image_main,$error2_font_size,0,37,62,$res_font_color_white,$str_res_dir.$str_font_reg,$str_error_3b);
}
    imagepng($res_image_main,NULL,9);
    imagedestroy($res_image_main);
?>
anyway, I will submit a huge web change onto the github if you are alright with it, did many changes for player.php and other things. Will also make my theme "Left4Dark" into default since it looks more clean, plus more professional because I am a webdesign geek xP Still got timedmaps.php left to edit and change so it doesn't look so weird. Then I also need to fix player.php and player_stats.php to complete the multilang support. Other than that, its 90% done

Note:

As you can see, on the signature code I am working on the background changer, haven't worked much on it due I'm still working on the multilang support, will make it fully working soon you can have sig.php?steamid=STEAM_xxxxxxxx&?bg=www.ex ample.com/example.png or example.jpg

Note 2:

the l4dstats for sourcemod web admin mod is 99% done, just need to fix ?steamid= so it reads the STEAM_xxxxxxxx correctly, after that's done I will upload that as well.

Just trying to help out as much as possible
JonnyBoy0719 is offline
Send a message via Skype™ to JonnyBoy0719
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:48.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode