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 ➜ Couple of Questions.

Couple of Questions.

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


Posted by Jferguson620   (6 posts)  Bio
Date Thu 16 Nov 2006 10:58 AM (UTC)
Message
I am running Smaug 1.4a on Cygwin on my home computer, and I find cygwin is hard to edit code with, so I've downloaded CuteFTP. When I open any of the .c files it gives me a scrambled crapload of text, but when I open the .o file it lets me see it clearly *Or switch the .o and the .c* Anyways, when I am making changes to the mud, I would edit the file I could read, save it, then go into cygwin and make so it adds the changes I've made, or is there a differen't way?

Also, sometimes my cygwin will eat through my system resources violently and I will have to shut my mud down and clear log files and things, is there anyway to disable cygwin from keeping log files so it doesn't grow to large?

Also: I am looking for builders, wheres a good place to look for people who want to build and help out on the mud?

I've completed an area that I wish to add into my mud, how would I make it link and actually attach to my mud as a non prototype, or anyweb sites that help out with this, and is there a way to disable my colors or something? I remember before I used a command called colorize to edit mud colors, now there doesn't seem to be one.

Any answers are very much appreciated, and thank you in advance.
Top

Posted by Kiasyn Kelle   (15 posts)  Bio
Date Reply #1 on Thu 16 Nov 2006 11:06 AM (UTC)
Message
From what I remember you can edit cygwin files with any editor. Just browse to the dir as you would normally under windows. You want to read .c files not .o files.
Top

Posted by Tzaro   USA  (41 posts)  Bio
Date Reply #2 on Thu 16 Nov 2006 11:22 AM (UTC)
Message
If you're new to coding and haven't edited your copy of Smaug heavily yet, you may want to consider switching from Smaug1.4a to SmaugFUSS (I think the newest version is 1.7ish?) you can download SmaugFUSS at www.fussproject.org. It's a fixed up version of SMAUG... ie) major (if not all) bugs are fixed, several changes to the code that allow it to run more efficiently, added support for hotboot, ect.

it's the .c files you can read clearly. Any text editor should be able to open these files. In windows, I normally just use wordpad (although I run my game on a linux box and normally do the editing on it using either pico or vi). I really don't have much knowledge on Cygwin, but that sounds about right. Edit the file, save it, have Cygwin compile the changes.

You can check out sites such as mudmagic.com. They have a forum specifically dedicated to MUDs looking for a staff.

Assuming you built the area on the MUD, you can simply load your area using loadarea, then add it to the game using installarea <areaname.are>. Make sure you use aset to change the name of the area to what you want, along with other things you might want to change (like author, ect). Use aset after you've already installed the area.

Colorize is something you'd have to add to the MUD (assuming smaug 1.4a). I believe SmaugFUSS has what you're looking for... the command is simply 'color'. Hope this helps you out :)

Implementer of Lost Prophecy,
Tzaro
Top

Posted by Tzaro   USA  (41 posts)  Bio
Date Reply #3 on Thu 16 Nov 2006 11:47 AM (UTC)
Message
Also, for help with building, you can check out Herne's Building Guides found at:
http://webhome.idirect.com/~helspawn/smaug.html

Implementer of Lost Prophecy,
Tzaro
Top

Posted by Jferguson620   (6 posts)  Bio
Date Reply #4 on Thu 16 Nov 2006 12:33 PM (UTC)
Message
Wow, That building page is awesome! Thanks tons, thats really helpful!


I tried to install smaugFUSS, I got it up and running in my cygwin, am I supposed to have smaug 1.4a, then like link smaugfuss to it, or is smaugfuss its own source code and will run perfectly itself? I am a bit confused and would really like to run the fuss package since as ya said its prolly got a year or 10 on me in updates. Do you know of any setby step help tutorials to setup smaugfuss like we have here for smaug 1.4a, with cygwin and the whole bit?
Top

Posted by Jferguson620   (6 posts)  Bio
Date Reply #5 on Thu 16 Nov 2006 12:43 PM (UTC)
Message
Yea I just tried to re-install smaugfuss from that website, and when I log into admin/admin from that pre-generated player file it gives you, i type things like score, who, wizlist, color, colorize, it says, Huh? It does all of the socials though and seems to be up and running, its like pieces are missing. Also when I complied it, i changed the make file in src to Cygwin.Makefile, and typed make and it seemed to do everything normally, theres 2 makefiles, ones in src, and ones just in smaugfuss, do I need to move that other makefile and call it Makefile.Unix like I did for smaug 1.4a?
Top

Posted by Jferguson620   (6 posts)  Bio
Date Reply #6 on Thu 16 Nov 2006 12:56 PM (UTC)

Amended on Thu 16 Nov 2006 01:14 PM (UTC) by Jferguson620

Message
I reinstalled again, I read the 'readme' thing, and followed the directions of :Open the Makefile.
Uncomment the Cygwin definition and save the file.
Type make, in the src directory: its still doing the same thing to me, cannot use character like commands, its wierd... suggestions? Oh and I'm using

tar xzf to unzip the program in cygwin
Top

Posted by Conner   USA  (381 posts)  Bio
Date Reply #7 on Thu 16 Nov 2006 04:50 PM (UTC)
Message
SmaugFUSS 1.7 is the fixed up version of what Smaug 1.4a was. You don't need the Smaug at all if you're using SmaugFUSS, it's the whole thing by itself.

Once you've made the changes to the Makefile, it should all be running properly from there. But you might use the cedit command to double check that the commands giving you "Huh?" responses are set up as commands with appropriate level settings.

Honestly, it sounds to me like the dynamic commands code is getting hung up on you, you might want to double check www.fussproject.org to see if there are any libraries you're missing or some such to cause that.. I'd offer more specific help here, but I don't use version 1.7 of SmaugFUSS so my version doesn't have the dynamic command code in it, and I don't use cygwin, I use linux.

-=Conner=-
--
Come test your mettle in the Land of Legends at telnet://tcdbbs.zapto.org:4000
or, for a little family oriented medieval fun, come join us at The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org
or, if you just want information about either, check our web page at http://tcdbbs.zapto.org
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.


25,405 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.