I downloaded the SWR codebase for Visbasic C++, from the FTP site. All went ok, unzipped it and was rather surprised to see it all go into one folder. Checked i had the winzip "use folder" set up properly and tried again, with the same result.
Practical upshot is when I try to compile it, it compiles ok, but then cannot find command.dat. Are some files missing? Or am I being dense?
Answers on a postcard please.
It should all go into one folder. The file commands.dat should be in the system folder. I don't really have any suggestions on what you could do, except to make sure its there and make sure the paths are all marked correctly in the startup file.
Are the files commmands.dat, skills.dat etc. there?
If so, you need to make some folders unless they have changed the way it works.
Maybe that download is only the source.
What you could do is take the "stock" download (there is one on this site) and then copy your download on top of it (eg. on top of the src folder).
Ok, got that bit working. And onto other problems.
Basically in order to make it work I downloaded the folders from the linux version, and copied my version straight into the src folder, which I was rather surprised to find, worked like a charm. removing a couple of skills got rid of most of the errors, and my mud now runs from my local server. Go me.
However... (there's always a however) I now have another query for you guys. Suicide command doesn't work, registering this bug
<b>Log: [*****] BUG: Write_corpses: Cannot open file</b>
I've checked the various locals where it may be a problem and I think I've narrowed it down to save.c but beyond that I'm lost. Is this a problem due to the way I put this thing together or is it something else?
Make sure you have a folder called "corpses" at the same level as "system". i.e.
C:\bleh\dist\system\
C:\bleh\dist\players\
C:\bleh\dist\corpses\
Ok, it sort of solved it, as in the bug error message no longer appears, however it still does not boot players upon death, and they can still reload their character after death.
Help?