Browse Source

remove bot customize for now, it was not properly implemented

Emagi 1 year ago
parent
commit
113713fb62
2 changed files with 7 additions and 4 deletions
  1. 5 2
      EQ2/source/WorldServer/Bots/BotCommands.cpp
  2. 2 2
      EQ2/source/WorldServer/client.cpp

+ 5 - 2
EQ2/source/WorldServer/Bots/BotCommands.cpp

@@ -477,7 +477,10 @@ void Commands::Command_Bot_Customize(Client* client, Seperator* sep) {
 	Bot* bot = 0;
 	if (client->GetPlayer()->GetTarget() && client->GetPlayer()->GetTarget()->IsBot())
 		bot = (Bot*)client->GetPlayer()->GetTarget();
-
+	
+	
+	client->Message(CHANNEL_COLOR_RED, "This command is disabled and requires new implementation.");
+/* this links to OP_SubmitCharCust
 	if (bot && bot->GetOwner() == client->GetPlayer()) {
 		PacketStruct* packet = configReader.getStruct("WS_OpenCharCust", client->GetVersion());
 		if (packet) {
@@ -501,7 +504,7 @@ void Commands::Command_Bot_Customize(Client* client, Seperator* sep) {
 			packet->setDataByName("race_id", 255);
 			client->QueuePacket(packet->serialize());
 		}
-	}
+	}*/
 }
 
 void Commands::Command_Bot_Spawn(Client* client, Seperator* sep) {

+ 2 - 2
EQ2/source/WorldServer/client.cpp

@@ -2551,7 +2551,7 @@ bool Client::HandlePacket(EQApplicationPacket* app) {
 	{
 		LogWrite(OPCODE__DEBUG, 1, "Opcode", "Opcode 0x%X (%i): OP_SubmitCharCust", opcode, opcode);
 		PacketStruct* packet = configReader.getStruct("WS_SubmitCharCust", version);
-		if (packet && packet->LoadPacketData(app->pBuffer, app->size)) {
+		/*if (packet && packet->LoadPacketData(app->pBuffer, app->size)) {
 			int8 type = packet->getType_int8_ByName("type");
 			if (type == 0) {
 				if (player->custNPC) {
@@ -2577,7 +2577,7 @@ bool Client::HandlePacket(EQApplicationPacket* app) {
 			player->changed = true;
 			player->info_changed = true;
 			current_zone->SendSpawnChanges(player, this);
-		}
+		}*/
 
 		break;
 	}