Re: Help

"Michael Barton" <[email protected]> Fri, 4 Aug 2006 01:32:26 -0500
Newsgroups gmane.games.devel.mud.rom
Message-ID <[email protected]>
> if (d->inbuf[i] == 'S')
>       {
>          send_to_char("You stop your bash attempt!\n\r", d->character);
...
> then it works if I enter "S" letter in first command then he stops the bash
> attempt but if I enter the second command command (bash hassan;worth;S) then
> it won't work - it just waiting for delay, bash and then do these commands!
>
> Any ideas? Or I have to make some kind of  "command history" but how?

I don't think it'll be strictly necessary, but it might be easier to
work with a list of incoming commands as opposed to a buffer if you
intend to do much manipulation to it.

It would help some to know exactly how you've implemented the pre-lag
and where you're trying to insert this code.  It *looks* like it's in
read_from_buffer, which makes me wonder where you're short-circuiting
user input at when they're lagged.  Because normally it'd be before
that.

--Palrich.
-- 
ROM mailing list
[email protected]
Unsubscribe here ->>> http://www.rom.org/cgi-bin/mailman/listinfo/rom