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, Yahoo!, Bing

Members: 0
Guests: 11
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 » BFD a snippet or ?
Forum Rules | Mark all | Recent Posts

BFD a snippet or ?
< Newer Topic :: Older Topic > Getting rid of tables.c

Pages:<< prev 1 next >>
Post is unread #1 Feb 23, 2003, 8:36 am
Go to the top of the page
Go to the bottom of the page

tirren

GroupMembers
Posts1
JoinedFeb 8, 2003

Ok I'm sick of tables... AFK mud is great in that it doesn't use them but AFK mud didn't fit my personal mud needs considering everything we had before was SMAUG with much of AFK snippets ported, including a really nice snippet that took all those things that made tables.c so annoying and got rid of them. Even in one of Noplex's snippets it says you can find that code here but I cannot locate it. Anyone have a link or could send me the file to modify my version of SMAUG? I would have gone with AFK but I would have had to take too much out and I've always found it easier to put th ings into code rather than take them out... which is why we scrapped our old codebase and started a new.



admin@limitedsanity.com
       
Post is unread #2 Feb 23, 2003, 10:01 am
Go to the top of the page
Go to the bottom of the page

Guest - (Unregistered)

Even in one of Noplex's snippets it says you can find that code here but I cannot locate it. Anyone have a link or could send me the file to modify my version of SMAUG?


Okay, I showed Samson the use of routines from libdl rather than BFD, in essence it simpified the code he was using and I believe he's dumped BFD in favour of it now (he can comment etc on that for AFK).

Depending on your OS you may have libdl, while it is rather well spread (every major linux dist I've met has it, SunOS is where it orginated from I believe.. I'm not sure about FreeBSD etc), you may find its not there.

In the case of libdl, take a quick read of the man pages (on Linux at least) for
- dlopen
- dlsym
- dlclose
- dlerror

I personally use them in my own MUD and as I said Samson has at least nudged Alsherok in that direction.

If anything feel free to e-mail me and I'll explain how and what each function does and example implementation code (again specifically for Smaugish type things Samson may be better for this as I tend to be a bit confusing sometimes... which I'm sure some ppl can testify to )

BTW: I could snippetify explanations, but its not the sort of thing you fling into a codebase without understanding it as it CAN have REALLY SERIOUS repercussions if you don't understand whats going on, thus I prefer the explanation approach and you use the information as you will, rather than follow code and potentially make the same mistakes I make (which in some cases is prolly REALLY bad ;) )
       
Post is unread #3 Feb 23, 2003, 11:09 am
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

And with regard to the BFD snippet, I removed it awhile back because it just wasn't portable enough. Chances are that most of those who mention it aren't aware I no longer carry it.
       
Pages:<< prev 1 next >>