Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
 parse description bug
Today, 9:00 pm
By Remcon
Couple bugs
Dec 12, 2017, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
Bug in will_fall( )
Oct 23, 2017, 1:35 am
By GatewaySysop
Bug in do_zap( ), do_brandish( )
Oct 18, 2017, 1:52 pm
By GatewaySysop
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Memwatch
Author: Johan Lindh
Submitted by: Vladaar
Users Online
CommonCrawl, Yandex, DotBot, Remcon

Members: 1
Guests: 18
Stats
Files
Topics
Posts
Members
Newest Member
477
3,706
19,237
608
LAntorcha
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,863
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 >>