Re: Hometowns

From: doppsoft (doppsoft@junctionnet.com)
Date: 01/04/97


>I recently imped hometowns on my mud, using the code available from the
>snippets site.  The four rooms available as 'home' rooms on my are
>numbered 19200, 8871, 3001, and 5509.  Unfortunatley, the hometown code
>will only work with rooms 8860 and 0. When 'set soandso hometown 1 or 2'
>is used, they are sent off to the end of a dock (8860).  When 3 or 4 is
>used, they end up in room 0, the Welcome Centre.  I have reviewed the
>code and found no problems, although there obviously is one.  Does
>anyone have an idea what could be causing this type of problem?

Sounds like a problem with real_room() being missing.  Since there are 
vnums and rnums for rooms, you gotta make sure that you take care to 
separate them.  I'm not sure WHERE the code would be to look into that.  
If anything, I would look at where the room nums are assigned, then check 
to see that everything is real_room()'ed.  Also, check to see if you 
don't accidentally real_room it more than once.  So also check your 
'recall' code.  I wrote my own hometown code from scratch, so I didn't 
have to use someone else's code (It's easier for me to debug it if I know 
it well enough)
+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST