[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  Compiling the server
. . -> [Subject]  SWRiP Make error

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: SWRiP Make error
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please)
Maximum of 6000 characters. Text only please, no HTML.
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Pages: 1 2  3  4  5  6  

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Fri 02 Nov 2007 05:05 AM (UTC)  quote  ]
Message
For general questions about SMAUG, see my FAQ at:

http://www.gammon.com.au/scripts/showfaq.php?productid=6

Look in particular at the answer to:

"How do I get players to go through the beginner training area?"

In your case, you need to do the opposite, which is to set the "Waitforauth" setting to zero.

Can you please start a new thread if you are asking a completely different question? This is really nothing to do with "SWRiP Make error" or "Compiling the server".

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Phobos   (79 posts)  [Biography] bio
Date Fri 02 Nov 2007 03:45 AM (UTC)  quote  ]
Message
Ok thank you now I'm seeking the file that the authorization would be, There is a mobprogram in the newbie academy that is not working so i can't graduate the academy and the profile for a player is not made untill you graduate so i cant make myself an immortal how would i go about changing the authorization so it authorizes my pfile without having to go through the academy like making it authorize me in the first room in the academy so i can advance myself to immortal and fix the mobprog in the game instead of having to do it in the area files
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Fri 02 Nov 2007 03:03 AM (UTC)  quote  ]
Message
You have decided to not follow my suggestions, and then you post a message about how it doesn't work. I previously posted (on an earlier page now) this:

Quote:

You need to be in the area directory. This is how I got it to work - after compiling.

$ cd ../area

$ ../bin/swrip.exe


That is, you change to the area directory, and then by typing "../bin/swrip.exe" you run the program, which is in a different directory. If you wanted to debug, you just add "gdb" to the start of the line, like this:


$ gdb ../bin/swrip.exe


- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Phobos   (79 posts)  [Biography] bio
Date Fri 02 Nov 2007 03:03 AM (UTC)  quote  ]
Message
when i do "run exec" i get this error



Error: couldn't find exec anywhere
I even looked in the PATH
I also tried appending the following extensions:
[1]:
[2]:,exe.
[Go to top] top

Posted by Zeno   USA  (2,867 posts)  [Biography] bio   Moderator
Date Fri 02 Nov 2007 02:37 AM (UTC)  quote  ]
Message
Run the exec file while inside the area dir.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Phobos   (79 posts)  [Biography] bio
Date Fri 02 Nov 2007 02:10 AM (UTC)  quote  ]
Message
Sry i seen that the link that one of the post game me instructions to run it

I am in the area file and this is the directory its in

C:/phobos/swrip200/area

and this is what i see

area.lst cleanhelp.are limbo.are omni_complex templaterooms.are
backup help.are newacad.are space.are
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date Fri 02 Nov 2007 01:33 AM (UTC)  quote  ]
Message
You were told that you need to run it from the area directory; it's extremely hard to help you if you don't follow instructions.

You need to be in the area directory so that it can load up the area files. That's just the way the program works, so you will have to do it.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Phobos   (79 posts)  [Biography] bio
Date Fri 02 Nov 2007 12:48 AM (UTC)  quote  ]
Message
David@dave /cygdrive/c/phobos/swrip200/bin

because thats where my swrip.exe file is and thats what im having a problem with
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Fri 02 Nov 2007 12:34 AM (UTC)  quote  ]
Message
Quote:

Thu Nov 1 20:09:35 2007 :: Reading in area files...

Program exited with code 01.


Were you in the area directory when you ran gdb, as I said in my previous post?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Phobos   (79 posts)  [Biography] bio
Date Fri 02 Nov 2007 12:11 AM (UTC)  quote  ]
Message
Ok after running the gdb i get this message

