July 1999
- ScryMUD release v1.9.10. Ben Greear
- In-game tailors, re-stringers, etc. Eli Stevens {KiZurich/GreySylk}
- In-game tailors, re-stringers, etc. Caliban Tiresias Darklock
- An apology J C Lawrence
- GM Touring Company Ling
- GM Touring Company Matthew Mihaly
- GM Touring Company Ling
- GM Touring Company Matthew Mihaly
- GM Touring Company Christopher Allen - GM Fangs
- GM Touring Company Marian Griffith
- GM Touring Company Alex Oren
- GM Touring Company Christopher Allen
- list of MUD platforms? Timothy O'Neill Dang
- list of MUD platforms? Ilya, SCC, Game Commando
- list of MUD platforms? Ilya, SCC, Game Commando
- list of MUD platforms? Ross Nicoll
- list of MUD platforms? Ilya, SCC, Game Commando
- list of MUD platforms? Christopher Allen
- list of MUD platforms? Ben Greear
- list of MUD platforms? Caliban Tiresias Darklock
- list of MUD platforms? Jon A. Lambert
- list of MUD platforms? Ross Nicoll
- list of MUD platforms? Mik Clarke
- ScryMUD 1.9.11 is now on my page and in CVS. Ben Greear
- Technical programming question (circular buffers & logging) Ben Greear
- Technical programming question (circular buffers & logging) Chris Gray
[Ben Greear:]
> So, what I want to do is modify my logging class (basically just
> an ofstream with some flags tacked on it). I was thinking about
> making it a sort of ring-buffer where it just kept the last 50k
> or some other nice round number.
I've used that technique both in my MUD and at work. It works pretty well.
Rather than getting complex and logging full text messages, however, we've
tended to just log simpler things. My MUD just logs a pointer to a text
message, and a single 32 bit value. If the system itself aborts, it
dumps the contents of the ring out - it deferences the string pointers
to get the actual text. I think there was an occasion at work where I
needed to look at the buffer in a core dump, and it was a bit clumsy,
but certainly doable.
> Oh, one final thing: If I keep it all in memory, I will want to
> (at least) catch the SIGSEGV can flush it to disk at that time.
> Does anyone forsee any problems with this??
Should work, as long as you rely on as little as possible in the dumping
code. E.g. open the logging file with a low level 'open' call, write
it out with no use of stdio, iostream, etc., then close it. That should
minimize the amount of code/data you depend on, and reduce the likelihood
of a nested SEGV.
--
Don't design inefficiency in - it'll happen in the implementation.
Chris Gray cg@ami-cg.GraySage.Edmonton.AB.CA
http://www.GraySage.Edmonton.AB.CA/cg/ - Technical programming question (circular buffers & logging) Greg Miller
- Technical programming question (circular buffers & logging) Chris Gray
- an idea..wondering if this has been done Willowreed@aol.com
- an idea..wondering if this has been done Ben Greear
- an idea..wondering if this has been done Willowreed@aol.com
- an idea..wondering if this has been done Christopher Allen - GM Fangs
- an idea..wondering if this has been done David Bennett
- an idea..wondering if this has been done Willowreed@aol.com
- an idea..wondering if this has been done Christopher Allen - GM Fangs
- an idea..wondering if this has been done Par Winzell
- an idea..wondering if this has been done Bruce Mitchener, Jr.
- an idea..wondering if this has been done Joey Hess
- an idea..wondering if this has been done bruce@puremagic.com
- an idea..wondering if this has been done Joey Hess
- Victim Characters (was: Critiquing Muds) Eli Stevens {KiZurich/GreySylk}
- pfiles yacketta@kodak.com
- pfiles Richard Woolcock
- bytecode results Chris Gray
- fwd: forum on game design/culture Brandon J. Rickman
- fwd: forum on game design/culture Caliban Tiresias Darklock
- Containing automation? Timothy O'Neill Dang
- Containing automation? Katrina McClelan
- Containing automation? Timothy O'Neill Dang
- Containing automation? Andru Luvisi
- Containing automation? Ilya, SCC, Game Commando
- Containing automation? Greg Miller
- Containing automation? Katrina McClelan
- Containing automation? Marc Hernandez
- Containing automation? Matthew Mihaly
- Containing automation? Marc Hernandez
- Containing automation? Timothy O'Neill Dang
- Containing automation? Matthew Mihaly
- Containing automation? Marc Hernandez
- Containing automation? Marian Griffith
- Containing automation? Greg Miller
- Containing automation? Dan Root
- Containing automation? Caliban Tiresias Darklock
- Containing automation? Caliban Tiresias Darklock
- Containing automation? Ling
- Containing automation? Caliban Tiresias Darklock
- Containing automation? Ling
- Containing automation? Caliban Tiresias Darklock
- Containing automation? Jon A. Lambert
- Containing automation? Ilya, SCC, Game Commando
- Containing automation? Caliban Tiresias Darklock
- Containing automation? Jon A. Lambert
- Containing automation? Timothy O'Neill Dang
- Containing automation? Matthew Mihaly
- Containing automation? Matthew Mihaly
- Containing automation? Koster, Raph
- Containing automation? Matthew Mihaly
- Containing automation? Koster, Raph
- Containing automation? Ilya, SCC, Game Commando
- Containing automation? Matthew Mihaly
- Containing automation? Asmodeus
- Containing automation? Greg Miller
- Containing automation? Travis S. Casey
- Containing automation? Koster, Raph
- Containing automation? AR Schleicher
- Containing automation? Koster, Raph
- Containing automation? Ola Fosheim Grøstad
- Containing automation? Timothy O'Neill Dang
- Containing automation? Matthew Mihaly
- Containing automation? Greg Miller
- Containing automation? Matthew Mihaly
- Containing automation? Greg Miller
- Containing automation? Matthew Mihaly
- Containing automation? Greg Miller
- Containing automation? Matthew Mihaly
- Containing automation? Adam Wiggins
- Containing automation? Greg Miller
- Containing automation? Martin C Sweitzer
- Containing automation? Greg Miller
- Containing automation? Laurel Fan
- Containing automation? Matthew Mihaly
- Containing automation? Greg Miller
- Containing automation? Matthew Mihaly
- Containing automation? Charles Hughes
- Containing automation? Matthew Mihaly
- Containing automation? Katrina McClelan
- Containing automation? Timothy O'Neill Dang
- Containing automation? Charles Hughes
- Containing automation? Laurel Fan
- Containing automation? Charles Hughes
- Containing automation? Koster, Raph
- Containing automation? Matthew Mihaly
- Containing automation? Marian Griffith
- Containing automation? Matthew Mihaly
- Containing automation? Koster, Raph
- Containing automation? Ola Fosheim Grøstad
- Containing automation? Marian Griffith
- Containing automation? Wayne Pearson
- Containing automation? AR Schleicher
- Containing automation? Koster, Raph
- MUD-Dev digest, Vol 1 #121 - 2 msgs Dr. Cat
- MUD-Dev digest, Vol 1 #121 - 2 msgs Koster, Raph
- UO currency Timothy O'Neill Dang
- Game design Adam Wiggins
- dispatching events Greg Miller
- dispatching events Mark Gritter
- dispatching events Greg Miller
- injury-based combat Greg Miller
- injury-based combat Ilya, SCC, Game Commando
- injury-based combat Brian Carter
- injury-based combat Matthew Mihaly
- injury-based combat Greg Miller
- mud vs. mush membership Matthew Mihaly
- mud vs. mush membership Adam Wiggins
- mud vs. mush membership Greg Miller
- mud vs. mush membership Jay Carlson
- mud vs. mush membership Marian Griffith
- mud vs. mush membership Matthew Mihaly
- mud vs. mush membership Caliban Tiresias Darklock
- mud vs. mush membership Matthew Mihaly
- mud vs. mush membership Bruce Mitchener, Jr.
- mud vs. mush membership Greg Miller
- mud vs. mush membership Adam Wiggins
- mud vs. mush membership Jay Carlson
- mud vs. mush membership Adam Wiggins
- combat/injury Greg Miller
- The Virtual Ecology Tony Wilkinson
- The Virtual Ecology Adam Wiggins
- The Virtual Ecology Jp Calderone
- The Virtual Ecology Ilya, SCC, Game Commando
- The Virtual Ecology Albert
- The Virtual Ecology Schubert, Damion
- The Virtual Ecology Greg Miller
- The Virtual Ecology Brandon J. Rickman
- The Virtual Ecology Tony Wilkinson
- The Virtual Ecology Marian Griffith
- The Virtual Ecology Chris Gray
- The Virtual Ecology Brian Carter
- The Virtual Ecology Par Winzell
- The Virtual Ecology Felix A. Croes
- The Virtual Ecology Chris Turner
- The Virtual Ecology Ling Lo
- The Virtual Ecology Brandon J. Rickman
- [ScryMUD] Splitting development, code re-organization. Ben Greear
- OT: Raph & Kristen absent for a bit Koster, Raph
- Essays on parsing text. Ling
- Essays on parsing text. Christopher Allen
- Essays on parsing text. Travis S. Casey