Toggle navigation
Home
Forum
Files
MUDs
Paste
Wiki
Log in
MudBytes Community Forum
SMAUG
/
Copying files
Reply
First
1
Last
15 Oct, 2008,
Zeno
wrote in the 1st comment:
Votes:
0
I had a MUD running in a folder called mud.
I did a cp -r on it to a new folder called "pvp".
In "pvp", I did a make clean, deleted all pfiles.
In "pvp", I boot it on a new port.
And yet for some reason, this new copy is using all the pfiles from the "mud" copy it came from. I don't know why. Obviously:
#define PLAYER_DIR "../player/" /* Player files */
The only thing I can think of is that the exec is linked in memory, but I made sure the old exec from "mud" was deleted and did a make clean.
I've tried rebooting pvp, still same issue. No pfiles exist under ../player/
15 Oct, 2008,
Caius
wrote in the 2nd comment:
Votes:
0
You wouldn't happen to have the path/to/mud hardcoded in the startup script or something like that?
15 Oct, 2008,
Zeno
wrote in the 3rd comment:
Votes:
0
Nope.
# Change to area directory.
cd ../area
15 Oct, 2008,
David Haley
wrote in the 4th comment:
Votes:
0
Would you mind showing a transcript of the entire sequence of commands, just for sanity checking?
15 Oct, 2008,
Zeno
wrote in the 5th comment:
Votes:
0
I got it. The backup system was using hardcoded paths. *facepalm*
Random Picks
Erion
Star Wars: Galactic Horizon
Age of Heroes: Fire, Iron and Blood
Top
Jump to
Bottom
0.0
/
5
I did a cp -r on it to a new folder called "pvp".
In "pvp", I did a make clean, deleted all pfiles.
In "pvp", I boot it on a new port.
And yet for some reason, this new copy is using all the pfiles from the "mud" copy it came from. I don't know why. Obviously:
The only thing I can think of is that the exec is linked in memory, but I made sure the old exec from "mud" was deleted and did a make clean.
I've tried rebooting pvp, still same issue. No pfiles exist under ../player/