Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, Yandex, DotBot

Members: 0
Guests: 9
Stats
Files
Topics
Posts
Members
Newest Member
481
3,739
19,386
619
Alexander
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » General » Smaug Snippets » Overland snippet issue
Forum Rules | Mark all | Recent Posts

Overland snippet issue
< Newer Topic :: Older Topic > cannot setexit (no such room exists

Pages:<< prev 1 next >>
Post is unread #1 Jan 4, 2005, 9:52 pm   Last edited Nov 18, 2007, 4:09 pm by Samson
Go to the top of the page
Go to the bottom of the page

spallapiden

GroupMembers
Posts25
JoinedFeb 1, 2004

Hi all, well i have disobeyed the instructions to not install overland unless you are a good programmer, and even tho im a complete newbie i have managed to install it all, and to have it all working but for 1 issue.

I for some reason (most definitely coder error) cannot set an exit from the overland map back to an area file. This is the process im going through to make the exit.

setexit create (works)
setexit area somearea.are (works) area also has contenent added.
setexit vnum 21000 (fails) No such room exists. is the error given.

I have looked through do_setexit and can see it fails in this section of code
vnum = atoi( arg );

   if( ( location = get_room_index( vnum ) ) == NULL )
   {
      send_to_char( "No such room exists.\r\n", ch );
      return;
   }

and am assuming that my get_room_index is always NULL. Now im pretty sure i prolly made a mistake somewhere in all the additions that were made, i just cannot find it, any help would be greatly appreciated.

Spall.
       
Post is unread #2 Jan 5, 2005, 3:06 pm
Go to the top of the page
Go to the bottom of the page

spallapiden

GroupMembers
Posts25
JoinedFeb 1, 2004

Please ignore my ignorance in the previous post, seems that setexit doesnt accept the arg vnum like it does for area, man it helps when i read the code propper like and not just skim over it.
       
Pages:<< prev 1 next >>