Jump to content

asg43tgfsa

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by asg43tgfsa

  1. 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

  2. It's not a good idea, but it's simple.

    In the clif.c file, 

    void clif_parse_Mail_refreshinbox (int fd, struct map_session_data * sd) {

        //----------------------------------
        //add code
        

        //payon map disable rodex
        if(sd->bl.m==776)    return ; 
        //prontera map disable rodex
        if(sd->bl.m==780)    return ; 


    ...

    • Upvote 1
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.