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, 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.
 Entire forum ➜ SMAUG ➜ Compiling the server ➜ Changes not showing up?

Changes not showing up?

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


Posted by Ombrenuit   (6 posts)  Bio
Date Wed 30 Mar 2005 08:32 PM (UTC)

Amended on Wed 30 Mar 2005 08:41 PM (UTC) by Ombrenuit

Message
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?
Top

Posted by Nick Cash   USA  (626 posts)  Bio
Date Reply #1 on Wed 30 Mar 2005 09:23 PM (UTC)
Message
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.

~Nick Cash
http://www.nick-cash.com
Top

Posted by Ombrenuit   (6 posts)  Bio
Date Reply #2 on Wed 30 Mar 2005 09:57 PM (UTC)

Amended on Wed 30 Mar 2005 10:08 PM (UTC) by Ombrenuit

Message
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)
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #3 on Thu 31 Mar 2005 12:54 AM (UTC)
Message
Use the reboot command in Smaug.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Nick Cash   USA  (626 posts)  Bio
Date Reply #4 on Thu 31 Mar 2005 01:26 AM (UTC)
Message
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).

~Nick Cash
http://www.nick-cash.com
Top

Posted by Ombrenuit   (6 posts)  Bio
Date Reply #5 on Thu 31 Mar 2005 02:08 AM (UTC)
Message
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.
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #6 on Thu 31 Mar 2005 02:17 AM (UTC)
Message
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.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
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.


19,353 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.