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 ➜ Compiling the server ➜ Anyone ever seen this

Anyone ever seen this

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


Pages: 1  2 

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #15 on Fri 02 Dec 2005 11:55 PM (UTC)
Message
I am using that same gcc version with Cygwin, and the latest FUSS compiles fine for me.

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

Posted by Scoop187   (19 posts)  Bio
Date Reply #16 on Sat 03 Dec 2005 12:30 AM (UTC)
Message
Ok so.. Here's the status:

I deleted everything once again, deleted all my codebases and such that I had tried to get going and deleted all known cywin files.
I reinstalled cygwin once more and downloaded the codebase swrfote1.1 fuss..
unzipped it into the cywgwin/home/user directory and then started up cygwin..

cd dir
cd swrfuss
cd src
make

..everything compiled perfectly... finally.. but..
I tried to startup the mud and followed the direction from the smaug website ..

./startup & doesnt work
../src/startup doenst work

If I havnt stated already Im pretty new to this, And am in dire attempt to learn/play with coding...

So.. I used my noggin, it said earlier in the line the compile file -swrreality was what was compiled.. so I tried it..

./swreality alas! woohooo!

it booted up and loaded

....Booting Database....
...loading commands .. etc etc etc.. time etc date etc..
no errors or anything out of the ordinary.

I try to join it with mushclient on
localhost
port 4000
..nothing..
for some reason I cannot join it.
the very las thing it says during the bootin database is..

Reading in area files...
Is this what you guys are getting ? or is it just not finishing it's routine.?

other questions.. I managed to get it to connect 1 time.. then my laptop died and I immediately began to swear like a sailor while plugging in my powercord.. I opened cygwin
and ran the same proccess as before.. now I cannot connect ... Am I doing something wrong ? I have come so far with so much trouble and know I'm really close thanks to your help, Nick, Zeno , samson , Whiteknight you guys rock , do you think you can help me just a tad more and steer me into the right dirction?




Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #17 on Sat 03 Dec 2005 12:40 AM (UTC)
Message
Why doesn't ./startup & work? What errors are there?

Make sure you're connecting to the right port. If it's up, you should be able to connect.

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

Posted by Scoop187   (19 posts)  Bio
Date Reply #18 on Sat 03 Dec 2005 12:46 AM (UTC)
Message
Here's what I have..

User@Cooper ~
$ dir
smaug16fuss.tgz swr11fuss.tgz swrfuss

User@Cooper ~
$ cd swrfuss

User@Cooper ~/swrfuss
$ dir
Bugfixes.txt boards color deleted hotboot mudprogs space
area building corpses doc imc planets src
backup clans councils gods log player system

User@Cooper ~/swrfuss
$ cd area

User@Cooper ~/swrfuss/area
$ dir
Sorosuub corus.jail grind limbo.are nar.shadda
a.byss.city corus.pt2 help.are mall newacad.are
adari coruscant_streets honoghr mc90 omni_complex
adari01 dagobah hunter.ships menari_spaceport quarren.are
area.lst darkhand hunters.guild mon_cal.are senate
boot.txt endor jedi_acad monolith space.are
byss.jail gamorr kashyyyk monument.plaza tatooine
cloning grand_towers land.vehicles nal.hut throne.city

User@Cooper ~/swrfuss/area
$ cd

User@Cooper ~
$ cd

User@Cooper ~
$ cd swrfuss

User@Cooper ~/swrfuss
$ dir
Bugfixes.txt boards color deleted hotboot mudprogs space
area building corpses doc imc planets src
backup clans councils gods log player system

User@Cooper ~/swrfuss
$ cd src

User@Cooper ~/swrfuss/src
$ dir
Makefile bounty.c db.c imc.h md5.h save.c track.c
act_comm.c build.c fight.c imccfg.h misc.c shops.c update.c
act_info.c clans.c grind interp.c mud.h skills.c
act_move.c color.c handler.c magic.c mud_comm.c space.c
act_obj.c color.h hashstr.c makeobjs.c mud_prog.c special.c
act_wiz.c comm.c hotboot.c mccp.c o startup
bet.h comments.c hotboot.h mccp.h player.c swskills.c
boards.c const.c imc.c md5.c reset.c tables.c

