Jump to content

pollux

Honorable Member
  • Posts

    264
  • Joined

  • Days Won

    23
  • Feedback

    0%

Posts posted by pollux

  1. Happy new year (and a big thank you)!

    clock-animated-gif-19.gif

     

    Do you guys remember 'the good old times'? I think of this time the forum had only 385 members. It was the time everything started - back in 2014.

     


     

    And now - approx. 3 years later - we're still there! We're still... THERE! Yes, you are right! We're still here!

     


     

    Now with 11.111 members - okay, maybe a bit more now, but we had these members at 16:32 GMT+1 today - we'll soon switch to year 2017. As a big 'Thank you!' to all of you and a New Year present we want to do a giveaway with all our members which were here in the last 3 years.

    Okay.. Also the newer ones will get their chance, but not everyone might be chosen for this...

    We will give away 11x VIP rank on this forum - all you need to do is to enter the giveaway on our small giveaway page. But please don't be upset if you don't understand the requirements - it's a mystery for us, too.

     


     

    We want to thank all of you for your confidence in us, for your loyalty, for your effort to make this a great place to be. We also want to wish all of you a Happy New Year and we hope we still see you in the next 3 years.

     

    This giveaway will be open until the 31th January 2017.
    You can take part on this page.

     

    Sincerely,
    metin2dev.org Administration

     


    ... and always remember: We are a community!

     

    • Love 16
  2. No really..

    Try something like this:

    UPDATE player.mob_proto SET exp = (exp / 4);
    $handle = fopen("exp_table.txt", "r");
    if ($handle) {
        while (($line = fgets($handle)) !== false) {
            // process the line read.
    		$line = (intval($line) / 4);
    		file_put_contents('exp_table_new.txt', $line.PHP_EOL, FILE_APPEND | LOCK_EX);
        }
    
        fclose($handle);
    } else {
        // error opening the file.
    } 

     

    • Love 2
  3. 10 hours ago, emanuel said:

    Why is bad codestyle,whatt that code can do ?

    Google hates it. Really.

    In general we can say that the html redirect is just a "workaround" when you don't have any other possibility to do it (e.g. via htaccess/redirect engine or php). The html redirect looks really spammy for Google itself because Google will think that this is only a temporary redirect (302 vs. 301).

    Additionally to this, the W3C (as mentioned >>here<<) discouraged this method because unexpected refreshs can disorient users.

    • Love 4
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.