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 ➜ Running the server ➜ SW: FotE with a small dash of Windows XP and Cygwin

SW: FotE with a small dash of Windows XP and Cygwin

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


Posted by Silentius   (16 posts)  Bio
Date Wed 19 Sep 2007 04:27 AM (UTC)

Amended on Wed 19 Sep 2007 04:30 AM (UTC) by Silentius

Message
1) I download cygwin (full install) and get that all working.

2) I download the latest version of SW: FotE and unzipped.

3) Edited make file and uncommented for cygwin

4) ran make (no errors, compiled fine)

5) changed the port in startup to 2999

5) ran nohup startup &
-> $ nohup: ignoring input and appending output to 'nohup.out'
ps ux
956 2660 956 3184 con 500 21:17:54 /usr/bin/tcsh

However, there is no port 2999 open when I do netstat -na

This is the case for when I do "startup &" and "csh startup &" except I get:
$ limit: Command not found.
unlimit: Command not found.
instead of the nohup error message

I can see it in the processes but when I try to telnet...
telnet localhost 2999
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused

Any tips?
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #1 on Wed 19 Sep 2007 04:29 AM (UTC)
Message
That's all that appeared in ps ux? Then the process isn't running. Try just a normal startup.
./startup &
That should at least run the script.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Silentius   (16 posts)  Bio
Date Reply #2 on Wed 19 Sep 2007 04:32 AM (UTC)

Amended on Wed 19 Sep 2007 04:38 AM (UTC) by Silentius

Message
name@computer /cygdrive/e/swfote2.1/src
$ ./startup &
[1] 624

name@computer /cygdrive/e/swfote2.1/src
$ limit: Command not found.
unlimit: Command not found.
ps ux
PID PPID PGID WINPID TTY UID STIME COMMAND
2660 1 2660 2660 con 500 20:20:43 /usr/bin/bash
624 2660 624 2764 con 500 21:32:04 /usr/bin/tcsh
2244 624 624 868 con 500 21:32:05 /usr/bin/sleep
3372 2660 3372 604 con 500 21:32:09 /usr/bin/ps

name@computer /cygdrive/e/swfote2.1/src

Still not able to connect and port is not shown as open
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #3 on Wed 19 Sep 2007 04:35 AM (UTC)
Message
Do a forum search for those errors, you get some results.

Try running just the exec. In the area dir:
../src/exec <port>

Where exec is the name of the exec.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Silentius   (16 posts)  Bio
Date Reply #4 on Wed 19 Sep 2007 04:41 AM (UTC)
Message
Hrm, I have no executable file in the src directory... I did try this though:

from the area directory, I ran the command "../src/startup &"

got the same problem as before.
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #5 on Wed 19 Sep 2007 04:42 AM (UTC)
Message
We've already tried running the startup script.

If there is no exec, did you remember to compile? If so, the exec would be there.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Silentius   (16 posts)  Bio
Date Reply #6 on Wed 19 Sep 2007 04:46 AM (UTC)

Amended on Wed 19 Sep 2007 04:49 AM (UTC) by Silentius

Message
name@computer /cygdrive/e/swfote2.1/src
$ make clean
rm -f o/*.o ../bin/other/swr.def ../bin/cygwin/swr.exp
chmod g+w ../bin/cygwin/copyfile
chmod a+x ../bin/cygwin/copyfile
./../bin/cygwin/copyfile

name@computer /cygdrive/e/swfote2.1/src
$ make
make -s swr
o/11.o
o/act_comm.o
o/act_info.o
o/act_move.o
o/act_obj.o
o/act_wiz.o
o/boards.o
o/bounty.o
o/build.o
o/changes.o
o/clans.o
o/color.o
o/comm.o
o/comments.o
o/const.o
o/copyover.o
o/db.o
o/editor.o
o/fight.o
o/finfo.o
o/force.o
o/fskills.o
o/functions.o
o/handler.o
o/hashstr.o
o/hunter.o
o/interp.o
o/keb.o
o/magic.o
o/makeobjs.o
o/marriage.o
o/md5.o
o/mccp.o
o/misc.o
o/mud_comm.o
o/mud_prog.o
o/newarena.o
o/pfiles.o
o/planets.o
o/player.o
o/renumber.o
o/reset.o
o/save.o
o/ships.o
o/shops.o
o/skills.o
o/slay.o
o/slicers.o
o/slotm.o
o/space.o
o/special.o
o/swskills.o
o/tables.o
o/tech.o
o/track.o
o/update.o
Generating dependency file ...

Done compiling mud.
chmod: cannot access `swr': No such file or directory
make[1]: *** [swr] Error 1
make: *** [all] Error 2

name@computer /cygdrive/e/swfote2.1/src
$ dir
11.c clans.c editor.c makeobjs.c o slay.h
Makefile color.c fight.c marriage.c pfiles.c slicers.c
act_comm.c color.h finfo.c mccp.c pfiles.h slotm.c
act_info.c comm.c force.c mccp.h planets.c space.c
act_move.c comments.c fskills.c md5.c player.c special.c
act_obj.c const.c functions.c md5.h renumber.c startup
act_wiz.c copyover.c handler.c misc.c reset.c swskills.c
bet.h copyover.h hashstr.c mud.h save.c tables.c
boards.c db.c hunter.c mud_comm.c ships.c tech.c
bounty.c dependencies.d interp.c mud_prog.c shops.c track.c
build.c dependencies.d.bak keb.c newarena.c skills.c update.c
changes.c do_fun.h magic.c nohup.out slay.c

name@computer /cygdrive/e/swfote2.1/src
$


Strange, after make clean and remake, I am getting errors...
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #7 on Wed 19 Sep 2007 04:49 AM (UTC)
Message
Where are the *.o files? That list of files doesn't seem to have an o dir...

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Silentius   (16 posts)  Bio
Date Reply #8 on Wed 19 Sep 2007 04:51 AM (UTC)
Message
I don't see them with cygwin, but if I open up the actual folder in windows, there's an "o" folder with *.o files in them.
Top

Posted by Silentius   (16 posts)  Bio
Date Reply #9 on Wed 19 Sep 2007 05:02 AM (UTC)

Amended on Wed 19 Sep 2007 05:03 AM (UTC) by Silentius

Message
wait, ya I can see it in cygwin, my eyes were just skipping over it... it's the "o" lol

on the top lines between slay and makeobj
Top

Posted by Silentius   (16 posts)  Bio
Date Reply #10 on Wed 19 Sep 2007 05:25 AM (UTC)
Message
Figured it out...

I needed a new makefile... I uploaded it to here:
http://www.mediafire.com/?7enjmin0gmz

or you can get it from here but you will need to go through
it and change all the areas where it has more than one space and put in a tab. (which is why I uploaded it for it to be easy)

http://swfote.sourceforge.net/phpBB2/viewtopic.php?t=143&postdays=0&postorder=asc&highlight=chmod+cannot+access&start=15

Anyway, thanks for helping me along Zenos... I figured it out from going through the questions you asked.
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.


24,236 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.