[DGD] enigmatic bug
Felix A. Croes
felix at dworkin.nl
Wed Apr 30 15:47:31 CEST 2008
"chris ." <psych_mayo at hotmail.com> wrote:
>[...]
> static int user_input(string str) { /*this is called by process_input, same as in phantasmal */
> int mode;
> mode = this_object()->client_message(str); /* this_object() is the user object */
> if(mode == this_object()->query_mode() || mode == 4)
> return MODE_NOCHANGE;
> else
> return mode;
> }
>
> Inside of login user object:
>
> int client_message(string str) {
> if(previous_program() == LIB_CONN || previous_program() == BINARYD ||
> previous_program() == TELNET) {
> string cmd;
> int i, sz;
> previous_object(1)->message(str);
> error("horrible bug fix");
> /* ...omitted rest of this function */
Why did you omit it? After all, that's where the cause of your problem
is likely to be.
Regards,
Dworkin
More information about the DGD
mailing list