Your Gnolls are not properly defined in the code, I replaced my Human pirates with Gnolls and now my Human Pirates have the same behavior you are talking about..But Gnolls work fine now..
Perhaps something was missed when you patched it, here is the diff for me, numbers may not line up as I have lots of other custom stuff in:
Code:
diff --git a/common/Item.cpp b/common/Item.cpp
index 1f74b1b..9e15f48 100644
--- a/common/Item.cpp
+++ b/common/Item.cpp
@@ -1928,6 +1928,7 @@ bool Item_Struct::IsEquipable(uint16 Race, uint16 Class_) const
}
Races_ >>= 1;
}
+ if (Race_ == 69) {IsRace = true;} // davood
return (IsRace && IsClass);
}
diff --git a/common/races.cpp b/common/races.cpp
index d088ce1..69878d1 100644
--- a/common/races.cpp
+++ b/common/races.cpp
@@ -106,6 +106,8 @@ uint32 GetArrayRace(uint16 race) {
return Array_Race_FROGLOK;
case DRAKKIN:
return Array_Race_DRAKKIN;
+ case ALAKAMIN_HUMAN_PIRATE:
+ return Array_Race_SHROUD; // davood
default:
return Array_Race_UNKNOWN;
}
diff --git a/common/races.h b/common/races.h
index 2c360e9..d610c86 100644
--- a/common/races.h
+++ b/common/races.h
@@ -54,6 +54,7 @@
#define EMU_RACE_NPC 131069 // was 65533
#define EMU_RACE_PET 131070 // was 65534
#define EMU_RACE_UNKNOWN 131071 // was 65535
+#define ALAKAMIN_HUMAN_PIRATE 341 // davood
#define human_1 1
@@ -72,6 +73,7 @@
#define vahshir_1 8192
#define rall_1 16384 //froglok?
#define drakkin_1 32768
+#define shroud_1 65536 //davood
const char* GetRaceName(uint16 race);
@@ -97,8 +99,10 @@ inline uint32 GetRaceBitmask(uint16 race) { return uint32(pow(2.0f, float(GetArr
#define Array_Race_DRAKKIN 16
#define Array_Race_NPC 17
#define Array_Race_PET 18
+#define Array_Race_SHROUD 69 // lets see if this works (Davood)
#define Count_Array_Race 19 // used for array defines, must be the max + 1
-#define PLAYER_RACE_COUNT 16 // The count of all player races
+#define PLAYER_RACE_COUNT 17 // davood
+//#define PLAYER_RACE_COUNT 16 // The count of all player races
/*
diff --git a/zone/client.cpp b/zone/client.cpp
index 96eb1a3..b183661 100644
--- a/zone/client.cpp
+++ b/zone/client.cpp
@@ -6264,6 +6264,7 @@ void Client::SendStatsWindow(Client* client, bool use_window)
case 130: race_Name = "Vah Shir"; break;
case 330: race_Name = "Froglok"; break;
case 522: race_Name = "Drakkin"; break;
+ case 341: race_Name = "Human_Pirate"; break; // davood
default: break;
}
/*##########################################################
@@ -7116,6 +7117,8 @@ const char* Client::GetRacePlural(Client* client) {
return "Frogloks"; break;
case DRAKKIN:
return "Drakkin"; break;
+ case ALAKAMIN_HUMAN_PIRATE:
+ return "Human_Pirate"; break; //davood
default:
return "Races"; break;
}
Just replace Human Pirate with Gnolls, and Gnoll info, must say, the Gnolls look cool as a playable race!! Thanks Davood!!!