Sphereserver / Source-X

Ultima Online server emulator
Apache License 2.0
57 stars 45 forks source link

m_pclient #1116

Open Tolokio opened 1 year ago

Tolokio commented 1 year ago

Certain triggers like f_onchar_delete, have m_pclient as argo. But m_pclient seems to be 0 on all thoose triggers.

image image

What should be argo? i dont understand it. Why we need "client" on argo and what should it be used for?

Some checks are checking m_pClient but as it is 0 that check always fail. image THe check of the screenshot will always fail right now. Jhobean changed it to m_pPlayer and works properly on his PR.

So, what the matter with m_pClient, and if it is set on argo, what could we be able to do with it?

More info: f_onchar_creation_init Dosnt work probbly cos of this: image image

xwerswoodx commented 12 months ago

I see the issue, but I am not sure what's this client value represents for. I haven't used ARGO variable in these functions so I am not sure how should it return. Have you tried to check it from another computer? Maybe 0 meaning localhost or something in this case.

Tolokio commented 1 month ago

I see you reopened this. Tell me if I can help. What's left?

image ? Why is this related?