So I am playing on an emu server and upon completion of an ldon, the packet 0x05fc7 is received. The length of this packet is 1 byte, so my packet header is defined like this...
So I wrote the plugin function like this (thx to unknown405 for my knowledge)
So then I wrote a macro like this to test every number from 0 to 256 (1 byte right?)
However no number 0-256 was the right byte for my packet. So my question is am I doing this right?
Rich (BB code):
#define jLDON 0x5fc7
typedef struct _LDPkt {
BYTE Chksum;
} LDPkt;
So I wrote the plugin function like this (thx to unknown405 for my knowledge)
Rich (BB code):
VOID LDONs(PSPAWNINFO pChar, PCHAR szLine) {
LDPkt ld;
ZeroMemory(&ld, sizeof(ld));
ld.Chksum = SlotNum;
SendEQMessage(jLDON, &ld, sizeof(ld));
}
So then I wrote a macro like this to test every number from 0 to 256 (1 byte right?)
Rich (BB code):
Sub Main
/declare counter int inner
/echo Starting
/for counter 0 to 256
/slotnum ${counter}
/echo ${counter}
/delay 5
/ldon
/delay 5
/next counter
However no number 0-256 was the right byte for my packet. So my question is am I doing this right?

