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.
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.
Can't access state.variable in clif function
in Source Support
Posted · Edited by Mikado
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:
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.