Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ buying rooms at the Inn

buying rooms at the Inn

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Taebryn   (58 posts)  Bio
Date Sun 22 Feb 2004 03:22 PM (UTC)
Message
is there any way i could code in to where one can buy rooms between 2 vnums, and have it limited, so like the Inn will be full if people have bought all 10 rooms

and they will spawn there after saving and returning
it can be used as a store room

they can like only own it for 5 days
that way its not always full

Arthurian MUD in development.

Reign of Arthur
http://arthur.vze.com
Top

Posted by Greven   Canada  (835 posts)  Bio
Date Reply #1 on Sun 22 Feb 2004 05:12 PM (UTC)
Message
There is a way to do almost anything. Whether it's worth the effort to do so is another message. I don't know if smaug has clan store rooms or personal homes like SWR, but you can take a look at that code for ideas how to do it. You would also need to create some method of recording how many rooms are left of the total. Perhaps INN_DATA or something similiar. When you decide how you want to do it, we can answer technical questions much easier.

Nobody ever expects the spanish inquisition!

darkwarriors.net:4848
http://darkwarriors.net
Top

Posted by Taebryn   (58 posts)  Bio
Date Reply #2 on Sun 22 Feb 2004 05:31 PM (UTC)
Message
i would love to use SWR, but i have not found a Win32 port of it, and i do not know how to use cygwin

so im stuck using this smaug 1.4a ported win32
i would like to use the clan store rooms as a type of house, how can i do this

Arthurian MUD in development.

Reign of Arthur
http://arthur.vze.com
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #3 on Mon 23 Feb 2004 12:06 AM (UTC)
Message
I thought there was one in the download area here:

ftp://ftp.gammon.com.au/smaug/StarWars.zip

Anyway, I suggest that if you are going to run a MUD it would help to get used to coding, otherwise the code is going to be the same as everyone else's including messages like "Thoric says blah" when you probably won't have a Thoric in your game.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Taebryn   (58 posts)  Bio
Date Reply #4 on Mon 23 Feb 2004 12:19 AM (UTC)
Message
it gives to many area error messages
but, back on subject, can i turn storage rooms into houses some kinda way?

Arthurian MUD in development.

Reign of Arthur
http://arthur.vze.com
Top

Posted by Greven   Canada  (835 posts)  Bio
Date Reply #5 on Mon 23 Feb 2004 12:24 AM (UTC)
Message
Yes, you look at the code in SWR, use/modify it to smaug, and implement it that way. No one is going to write something like that for you, nor could they without seeing what you already have.

Nobody ever expects the spanish inquisition!

darkwarriors.net:4848
http://darkwarriors.net
Top

Posted by Robert Powell   Australia  (367 posts)  Bio
Date Reply #6 on Mon 23 Feb 2004 08:32 AM (UTC)
Message
there is a smaug player housing snippet on kyndig where the player can rent an apartment or buy a house and fit it out with furniture, mobs and multiple rooms. I cant tell you how easy it is to install as i havent gotten to that one yet.

Just a guy having a bit of fun. Nothing more, nothing less, I do not need I WIN to feel validated.
Top

Posted by Taebryn   (58 posts)  Bio
Date Reply #7 on Mon 23 Feb 2004 03:15 PM (UTC)
Message
ok thanks i will look into it

Arthurian MUD in development.

Reign of Arthur
http://arthur.vze.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


21,718 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.