Help wanted!

For the discussion of general topics about the game.
User avatar
Lirith
Staff
Staff
Posts: 1867
Joined: Sun Nov 11, 2007 3:37 pm

Re: Help wanted!

Post by Lirith » Thu Feb 27, 2014 9:33 pm

Something like a history command would work for that, I've seen that used in other muds.
Mask
Staff
Staff
Posts: 2649
Joined: Tue Jul 15, 2003 9:21 pm

Re: Help wanted!

Post by Mask » Thu Feb 27, 2014 9:37 pm

How does that work?
User avatar
Lirith
Staff
Staff
Posts: 1867
Joined: Sun Nov 11, 2007 3:37 pm

Re: Help wanted!

Post by Lirith » Thu Feb 27, 2014 10:17 pm

I don't know how it works, you're the boss guy. It was something like, if you typed history 10 or history 30, it would give you the last 10 or 30 tells or something. It might work better for us if we split it for tells and otells though and probably no need for it to keep more than 10, maybe even just 5 of each would be fine.
User avatar
Kregor
Sword Grand Master
Sword Grand Master
Posts: 1474
Joined: Sun Jul 11, 2004 6:14 am
Location: Baldur's Gate

Re: Help wanted!

Post by Kregor » Fri Apr 25, 2014 5:19 am

Lirith wrote:I don't know how it works, you're the boss guy. It was something like, if you typed history 10 or history 30, it would give you the last 10 or 30 tells or something. It might work better for us if we split it for tells and otells though and probably no need for it to keep more than 10, maybe even just 5 of each would be fine.
Marty,

The old MRMud code and other descendants had a "buffer" command for the VT display, similar to what she's asking for, you could type "buffer 1" "buffer 2" et al for 1 screen back, 2 screens, etc. That's how it solved the scroll back issue since you can't simply use the scroll bar on the terminal window with the VT active.

Basically it buffers the last several past screens of VT text into a unsaved char field in pcdata, the command reads back to whatever number of pager breakpoints you're looking back. Basically, whatever you define as a max buffer length worth of text on the pcdata field will be cached and updated as the player's text scrolls, and available for back searching with the command.

A quick review of the old codebase might give you the bits you need to adapt it into the FKMud tactical stuff.
"There is no safety for honest men except by believing all possible evil of evil men."

Kregor - Ranger of Tangled Trees
Rozor - Lady Luck's Duelist
Tygen - Ranger-Bard of Mielikki
Trillarel
Sword Grand Master
Sword Grand Master
Posts: 287
Joined: Sat Feb 18, 2012 1:08 pm

Re: Help wanted!

Post by Trillarel » Wed Apr 30, 2014 12:46 pm

Just saw this and immediately decided to test the browser client. It's working at my uni, which means it'll probably work at home too, so great job!
Beskytter
Sword Master
Sword Master
Posts: 229
Joined: Fri Apr 19, 2013 1:24 pm
Location: Los Angeles
Contact:

Re: Help wanted!

Post by Beskytter » Mon Jan 04, 2016 10:08 pm

Sort of looking around for a MUD client I like and noticed that the help file for FANG says the source is available. Wondering where I can get a look at it, I like the client but would like to adjust a couple things with it if possible.
I'm a raptor, doin' what I can, gonna eat everything till he appearance of man. Yo yo see me, I'm living below the soil. I'll be back, but I'm comin' as oil.
Post Reply