Jump to content

Chucksta

getMaNGOS Retired Staff
  • Posts

    552
  • Joined

  • Last visited

  • Days Won

    1
  • Donations

    0.00 GBP 

Bug Comments posted by Chucksta

  1. I ran a packet sniffer on m3 and a private server to see what happened when I looted money, and found the size of the packet used for SMSG_LOOT_MONEY_NOTIFY to be the same.

    The actual contents are also exactly the same, e.g. when looting 3 copper m3 and the private server's packets were:

    03 00 00 00 01 

    Where 03 is the 3 copper

    and 01 means "You looted ..." - non grouped loot

    Therefore, the issue is not with the SMSG_LOOT_MONEY_NOTIFY opcode.

  2. The mangos.conf value for the health regen rate is obviously not being reead in properly.

    As a temporary fix I have set the regen rate to 1, as it is in the conf file

        // This needs fixing
        HealthIncreaseRate = 1.0f; // having to do this as the above constantly results in 0 - mangosd.conf is obviously not being read properly
     

    Temporary fix:

    https://github.com/mangosthree/server/pull/107

  3. I threw in some outputs to show what is happening when the toon is suppsoedly having its health regenerated, and it comes up saying that it is able to be regenerated (not in combat), but when it goes to call the modify health function - ModifyHealth(int32(addvalue)); - the value passed (addvalue) always holds 0.

    I made it pass in a static value of 5.0, and the toon's health was regenerated.

    Now to figure out why the actual regen value is not being calculated correctly!

×
×
  • 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