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 ➜ Dawn of Time ➜ Installing/compiling the server ➜ Can't get 'debug\dawn --createdirs' to work

Can't get 'debug\dawn --createdirs' to work

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


Posted by BishopOsiris   USA  (55 posts)  Bio
Date Wed 01 Jul 2015 06:42 PM (UTC)
Message
I'm trying to get DoT dawn1.69s.beta6 up and when I get to here:

21 Press <ctrl>+F5 and click on yes to compile the code if required
MSVC++ will compile the Dawn code then attempt to run the code
we need to create the missing directories using the 'dawn --createdirs' command.
22 open a command prompt
23 c: (change into c:)
24 cd \dawn (change into the dawn directory)
25 debug\dawn --createdirs (run the dawn binary you just compiled in directory create mode)

I can't get debug\dawn --createdirs to work. I've tried every variation I can think of and I get 1 of 2 errors:

The system cannot find the path specified.
or
'dawn\debug\--createdirs' is not recognized as an internal or external command, operable program or batch file.

I'm using MS Visual Studio Community 2013 (free) and the source code compiles. I had to add:

#pragma warning(disable: 4996) to comm.cpp
#define _WINSOCK_DEPRECATED_NO_WARNINGS to comm.cpp
#define _WINSOCK_DEPRECATED_NO_WARNINGS to dawnstat.cpp
#define _WINSOCK_DEPRECATED_NO_WARNINGS to netio.cpp
#define _WINSOCK_DEPRECATED_NO_WARNINGS to resolve.cpp

I don't see a way to attach files but I'm using:

dawn1.69s.beta6-src.tgz
dawn1.69s.beta4-support.tgz

I can certainly send these if they would help you trouble shoot. Again, everything compiles fine I just can't get the --createdirs command to work. Any help would be appreciated.

Bishop
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #1 on Wed 01 Jul 2015 08:35 PM (UTC)
Message
First step is to make sure you have dawn.exe as an output from that compile.

Quote:

'dawn\debug\--createdirs' is not recognized as an internal or external command, operable program or batch file.


That's two words. The "--createdirs" is an argument to the program "dawn.exe". There should be a space there.

- Nick Gammon

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

Posted by BishopOsiris   USA  (55 posts)  Bio
Date Reply #2 on Thu 02 Jul 2015 12:23 PM (UTC)
Message
Sorry, Nick. That probably did look a little confusing. What I meant when I said:

I've tried every variation I can think of and I get 1 of 2 errors:

The system cannot find the path specified.
or
'dawn\debug\--createdirs' is not recognized as an internal or external command, operable program or batch file.

is that I've tried all three separately and received:

dawn is not recognized as an internal or external command, operable program or batch file.

debug is not recognized as an internal or external command, operable program or batch file.

--creatdirs is not recognized as an internal or external command, operable program or batch file.

After you explained that I should be looking for dawn.exe file I realized that 1) it wasn't in the dawn directory at all because VS Community has a weird filing system and placed it somewhere else and 2) since I named the project DawnOfTime instead of dawn the file is actually called DawnOfTime.exe. So I found the file and ran the --createdirs command and it tells me it creates all the directories, directory creation completed successfully, and to start the mud normally to continue. So I follow the instructions in the start-up manual from Kalahn. I've tried ctrl-F5, Build Solution, Rebuild Solution, Build DawnOfTime, Rebuild DawnOfTime, and Compile. All come back with the same result. I get a DOS box that says all the directories I just created do not exist and it gives me instructions to go back and do exactly what I just did to create them.

What am I doing wrong?
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #3 on Thu 02 Jul 2015 08:36 PM (UTC)
Message
You've got the exe, great. As I recall you typed:


dawn --createdirs


... once only to create the directories, and then:


dawn 


(The same program) to start the MUD up. You don't need to recompile it at this point.

- Nick Gammon

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

Posted by BishopOsiris   USA  (55 posts)  Bio
Date Reply #4 on Mon 06 Jul 2015 12:53 AM (UTC)
Message
Ok, I've got this working. Kalahn's Getting Started doc is a bit out of date so I made another up-to-date one. I don't see a way to post documents to this site so can I just email it to you? I imagine it will be handy for anyone trying to load up the Dawn codebase in the future.
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #5 on Mon 06 Jul 2015 09:39 AM (UTC)
Message
OK - I sent my email address by PM.

- Nick Gammon

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

Posted by BishopOsiris   USA  (55 posts)  Bio
Date Reply #6 on Mon 06 Jul 2015 12:26 PM (UTC)
Message
Sorry, Nick. I've looked all over this site. I even did a search and I can't find the Private Message section anywhere. Can you point me in the right direction?
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #7 on Mon 06 Jul 2015 08:40 PM (UTC)
Message
You should have got an email from me via the forum. If you click on someone's profile you should see an option to send them a message.

- Nick Gammon

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

Posted by BishopOsiris   USA  (55 posts)  Bio
Date Reply #8 on Tue 07 Jul 2015 12:21 PM (UTC)
Message
Nick Gammon said:

You should have got an email from me via the forum. If you click on someone's profile you should see an option to send them a message.


Nick, this is the email I got:

Quote:

This message is from Nick Gammon at Gammon Forum.

--------------------------------------------------------
> Kalahn's Getting Started doc is a bit out of date so I made another up-to-date one. I don't see a way to post documents to this site so can I just email it to you?

OK - send it to my email address.

--------------------------------------------------------
You can visit the forum at:

http://www.gammon.com.au/forum/bbshowpost.php

- Nick

- -
Nick Gammon - Gammon Software Solutions

Web: http://www.gammon.com.au/


As you can see, your email address is not there. I tried using the link in your profile but that wouldn't accept the image files in my document.

Just to make this easier, if anyone wants the document just email me and I'll send it to you.

bishoposiris@gmail.com
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #9 on Tue 07 Jul 2015 08:59 PM (UTC)
Message
Oops. OK I sent you another email from me personally.

- Nick Gammon

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

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #10 on Thu 09 Jul 2015 08:07 PM (UTC)

Amended on Thu 09 Jul 2015 08:08 PM (UTC) by Nick Gammon

Message
The "getting started" document that Bishoposiris has kindly provided is available for download from:

http://www.gammon.com.au/files/mushclient/How_to_Start_Up_Dawn_Of_Time.pdf (2.6 MB)

This is a 28-page PDF document which has a lot of helpful information.

I suggest you RH-click and select "save target as" or whatever your web browser offers, to make a local copy of it.

- 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.


30,811 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.