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

Reply
 
Thread Tools Display Modes
  #1  
Old 02-28-2011, 08:42 PM
Caryatis
Dragon
 
Join Date: May 2009
Location: Milky Way
Posts: 539
Default

I dont remember this function from live at all, always was earth elementals as far as I remember.

Besides that though...
Quote:
//Magician AA Host of the Elements -- Manbear (blmille2)
I understand you want some credit for it but signing a 10 line diff is alittle over the top lol. Personally I think its unsightly to have people signing shit left and right, but thats just me.
Reply With Quote
  #2  
Old 03-01-2011, 03:36 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Quote:
Originally Posted by Caryatis View Post
I understand you want some credit for it but signing a 10 line diff is alittle over the top lol. Personally I think its unsightly to have people signing shit left and right, but thats just me.
Not a big deal, but yeah; since we have the SVN changelog as well as the changelog.txt file, there is no need to add names to source updates. I have actually been removing names from notes like that as I see them near code I am working on. If we want to know who made what change, it is easy enough to find it on the SVN. You will still get credit in the changelog.txt as well as in the SVN rev note if the change gets added.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #3  
Old 03-01-2011, 11:57 AM
blmille2
Sarnak
 
Join Date: Apr 2007
Location: Austin, TX
Posts: 64
Default

Quote:
Originally Posted by Caryatis View Post
I dont remember this function from live at all, always was earth elementals as far as I remember.

Besides that though...


I understand you want some credit for it but signing a 10 line diff is alittle over the top lol. Personally I think its unsightly to have people signing shit left and right, but thats just me.
I was following by example.


Other than that, I got the request from one of the devs. I can look into it if the instructions weren't exactly correct.
Reply With Quote
  #4  
Old 03-01-2011, 03:32 PM
blmille2
Sarnak
 
Join Date: Apr 2007
Location: Austin, TX
Posts: 64
Default Updated code

Make sure to start with a fresh SVN checkout, as the code before has been removed.

Code:
Index: zone/AA.cpp
===================================================================
--- zone/AA.cpp (revision 1873)
+++ zone/AA.cpp (working copy)
@@ -609,6 +609,23 @@
                        npc_dup = new NPCType;
                        memcpy(npc_dup, made_npc, sizeof(NPCType));
                }
+    // Host of the Elements cosmetic code
+    switch(spell_id){
+      case 3288: // Host of the Elements, Rank 3
+        npc_dup->race = 75;
+        npc_dup->texture = MakeRandomInt(0,3); // Earth, Fire, Water, Air
+        break;
+      case 3287:// Host of the Elements, Rank 2
+        npc_dup->race = 75;
+        npc_dup->texture = MakeRandomInt(0,1); // Earth, Fire
+        break;
+      case 3286:// Host of the Elements, Rank 1
+        npc_dup->race = 75;
+        npc_dup->texture = 0; // Earth
+        break;
+      default:
+        break;
+    }

                NPC* npca = new NPC(
                                (npc_dup!=NULL)?npc_dup:npc_type,       //make sure we give the NPC the correct data pointer
Reply With Quote
Reply

Thread Tools
Display Modes

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 04:55 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