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 ➜ Running the server ➜ Problem starting

Problem starting

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


Pages: 1 2  

Posted by Darknaj   (18 posts)  Bio
Date Fri 30 Mar 2001 09:40 PM (UTC)
Message
I'm trying to make a person a wiz so i do everything, i copy the char file into gods file and edit that one to lvl. 60. then i go in the game and it works but the next time i log in I can't do the immortal things. eg. edit mobiles, rooms, or anything. As well as i change the part using heit motd, but it never stays changed. I do save it. Almost done. How do i change the very first screen, the one that comes before the login. Last but not least could i get this to run of a site eg. yahoo geocities.



Thats all.
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #1 on Fri 30 Mar 2001 10:07 PM (UTC)
Message
I would just edit their character file and change their level (eg. to 65) but not put it anywhere else.

As for the Message of the Day, edit the file help.are and look for the help message: GREETING

I'm not sure about running it from Geocities - you would need to ask if they let you run MUD servers.

My SMAUG FAQ mentions how to find hosts for MUD games - that is probably the way to go.

- Nick Gammon

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

Posted by Darknaj   (18 posts)  Bio
Date Reply #2 on Fri 30 Mar 2001 11:11 PM (UTC)
Message
Yeah, i would goto a mud hosting site but so far there all expensive. if anyone know a place for free mud hosting email me, though i know it ain't going to happen.
Top

Posted by Translucent Hate   USA  (48 posts)  Bio
Date Reply #3 on Sun 01 Apr 2001 12:07 AM (UTC)
Message
its not free but if you can scrounge up
20-30 bucks a month you should try here...

http://www.betterbox.net/accounts/index.html

i've heard good things about their service.
also... i plan on doing any major coding before
putting mine out to public eye, because i can't
get on to any account to fix it if there is
any kind of major problems....

hope that helps a little
Top

Posted by Darknaj   (18 posts)  Bio
Date Reply #4 on Sun 01 Apr 2001 01:09 PM (UTC)
Message
Yeah it does.
Well i found another site and was wondering how do i get it to work of the site. I most likly have to upload everything and then some how get the server to run it?

And how do you change the part before the login? where it says:


Smaug (then piscture)


(then lists coders)


If you want to start a new character type new:
login name:
Password:

^thats what i want to change^
Top

Posted by Translucent Hate   USA  (48 posts)  Bio
Date Reply #5 on Sun 01 Apr 2001 02:10 PM (UTC)
Message
whats cool with betterbox is with an extra $10 bucks
with the first payment they actually help you set it
up and get it all running... which is pretty sweet..

and as far as editing the title screen what nick said
is correct, you would just go into help.are in the
area folder and do a find for greeting....
Top

Posted by Darknaj   (18 posts)  Bio
Date Reply #6 on Sun 01 Apr 2001 04:20 PM (UTC)
Message
Thanks!
Now all i have to do is set it up on the site.
I know i upload everything, then take the name of the site(i think) then type in port number.

Just a question, since i've seen this done, how could i get it to open in a java client, or should i just ask a web master who has one?


If you ever need a person to beta test an area editor or mud server, just ask me.
Top

Posted by Translucent Hate   USA  (48 posts)  Bio
Date Reply #7 on Sun 01 Apr 2001 04:23 PM (UTC)
Message
in order to get it running from a site you
would need to have a shell to connect to to
start the mud whenever it crashes or has problems...
thats why the mud hostings have to have you pay
for their services... just going and putting
your mud on geocities more than likely wouldn't
work because if i'm correct they don't have shell
accounts for you to get into... but if they do
more power to you...

and for the java... no clue, do like you said...
Top

Posted by Darknaj   (18 posts)  Bio
Date Reply #8 on Sun 01 Apr 2001 04:27 PM (UTC)
Message
Oh yeah, stupid me forgot to ask.


How do you get a pipe to hold more?
How does the command cook work (can't get it to)?

what do these mean under diety

if i wanted to make a diety only
a certian class can join...say rangers.
what would i need to edit.

and what does everything mean below.
~
Alignment 0
Worshippers 1673
Flee -2
Flee_npcrace 0
Flee_npcfoe 0
Kill 10
Kill_npcrace 0
Kill_npcfoe 20
Kill_magic 1
Sac 2
Bury_corpse 0
Aid_spell 1
Aid 3
Steal 0
Backstab 0
Die -125
Die_npcrace 0
Die_npcfoe -65
Spell_aid 1
Dig_corpse -6
Scorpse 1425
Savatar 700
Sdeityobj 750
Srecall 900
Race -1
Class 4
Element 0
Sex -1
Affected 0
Npcrace 0
Npcfoe 90
Suscept 0
Race2 -1
Susceptnum 0
Elementnum 0
Affectednum 0
Objstat 4
End


sorry about all the questions
but i always want to know more :)
Top

Posted by Translucent Hate   USA  (48 posts)  Bio
Date Reply #9 on Sun 01 Apr 2001 04:39 PM (UTC)
Message
don't know... i didn't bother screwing around with
deities... i'm more of a rom code guy now...

i'd wait and see if nick has any input on that...
Top

Posted by Darknaj   (18 posts)  Bio
Date Reply #10 on Sun 01 Apr 2001 04:41 PM (UTC)
Message
k, i guess i'll mess around with a new one until i figure it out
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #11 on Sun 01 Apr 2001 05:33 PM (UTC)
Message
You are taking me well out of my area of expertise here. :)

