minerCPP
/say bug AND /me bug - Printable Version

+- minerCPP (./)
+-- Forum: minerCPP (/forumdisplay.php?fid=3)
+--- Forum: Development (/forumdisplay.php?fid=13)
+---- Forum: Bug Report (/forumdisplay.php?fid=8)
+---- Thread: /say bug AND /me bug (/showthread.php?tid=54)


/say bug AND /me bug - Beth - 03-09-2010 05:11 PM

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"


RE: /say bug AND /me bug - strykermikado - 03-09-2010 06:15 PM

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.


RE: /say bug AND /me bug - Twdtwd - 03-10-2010 07:58 AM

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.


RE: /say bug AND /me bug - Beth - 03-10-2010 10:39 AM

(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?


RE: /say bug AND /me bug - hitachihex - 03-15-2010 06:05 PM

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