Jump to content

soroz

Members
  • Posts

    3
  • Joined

  • Last visited

Community Answers

  1. soroz's post in How to modify the damage of assasin class when its get critical? was marked as the answer   
    In additional, this snippet
     
    if((sd->class_&MAPID_UPPERMASK) == MAPID_ASSASSIN)
     
    will cause a fatal error an.d bring the map server down because when critical event cause by a monster a sd pointer will given a null and server will be crashed with pagefault
     
    to prevent this we have to check that if sd is null or not first
     
    if(sd && (sd->class_&MAPID_UPPERMASK) == MAPID_ASSASSIN)
     
    and this line should works well
×
×
  • Create New...