Jump to content
  • 0

[BUG] Report a source error


Darkmania2

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   1
  • Joined:  09/02/12
  • Last Seen:  

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.

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   2
  • Joined:  09/04/12
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   2
  • Joined:  09/04/12
  • Last Seen:  

But yet
There is still a bug in the source.

I can solve but I have no authority.
Edited by asg43tgfsa
Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  587
  • Reputation:   431
  • Joined:  01/26/16
  • Last Seen:  

Link to comment
Share on other sites

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.

×
×
  • Create New...