Changes not showing up?

Posted by Ombrenuit on Wed 30 Mar 2005 08:32 PM — 7 posts, 27,084 views.

#0
For my first additions to the smaug code I changed the days of the week and the months. However, a simple test of this (through the time command) showed no apparent change! (the days and months were the defaults!) Is there something I'm missing? Do I have to delete files so that the new can be made? How are changes supposed to show up?

I just changed the two structures in act_info.c and it made it seem as if it were compiling the changes...yet, nothing to show for it. What is going on?
Amended on Wed 30 Mar 2005 08:41 PM by Ombrenuit
USA #1
First of all, make sure that it did in fact compile (properly). Next, reboot/copyover your mud so it uses the brand spankin new executable and you should see your changes.

If you need help on compiling you could probably just search the forums or online. Should be as simple as changing the file and typing make.
#2
How do I reboot/copyover? (in Cygwin?)

I'm using cygwin, which could be a problem? I made sure that I did in fact compile (because I intentionally stuck in an error to make sure it would catch it, which it did. When I fixed the error it says "compiled successfully", so I go to the /area directory ./smaug.exe and I still don't see a change)
Amended on Wed 30 Mar 2005 10:08 PM by Ombrenuit
USA #3
Use the reboot command in Smaug.
USA #4
Indeed. Also, I'm not sure if /area is where it outputs the new exe, but you may wanna check the date on the file to make sure that is the correct one to be using. Otherwise its probablly in the /src directory (like mine).
#5
What I was afraid of. Yes, the .exe in the area directory is old, so when replaced with the new .exe I am overjoyed with:

Wed Mar 30 22:05:42 2005 :: Fixing exits
Wed Mar 30 22:05:42 2005 :: Initializing economy
Wed Mar 30 22:05:42 2005 :: Resetting areas
Segmentation fault (core dumped)

...just what I needed. The old .exe does not give this error.
USA #6
After compiling, the exe file should not move from the src directory. It should always be in the src dir anyways. If the game is crashing, use gdb to debug it.