Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
Bug in will_fall( )
Oct 23, 2017, 1:35 am
By GatewaySysop
Bug in do_zap( ), do_brandish( )
Oct 18, 2017, 1:52 pm
By GatewaySysop
Bug in get_exp_worth( )
Oct 10, 2017, 1:26 am
By GatewaySysop
Bug in do_drag( )
Oct 8, 2017, 12:40 am
By GatewaySysop
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Memwatch
Author: Johan Lindh
Submitted by: Vladaar
Beastmaster 6D sound files
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, DotBot, Yahoo!

Members: 0
Guests: 8
Stats
Files
Topics
Posts
Members
Newest Member
476
3,704
19,231
608
LAntorcha
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » SWR FUSS » KEY'd Area Formats
Forum Rules | Mark all | Recent Posts

KEY'd Area Formats
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Jan 27, 2010, 5:09 pm
Go to the top of the page
Go to the bottom of the page

Keirath
Magician
GroupMembers
Posts144
JoinedJan 24, 2008

So, one thing I'm interested in doing is converting SWR FUSS over to the KEY'd area formats like in SMAUG. I like the idea a lot more.
However, I'm clueless as to where to begin with this. Are there any suggestions?

Also, anyone had any luck with saving areas in an SQL database or anything of the sorts? A friend and I had the idea of saving information in MySQL format. Then use PHP to make online building through a website or something of the sorts.
       
Post is unread #2 Jan 27, 2010, 5:32 pm
Go to the top of the page
Go to the bottom of the page

Zeno
Sorcerer
GroupMembers
Posts723
JoinedMar 5, 2005

What format is SWR FUSS in if not KEY?
       
Post is unread #3 Jan 27, 2010, 5:36 pm
Go to the top of the page
Go to the bottom of the page

Keirath
Magician
GroupMembers
Posts144
JoinedJan 24, 2008

I don't know how to explain it. Nothing is labeled.
Ex:
#102
The Omnipresent Being's Mortal Engagement Room~
You are in the conference room where the Omnipresent Beings engage
the mortal beings in questioning, and occasionally punishment.  The
room is bare and there are no apparent exits except the one to the
west.
~
0 8388616 1
D3
~
~
0 -1 100
R O 0 32201 1 102
S
#103
       
Post is unread #4 Jan 27, 2010, 6:18 pm
Go to the top of the page
Go to the bottom of the page

Stan
Fledgling
GroupMembers
Posts23
JoinedNov 19, 2005

In the smaugfuss src directory, grep fread_fuss and fwrite_fuss As for sql, Rojan has a copy of swr sql on source forge I believe.
       
Post is unread #5 Jan 27, 2010, 6:21 pm
Go to the top of the page
Go to the bottom of the page

Keirath
Magician
GroupMembers
Posts144
JoinedJan 24, 2008

Stan, I understand how to find the functions. However, the bigger task is converting the areas and making everything go smoothly.
       
Post is unread #6 Jan 27, 2010, 6:22 pm   Last edited Jan 27, 2010, 6:23 pm by ayuri
Go to the top of the page
Go to the bottom of the page

ayuri
Magician
GroupMembers
Posts239
JoinedJun 13, 2008

As to a KEY'd area format:
#ROOM
Vnum     1201
Name     Thoric's Den~
Sector   inside~
Flags    nomob indoors private nosummon noastral~
Desc     You find yourself in a cozy little room.
This is the place where Thoric comes to relax, and get inspired!
Looking around yourself, you find this to be quite a comfortable, medieval
room, which seems to be inside some sort of log cabin.  There's a very nice
looking leather chair here in front of a huge fireplace, with a good blaze
going. On the mantle you see a fine assortment of pipes, and a couple jars
of high quality pipeweed.
On the floor you spot a full bear-skin rug in front of the fireplace, and you
suddenly get the urge to make yourself comfortable in front of the fire with
a mug of hot coffee, fill a pipe up with some pipeweed, relax and listen to
tales of days long past.
~
#EXDESC
ExDescKey    fireplace~
ExDesc       The fireplace contains a nice warm fire.
~
#ENDEXDESC

#EXDESC
ExDescKey    rug~
ExDesc       It sure does look inviting.
~
#ENDEXDESC

#EXDESC
ExDescKey    chair~
ExDesc       It looks very comfortable.
~
#ENDEXDESC

#ENDROOM


It just makes things a lot easier to read than trying to dig though the code and figure out what is what.

Guessing here from what Keirath posted:
Looking a room with rflags of 8388616 d3 is exit west O is object reset of some sort? R is room resets S - no idea.

I don't like to dig in area files by hand unless I'm looking for a prog or something.

Now this is something that would be very very nice.
ayuri
       
