Jump to content
  • 0

[BUG] Report a source error


Question

Posted

Good morning, i like to report one bug,

 

I do not know exactly where to report, so I apologize if it's the wrong place.

Well, i have a BGEamod extansion installed in my server, because of this i make all my source modifications manually once a month,

In uptade "Refactored item bonuses to utilize C++ features" i noticed a big mistake. The bonus of equipments have become cumulative, if you equip and unequip the any weapon you ATK and MATK infinitely increase, leaving just you refresh or log again.

I even thought that i had made some mistake, because of this i make a new download of the last version of rathena and tested the server clean, without changes in source, and the error persisted.

This way i make the modifications manually again using a backup server, but this time i did not use the modifications of this update, and the error did not appear any more.

I don't know what the uptade error, but would like to report and suggest that more people take the test. 

OBS: error occurs using buff skills to.

 

3 answers to this question

Recommended Posts

  • 0
Posted

status.cpp file 

    // Zero up structures...
    memset(&sd->hp_loss, 0, sizeof(sd->sp_loss)
        + sizeof(sd->hp_loss)    //insert code     
        + sizeof(sd->hp_regen)
        + sizeof(sd->sp_regen)
        + sizeof(sd->percent_hp_regen)
        + sizeof(sd->percent_sp_regen)
        + sizeof(sd->def_set_race)
        + sizeof(sd->mdef_set_race)
        + sizeof(sd->norecover_state_race)
        + sizeof(sd->hp_vanish_race)
        + sizeof(sd->sp_vanish_race)
        + sizeof(sd->bonus)
    );
 

memset mistake

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...