User@Cooper ~/swrfuss/src
$ make
make -s swreality
Compiling o/imc.o....
Compiling o/act_comm.o....
Compiling o/act_info.o....
Compiling o/act_move.o....
Compiling o/act_obj.o....
Compiling o/act_wiz.o....
Compiling o/boards.o....
Compiling o/bounty.o....
Compiling o/build.o....
Compiling o/clans.o....
Compiling o/color.o....
Compiling o/comm.o....
Compiling o/comments.o....
Compiling o/const.o....
Compiling o/db.o....
Compiling o/fight.o....
Compiling o/handler.o....
Compiling o/hashstr.o....
Compiling o/hotboot.o....
Compiling o/interp.o....
Compiling o/magic.o....
Compiling o/makeobjs.o....
Compiling o/mccp.o....
Compiling o/md5.o....
Compiling o/misc.o....
Compiling o/mud_comm.o....
Compiling o/mud_prog.o....
Compiling o/player.o....
Compiling o/reset.o....
Compiling o/save.o....
Compiling o/shops.o....
Compiling o/skills.o....
Compiling o/space.o....
Compiling o/special.o....
Compiling o/swskills.o....
Compiling o/tables.o....
Compiling o/track.o....
Compiling o/update.o....
Done compiling mud.

User@Cooper ~/swrfuss/src
$ dir
Makefile build.c grind magic.c mud_prog.c startup
act_comm.c clans.c handler.c makeobjs.c o swreality.exe
act_info.c color.c hashstr.c mccp.c player.c swskills.c
act_move.c color.h hotboot.c mccp.h reset.c tables.c
act_obj.c comm.c hotboot.h md5.c save.c track.c
act_wiz.c comments.c imc.c md5.h shops.c update.c
bet.h const.c imc.h misc.c skills.c
boards.c db.c imccfg.h mud.h space.c
bounty.c fight.c interp.c mud_comm.c special.c

everything has been working fine.. no problems, compile perfectly and everything. I just cant seem to join for some reason
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #19 on Sat 03 Dec 2005 12:50 AM (UTC)
Message
You made sure it's running? Type ps ux and look for the process there.

What port is it running on?

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

Posted by Scoop187   (19 posts)  Bio
Date Reply #20 on Sat 03 Dec 2005 12:53 AM (UTC)
Message
continues from above post:

User@Cooper ~/swrfuss/src
$ ./startup &
[1] 252

User@Cooper ~/swrfuss/src
$ limit: Command not found.
limit: Command not found.



however... If i do this:



User@Cooper ~/swrfuss/src
$ ./swreality &
[1] 2592

User@Cooper ~/swrfuss/src
$ Fri Dec 2 20:49:55 2005 :: Booting Database
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Fri Dec 2 20:49:55 2005 :: [*****] BOOT: ---------------------[ Boot Log ]-----
---------------
Fri Dec 2 20:49:55 2005 :: Loading commands
Fri Dec 2 20:49:55 2005 :: Loading sysdata configuration...
Fri Dec 2 20:49:55 2005 :: Loading socials
Fri Dec 2 20:49:55 2005 :: Loading skill table
Fri Dec 2 20:49:55 2005 :: Sorting skill table...
Fri Dec 2 20:49:55 2005 :: Loading herb table
Fri Dec 2 20:49:55 2005 :: Making wizlist
Fri Dec 2 20:49:55 2005 :: Initializing random number generator
Fri Dec 2 20:49:55 2005 :: Setting time and weather
Fri Dec 2 20:49:55 2005 :: Assigning gsn's
Fri Dec 2 20:49:55 2005 :: Reading in area files...
....Here is where it just stops...
I'm still able to enter commands and such, but im not sure if it's done everything that I have to do.. after it gets this far I try to connect to localhost Port 4000 .. nothing

from here Im dumbfouned..
Top

Posted by Scoop187   (19 posts)  Bio
Date Reply #21 on Sat 03 Dec 2005 12:56 AM (UTC)

Amended on Sat 03 Dec 2005 12:57 AM (UTC) by Scoop187

