Mailing List
Home
Forum Home
Mac Game - Mac game development
Rivers of MUD - a Diku and Merc based multiuser dungeon
SMAUG
Subjects
Getting UDP through NAT/firewalls/whatever for a game
Getting UDP through NAT/firewalls/whatever for a game
QuickTime errors
Python script as stand alone MUD server
Subject: Various sound problems
Fragment Shaders & GL TEXTURE RECTANGLE EXT
Subject: Timers and global variables
Re: Language and platform for Text MUD server
Apparent acquisition of Yantis (mysupersales) by IDE
HID keyboard
Getting UDP through NAT/firewalls/whatever for a game
Microsoft Sparkle
Subject: Director MX
Congratulations Horizons
Yet more problems fullscreen mode
Apple Dev Kitchen Them 's tasty vittles, Maw!
NSOpenGLContext, Pbuffers, and drawables
More DCR "theft " naughtiness
dynamic sprite creation and imaging lingo
Re: Find stuff in Flash array?
Effects of skill imbalances?
QuickTime errors
Rom 2 4/Quickmud Enhancement/Bug fix
Subject: Working with XML files/CFURL
smooth scrolling/subpixel tweening
RE: (Ron help me?) Flash text
Subject: Flash Racing
Subject: MudDev FAQ 2
Browser based games
Installing GLUT
Special character in Flash XML
 
Help

Help

2006-08-04       - By Rainer Roomet

 Back
Reply:     1     2     3     4     5     6     7     8  

I have some kind of pre-delayed commands.
Example:


> bash hassan
<pre_delay> (if delay expires)
You slam into Hassan, and send him flying!


Now problem is, if you are PRE_DELAYED, you can't use any commands (similar
as wait state) but I want to interpret the delay through "STOP" command. But
how I can do it?

I am spent tons of hours to solve the problem, looking another codebases -
but result is nothing.

If i do following:

if (d->inbuf[i] == 'S')
     {
        send_to_char("You stop your bash attempt!\n\r", d->character);
    GET_TWIDDLE(d->character) = 0;
        return;
     }
     else
        return;


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?

Please help!

One thing more - I am note 100% sure I am subscribed (Sometimes I have
received some ROM mail list mails but i said sometimes - it looks like it is
dead - please, if you answer to my mail, send copy to me - just in case.
rainer_roomet@(protected))

Rainer Roomet
Phone: (+372) 58133281
Mail/MSN: rainer_roomet@(protected)

__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __
FREE pop-up blocking with the new MSN Toolbar - get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

--
ROM mailing list
ROM@(protected)
Unsubscribe here ->>> http://www.rom.org/cgi-bin/mailman/listinfo/rom