Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
auth_update crash
Dec 23, 2017, 10:15 pm
By Remcon
check_tumble
Dec 18, 2017, 7:21 pm
By Remcon
parse description bug
Dec 15, 2017, 10:08 pm
By Remcon
Couple bugs
Dec 12, 2017, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, Google, Bing, Yandex

Members: 0
Guests: 6
Stats
Files
Topics
Posts
Members
Newest Member
478
3,708
19,242
612
Jacki72H
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » AFKMud Support & Development » bug: guild/order/clan channel...
Forum Rules | Mark all | Recent Posts

bug: guild/order/clan channels and history
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Nov 19, 2006, 6:58 am
Go to the top of the page
Go to the bottom of the page

Moridian

GroupMembers
Posts5
JoinedNov 13, 2006

I've found that if I set clantalk/ordertalk/guildtalk (whatever you want to call the channel) to keephistory, no matter what order/clan the person is in, they can see all order/clan histories.

I've fixed this by adding a new char to the channel struct called 'clan' and so it only displays the history if this equals the persons order/clan name. Which works great. "clan a" person can only see things in the history said by other people of "clan a" and "clan b" person can only see things in the history said by other people of "clan b"

Problem being: If "clan a" talks and talks and talks, it wipes out "clan b's" history. Once it gets to MAX_CHANHISTORY

-Moridian
       
Post is unread #2 Nov 19, 2006, 8:26 am
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

Clan channels present a bit of a challenge, but I think there is a better solution than adding the clan's name to the channel history functions. It might be better to include the history on the clan structure and operate on that when people use a clan channel flagged to keep history.
       
Post is unread #3 Nov 19, 2006, 9:22 am
Go to the top of the page
Go to the bottom of the page

Moridian

GroupMembers
Posts5
JoinedNov 13, 2006

Works like a charm Samson. (As if I expected any less)

I added a history char to the clan_data in mud.h and made it so if the channel is a chan_guild type it checks/adds to that history.

Works perfectly.

Thanks!

-Moridian
       
Pages:<< prev 1 next >>