Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, Bing

Members: 0
Guests: 14
Stats
Files
Topics
Posts
Members
Newest Member
481
3,740
19,388
628
PabloL3189
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » General » Smaug Snippets » global board in SmaugFUSS
Forum Rules | Mark all | Recent Posts

global board in SmaugFUSS
< Newer Topic :: Older Topic > I need to add global boards

Pages:<< prev 1 next >>
Post is unread #1 Mar 11, 2004, 3:55 am
Go to the top of the page
Go to the bottom of the page

moque

GroupMembers
Posts2
JoinedMar 11, 2004

I am trying to add global boards to SmaugFuss, but it included a patch that didn't work. I've found a ROM snippet, but no other Smaug snippets.
I've seen a reference to this "Global Boards - Global Boards, allows reading/posting to a board from anywhere", but I can't find that code here.
Can you please help me.
       
Post is unread #2 Mar 11, 2004, 11:29 am   Last edited Nov 25, 2007, 5:43 pm by Samson
Go to the top of the page
Go to the bottom of the page

Greven
Magician
GroupMembers
Posts204
JoinedMar 5, 2005

www.smaugmuds.org, download section, "Others Corner", Global Boards by Kratas
       
Post is unread #3 Mar 11, 2004, 3:22 pm
Go to the top of the page
Go to the bottom of the page

moque

GroupMembers
Posts2
JoinedMar 11, 2004

I tried that one, but it gave me a ton of errors. I would rather have something other than the patch file, which didn't work on my SmaugFuss code. I gather, I should just look at the patch file, determine which line it is changing and do it manually? I am just not familar with the layout of the patch file.
       
Post is unread #4 Mar 13, 2004, 9:39 am
Go to the top of the page
Go to the bottom of the page

Xorith
The Null Value
GroupAFKMud Team
Posts254
JoinedFeb 23, 2003

Given that I wrote the global boards in AFKMud basically from scratch...

1) You could port it over without much trouble.
2) The global board I've seen is ugly and bug-ridden. It was ported from ROM, and whomever did it didn't port *everything*.

I've not been keen on making a SMAUG snippet of the boards I wrote because I don't use SMAUG and I don't feel like releasing a snippet, but go ahead and download the AFKMud source and see how it works. Make sure you change anything named 'CMDF' to 'void', and watch for calls to mudstrlcpy and mudstrlcat. You can easily get around these by putting this in the boards.h file:

#ifndef mudstrlcpy#define mudstrlcpy strncpy#endif#ifndef mudstrlcat#define mudstrlcat strncat#endif


The only other requirement is Samson's color snippet, which I think is included in FUSS

-- X
       
Post is unread #5 Mar 13, 2004, 12:09 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,643
JoinedJan 1, 2002

Personally I wouldn't suggest the use of the #ifndef stuff. If you're intent on backporting the code down to Smaug, just do a search/replace. I've found that doing things like this can lead to problems down the road when you forget about it.

mudstrlcpy is argument compatible with strncpy.
mudstrlcat is argument compatible with strncat.

You can do a straight replace on both to acheive the desired results.

As far as color, unless Xorith used tags not ordinarilly supported in Smaug, it should work fine without the color snippet. Though, why anyone would use stock Smaug when FUSS exists is beyond me.
       
Post is unread #6 Mar 14, 2004, 4:54 pm
Go to the top of the page
Go to the bottom of the page

gavin

GroupMembers
Posts2
JoinedDec 16, 2003

I am currently finishing up rewriting the smaug board system to clean it up and add global board support, and such.

It should be done within the week anyways.
       
Post is unread #7 Apr 9, 2004, 12:31 am
Go to the top of the page
Go to the bottom of the page

ithildin

GroupMembers
Posts9
JoinedDec 5, 2003

has there been any update on your global boards gavin?
       
Pages:<< prev 1 next >>