Post is unread #7 Jan 27, 2010, 6:26 pm
Go to the top of the page
Go to the bottom of the page

Keirath
Magician
GroupMembers
Posts144
JoinedJan 24, 2008

Ayuri, this is definitely something I want to figure out, because I definitely think it needs to make its way into SWRFUSS. And I'm willing to do it if I can figure it out.

Not only is it easier to read, it's more friendly. You can change stuff and NOT break the MUD.
       
Post is unread #8 Jan 27, 2010, 6:33 pm   Last edited Jan 27, 2010, 6:33 pm by ayuri
Go to the top of the page
Go to the bottom of the page

ayuri
Magician
GroupMembers
Posts239
JoinedJun 13, 2008

Oh ya. That's what makes it nice. I think Kayle did update swfotefuss1.4 to have keyed area's but I've no idea how he went about. I've honestly not taken a good hard look at it lately. But see this thread - at least for the bugfix log.

ayuri
       
Post is unread #9 Jan 27, 2010, 6:37 pm   Last edited Jan 27, 2010, 6:38 pm by Keirath
Go to the top of the page
Go to the bottom of the page

Keirath
Magician
GroupMembers
Posts144
JoinedJan 24, 2008

I can probably figure it out but I figured I'd ask some of the people that had done it so I can know what to avoid and how they went about it.

I listed in this post some of the stuff I want to do for SWRFUSS. If Kayle is cool with me doing all that and then sending it to him to get it uploaded, I'm all for doing it this week.

Edit: Reminds me, is the DNS resolver code in SWR? I didn't think it was. This is probably something else that would be useful.
       
Post is unread #10 Jan 27, 2010, 7:39 pm
Go to the top of the page
Go to the bottom of the page

ayuri
Magician
GroupMembers
Posts239
JoinedJun 13, 2008

I don't think the DNS resolver is in SWR. The other bits would be nice. However I'm not to sure about the xBV's as that whole topic a while back seemed to be about STD::bitset (?).

As to the other OLC goodies, could be fun. I've never played with them that much to really give them that much thought other than shuttles.

ayuri
       
Post is unread #11 Jan 28, 2010, 1:26 pm   Last edited Jan 28, 2010, 1:27 pm by Kayle
Go to the top of the page
Go to the bottom of the page

Kayle
Off the Edge of the Map
GroupAdministrators
Posts1,195
JoinedMar 21, 2006

I have a partially updated SWR FUSS lying around that I need to finish working with. It has the DNS Resolver, KEY'd Areas, and uhm.. Something else I can't remember.

Oh yeah, Color and the Nanny thing. But the nanny bit is what I need to finish.
       
Post is unread #12 Jan 28, 2010, 1:36 pm
Go to the top of the page
Go to the bottom of the page

Keirath
Magician
GroupMembers
Posts144
JoinedJan 24, 2008

What can I help you do?
       
Post is unread #13 Jan 28, 2010, 1:39 pm
Go to the top of the page
Go to the bottom of the page

Kayle
Off the Edge of the Map
GroupAdministrators
Posts1,195
JoinedMar 21, 2006

Well, when I finish this, it'll need tested for anything I missed.

I also need to know about any other bugs that are around that people haven't found.

A comparison between the SWRFUSS and SWFotEFUSS boards, and their appropriate BugFix lists, and links to any posts that don't appear on the list would be helpful too. Rooting through the forums for old posts is. Well. Not something I enjoy doing. And Especially not with the search functions of QSFP.
       
Post is unread #14 Jan 28, 2010, 1:42 pm
Go to the top of the page
Go to the bottom of the page

Keirath
Magician
GroupMembers
Posts144
JoinedJan 24, 2008

Alright, I'll go through and see what I can find. I also am willing to implement OLC shuttles, OLC liquids etc, and when a decision is made about extended bitvectors or std::bitset I am willing to do that too. I've been doing my best to find new bugs and well, break the mud.
       
Post is unread #15 Jan 28, 2010, 2:06 pm   Last edited Jan 28, 2010, 2:07 pm by Kayle
Go to the top of the page
Go to the bottom of the page

Kayle
Off the Edge of the Map
GroupAdministrators
Posts1,195
JoinedMar 21, 2006

While breaking it, make sure it's a stock SWRFUSS, or that you can duplicate (and document) how to replicate the bug in SWRFUSS. (and SWFotEFUSS if you're doing that one too.)
       
Post is unread #16 Jan 28, 2010, 3:39 pm
Go to the top of the page
Go to the bottom of the page

Keirath
Magician
GroupMembers
Posts144
JoinedJan 24, 2008

Yeah, I'm using stock FUSS to test. Absolutely nothing on this one has been changed.
       
Pages:<< prev 1 next >>