Message
User@Cooper ~/swrfuss/src
$ ps ux
PID PPID PGID WINPID TTY UID STIME COMMAND
3760 1 3760 3760 con 1007 20:48:58 /usr/bin/bash
1012 3760 1012 3880 con 1007 20:54:33 /usr/bin/ps

User@Cooper ~/swrfuss/src
$


that's what PS UX gives me, that might as well be french to me tho..

I have been trying to connect to port 4000 , that is what I was told was the default port to connect to.. How do i check exactly to find out?
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #22 on Sat 03 Dec 2005 12:57 AM (UTC)
Message
You can't run the exec from the src directory, the area files aren't located there. It seems like you missed something when installing Cygwin, because it's missing limit.

In the area dir type:
../src/swreality

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

Posted by Scoop187   (19 posts)  Bio
Date Reply #23 on Sat 03 Dec 2005 01:40 AM (UTC)
Message
Awsome! It works ! now.. how do I fix the problem with cygwin ? or see whay it has no limit?

Zeno I have played your mud for a while.. I was known as Brahmus on there.. Awseome mud and you rock. Next time I hit the bar , my first shot goes in your good favor! and the next 3 are for Nick, Samson and Whiteknight.. after that .. they are just for getting blasted and having fun..in a safe manner of course.
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #24 on Sat 03 Dec 2005 01:45 AM (UTC)
Message
I think the limit was a package you had to install. You may have missed it. You could just try commenting out the lines in the startup script that use limit.

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

Posted by Samson   USA  (683 posts)  Bio
Date Reply #25 on Sat 03 Dec 2005 05:40 PM (UTC)
Message
Probably just go ahead and comment the limit command out in the startup file. It's meant for coredumps which you won't get much use out of on Cygwin anyway.

I also noticed you didn't edit the Makefile and uncomment the Cygwin line in any of this unless I missed something ?
Top

Posted by Scoop187   (19 posts)  Bio
Date Reply #26 on Sun 04 Dec 2005 08:12 AM (UTC)

Amended on Sun 04 Dec 2005 08:20 AM (UTC) by Scoop187

Message
I have done that already, and other than the limit problem I finally got the code up and running. However, I found that this was not the code I needed for what I had in mind building. Sorry if i dont explain more, but it's 100% origional and modern concept that's probably easy for advanced people like you guys to do. I want the joy of learning to code and bringing my vision to life ^.^

Anyways, I switched the codebase. I have looked at a few different codebases and found that I will be better off with a SWR codebase for what I have in mind, but, for some reason when I extract the TGZ file it doesn't put the files in their folders ...
It just extracts all the files and doesn't even make the folders. I have tried to convert the format to TAR, ZIP and such and tried to OPen/EXtract with Picozip, Winzip and winrar as well with still the same problems.. any ideas why or am I missing something simple again? I find that I often get excited or my mind set so hard on something I miss the simple things.. My apologies for taking up your time and thank you all for the help.
Top

Posted by Scoop187   (19 posts)  Bio
Date Reply #27 on Sun 04 Dec 2005 08:16 AM (UTC)

Amended on Sun 04 Dec 2005 08:21 AM (UTC) by Scoop187

Message
PS- I installed my first snippet yesterday. It made me feel great. It was an easy, copy and paste and I used a program a friend told me to try.. bloodshed dev c/c++

Anyways I believe you made the snippet, Samson. It was a Wizhelp snippet that organized everything into a better view for the user and by levels as well. Thank you very much =)

Now I'm currently ripping apart the same snippet piece by piece to figure our what each command meant, how it worked and what it does. =)
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #28 on Sun 04 Dec 2005 03:41 PM (UTC)
Message
Quote:
but, for some reason when I extract the TGZ file it doesn't put the files in their folders ...
It just extracts all the files and doesn't even make the folders. I have tried to convert the format to TAR, ZIP and such and tried to OPen/EXtract with Picozip, Winzip and winrar as well with still the same problems.. any ideas why or am I missing something simple again?


Use something that supports them. I use WinRAR, and it extracts fine.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
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.


98,822 views.

This is page 2, subject is 2 pages long:  [Previous page]  1  2 

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.