Jump to content

Diablox

Members
  • Posts

    182
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by Diablox

  1. Let it run for a while. If it runs go with this. When mysql starts to act slow then go to your config and start changing. Only thing i can point out is innodb settings

    innodb_buffer_pool_size=1G
    innodb_additional_mem_pool_size=128M
    innodb_log_file_size=128M
    innodb_log_buffer_size=16M
    innodb_flush_log_at_trx_commit=1
    

    But i think that DB for 600 testers online is a little bigger then 1gb.

  2. Characters.sql should be always at latest reversion but sometimes devs forget to update it :D. Since you are starting with mangos my advice is to compile the latest version and then try to run mangos and it will tell you what you need to apply from updates folder if there is any to apply (just read slowly). Another way is to take a look at characters DB character_db_version table where you will see what was the latest sql update file imported in your char db. Just start importing every file after that. And one more thing http://github.com/mangos/mangos/blob/master/sql/updates/README for more info

  3. That query only gets number of aly online. You need another one for horde. And you have double echo $total.

    <?
    require_once ( 'config.php');
    $conn = mysql_connect($host, $user, $pass) or die('Connection failed: ' . mysql_error());
    
    mysql_select_db($mangoscharacters, $conn) or die('Select DB failed: ' . mysql_error());
    
    $query = mysql_query('SELECT race FROM characters WHERE online = 1 ');
    $horde = 0; $aly = 0;
    while($data = mysql_fetch_array($query))
    {
       if(in_array($data['race'], array(1, 3, 4, 7, 11)))
           $aly ++;
       else
           $horde ++;
    }
    echo 'Horde Online: '.$horde.' Aliance Online: '.$aly;
    ?>

  4. My players are sure it is happening when you received a heal and deadly blow in the same moment. I was unable to reproduce but i just think i was unlucky with matching those two.

    Anyway i can confirm this bug

×
×
  • Create New...

Important Information

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. Privacy Policy Terms of Use