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 ➜ TinyMUD

TinyMUD

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


Posted by Neves   USA  (78 posts)  Bio
Date Wed 11 Apr 2007 01:12 PM (UTC)
Message
I can't get it to run with cygwin, I'm getting a lot of compiling errors, any idea why?

-Mark
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #1 on Wed 11 Apr 2007 01:35 PM (UTC)
Message
No idea. Is TinyMUD a Smaug mod?

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Neves   USA  (78 posts)  Bio
Date Reply #2 on Wed 11 Apr 2007 03:26 PM (UTC)
Message
No, a simple C++ MUD made by Nick Gammon as a starter.
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #3 on Wed 11 Apr 2007 04:17 PM (UTC)
Message
TinyMUD should compile essentially out of the box. What errors are you getting, and what version of g++ do you have?

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

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

Posted by Neves   USA  (78 posts)  Bio
Date Reply #4 on Thu 12 Apr 2007 05:33 AM (UTC)
Message
The Cygwin setup file says I have gcc-g++;C++ compiler version 3.4.4-3

I only installed the standard Cygwin files plus gcc for C, C++ and make, maybe there is another file?


And here is what I get when I type make:

$ make
g++ -g3 -Wall -w -pedantic -c tinymudserver.cpp
tinymudserver.cpp:135: error: expected `)' before '&' token
tinymudserver.cpp:135: error: expected `)' before '&' token
tinymudserver.cpp:135: error: expected `)' before '&' token
tinymudserver.cpp:135: error: expected `,' or `;' before '&' token
tinymudserver.cpp:291: error: extra `;'
tinymudserver.cpp:415: error: extra semicolon
tinymudserver.cpp: In member function `tPlayer& tPlayer::operator<<(const T&)':
tinymudserver.cpp:411: error: expected primary-expression before ';' token
tinymudserver.cpp: At global scope:
tinymudserver.cpp:517: error: extra semicolon
tinymudserver.cpp:529: error: extra semicolon
tinymudserver.cpp: In function `tRoom* FindRoom(const int&)':
tinymudserver.cpp:757: error: no matching function for call to `std::runtime_err
or::runtime_error()'
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/stdexcept:109: note: candidates ar
e: std::runtime_error::runtime_error(const std::runtime_error&)
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/stdexcept:115: note: std::runtime
_error::runtime_error(const std::string&)
tinymudserver.cpp: In member function `tPlayer* tPlayer::GetPlayer(std::istream&
, const std::string&, const bool&)':
tinymudserver.cpp:839: error: no matching function for call to `std::runtime_err
or::runtime_error()'
tinymudserver.cpp:781: note: candidates are: std::runtime_error::runtime_error(c
onst std::runtime_error&)
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/stdexcept:115: note: std::runtime
_error::runtime_error(const std::string&)
tinymudserver.cpp: In function `void bailout(int)':
tinymudserver.cpp:861: error: `bStopNow' undeclared (first use this function)
tinymudserver.cpp:861: error: (Each undeclared identifier is reported only once
for each function it appears in.)
tinymudserver.cpp: In function `void DoShutdown(tPlayer*, std::istream&)':
tinymudserver.cpp:1787: error: `bStopNow' undeclared (first use this function)
tinymudserver.cpp: In function `void DoGoTo(tPlayer*, std::istream&)':
tinymudserver.cpp:1835: error: expected primary-expression before ',' token
tinymudserver.cpp: In function `void MainLoop()':
tinymudserver.cpp:2637: error: `bStopNow' undeclared (first use this function)
make: *** [tinymudserver.o] Error 1
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #5 on Thu 12 Apr 2007 05:54 AM (UTC)
Message
See this post:

http://www.gammon.com.au/forum/bbshowpost.php?id=4496&page=4

In the middle of that page it describes the changes I had to make to get it to compile under the latest gcc compiler.

- Nick Gammon

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

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #6 on Thu 12 Apr 2007 06:21 AM (UTC)
Message
I have applied the changes and made a new file for downloading:

http://www.gammon.com.au/files/muds/tinymudserver_v2_3.tgz

Its md5sum is: 2c0fb4f7ecff50708bbd713376c2ae6f

- Nick Gammon

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

Posted by Neves   USA  (78 posts)  Bio
Date Reply #7 on Thu 12 Apr 2007 07:43 AM (UTC)
Message
When trying to download the new file it says I don't have access.
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #8 on Thu 12 Apr 2007 09:45 AM (UTC)
Message
Don't know quite what happened then. I have fixed up the permissions, try again please.

- Nick Gammon

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

Posted by Neves   USA  (78 posts)  Bio
Date Reply #9 on Thu 12 Apr 2007 01:09 PM (UTC)
Message
We're good now, thnx
Top

Posted by Neves   USA  (78 posts)  Bio
Date Reply #10 on Thu 12 Apr 2007 01:46 PM (UTC)
Message
Getting a new error now when I try running TinyMUD, looks like this:

$ ./tinymudserver
Tiny MUD server version 2.2.0
Cannot initialise comms ...
bind: Address already in use

Suggestions?
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #11 on Thu 12 Apr 2007 03:57 PM (UTC)
Message
Turn off whatever program is already using that port, or change the port TinyMUD uses.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.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.


31,246 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.