[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  Compiling the server
. . -> [Subject]  Changes not showing up?

Changes not showing up?

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


Posted by Ombrenuit   (6 posts)  [Biography] 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?
[Go to top] top

Posted by Nick Cash   USA  (626 posts)  [Biography] 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
[Go to top] top

Posted by Ombrenuit   (6 posts)  [Biography] 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)
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] 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
[Go to top] top

Posted by Nick Cash   USA  (626 posts)  [Biography] 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
[Go to top] top

Posted by Ombrenuit   (6 posts)  [Biography] 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.
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] 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
[Go to top] 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.


17,868 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]