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 ➜ ROM ➜ Compiling the server ➜ Rom 2.4 OLC problems with Cygwin -- something new?

Rom 2.4 OLC problems with Cygwin -- something new?

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


Posted by Aesclepius   (2 posts)  Bio
Date Thu 05 Jun 2008 02:53 AM (UTC)
Message
Hello there all,

After many years, I've decided to take up running a mud again. My last attempt was with Smaug, but due to the availability of certain Rom snippets and my lack of an ability to port from Rom to Smaug, I've switched to Rom. However, I've run into a snafu.

I'm currently running Rom 2.4b6 with OLC and color. However, after compiling any executable with OLC, the server launches but does not seem to have OLC. Any attempt at creating an area results in a null string return and little else. Upon attempting an ALIST, the area is indeed created but has no VNUMs attatched and so cannot be edited. I was led to understand that OLC functions very much the same as Smaug's, in that it opened a menu to control many functions rather than issuing instructions command by command. If this is the case, the menu never comes up.

The server was compiled in Cygwin, installed via the guide here. I'm currently using the files found at: http://www.mudmagic.com/codes/server-snippet/1580 -- "Rom24 w/ OLC"

Is this a compiling issue in which OLC is not fully patching into Rom or simply a newbie's naivety with a new batch of code? Please help, I'm a hair's breath away from simply returning to Smaug where my experience lies.

Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Thu 05 Jun 2008 04:04 AM (UTC)
Message
Well I can't get it to work either but I am not a ROM expert. What worked for me was to make a dummy template area file like this:


#AREADATA
Name Nick test area~
Builders None~
VNUMs 400 499
Credits { 1  5} Nick Gammon Test Area~
Security 9
End

#MOBILES
#0

#OBJECTS
#0

#ROOMS
#400
My Initial Room~
You are standing in a very strange place.
~
0 0 1
S
#0

#SPECIALS
S

#RESETS
S

#SHOPS
0

#MOBPROGS
#0

#$



Save that as (say) nick.are, then edit the area.lst file and add that name to the end, eg.


school.are
smurf.are
tohell.are
trollden.are
valley.are
wyvern.are
nick.are
$


Now when you reboot the server it will recognise the area. You can goto room 400 (the only room) and then type aedit to edit the area. Stuff like this seems to work:


show
Description:
You are standing in a very strange place.  - 
Name:       [My Initial Room]
Area:       [   48] Nick test area
Vnum:       [  400]
Sector:     [city]
Room flags: [no_mob]
Characters: [admin]
Objects:    [none]


Apart from that I don't think I can be much more help.

- Nick Gammon

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

Posted by Aesclepius   (2 posts)  Bio
Date Reply #2 on Thu 05 Jun 2008 05:14 AM (UTC)
Message
That seems to have solved it quite perfectly! Thank a ton!
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,736 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.