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 ➜ SWR 2.0 Areas and Explore

SWR 2.0 Areas and Explore

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


Posted by GuidoHC   (10 posts)  Bio
Date Tue 21 Aug 2007 12:32 PM (UTC)
Message
I am running a SWR 2.0 server on my computer. I have Windows XP Pro, and compiled using Cygwin to get an .EXE to run the server. It is just a local server on my computer.

It only came with the Newbie area, so how do I allow people to land on Terra Prime? It says Areas are controlled by the PCs who rule the planets.

When I tried to explore a new planet (I made the Noob launch pad a shipyard) it crashes the MUD.

Any thoughts?
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #1 on Wed 22 Aug 2007 02:52 PM (UTC)
Message
For crashes, use gdb to see what the problem is.

For the message you get when trying to land, grep that in the code. See what causes it.

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

Posted by GuidoHC   (10 posts)  Bio
Date Reply #2 on Wed 22 Aug 2007 04:59 PM (UTC)

Amended on Thu 23 Aug 2007 12:47 AM (UTC) by GuidoHC

Message
That's the thing:

The planet is there, but there are no locations for it. No landing pads or anything. The ONLY rooms in the whole MUD are he newbie academy and the Immortal Omniplex.

When you launch from the newbie academy you can't land anywhere, no platforms exist.

I type gdb in my Cygwin and it's not there. I installed every possible option for Cygwin in the install, which was lengthy, but I thought it would include all commands. It fixed my 'MAKE' problem. I also tried 'man gdb' and there is no manual. Is there a missing file or dll i nthe cygwin folder?

Also, is there any page dedicated to SWR2.0, like there is for FUSS and all those codes? I know it's an unpopular code.

And thanks for the reply, Zeno.
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #3 on Wed 22 Aug 2007 05:11 PM (UTC)
Message
Quote:
The planet is there, but there are no locations for it. No landing pads or anything. The ONLY rooms in the whole MUD are he newbie academy and the Immortal Omniplex.

Sounds like you need to create some landing pads then. No idea how, I'm not familiar with SWR. Check over the code.

Quote:
I type gdb in my Cygwin and it's not there.

Sounds like a Cygwin issue, try talking to the Cygwin mailgroup. Or locate the gdb exec and run it from there.

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

Posted by Orik   USA  (182 posts)  Bio
Date Reply #4 on Wed 22 Aug 2007 06:08 PM (UTC)
Message
I"m guessing with the planet thing, you'll have to make the planet, then an area on the planet, then a landing room within that area. I'm not familiar with SWR either, but I'm guessing that's what you have to do.

As for gdb, if you used Nick's cygwin download guide it would have gotten it. Maybe you downloaded a bad copy from a bad mirror or something. I'd suggest using Nick's download guide if you want to try to download Cygwin again. (It won't take near as long if you just take what Nick gives you, rather then downloading everything again)

See if makeplanet is a command..or type wizhelp and look at all your commands you have. Should see something along those lines I'm guessing.
Top

Posted by GuidoHC   (10 posts)  Bio
Date Reply #5 on Thu 23 Aug 2007 12:50 AM (UTC)
Message
Makeplanet is not a command. Theoretically because the players use 'explore' to create them. And it won't even let me redit any room, and vassign and all of the 'zone' admin commands are not there. I can't manipulate the vnums in hardly any way, other than invoking objects and stuff. This is turning out to be a huge headache, hehe.
Top

Posted by GuidoHC   (10 posts)  Bio
Date Reply #6 on Thu 23 Aug 2007 03:09 AM (UTC)
Message
Well, I fixed the 'No place to land' Issue by making a clan, making them the governing body of the only planet, Terra Prime, and making my admin an Engineer so he can build. Then I went to one of the VOIDS and began constructing a shipyard, landing pad and hotel. Now when people launch from the academy they can land on Terra Prime.


Still downloading the new Cygwin with the gdb so I can see what's up with the EXPLORE command. Do i just type gdb or what in the Cygwin window.
Top

Posted by GuidoHC   (10 posts)  Bio
Date Reply #7 on Thu 23 Aug 2007 01:37 PM (UTC)
Message
Ok, I got GDB up and it works, but I have no clue how to use it. I checked MAN GDB and It only helped a little. Could someone give me an example of what to do to examine a command that crashes the MUD?
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #8 on Thu 23 Aug 2007 03:46 PM (UTC)
Message
There is a guide to gdb right here on Gammon forums.

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

Posted by GuidoHC   (10 posts)  Bio
Date Reply #9 on Thu 23 Aug 2007 05:41 PM (UTC)

Amended on Thu 23 Aug 2007 05:47 PM (UTC) by GuidoHC

Message
Ok, I figured out how to run the .exe and debug it. it was an error in the system telling me I can't explore i nthe Terra Prime system. Sweet, thanks guys!
Top

Posted by Darrik Vequir   (24 posts)  Bio
Date Reply #10 on Thu 23 Aug 2007 05:46 PM (UTC)
Message

Your game is likely not dropping a core. However, you can attach gdb to the running process ( gdb <path to executible> <pid of the running mud> ). Then type the command that's crashing the mud, and you'll get the same choice of commands as you would gdb'ing a core.

SWR 2.0 was created to be a fully player built game. I haven't really spent a lot of time with it, and the time I did was years ago, but you'll need to use player commands to build areas, create planets, etc.

It's not a fully functioning codebase.

DV
Top

Posted by GuidoHC   (10 posts)  Bio
Date Reply #11 on Thu 23 Aug 2007 06:04 PM (UTC)
Message
Ok, so I used the GDB to find the bad line, and I changed it to tell the player they cannot explore in that system, instead of crashing my MUD, lol. Thanks to all of you. Now I can land people straight out of the Newbie academy and also explore new systems and planets. Joy!
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.


32,465 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.