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.
 Entire forum ➜ SMAUG ➜ Running the server ➜ Smaug.exe will not start

Smaug.exe will not start

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


Posted by Schil   (3 posts)  Bio
Date Wed 09 Aug 2017 04:20 PM (UTC)

Amended on Wed 09 Aug 2017 10:48 PM (UTC) by Nick Gammon

Message
Newbie to running a server so please forgive me if this a stupidly easy issue to fix or if im just not following the directions. Anyways I picked up a codebase from mudbytes to tinker with on my free time on my linux desktop.(http://www.mudbytes.net/files/1720/)

Anyways I stared to follow the guide and it all is going smooth until I try to start the mud. For some reason when i try to lauch the compiled smaug file from the area folder(or the src) its not reconized:

(bash: ../src/smaug.exe: No such file or directory)

Any ideas on how to fix. Here is my whole process.



schil@schil-Aspire-5536:~$ cd DBZu
schil@schil-Aspire-5536:~/DBZu$ cd src
schil@schil-Aspire-5536:~/DBZu/src$ make
make smaug
make[1]: Entering directory '/home/schil/DBZu/src'
make[1]: 'smaug' is up to date.
make[1]: Leaving directory '/home/schil/DBZu/src'
schil@schil-Aspire-5536:~/DBZu/src$ cd
schil@schil-Aspire-5536:~$ cd area
bash: cd: area: No such file or directory
schil@schil-Aspire-5536:~$ cd DBZu
schil@schil-Aspire-5536:~/DBZu$ cd area
schil@schil-Aspire-5536:~/DBZu/area$ ../src/smaug.exe
bash: ../src/smaug.exe: No such file or directory
schil@schil-Aspire-5536:~$ cd DBZu
schil@schil-Aspire-5536:~/DBZu$ cd src
schil@schil-Aspire-5536:~/DBZu/src$ make
make smaug
make[1]: Entering directory '/home/schil/DBZu/src'
make[1]: 'smaug' is up to date.
make[1]: Leaving directory '/home/schil/DBZu/src'
schil@schil-Aspire-5536:~/DBZu/src$ cd
schil@schil-Aspire-5536:~$ cd area
bash: cd: area: No such file or directory
schil@schil-Aspire-5536:~$ cd DBZu
schil@schil-Aspire-5536:~/DBZu$ cd area
schil@schil-Aspire-5536:~/DBZu/area$ ../src/smaug.exe
bash: ../src/smaug.exe: No such file or directory
schil@schil-Aspire-5536:~/DBZu/area$ cd
schil@schil-Aspire-5536:~$ cd DBZu/src
schil@schil-Aspire-5536:~/DBZu/src$ ls
act_comm.c       changes.o    editor.o    ibuild.o     mud.h        services.o
act_comm.o       clans.c      fight.c     ident.c      mud.h.rej    shops.c
act_info.c       clans.o      fight.cm    ident.o      mud_prog.c   shops.o
act_info.o       color.c      fight.o     imm_host.c   mud_prog.o   skills.c
act_move.c       color.h      finger.c    imm_host.o   nohup.out    skills.o
act_move.c.save  colorize.c   finger.h    in_room      planes.c     smaug
act_move.o       color.o      finger.o    interp.c     planes.h     space.c
act_obj.c        comm.c       grub.c      interp.o     planes.o     space.o
act_obj.o        comments.c   grub.o      magic.c      player.c     special.c
act_wiz.c        comments.o   handler.c   magic.o      player.o     special.o
act_wiz.o        comm.o       handler.o   Makefile     polymorph.c  startup
ban.c            const.c      hashstr.c   makeobjs.c   polymorph.o  stat_obj.c
ban.o            const.o      hashstr.o   makeobjs.o   renumber.c   stat_obj.o
bet.h            db.c         hiscores.c  mapout.c     renumber.o   tables.c
board.c          db.o         hiscores.o  mapout.o     requests.c   tables.o
board.h          dbzskills.c  hotboot.c   misc.c       requests.o   track.c
board.o          dbzskills.o  hotboot.h   misc.o       reset.c      track.o
boards.c         deity.c      hotboot.o   mortgames.c  reset.o      update.c
boards.o         deity.o      house.c     mpxset.c     router.c     update.o
build.c          dock.c       house.h     mpxset.o     save.c       webserver.c
build.o          dock.o       house.o     mud_comm.c   save.o
changes.c        editor.c     ibuild.c    mud_comm.o   services.c
schil@schil-Aspire-5536:~/DBZu/src$
  PID TTY          TIME CMD
 3800 pts/0    00:00:00 bash
 3946 pts/0    00:00:00 ps
schil@schil-Aspire-5536:~/DBZu/src$ ^C
Top

Posted by Nick Gammon   Australia  (23,120 posts)  Bio   Forum Administrator
Date Reply #1 on Wed 09 Aug 2017 10:49 PM (UTC)
Message
Since you seem to be using Linux (or Cygwin) then the executeable is "smaug" not "smaug.exe".

As in this line:


act_move.c.save  colorize.c   finger.h    in_room      planes.c     smaug

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Schil   (3 posts)  Bio
Date Reply #2 on Thu 10 Aug 2017 07:14 AM (UTC)
Message
So i took out the .exe part but its still not being recognized like above. Any other ideas? I set the permissions to anyone for all just in case also.
Top

Posted by Nick Gammon   Australia  (23,120 posts)  Bio   Forum Administrator
Date Reply #3 on Thu 10 Aug 2017 09:13 PM (UTC)
Message
It's there so it should work. Try doing a "cd" to the "src" directory and running it there:


./smaug


It will complain about not having area files, but something should happen.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
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.


14,315 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.