View Single Post
  #5  
Old 02-11-2014, 05:51 PM
NatedogEZ's Avatar
NatedogEZ
Developer
 
Join Date: Dec 2012
Posts: 515
Default

Here is a diff of it... was a small change


Code:
--- "client_packet.cpp"	
+++ "client_packet.cpp"	
@@ -4782,6 +4782,10 @@
 	else if (tradee && (tradee->IsNPC() || tradee->IsBot())) {
 #endif
 		//npcs always accept
+		if (tradee->GetBodyType() == 11) {
+			//Do not allow trades with NO TARGET Npcs
+			return;
+		} else {
 		trade->Start(msg->to_mob_id);
 
 		EQApplicationPacket* outapp = new EQApplicationPacket(OP_TradeRequestAck, sizeof(TradeRequest_Struct));
@@ -4791,6 +4795,7 @@
 		FastQueuePacket(&outapp);
 		safe_delete(outapp);
 	}
+	}
 	return;
 }
Reply With Quote