16 Jul 11, 12:32AM
New mac bins. AC r6557
@Devs, two things.
1)
A bug I found.
heartbeat 0-99.
I realized this wasn't a bool, so I cranked it up to 99, and then found it too loud. I then kept on lowering it, and found that it never got softer. It either didn't sound, or it was loud. It didn't sound at 8, and started sounding at 9. Probably not the heartbeats fault, but the audio software or something.
2)
Not sure why this was happening, but it said something along the lines of "Overloaded function with no contextual information". I did a grep which revealed that getmode was only used in this chunck that I just gave you. So I changed it around to COMMANDN and appeneded _ to the end of the function declaration, and that seemed to work. Something to think about for final release.
Here is the code:
@Devs, two things.
1)
A bug I found.
heartbeat 0-99.
I realized this wasn't a bool, so I cranked it up to 99, and then found it too loud. I then kept on lowering it, and found that it never got softer. It either didn't sound, or it was loud. It didn't sound at 8, and started sounding at 9. Probably not the heartbeats fault, but the audio software or something.
2)
Not sure why this was happening, but it said something along the lines of "Overloaded function with no contextual information". I did a grep which revealed that getmode was only used in this chunck that I just gave you. So I changed it around to COMMANDN and appeneded _ to the end of the function declaration, and that seemed to work. Something to think about for final release.
Here is the code:
[SELECT ALL] Code:
//Next line is 1534:command.cpp.
void getmode_(int acr = 0) { result(modestr(gamemode, acr ? true : false)); }
COMMANDN(millis, millis_, ARG_IVAL);
COMMANDN(strlen, strlen_, ARG_1STR);
COMMANDN(substr, substr_, ARG_3STR);
COMMANDN(strpos, strpos_, ARG_3STR);
COMMAND(l0, ARG_2INT);
COMMAND(systime, ARG_NONE);
COMMANDN(timestamp, timestamp_, ARG_NONE);
COMMAND(datestring, ARG_NONE);
COMMANDN(timestring, timestring_, ARG_NONE);
COMMANDN(getmode, getmode_, ARG_1INT);