PenUltima Online

It is currently Sun Sep 07, 2008 3:23 am

All times are UTC - 8 hours




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: bug in container use script
PostPosted: Wed Sep 13, 2006 7:01 am 
Offline

Joined: Sun Mar 05, 2006 7:25 am
Posts: 118
Location: Italy
097\Distro\pkg\items\containers\container\use.src
Code:
   if ( mobile.cmdlevel )
      SendSysMessage(mobile, "Command level is present - container is skipping locks, traps, etc.");
      SendViewContainer(mobile, container);
   elseif ( ContainerIsLocked(mobile, container) )
      RunTraps(container, mobile);
      return 0;
   endif
   
   SendViewContainer(mobile, container);


You should add a return 1 after the first SendViewContainer() or it will be called twice if pc has cmdlevel != 0


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 13, 2006 2:02 pm 
Offline
POL Developer
User avatar

Joined: Wed Jan 25, 2006 2:30 am
Posts: 410
Location: San Diego, California
Updated along with a lot of other little issues in the container package.

_________________
-Austin


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl