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
➜ Adding Hotboot...
It is now over 60 days since the last post. This thread is closed.
Refresh page
Pages: 1
2 3
4
Posted by
| Metsuro
USA (389 posts) Bio
|
Date
| Reply #15 on Thu 15 Sep 2005 09:27 PM (UTC) Amended on Thu 15 Sep 2005 09:32 PM (UTC) by Metsuro
|
Message
| Wouldn't know never opened it, not sure what I did but I guess I dont get to use the pretty hotboot |
Everything turns around in the end | Top |
|
Posted by
| Samson
USA (683 posts) Bio
|
Date
| Reply #16 on Thu 15 Sep 2005 09:27 PM (UTC) |
Message
| Hotboot will work fine as long as you aren't trying to change the exe file. What I think everyone wants to know is:
Can you compile a new exe, with the same name, and hotboot to it under XP?
When I try while the program is running, this is what I get back, after it has gone clear to the end of the compile:
Quote:
Compiling o/update.o....
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot open output file smaug.exe: Device or r
esource busy
collect2: ld returned 1 exit status
make[1]: *** [smaug] Error 1
make: *** [all] Error 2
So I don't see how people claim to get around what XP won't allow you to get around - unless this is an NTFS vs FAT32 isue? I use NTFS. | Top |
|
Posted by
| Samson
USA (683 posts) Bio
|
Date
| Reply #17 on Thu 15 Sep 2005 09:30 PM (UTC) |
Message
| The post at: http://forums.mudplanet.net/index.php?a=topic&t=333
is obsolete, 2 years out of date. You need to try it with the Smaug FUSS 1.6 download available from www.smaugfuss.org | Top |
|
Posted by
| Metsuro
USA (389 posts) Bio
|
Date
| Reply #18 on Thu 15 Sep 2005 09:33 PM (UTC) |
Message
| I have that... the download, and was toying around first saw that hotboot didn't work the way I'd like tried the thing from the other page and got that error i posted |
Everything turns around in the end | Top |
|
Posted by
| Ithildin
USA (262 posts) Bio
|
Date
| Reply #19 on Thu 15 Sep 2005 09:35 PM (UTC) |
Message
| I just downloaded the 1.6 version and tried hotboot. It didn't work for me. I made clean, started the mud, didn't mess with any files, and just tried to hotboot it. It crashes with the status access violation. It reloads everything up nicely all the way up to my character. Then it crashes. I use cygwin on xp. | Top |
|
Posted by
| Greven
Canada (835 posts) Bio
|
Date
| Reply #20 on Thu 15 Sep 2005 10:24 PM (UTC) |
Message
| With the current distro that now includes MCCP, hotboot will cause a crash.
The problem is that in hotboot_recover d->mccp is not created, and compressStart references it.
To fix, locate:
CREATE( d, DESCRIPTOR_DATA, 1 );
d->next = NULL;
d->descriptor = desc;
d->connected = CON_GET_NAME;
d->outsize = 2000;
d->idle = 0;
d->lines = 0;
d->scrlen = 24;
d->newstate = 0;
d->prevcolor = 0x08;
Change to:
CREATE( d, DESCRIPTOR_DATA, 1 );
CREATE( d->mccp, MCCP, 1 );
d->next = NULL;
d->descriptor = desc;
d->connected = CON_GET_NAME;
d->outsize = 2000;
d->idle = 0;
d->lines = 0;
d->scrlen = 24;
d->newstate = 0;
d->prevcolor = 0x08;
That should fix the hotboot crashing. |
Nobody ever expects the spanish inquisition!
darkwarriors.net:4848
http://darkwarriors.net | Top |
|
Posted by
| Ithildin
USA (262 posts) Bio
|
Date
| Reply #21 on Thu 15 Sep 2005 10:27 PM (UTC) |
Message
| ah, beautiful.
worked great. | Top |
|
Posted by
| Greven
Canada (835 posts) Bio
|
Date
| Reply #22 on Thu 15 Sep 2005 10:31 PM (UTC) |
Message
| I actually came across this yesterday when I was making the MCCP instructions for SWRFUSS and I had the same problem. Easy fix though, I had just assumed that it was handled differently in the smaug version, I didn't even look at it. |
Nobody ever expects the spanish inquisition!
darkwarriors.net:4848
http://darkwarriors.net | Top |
|
Posted by
| Metsuro
USA (389 posts) Bio
|
Date
| Reply #23 on Thu 15 Sep 2005 10:56 PM (UTC) |
Message
| I guess I'll just give up on adding the hotboot that way *sigh* |
Everything turns around in the end | Top |
|
Posted by
| Gatewaysysop2
USA (146 posts) Bio
|
Date
| Reply #24 on Fri 16 Sep 2005 03:38 AM (UTC) |
Message
| Well look at it this way, giving up ensures it'll never get into your code and working. Trying may be arduous at times and a P.I.T.A. until you get it working, but it beats the alternative any day. Besides, you'll probably learn things along the way, whether or not you ever end up getting hotboot working, that will be of use later.
Just my $.02 though.
|
"The world of men is dreaming, it has gone mad in its sleep, and a snake is strangling it, but it can't wake up." -D.H. Lawrence | Top |
|
Posted by
| Metsuro
USA (389 posts) Bio
|
Date
| Reply #25 on Fri 16 Sep 2005 09:55 AM (UTC) |
Message
| Ya but I know jack about anything, thats why I asked for help, and most of it makes no sense to me, specially when i got the error i got. |
Everything turns around in the end | Top |
|
Posted by
| Samson
USA (683 posts) Bio
|
Date
| Reply #26 on Fri 16 Sep 2005 10:15 AM (UTC) |
Message
| Consider this:
Most of us here trying to help now have been through things like this before and once were as you are now. I know in my case I used to know squat about any of this stuff. Programming isn't something you pick up overnight, it requires years worth of trial and error and research and such. Everyone was a newbie at one point in time. If we all gave up upon reaching a roadblock, there would be no gurus to ask for help :) | Top |
|
Posted by
| Greven
Canada (835 posts) Bio
|
Date
| Reply #27 on Fri 16 Sep 2005 04:25 PM (UTC) |
Message
| To get hotboot to work for you with Smaug 1.6 FUSS, here is what you do:
1. Open the hotboot.c file in a text editor like notepad for windows or vi, emacs, or pico on *nix
2. Scroll down to the function hotboot_recover
3. Find the section of code that looks like:
CREATE( d, DESCRIPTOR_DATA, 1 );
d->next = NULL;
d->descriptor = desc;
d->connected = CON_GET_NAME;
d->outsize = 2000;
d->idle = 0;
d->lines = 0;
d->scrlen = 24;
d->newstate = 0;
d->prevcolor = 0x08;
4. Change it to look like CREATE( d, DESCRIPTOR_DATA, 1 );
CREATE( d->mccp, MCCP, 1 );
d->next = NULL;
d->descriptor = desc;
d->connected = CON_GET_NAME;
d->outsize = 2000;
d->idle = 0;
d->lines = 0;
d->scrlen = 24;
d->newstate = 0;
d->prevcolor = 0x08;
5. Save the file
6. Recompile
7. Start you mud, and you should be able to hotboot without a problem. |
Nobody ever expects the spanish inquisition!
darkwarriors.net:4848
http://darkwarriors.net | Top |
|
Posted by
| Metsuro
USA (389 posts) Bio
|
Date
| Reply #28 on Fri 16 Sep 2005 08:29 PM (UTC) |
Message
| I put that in and seem no longer able to connect to the mud at all, might be my pc, going to try a few things though |
Everything turns around in the end | Top |
|
Posted by
| Metsuro
USA (389 posts) Bio
|
Date
| Reply #29 on Fri 16 Sep 2005 09:24 PM (UTC) Amended on Fri 16 Sep 2005 09:31 PM (UTC) by Metsuro
|
Message
| And default port is what 4020?
this is highly annoying seems I can no longer connect to anything I start up in cygwin... |
Everything turns around in the end | 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.
127,290 views.
This is page 2, subject is 4 pages long:
1
2 3
4
It is now over 60 days since the last post. This thread is closed.
Refresh page
top