I ported the C code from Unix to Windows, however in the process I only really needed to change the TCP/IP code, it wasn't necessary to understand every last line of code.

I have no idea what all those fields mean in the deity file. You could post such a question onto another forum (if you can find one) which handles general SMAUG questions, alternatively browse through the source code and see what affect each of those keywords seems to have.

If you find out, please post the answer here for future reference.

- Nick Gammon

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

Posted by Darknaj   (18 posts)  Bio
Date Reply #12 on Sun 01 Apr 2001 09:38 PM (UTC)
Message
At least i'm asking challanging questions. I found a doc on it, part of the smaug download, and it lists what the main ones mean. But still how do you get the stupid cook command to work?? i have a fire and have food, but it won't cook.
Top

Posted by Translucent Hate   USA  (48 posts)  Bio
Date Reply #13 on Sun 01 Apr 2001 10:52 PM (UTC)
Message
Just forget it and code a microwave man! :)
But like I said... I'm not really a smaug man,
i'm just trying to get a working swr for my
friend...

Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #14 on Sun 01 Apr 2001 11:17 PM (UTC)

Amended on Sun 01 Apr 2001 11:36 PM (UTC) by Nick Gammon

Message
You can usually work there things out by looking at the source.

Quote:

"Use the Source, Luke!"


Even if you are not an expert in reading C, you can usually get the gist by browsing the source code.

Most of the operations in SMAUG are in the source preceded by the word "do_", therefore I looked for a function called "do_cook".

Inside do_cook (in skills.c) I found what looked relevant, namely:



  if ( food->item_type != ITEM_COOK )
    {
    send_to_char("How can you cook that?\n\r", ch );
    return;
    }



It seems you need to cook things which are marked as item type "ITEM_COOK".

Now to get cooking to work I need to create such an item, so I used the Area Editor, but couldn't find a "cook" item type. OK, time to open the editor configuration file, and compare the item types to the ones listed in the SMAUG mud.h file...



/*
* Item types.
* Used in #OBJECTS.
*/
typedef enum
{
ITEM_NONE, ITEM_LIGHT, ITEM_SCROLL, ITEM_WAND, ITEM_STAFF, ITEM_WEAPON,
ITEM_FIREWEAPON, ITEM_MISSILE, ITEM_TREASURE, ITEM_ARMOR, ITEM_POTION,
ITEM_WORN, ITEM_FURNITURE, ITEM_TRASH, ITEM_OLDTRAP, ITEM_CONTAINER,
ITEM_NOTE, ITEM_DRINK_CON, ITEM_KEY, ITEM_FOOD, ITEM_MONEY, ITEM_PEN,
ITEM_BOAT, ITEM_CORPSE_NPC, ITEM_CORPSE_PC, ITEM_FOUNTAIN, ITEM_PILL,
ITEM_BLOOD, ITEM_BLOODSTAIN, ITEM_SCRAPS, ITEM_PIPE, ITEM_HERB_CON,
ITEM_HERB, ITEM_INCENSE, ITEM_FIRE, ITEM_BOOK, ITEM_SWITCH, ITEM_LEVER,
ITEM_PULLCHAIN, ITEM_BUTTON, ITEM_DIAL, ITEM_RUNE, ITEM_RUNEPOUCH,
ITEM_MATCH, ITEM_TRAP, ITEM_MAP, ITEM_PORTAL, ITEM_PAPER,
ITEM_TINDER, ITEM_LOCKPICK, ITEM_SPIKE, ITEM_DISEASE, ITEM_OIL, ITEM_FUEL,
ITEM_EMPTY1, ITEM_EMPTY2, ITEM_MISSILE_WEAPON, ITEM_PROJECTILE, ITEM_QUIVER,
ITEM_SHOVEL, ITEM_SALVE, ITEM_COOK, ITEM_KEYRING, ITEM_ODOR
} item_types;



Now, looking at the relevant section in the area editor configuration file:



#ITEM

(none)
Light
Scroll
Wand
Staff
Weapon
Fireweapon
Missile
Treasure
Armor
Potion
Worn
Furniture
Trash
Oldtrap
Container
Note
Drinkcon
Key
Food
Money
Pen
Boat
Corpse
Corpse_pc
Fountain
Pill
Blood
Bloodstain
Scraps
Pipe
Herbcon
Herb
Incense
Fire
Book
Switch
Lever
Pullchain
Button
Dial
Rune
Runepouch
Match
Trap
Map
Portal
Paper
Tinder
Lockpick
Spike
Disease
Oil
Fuel
Shortbow
Longbow
Crossbow
Projectile
Quiver
Shovel
Salve
End



My item type list ended at "Salve", but I could see from the mud.h file that there were three new ones, cook, keyring, and odor. Thus, they needed to be added to the end of the list, between the word "Salve" and "End".



Cook
Keyring
Odor



After reprocessing the configuration file in the area editor (by opening the preferences screen and then clicking OK) I was able to create a piece of meat of type "cook".

I put that into an area, along with a fire of type "fire", and restarted SMAUG.

Now I was able to cook something, but got this message:


A piece of steak catches on fire burning it to a crisp!


It seems my skill level wasn't high enough.

By giving myself the "cook" skill, like this:


sset self cook 100


I was able to cook the meat...


You roast a piece of steak.


- Nick Gammon

www.gammon.com.au, www.mushclient.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.


53,857 views.

This is page 1, subject is 2 pages long: 1 2  [Next page]

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.