04 Feb, 2007, Kayle wrote in the 1st comment:
Votes: 0
Alright, So, Here's the deal, I'd originally planned for a global board for inter-order communication, but it's been brought to my attention they'd work better just for each order. So In my efforts to make this possible, I've come across a small bother.

This is the current declarations for the boards.
GLOBAL_BOARD_DATA boards[MAX_BOARD] =
{
{ "General", "General discussion ", 0, 2, "all", DEF_INCLUDE, 21, NULL, FALSE },
{ "Ideas", "Suggestion for improvement ", 0, 2, "all", DEF_NORMAL, 60, NULL, FALSE },
{ "Announce", "Announcements from Immortals ", 0, LEVEL_IMMORTAL, "all", DEF_NORMAL, 60, NULL, FALSE },
{ "Areas", "Area questions, suggestions… ", 0, 1, "all", DEF_NORMAL, 60, NULL, FALSE },
{ "Personal", "Personal messages ", 0, 1, "all", DEF_EXCLUDE, 28, NULL, FALSE },
{ "Quest", "Questing Board ", 0, 2, "all", DEF_INCLUDE, 21, NULL, FALSE },
{ "History", "History and Role Play Board ", 0, 2, "all", DEF_INCLUDE, 21, NULL, FALSE },
{ "Avatar", "Avatar Information/Run Board ", LEVEL_AVATAR, LEVEL_AVATAR, "all", DEF_INCLUDE, 21, NULL, FALSE },
{ "Immortal", "Immortal Information/Discussion Board ", LEVEL_IMMORTAL, LEVEL_IMMORTAL, "all", DEF_INCLUDE, 21, NULL },
{ "Council", "Council Information ", 0, 2, "all", DEF_EXCLUDE, 21, NULL, FALSE },
{ "Order", "Order Information/Run Board ", 0, 2, "all", DEF_EXCLUDE, 21, NULL, FALSE },
{ "Guild", "Guild Information/Run Board ", 0, 2, "all", DEF_EXCLUDE, 21, NULL, FALSE },
{ "Nation", "Nation Information/Run Board ", 0, 2, "all", DEF_INCLUDE, 21, NULL, FALSE },
{ "Trade", "Item Trade Board ", 0, 2, "all", DEF_INCLUDE, 21, NULL, FALSE }
};


These are the ones I'm specifically interested in changing.
{ "Council",  	"Council Information                        ", 0, 2, "all", DEF_EXCLUDE, 21, NULL, FALSE },
{ "Order", "Order Information/Run Board ", 0, 2, "all", DEF_EXCLUDE, 21, NULL, FALSE },
{ "Guild", "Guild Information/Run Board ", 0, 2, "all", DEF_EXCLUDE, 21, NULL, FALSE },
{ "Nation", "Nation Information/Run Board ", 0, 2, "all", DEF_EXCLUDE, 21, NULL, FALSE },


Instead of Defaulting to exclude all from the list of recipients, I'd prefer to just force them to include the name of their clan/guild/order/nation in the recipients list. The problem is, that information is stored at ch->pcdata->(clan/council/nation)>->name. And I've tried several approaches that have failed so far.. Any advice/pointers/bits of code that could help me finish this would be most appreciated.
04 Feb, 2007, Zeno wrote in the 2nd comment:
Votes: 0
You could just do a quick hack in the gnote write function, if board->name == "Council" & ch->pcdata->council, then enter ch->pcdata->council->name
04 Feb, 2007, Kayle wrote in the 3rd comment:
Votes: 0
That would work, but I'd like to save hackish attempts for a last resort. :tongue:
0.0/3