Reply to this subject
Start a new subject
 
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) [ quote
] 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) [ quote
] |
| 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. |
SmaugMuds.org: http://www.smaugmuds.org - The Smaug MUDs Community Center
"The past was erased, the erasure was forgotten, the lie became truth." -- George Orwell, 1984 | top |
|
| Posted by |
Samson
USA (683 posts) bio
|
| Date |
Reply #17 on Thu 15 Sep 2005 09:30 PM (UTC) [ quote
] |
| 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 |
SmaugMuds.org: http://www.smaugmuds.org - The Smaug MUDs Community Center
"The past was erased, the erasure was forgotten, the lie became truth." -- George Orwell, 1984 | top |
|
| Posted by |
Metsuro
USA (389 posts) bio
|
| Date |
Reply #18 on Thu 15 Sep 2005 09:33 PM (UTC) [ quote
] |
| 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) [ quote
] |
| 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) [ quote
] |
| 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 |
Greven
Canada (835 posts) bio
|
| Date |
Reply #22 on Thu 15 Sep 2005 10:31 PM (UTC) [ quote
] |
| 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) [ quote
] |
| 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 (142 posts) bio
|
| Date |
Reply #24 on Fri 16 Sep 2005 03:38 AM (UTC) [ quote
] |
| 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) [ quote
] |
| 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) [ quote
] |
| 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 :) |
SmaugMuds.org: http://www.smaugmuds.org - The Smaug MUDs Community Center
"The past was erased, the erasure was forgotten, the lie became truth." -- George Orwell, 1984 | top |
|
| Posted by |
Greven
Canada (835 posts) bio
|
| Date |
Reply #27 on Fri 16 Sep 2005 04:25 PM (UTC) [ quote
] |
| 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) [ quote
] |
| 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) [ quote
] 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.
9,357 views.
This is page 2, subject is 4 pages long:
1
2 3
4
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )