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, confirm your email, resolve issues, 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.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ samson's hotboot code

samson's hotboot code

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


Posted by Typhon   USA  (112 posts)  Bio
Date Mon 06 May 2002 12:15 PM (UTC)
Message
quick question.. is there a way to make the hotboot code work using cgywin and windows me?
Top

Posted by Kris   USA  (198 posts)  Bio
Date Reply #1 on Thu 09 May 2002 12:23 AM (UTC)
Message
Yes. In fact, I have it working, and I'm running cygwin and windows ME. The instructions of the snippet from Samson's site should be sufficient.
Top

Posted by Typhon   USA  (112 posts)  Bio
Date Reply #2 on Fri 10 May 2002 10:27 AM (UTC)
Message
hmm.. alright ill try it again
Top

Posted by Typhon   USA  (112 posts)  Bio
Date Reply #3 on Fri 10 May 2002 09:53 PM (UTC)
Message
ok i tried to redo it again and i managed to almost get it to compile and get the mud up however heres what happens...
gcc -c -O -g3 -DSMAUG hotboot.c
hotboot.c: In function `do_hotboot':
hotboot.c:588: warning: passing arg 1 of write_to_descriptor' makes pointer fro
m integer without a cast
hotboot.c:601: warning: passing arg 1 of `write_to_descriptor' makes pointer fro
m integer without a cast
hotboot.c:622: warning: passing arg 1 of `write_to_descriptor' makes pointer fro
m integer without a cast
hotboot.c: In function `hotboot_recover':
hotboot.c:725: warning: passing arg 1 of `write_to_descriptor' makes pointer fro
m integer without a cast
hotboot.c:766: warning: passing arg 1 of `write_to_descriptor' makes pointer fro
m integer without a cast
hotboot.c:775: warning: passing arg 1 of `write_to_descriptor' makes pointer fro
m integer without a cast

only warnings.. not that big of a deal but when i go to hotboot the mud i get disconnected and i get..

Fri May 10 17:52:29 2002 :: Initiating hotboot recovery.
Write_to_descriptor: The descriptor is a file, not a socket
Write_to_descriptor: The descriptor is a file, not a socket
Write_to_descriptor: Bad file number

any one have any ideas? thanks
Top

Posted by Kris   USA  (198 posts)  Bio
Date Reply #4 on Sat 11 May 2002 08:24 PM (UTC)
Message
I've never recieved those errors when installing it.... hmm.... You keep calling it 'hotboot'..... to my understanding, hotboot is the predecessor to 'copyover'. Copyover is basically the same exact thing, except it's adapted to work under smaug1.4a. I've never tested the older hotboot myself, so I don't know what results you'd get..... Where did you download that hotboot snippet? Did you take it right off Samson's site, or did you pick it up somewheres else?

Either way, here's something you should try. Take out all the 'hotboot' stuff that you put in; just get rid of it completely (if you made a backup of your src before you put in hotboot, just restore the backup). Then, I'm gonna have you download the copyover that actually came from Samson's site, and was proven to work on my mud anyway. Download it at:

http://www.aethiamud.org/downloads/copyover-7.tar.gz

Unzip that. You'll see a bunch of files in there, since this snippet is designed to work on many different codebases. The ONLY file you need to look at is 'smaug14.txt'. That gives you the instructions and code to use, and where to place it. Do NOT use copyover.c; that must be for something else, cuz it don't work when I tried using it anyway. All you need to use is smaug14.txt. I got it to work the first time I used it, so if you put it in right, it should work for you too.

Hope that helps =)
Top

Posted by Typhon   USA  (112 posts)  Bio
Date Reply #5 on Sat 11 May 2002 09:24 PM (UTC)
Message
hmmm.. well it compiled clean...

now i go to run the mud and i get a 'Segmentation fault (core dumped)'

i followed the instructions to a 't' too :\ well time to try it again.. thanks for the help :)
Top

Posted by Typhon   USA  (112 posts)  Bio
Date Reply #6 on Sat 11 May 2002 09:54 PM (UTC)
Message
hmm... well i got the mud to run now.. but it seems when i copyover it disconnects me still and i cant connect again to the mud... :\ hmm, ill go look around again.. if you have any ideas let me know :) thanks
Top

Posted by Typhon   USA  (112 posts)  Bio
Date Reply #7 on Sat 11 May 2002 10:33 PM (UTC)

Amended on Sat 11 May 2002 10:34 PM (UTC) by Typhon

Message
ok heres a little update :-p

Sat May 11 18:32:39 2002 :: Warmboot recovery initiated
Write_to_descriptor: The descriptor is a file, not a socket

thats the only error i get in the mud window

i get that when i reboot it using the copyover and it still disconnects me and i cant reconnect to the mud, neither can anyone else
Top

Posted by Yetro   (40 posts)  Bio
Date Reply #8 on Tue 11 Jun 2002 11:00 PM (UTC)
Message
Some version of smaug for windows.. has some sockets (client, client2, javaclient, and something more) remove, usally leaving just 1 or two sockets (client, and client and client2) this could cause problems with the hotboot code... just that hope help it
Top

Posted by Samson   USA  (683 posts)  Bio
Date Reply #9 on Mon 20 Jan 2003 02:20 AM (UTC)
Message
Quote:

"You keep calling it 'hotboot'..... to my understanding, hotboot is the predecessor to 'copyover'."

Endquote

I realize this is an extremely old thread - but this information is backward. "Hotboot" is the name I gave to the snippet I released. The code is a descendent of the original copyover code which you're referring to here. All someone had to do was ask me and I could have cleared this up back in May....
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.


31,042 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.