Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Server Code Submissions

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-21-2011, 06:10 PM
image
Demi-God
 
Join Date: Jan 2002
Posts: 1,290
Default Picklock bug

You can pick locks that are -1 (supposed to be immune and GM only doors or key required usually).

doors.cpp

Doors::HandleClick(Client* sender, int8 trigger)

New:
Code:
		else if(lockpicks != NULL)
		{
			// Kings & Bandits - if lockskill is less than 65535 they can try to pick this lock, db people set -1.
			if( (GetLockpick() < 65535) && sender->GetSkill(PICK_LOCK))
			{
Old:
Code:
                else if(lockpicks != NULL)
                {
                        if(sender->GetSkill(PICK_LOCK))
                        {
                                if(lockpicks->GetItem()->ItemType == ItemTypeLockPick)
                                {
__________________
www.eq2emu.com
EQ2Emu Developer
Former EQEMu Developer / GuildWars / Zek Seasons Servers
Member of the "I hate devn00b" club.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 12:10 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3