The Dawn Of Time
The Official Forums for the Dawn Of Time Mud Codebase
 
Log in Register FAQ Memberlist Search The Dawn Of Time Forum Index Goto the Official Dawn Website

--createdirs problem or something else?

 
Post new topic   Reply to topic    The Dawn Of Time Forum Index » Getting Started
View previous topic :: View next topic  
Author Message
lvl9bleh



Joined: 01 May 2009
Posts: 6

PostPosted: Fri May 01, 2009 4:37 am    Post subject: --createdirs problem or something else? Reply with quote

Working in WindowsXP, MSC++ '08.

I got a clean compile (with some help from the forum) but the next part is getting a little sticky. My main DIR is C:\dawn but when I compiled the code it created another DIR within the \dawn DIR that I named Dawn. I opened command prompt and went to C:\dawn and tried to execute createdirs

C:\dawn> debug \Dawn --createdirs

I get a list of directories that are created and I close the command prompt. However, when I go back and try and rebuild the code it tells me that I don't have the directories in place, I think... I think after I do the rebuild I should be able to log into the mud but I don't think anything is happening. This is the info after the codefile list stuff.

Generating Code...
Compiling manifest to resources...
Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
Copyright (C) Microsoft Corporation. All rights reserved.
Linking...
LINK : C:\Dawn\Debug\Dawn.exe not found or not built by the last incremental link; performing full link
Embedding manifest...
Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
Copyright (C) Microsoft Corporation. All rights reserved.
Build log was saved at "file://c:\dawn\Dawn\Debug\BuildLog.htm"
Dawn - 0 error(s), 0 warning(s)

So I guess my question is, did I create the directories correctly and this is a different problem? Also I think my dawn.exe file is in /dawn/Debug but when i try to open it a screen flashes open and closes...Any ideas? Thanks in advance Smile


Back to top
View user's profile Send private message
Daos



Joined: 29 Jan 2003
Posts: 1219
Location: United States

PostPosted: Fri May 01, 2009 8:03 am    Post subject: Reply with quote

Hi -

Check your bootup logs, see where it is getting hung up on.



_________________
- Daos

http://www.dawnoftime.org
Back to top
View user's profile Send private message Send e-mail Visit poster's website
lvl9bleh



Joined: 01 May 2009
Posts: 6

PostPosted: Sat May 02, 2009 4:04 am    Post subject: Reply with quote

Ok, looked at my build log and this is the only bad stuff i'm seeing.



