SWR 1 FFUSS Hotboot problem

Posted by Asean Novari on Tue 11 Jan 2005 08:11 PM — 10 posts, 38,151 views.

USA #0
Ok.. I got a fresh download of SWR1FUSS from mudplanet.org
I use cygwin on winxp to unxip and makefile...

I start the program and get massive area file bugs but
nothing significant. I try to do a hotboot and it gives this text

You feel a great disturbance in the Force.Log: Hotboot initiated by Admin.
Log: Preserving world state....
Log: Saving player files and connection states....
Log: Executing hotboot....
Log: [*****] BUG: Hotboot execution failed!!
Hotboot FAILED!

The command window shows this text

Tue Jan 11 16:05:13 2005 :: Sock.sinaddr: 127.0.0.1, port 1208.
Tue Jan 11 16:05:55 2005 :: Preloading player data for: Admin (1K)
Tue Jan 11 16:05:58 2005 :: Loading player data for: Admin (1K)
Tue Jan 11 16:05:58 2005 :: Admin (ads.i33.com) has connected.
Tue Jan 11 16:06:05 2005 :: Hotboot initiated by Admin.
Tue Jan 11 16:06:05 2005 :: Preserving world state....
Tue Jan 11 16:06:05 2005 :: Saving player files and connection states....
Tue Jan 11 16:06:05 2005 :: Executing hotboot....
do_hotboot: execl: No such file or directory
Tue Jan 11 16:06:05 2005 :: [*****] BUG: Hotboot execution failed!!

I dont coprehend the error would someone please assist me
thanks
Amended on Tue 11 Jan 2005 08:12 PM by Asean Novari
USA #1
Hotboot doesn't work that well with Windows. See this post on how you may get it to work:

http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=4663
USA #2
I wish to almost contest that statement if only for the reason
that i have previously had a working copy of this exact same
file/codebase alrteady installed on my cpu.. I tried to add a
few snippets of code and in doing so i screwed it up.. I
reinstalled from the zip file and now hotboot wont work..

How could i have a working copy of the same file and then
re-make it and it suddenly not work?
USA #3
Well, clearly it's not the same file... you must have made changes somewhere, before or after, that made it stop working.
Canada #4
From the error
do_hotboot: execl: No such file or directory
It looks like the filename being passed to execl by the hotboot may be different the one being created by your makefile, check to make sure those are the same.
USA #5
No changes Ksilyan.. absolutely the same file..

And would you mind walking me through how to check that please Greven
Canada #6
Well, what is the filename of your executable? For example, I beleive that the hotboot calls swr, when you might need to specify swr.exe, look for the file name and check to make sure its the same in your hotboot.c and hotboot.h. If you need to change it, remember to recompile.
Amended on Wed 19 Jan 2005 11:53 PM by Greven
USA #7
Quote:
No changes Ksilyan.. absolutely the same file..
A general rule of thumb is that if it worked before, and doesn't work now, something changed. I think Greven's analysis is most likely what's going on - you're compiling to one executable and trying to run another one.
USA #8
Ok i just got done looking through all things hotboot associated..

execl( EXE_FILE, "swreality", buf, "hotboot", buf2, buf3, buf4, ( char * )NULL );

/*
* Failed - sucessful exec will not return
*/
perror( "do_hotboot: execl" );

this is the part of the code that seems it would deal with my
error.. i see nothing wrong with it or what the name of my
exe file is *swreality.exe*(which is exactly what the makefile
made it as)..


Ok.. the error says

do_hotboot: execl: No such file or directory

might this be happening because to run the system on a windows
server I had to relocate the exe into the area folder?

and if this is the reason how do i circumvent it..

**

ok i just rechecked in all hotboot code.. in hotboot.c i
found this #define EXE_FILE "../src/swreality" i
changed that to area/swreality in hopes that would work and
then recompiled and that still didnt fix it.. Any insight
into this problem would be much appreciated
Amended on Tue 25 Jan 2005 09:18 PM by Asean Novari
Canada #9
You don't have to have the exe file in the area directory if you boot it from the shell. Go into your area directory in the shell and type:
Quote:
../src/swreality.exe <port> &
Omit the & if you want to have it in front.

Try changing it to swreality.exe in that #define, I don't know how picky execl is about file extensions, but if swreality is in /src, your booting from /area, and you have the EXE_FILE defined as swreality.exe, that should work.