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 ➜ newbie coloring question

newbie coloring question

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


Pages: 1  2 3  4  

Posted by Devbmx   (50 posts)  Bio
Date Reply #15 on Wed 17 Mar 2004 08:27 PM (UTC)
Message
i really wana get fuss since it has all the fixes on it and on your site it looks like all of them are for cygwin/unix only which is why ive been trying to dl cygwin, and it says on your site ygwin should only take at the max 500-600 mb, but i lose 900mb
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #16 on Wed 17 Mar 2004 08:52 PM (UTC)
Message
Looks like the FUSS source has the Win32 stuff in it, so it may well compile under Visual C++, but I haven't tried recently.

- Nick Gammon

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

Posted by Devbmx   (50 posts)  Bio
Date Reply #17 on Thu 18 Mar 2004 12:33 AM (UTC)
Message
how do i get the fuss source? i tried downloading the smaug.1.4a.gz and uncompressed it with pico and was just a file that i couldnt open with anything that i have
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #18 on Thu 18 Mar 2004 01:16 AM (UTC)
Message
Try using winzip.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Devbmx   (50 posts)  Bio
Date Reply #19 on Thu 18 Mar 2004 01:22 AM (UTC)
Message
winzip wont unzip it
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #20 on Thu 18 Mar 2004 01:29 AM (UTC)

Amended on Thu 18 Mar 2004 01:45 AM (UTC) by David Haley

Message
Under a Unix-like environment, type:
tar -xzf smaug[whateverit'scalled]

Looks like you'll need Cygwin. Just follow Nick's instructions (on the download page) to the letter and you should have no trouble. Don't make any "creative additions", just follow them exactly and it'll all work.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Devbmx   (50 posts)  Bio
Date Reply #21 on Thu 18 Mar 2004 01:33 AM (UTC)
Message
i did follow them EXACTLY and even unselected the ones werent in the one nick had but came automaticly selected in the one i had
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #22 on Thu 18 Mar 2004 01:46 AM (UTC)
Message
It's worked for plenty of people before you. If it didn't work for you, you must have done something wrong, somewhere. :)

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Devbmx   (50 posts)  Bio
Date Reply #23 on Thu 18 Mar 2004 02:15 AM (UTC)
Message
i stick to the fact that my computer is a POS, im sure the cygwin installer worked first try for everyone else besides me as well, but it doesnt for me like i said it very rarely works for me and when it does it runs out of memory before its even done
Top

Posted by Samson   USA  (683 posts)  Bio
Date Reply #24 on Thu 18 Mar 2004 02:17 AM (UTC)
Message
It should be noted that I have no means to verify if it will still compile under VC++ but if it did stock, there's nothing major enough that should choke it now unless it doesn't like the new color system.
Top

Posted by Meerclar   USA  (733 posts)  Bio
Date Reply #25 on Thu 18 Mar 2004 02:27 AM (UTC)
Message
For starters, the smaug downloads available here are tgz files - meaning you cannot simply untar or ungzip and expect to make sense of the files, you *must* do both. This also changes the switch used in a *nix environment since you need to add the ungzip flag (-xvzf I believe it is to unpack a tgz properly). Winzip *can* handle tgz files but you have to stop winblows from changing the file extension when you download.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
Top

Posted by Devbmx   (50 posts)  Bio
Date Reply #26 on Fri 19 Mar 2004 06:06 AM (UTC)

Amended on Fri 19 Mar 2004 06:12 AM (UTC) by Devbmx

Message
ok i got everything running on cygwin on another computer on my LAN, now im still haveing troubls with the color, and i am having errors while compiling which are
act_comm.c in function 'do_say'
act_comm.c:937:error:syntax error before string constant

and the code was
act( AT_SAY, AT_BLUE "You say AT_LBLUE '$T'", ch, NULL, drunk_speech( argument, ch ), TO_CHAR );
i dunno what im doing wrong, im still trying to find things online to teach myself c so i can stop bugging you guys about what im sure is an EXTREMLY easy thing to do. I did everything in the post you had shown me but in smaugfuss there doesnt apear to be the same send_to_char as in the other smaug i had used before which DID have that so i didnt comment anything out, perhaps that is a problem as well?
Top

Posted by Greven   Canada  (835 posts)  Bio
Date Reply #27 on Fri 19 Mar 2004 06:14 AM (UTC)

Amended on Fri 19 Mar 2004 06:42 AM (UTC) by Greven

Message
Well, so you know for reference, that a function(like act) can only accept as many inputs as is specified in the function code, so you can't just add in other data. Try this instead:
act( AT_BLUE, "You say '$T'", ch, NULL, drunk_speech( argument, ch ), TO_CHAR ); 


I think thats what you were trying to do, make all the text blue? If you really wanted to, you could:
act(  AT_BLUE, "&RY&Co&Ru &Cs&Ra&Cy &R'&C$T&R'", ch, NULL, drunk_speech( argument, ch ), TO_CHAR );
Now, that will look really, really ugly, and give you far less functionality, but sometimes it worth it to make it look as you want.

Nobody ever expects the spanish inquisition!

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

Posted by Devbmx   (50 posts)  Bio
Date Reply #28 on Fri 19 Mar 2004 06:17 AM (UTC)

Amended on Fri 19 Mar 2004 06:37 AM (UTC) by Devbmx

Message
kind of, i actually wanted the "you say." to be blue and what your saying to be light blue
and when i try to compile with the code you gave me i still get the same error along with
make[1] *** [act_comm.o]error 1
Top

Posted by Greven   Canada  (835 posts)  Bio
Date Reply #29 on Fri 19 Mar 2004 06:44 AM (UTC)

Amended on Fri 19 Mar 2004 06:45 AM (UTC) by Greven

Message
Pardon me, I have amended the post, I forgot a comma. If you just want that, try this:
act( AT_BLUE, "You say '&C$T&D'", ch, NULL, drunk_speech( argument, ch ), TO_CHAR ); 


That should do 'er.

Nobody ever expects the spanish inquisition!

darkwarriors.net:4848
http://darkwarriors.net
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.


145,102 views.

This is page 2, subject is 4 pages long:  [Previous page]  1  2 3  4  [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.