Creating command line "cl.exe @c:\dawn\Dawn\Debug\RSP00000F38881080.rsp /nologo /errorReport:prompt"
]
Creating command line "link.exe @c:\dawn\Dawn\Debug\RSP00001138881080.rsp /NOLOGO /ERRORREPORT:PROMPT"
Creating temporary file "c:\dawn\Dawn\Debug\RSP00001238881080.rsp" with contents
[
/out:.\Debug\Dawn.exe.embed.manifest /notify_update /manifest

What would cause this?


Back to top
View user's profile Send private message
Daos



Joined: 29 Jan 2003
Posts: 1219
Location: United States

PostPosted: Sat May 02, 2009 12:07 pm    Post subject: Reply with quote

There is another set of game logs located in ../logs/game - Copy/paste the last 200 lines or so of the most recent file.



_________________
- Daos

http://www.dawnoftime.org
Back to top
View user's profile Send private message Send e-mail Visit poster's website
lvl9bleh



Joined: 01 May 2009
Posts: 6

PostPosted: Sat May 02, 2009 2:52 pm    Post subject: Reply with quote

Ok, my path was mycomputer->dawn->logs->game

There was nothing in it.

I also used command prompt C:\ cd \dawn\logs\game

Nothing in that file. Does that mean i got the directories set up incorrectly? Also, this is what happens when I do a Ctrl+F5 in MSC++

[2148]May 03 11:17:48::
-= The Dawn of Time (Win32c++) was last compiled on May 3 2009 at 11:13:38 =-
-= Parent codebase version Dawn 1.69r - 1February04:

:: no directory area\ - used for 'area files'
:: no directory area\ril\ - used for 'area Room Invite List files'
:: no directory bak_area\ - used for 'backup area files'
:: no directory bak_area\ril\ - used for 'backup area Room Invite List files'

:: no directory help\ - used for 'help files'
:: no directory bak_help\ - used for 'backup help files'
:: no directory logs\ - used for 'logfiles root dir'
:: no directory logs\olc\ - used for 'logdir: olc related logs'
:: no directory logs\code\ - used for 'logdir: code related logs'
:: no directory logs\admin\ - used for 'logdir: admin related logs'
:: no directory logs\plogs\ - used for 'logdir: player logs'
:: no directory logs\rstrlogs\ - used for 'logdir: restring logs'
:: no directory logs\channels\ - used for 'logdir: channel logs'
:: no directory logs\support\ - used for 'logdir: support related logs'
:: no directory logs\game\ - used for 'logdir: game logs (port-yymmdd-x.lo
g)'
:: no directory logs\immlogs\ - used for 'logdir: imm logs'
:: no directory system\ - used for 'game system parameters root directo
ry'
:: no directory data\ - used for 'mud dynamic data directory'
:: no directory system\languages\ - used for 'languages system files'
:: no directory system\classes\ - used for 'output from 'class makealltables''
:: no directory system\deities\ - used for 'contains all the deity info.'
:: no directory scripts\ - used for 'contains all the scripts runable wi
th the script system'
:: no directory notes\ - used for 'notes directory'
:: no directory player\ - used for 'player files'
:: no directory player\retired\ - used for 'retired imms/heros directory'
:: no directory player\remort\ - used for 'Backup pfiles of players just befor
e they begin remort.'
:: no directory player\locked\ - used for 'pfiles requiring an email unlock co
de'
:: no directory player\builder\ - used for 'pfiles of those with olc access'
:: no directory player\trusted\ - used for 'pfiles of mortals with immortal tru
st'
:: no directory player\immortal\ - used for 'pfiles of immortal characters'
:: no directory player\dead\ - used for 'Pkilled pfiles'
:: no directory player\deleted\ - used for 'Pfiles of deleters above lvl 5'
:: no directory player\locked\ - used for 'Pfiles that require an emailed unlo
ck code to play.'
:: no directory msp\ - used for 'msp base directory - should be a li
nk to the base webpage url'
:: no directory msp\action\ - used for 'msp action sounds directory'
:: no directory msp\combat\ - used for 'msp combat sounds directory'
:: no directory msp\mobprog\ - used for 'msp mobprog sounds directory - soun
ds called from mprogs'
:: no directory msp\room\ - used for 'msp room sounds directory'
:: no directory msp\skills\ - used for 'msp skills sounds directory'
:: no directory msp\spells\ - used for 'msp spells sounds directory'
:: no directory msp\weather\ - used for 'msp weather sounds directory'
::
To create all these directories start the mud as:
'c:\dawn\Debug\Dawn.exe --createdirs'
from within 'c:\dawn\Dawn'


Press any key to continue . . .


Back to top
View user's profile Send private message
lvl9bleh



Joined: 01 May 2009
Posts: 6

PostPosted: Fri May 08, 2009 9:43 am    Post subject: Reply with quote

Well, thanks...I guess, to the one person that replied. I did manage to figure out myself that I can get the dawn.exe file to run by moving it from the Debug folder to the main dawn directory.

That created another problem since now I can do whatever I want to the src files and rebuild them but the changes do not show in the game at all.

I could use some help Smile


Back to top
View user's profile Send private message
Daos



Joined: 29 Jan 2003
Posts: 1219
Location: United States

PostPosted: Fri May 08, 2009 11:31 am    Post subject: Reply with quote

Hi -

Go into windows command prompt into the running directory; and type in:

Code:
dawn --createdirs


It will run a program to create the necessary dawn directories.



_________________
- Daos

http://www.dawnoftime.org
Back to top
View user's profile Send private message Send e-mail Visit poster's website
lvl9bleh



Joined: 01 May 2009
Posts: 6

PostPosted: Sat May 09, 2009 6:28 am    Post subject: Reply with quote

Ok, after a lot of experimentation I figured out what I was doing incorrect.

When I unpacked the .tar files Winrar was adding an extra file path making file like \dawn\area a sub-directory of dawn1.69r-support. So I deleted everything and started over.

I opened the support file within Winrar then unpack each folder individualy to set the path. This still placed the target files in a sub-directory of dawn1.69r-support (ie. \dawn\area\dawn1.69r-support\area)

So I moved all the stuff back to the primary directory and deleted the sub-path and repeated the process with the other files in the support dl and the src dl(it did the same thing with unpacking src). This probably could have been made easier but after everything going right I didn't have the ambition to try anything else =)

Now when I change code it will show in the game so I'm golden. My next project is to work on hotreboot. Thank for the help!


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    The Dawn Of Time Forum Index » Getting Started All times are GMT + 13 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001-2005 phpBB Group
Theme created by Vjacheslav Trushkin