(gdb) run
Starting program: /cygdrive/c/phobos/swrip200/bin/swrip.exe
Loaded symbols for /cygdrive/c/WINDOWS/system32/ntdll.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/kernel32.dll
Loaded symbols for /usr/bin/cygwin1.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/advapi32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/rpcrt4.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/secur32.dll
Thu Nov 1 20:09:35 2007 :: PID: 3048
Thu Nov 1 20:09:35 2007 :: 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
Thu Nov 1 20:09:35 2007 :: [*****] BOOT: ---------------------[ Boot Log ]-----
---------------
Thu Nov 1 20:09:35 2007 :: Loading commands
Thu Nov 1 20:09:35 2007 :: Loading sysdata configuration...
Thu Nov 1 20:09:35 2007 :: Loading socials
Thu Nov 1 20:09:35 2007 :: Loading skill table
Thu Nov 1 20:09:35 2007 :: Sorting skill table...
Thu Nov 1 20:09:35 2007 :: Loading herb table
Thu Nov 1 20:09:35 2007 :: Making wizlist
Thu Nov 1 20:09:35 2007 :: Initializing request pipe
Thu Nov 1 20:09:35 2007 :: Initializing random number generator
Thu Nov 1 20:09:35 2007 :: Setting time and weather
Thu Nov 1 20:09:35 2007 :: Assigning gsn's
ASSIGN_GSN: Skill makehulltracker not found.
ASSIGN_GSN: Skill makeinternaltracker not found.
ASSIGN_GSN: Skill makemissile not found.
ASSIGN_GSN: Skill shieldwork not found.
ASSIGN_GSN: Skill feed not found.
ASSIGN_GSN: Skill bite not found.
ASSIGN_GSN: Skill claw not found.
ASSIGN_GSN: Skill sting not found.
ASSIGN_GSN: Skill tail not found.
ASSIGN_GSN: Skill study not found.
ASSIGN_GSN: Skill brew not found.
ASSIGN_GSN: Skill slice not found.
ASSIGN_GSN: Skill chill touch not found.
ASSIGN_GSN: Skill curse not found.
Thu Nov 1 20:09:35 2007 :: Reading in area files...

Program exited with code 01.
(gdb)

so i see nothing wrong with the files but im not very educated about gdb yet so if this helps specify please help me in knowing what to do next
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Fri 02 Nov 2007 12:05 AM (UTC)  quote  ]
Message
Quote:

../bin/swrip.exe: No such file or directory.


Well, you need to be in the area directory, and have the executable available in the specified directory.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Phobos   (79 posts)  [Biography] bio
Date Fri 02 Nov 2007 12:02 AM (UTC)  quote  ]
Message
$ gdb ../bin/swrip.exe
GNU gdb 6.5.50.20060706-cvs (cygwin-special)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...../bin/swrip.exe: No such file or
directory.

(gdb) run
Starting program:
No executable specified, use `target exec'.
(gdb)

i have tried gdb ../bin/swrip.exe and it wont show the file so im not sure how i would get gdb to open it and show me what has happen so i can narrow down what caused the crash
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Thu 01 Nov 2007 11:52 PM (UTC)  quote  ]

Amended on Thu 01 Nov 2007 11:53 PM (UTC) by Nick Gammon

Message
It goes a bit beyond the scope of what we can offer here, to tease out of you every last bit of information, to assist in such crashes.

Quote:

... i was in the academy trying to get the doll ...


What doll? I haven't played SWRIP myself, so I have no idea what this refers to.

Quote:

... i had a crash ...


What sort of crash? What was the error message?

Quote:

... im not getting anything in gdb ...


Not getting anything? Did you run it under gdb? Did you reproduce the crash? If so, did you see any useful error messages? When I ran under gdb I saw something along these lines:


$ gdb ../bin/swrip.exe

GNU gdb 6.5.50.20060706-cvs (cygwin-special)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...

(gdb) run

Starting program: /home/Owner/swrip200_modified/bin/swrip.exe
Loaded symbols for /cygdrive/c/WINDOWS/system32/ntdll.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/kernel32.dll
Loaded symbols for /usr/bin/cygwin1.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/advapi32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/rpcrt4.dll
Loaded symbols for /usr/bin/cygz.dll
Fri Nov  2 10:42:42 2007 :: PID: 2576
Fri Nov  2 10:42:42 2007 :: Booting Database
... rest of booting messages ...


You really need to try to help yourself. A message like "I got a crash, please help" is so vague we can't actually help you at all.

I want to point out that these code bases are not professionally supported. The coders of them have tailored them to suit themselves, and they have very kindly made them publicly available. The general idea is that, if you want to run one yourself, you should have some basic programming and Unix knowledge. Otherwise you are going to get very frustrated.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Phobos   (79 posts)  [Biography] bio
Date Thu 01 Nov 2007 08:38 PM (UTC)  quote  ]
Message
Ok reading that leaves me with more questions then i started with but i havent changed anything and i guess that means it is just unexpected behavior so if anyone knows how i would narrow this problem down because im not getting anything in gdb please help!
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date Thu 01 Nov 2007 08:51 AM (UTC)  quote  ]
Message
If you had an actual crash, you should try running your game under gdb. Nick has an excellent guide:
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=3653

As for making yourself an imm, you can edit your pfile to set your level to 65. But the game might come with an imm character already; check the docs. (SmaugFUSS 1.8 for instance comes with an 'Admin' character.)

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] 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.


13,978 views.

This is page 1, subject is 6 pages long: 1 2  3  4  5  6  [Next page]

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]