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, Sogou

Members: 0
Guests: 10
Stats
Files
Topics
Posts
Members
Newest Member
481
3,740
19,396
629
DarrenPayn
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Bugfix Lists » LoP Bugfix List » Locker Issue
Forum Rules | Mark all | Recent Posts

Locker Issue
< Newer Topic :: Older Topic > Lockers not being saved

Pages:<< prev 1 next >>
Post is unread #1 Oct 19, 2008, 7:09 am
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,874
JoinedJul 26, 2005

in lockers.c
in do_locker
find
   for( locker = ch->in_room->first_content; locker; locker = locker->next_content )
      if( locker->name == ch->name )
         break;

change it to
   for( locker = ch->in_room->first_content; locker; locker = locker->next_content )
      if( locker->pIndexData->vnum == OBJ_VNUM_LOCKER && !str_cmp( locker->name, ch->name ) )
         break;


in rename_locker
find
   for( locker = ch->in_room->first_content; locker; locker = locker->next_content )
      if( locker->name == ch->name )
         break;

change it to this
   for( locker = ch->in_room->first_content; locker; locker = locker->next_content )
      if( locker->pIndexData->vnum == OBJ_VNUM_LOCKER && !str_cmp( locker->name, ch->name ) )
         break;


in save.c
find
                     for( locker = ch->in_room->first_content; locker; locker = locker->next_content )
                     {
                        if( locker->name == ch->name )
                           break;
                     }

change it to
                     for( locker = ch->in_room->first_content; locker; locker = locker->next_content )
                     {
                        if( locker->pIndexData->vnum == OBJ_VNUM_LOCKER && !str_cmp( locker->name, ch->name ) )
                           break;
                     }

       
Pages:<< prev 1 next >>