Jump to content

Mikado

Members
  • Posts

    26
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Mikado

  1. Hi all.

    I'm writing a small atcommand which changes the view of the party window.

    The atcommand reads and writes fine from sd->state.partyview, in clif.c I can access sd->state.partyview inside clif_party_info, howerver, it crashes my mapserver everytime it sends the info to the client.

    Just this way:

    if(!sd->state.partyview)
    {
     memcpy(WBUFP(buf,28+c*46+4), m->name, NAME_LENGTH);
    }
    

    It's just the argument in the conditional that crashes my server. Is there any workaround? I just want a variable for every char which I can change through an atcommand.

    Thank you.

×
×
  • Create New...