Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 12-20-2006, 01:11 AM
sesmar
I built it I will Support it!
 
Join Date: Jun 2005
Location: Michigan
Posts: 214
Default

I know that you guys like to see these things in a diff file and since I have tested and can also verify that the changes that WildCardX has made do work here is a diff file of his changes.

Changes to quest::depop (questmgr.cpp)
Code:
--- questmgr.cpp_bak    2006-12-20 07:43:08.000000000 +0000
+++ questmgr.cpp        2006-12-20 08:05:10.000000000 +0000
@@ -363,9 +363,13 @@
 void QuestManager::depop(int npc_type) {
        if (npc_type != 0){
                Mob * tmp = entity_list.GetMobByNpcTypeID(npc_type);
+
                if (tmp) {
-                       if(tmp != npc)
+                       if(tmp != npc){
                                tmp->CastToNPC()->Depop();
+                               entity_list.RemoveNPC(tmp->GetID());
+                               entity_list.RemoveMob(tmp->GetID());
+                       }
                        else
                                depop_npc = true;
                }
Changes to fix Quest Item combines
skills.h
Code:
--- skills.h_bak        2006-12-20 07:40:42.000000000 +0000
+++ skills.h    2006-12-20 07:41:20.000000000 +0000
@@ -95,7 +95,8 @@
  PERCUSSION_INSTRUMENTS        = 70,
  INTIMIDATION                  = 71,
  BERSERKING                            = 72,
- TAUNT                                 = 73
+ TAUNT                                 = 73,
+ TRADESKILL = 75
 } SkillType;

 #define HIGHEST_SKILL  TAUNT
tradeskills.cpp
Code:
--- tradeskills.cpp_bak 2006-12-20 07:41:40.000000000 +0000
+++ tradeskills.cpp     2006-12-20 07:42:33.000000000 +0000
@@ -197,8 +197,8 @@
                else
                        user->Message(13, "Only rogues can mix poisons.");
                break;
-       case 0x0D: //Quest Containers-Most use 1E but item 17111 uses this one, odd Still needs completion
-               tradeskill = POTTERY;
+       case 13: //Quest Containers-Most use 1E but item 17111 uses this one, odd Still needs completion
+               tradeskill = TRADESKILL;
                break;
        case 46: //Fishing Still needs completion
                tradeskill = FISHING;
__________________
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 03:30 PM.


 

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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3