minerCPP

Full Version: /say bug AND /me bug
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i worte /say cass is now hidden! (don't ask) and it said "cass", pretty minor, but its kind of annoying.(current version, i for got which one it was)

* Beth bug is the same, ect.
* Beth laughs very evilly
"beth laughs"
Also when mods check this ill add that /rules doesn't work. Says unknown command. I just overwrote the old .exe with new one.

Edit: I have come to the conclusion that the exe isn't updated yet.
Im looking into the /say bug.

And no, the exe isn't updated yet.

Once we get a stable rev I will update it and the zip.
(03-09-2010 06:15 PM)strykermikado Wrote: [ -> ]Also when mods check this ill add that /rules doesn't work. Says unknown command. I just overwrote the old .exe with new one.

Edit: I have come to the conclusion that the exe isn't updated yet.
Have you tryed /help?
Just like to note that the /say bug is caused because of tokenizing the buffer with spaces.
It's easily fixed (fixed on my end)

I also fixed the stairs thing without the newest revision (took some proof-reading though)

Code:
tok = strtok(buffer, " ");

/* Forge a paramStr out of buffer. */
while(tok != NULL && i < 3) {
    strcpy(paramStr[i++], tok);
    tok = strtok(NULL, " ");
    }
}

it's the same for /me, supply optional buffer untokenized to playerCommand(), or do compares for /say or /me in OPCODE_CHAT
handler
Reference URL's