Primero me gustaria recordarles que deben hacer una copia de seguridad de su base de datos "player" por si algo les va mal aunque no deberia.
Nota1: Parece una larga guia pero todo es simple. Es borrar una cosa .. añadir un bicho y volver a poner lo que has borrado.
Nota2: Vamos a implementar unos mobs al estilo barbaro xD
Nota3: Yo lo he hecho asi y me funciona 100%.
Nota4: Los bichos ya estan implementados en vuestro cliente solo falta añadirlos en la base de datos. ( He comprobado en clientes antiguos y nuevos 2010 - Si tienes algun cliente raro no es mi problema xD)
#Serverfiles 2010
1. Ve al Navicat y haz una copia de seguridad de la base de datos: player.
2. Añadir este Querry:
INSERT INTO `mob_proto` VALUES ('2501', 'zombie_diseased_kid', 0x5A6F6D626965204B696E64, '1', '0', '0', '100', '', 'AGGR,BERSERK,DEATHBLOW,REVIVE', '0', 'UNDEAD', '', '0', '', '0', '30', '40', '200', '10', '100', '500', '2000', '3', '3', '500000', '600000', '50000', '70', '100', '100', '100', '2000', '100', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `mob_proto` VALUES ('2502', 'zombie_diseased_dog', 0x5A6F6D6269652048756E64, '1', '0', '0', '100', '', 'AGGR,BERSERK,DEATHBLOW,REVIVE', '0', 'UNDEAD', '', '0', '', '0', '33', '40', '200', '10', '100', '500', '2000', '3', '3', '500000', '600000', '50000', '70', '100', '100', '100', '2000', '100', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `mob_proto` VALUES ('2503', 'zombie_diseased_infector', 0x5A6F6D626965626573657373656E6572, '2', '0', '0', '100', '', 'AGGR,BERSERK,DEATHBLOW,REVIVE', '0', 'UNDEAD', '', '0', '', '0', '34', '40', '200', '10', '140', '500', '2000', '3', '3', '500000', '1500000', '30000', '70', '100', '100', '100', '2000', '100', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `mob_proto` VALUES ('2504', 'zombie_diseased_sword', 0x5A6F6D626965736368776572746BE46D70666572, '2', '0', '0', '100', '', 'AGGR,BERSERK,DEATHBLOW,REVIVE', '0', 'UNDEAD', '', '0', '', '0', '40', '40', '200', '10', '140', '500', '2000', '3', '3', '500000', '1500000', '30000', '70', '100', '100', '100', '2000', '100', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `mob_proto` VALUES ('2506', 'zombie_diseased_bow', 0x5A6F6D626965626F67656E736368FC747A65, '2', '0', '0', '100', '', 'AGGR,BERSERK,DEATHBLOW,REVIVE', '0', 'UNDEAD', '', '0', '', '0', '43', '40', '200', '10', '243', '500', '2000', '3', '3', '500000', '1500000', '30000', '70', '100', '100', '100', '2000', '100', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `mob_proto` VALUES ('2507', 'zombie_diseased_boss', 0x5A6F6D626965616E66FC68726572, '4', '0', '0', '100', '', 'AGGR,BERSERK,DEATHBLOW,REVIVE', '0', 'UNDEAD', '', '0', '', '0', '47', '40', '200', '10', '199', '500', '2000', '3', '3', '500000', '1500000', '30000', '70', '100', '100', '100', '2000', '100', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `mob_proto` VALUES ('2508', 'zombie_soldier_scythe', 0x53656E73656E6D616E6E7A6F6D626965, '3', '0', '0', '100', '', 'AGGR,BERSERK,DEATHBLOW,REVIVE', '0', 'UNDEAD', '', '0', '', '0', '65', '40', '200', '10', '254', '500', '2000', '3', '3', '500000', '1500000', '30000', '70', '100', '100', '100', '2000', '100', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `mob_proto` VALUES ('2509', 'zombie_soldier_bow', 0x5A6F6D626965626F67656E736368FC747A65, '3', '0', '0', '100', '', 'AGGR,BERSERK,DEATHBLOW,REVIVE', '0', 'UNDEAD', '', '0', '', '0', '59', '40', '200', '10', '277', '500', '5000', '3', '3', '500000', '1500000', '30000', '70', '100', '100', '100', '2000', '100', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `mob_proto` VALUES ('2510', 'zombie_soldier_spear', 0x5A6F6D62696573706565726BE46D70666572, '3', '0', '0', '100', '', 'AGGR,BERSERK,DEATHBLOW,REVIVE', '0', 'UNDEAD', '', '0', '', '0', '70', '40', '200', '10', '243', '500', '500', '3', '3', '500000', '1500000', '30000', '70', '100', '100', '100', '2000', '100', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `mob_proto` VALUES ('2511', 'zombie_magician', 0x5A6F6D6269657A61756265726572, '3', '0', '0', '100', '', 'AGGR,BERSERK,DEATHBLOW,REVIVE', '0', 'UNDEAD', '', '0', '', '0', '80', '40', '200', '10', '249', '500', '5000', '3', '3', '500000', '1500000', '30000', '70', '100', '100', '100', '2000', '100', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `mob_proto` VALUES ('2512', 'zombie_bigboss', 0x5A6F6D626965616E66FC68726572, '4', '0', '0', '100', '', 'AGGR,BERSERK,DEATHBLOW,REVIVE', '0', 'UNDEAD', '', '0', '', '0', '80', '40', '200', '10', '249', '500', '5000', '3', '3', '500000', '1500000', '30000', '70', '100', '100', '100', '2000', '100', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `mob_proto` VALUES ('2513', 'zombie_ghost', 0x5A6F6D6269656765697374, '2', '0', '0', '100', '', 'AGGR,BERSERK,DEATHBLOW,REVIVE', '0', 'UNDEAD', '', '0', '', '0', '67', '40', '200', '10', '249', '500', '5000', '3', '3', '500000', '1500000', '30000', '70', '100', '100', '100', '2000', '100', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `mob_proto` VALUES ('2514', 'zombie_general', 0x5A6F6D62696567656E6572616C, '4', '0', '0', '100', '', 'AGGR,BERSERK,DEATHBLOW,REVIVE', '0', 'UNDEAD', '', '0', '', '0', '86', '40', '200', '10', '243', '500', '5000', '3', '3', '500000', '1500000', '30000', '70', '100', '100', '100', '2000', '100', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `mob_proto` VALUES ('2541', 'Nonamezombie_soldier_scy', 0x53656E73656E6D616E6E7A6F6D626965, '4', '0', '0', '100', '', 'AGGR,BERSERK,DEATHBLOW,REVIVE', '0', 'UNDEAD', '', '0', '', '0', '81', '40', '200', '10', '249', '500', '2000', '3', '3', '500000', '1500000', '30000', '70', '100', '100', '100', '2000', '100', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `mob_proto` VALUES ('2542', 'zombie_soldier_bow', 0x5A6F6D626965626F67656E736368FC747A65, '2', '0', '0', '100', '', 'AGGR,BERSERK,DEATHBLOW,REVIVE', '0', 'UNDEAD', '', '0', '', '0', '66', '40', '200', '10', '243', '500', '2000', '3', '3', '500000', '1500000', '30000', '70', '100', '100', '100', '2000', '100', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `mob_proto` VALUES ('2543', 'zombie_soldier_spear', 0x5A6F6D62696573706565726BE46D70666572, '2', '0', '0', '100', '', 'AGGR,BERSERK,DEATHBLOW,REVIVE', '0', 'UNDEAD', '', '0', '', '0', '70', '40', '200', '10', '249', '500', '2000', '3', '3', '500000', '1500000', '30000', '70', '100', '100', '100', '2000', '100', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `mob_proto` VALUES ('2544', 'zombie_magician', 0x5A6F6D6269657A61756265726572, '2', '0', '0', '100', '', 'AGGR,BERSERK,DEATHBLOW,REVIVE', '0', 'UNDEAD', '', '0', '', '0', '59', '40', '200', '10', '179', '500', '2000', '3', '3', '500000', '1500000', '30000', '70', '100', '100', '100', '2000', '100', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `mob_proto` VALUES ('2545', 'zombie_bigboss', 0x5A6F6D626965616E66FC68726572, '4', '0', '0', '100', '', 'AGGR,BERSERK,DEATHBLOW,REVIVE', '0', 'UNDEAD', '', '0', '', '0', '76', '40', '200', '10', '243', '500', '2000', '3', '3', '500000', '1500000', '30000', '70', '100', '100', '100', '2000', '100', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `mob_proto` VALUES ('2546', 'zombie_ghost', 0x5A6F6D6269656765697374, '3', '0', '0', '100', '', 'AGGR,BERSERK,DEATHBLOW,REVIVE', '0', 'UNDEAD', '', '0', '', '0', '80', '40', '200', '10', '179', '500', '2000', '3', '3', '500000', '1500000', '30000', '70', '100', '100', '100', '2000', '100', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `mob_proto` VALUES ('2547', 'zombie_general', 0x5A6F6D62696567656E6572616C, '5', '0', '0', '100', '', 'AGGR,BERSERK,DEATHBLOW,REVIVE', '0', 'UNDEAD', '', '0', '', '0', '90', '40', '200', '10', '249', '500', '2000', '3', '3', '500000', '1500000', '30000', '70', '100', '100', '100', '2000', '100', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `mob_proto` VALUES ('2591', 'zombie_king', 0x5A6F6D6269656BF66E6967, '6', '0', '0', '100', '', 'AGGR,BERSERK,DEATHBLOW,REVIVE', '0', 'UNDEAD', 'SLOW,FALL,CURSE,POISON,TERROR', '0', '', '0', '90', '40', '200', '10', '300', '500', '25000', '3', '3', '500000', '1500000', '30000', '70', '100', '100', '100', '2000', '100', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `mob_proto` VALUES ('2592', 'zombie_king', 0x5A6F6D6269656BF66E6967, '6', '0', '0', '100', '', 'AGGR,BERSERK,DEATHBLOW,REVIVE', '0', 'UNDEAD', 'SLOW,FALL,CURSE,POISON,TERROR', '0', '', '0', '90', '40', '200', '10', '400', '500', '25000', '3', '3', '500000', '1500000', '30000', '70', '100', '100', '100', '2000', '100', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `mob_proto` VALUES ('2593', 'zombie_king', 0x5A6F6D6269656BF66E6967, '6', '0', '0', '100', '', 'AGGR,BERSERK,DEATHBLOW,REVIVE', '0', 'UNDEAD', 'SLOW,FALL,CURSE,POISON,TERROR', '0', '', '0', '90', '40', '200', '10', '400', '500', '25000', '3', '3', '500000', '1500000', '30000', '70', '100', '100', '100', '2000', '100', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `mob_proto` VALUES ('2594', 'zombie_king', 0x5A6F6D6269656BF66E6967, '5', '0', '0', '100', '', 'AGGR,BERSERK,DEATHBLOW,REVIVE', '0', 'UNDEAD', 'SLOW,FALL,CURSE,POISON,TERROR', '0', '', '0', '90', '40', '200', '10', '400', '500', '25000', '3', '3', '500000', '1500000', '30000', '70', '100', '100', '100', '2000', '100', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `mob_proto` VALUES ('2595', 'zombie_king', 0x5A6F6D6269656BF66E6967, '5', '0', '0', '100', '', 'AGGR,BERSERK,DEATHBLOW,REVIVE', '0', 'UNDEAD', 'SLOW,FALL,CURSE,POISON,TERROR', '0', '', '0', '90', '40', '200', '10', '400', '500', '25000', '3', '3', '500000', '1500000', '30000', '70', '100', '100', '100', '2000', '100', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '2', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `mob_proto` VALUES ('2596', 'zombie_king', 0x5A6F6D6269656BF66E6967, '5', '0', '0', '100', '', 'AGGR,BERSERK,DEATHBLOW,REVIVE', '0', 'UNDEAD', 'SLOW,FALL,CURSE,POISON,TERROR', '0', '', '0', '90', '40', '200', '10', '400', '500', '25000', '3', '3', '500000', '1500000', '30000', '70', '100', '100', '100', '2000', '100', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '2', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `mob_proto` VALUES ('2597', 'zombie_god', 0x5A6F6D626965676F7474, '5', '0', '0', '100', '', 'AGGR,BERSERK,DEATHBLOW,REVIVE', '0', 'UNDEAD', 'SLOW,FALL,CURSE,POISON,TERROR', '0', '', '0', '90', '40', '200', '10', '400', '500', '25000', '3', '3', '500000', '1500000', '30000', '70', '100', '100', '100', '2000', '100', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '2', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `mob_proto` VALUES ('2598', 'zombie_god', 0x5A6F6D626965676F7474, '5', '0', '0', '100', '', 'AGGR,BERSERK,DEATHBLOW,REVIVE', '0', 'UNDEAD', 'SLOW,FALL,CURSE,POISON,TERROR', '0', '', '0', '120', '40', '150', '10', '600', '1000', '25000', '3', '3', '500000', '1500000', '30000', '70', '100', '100', '100', '5000', '100', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '2', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `mob_proto` VALUES ('2505', 'zombie_diseased_spear', 0x5A6F6D62696573706565726BE46D70666572, '2', '0', '0', '100', '', 'AGGR,BERSERK,DEATHBLOW,REVIVE', '0', 'UNDEAD', 'SLOW,FALL,CURSE,POISON,TERROR', '0', '', '0', '120', '40', '150', '10', '600', '1000', '25000', '3', '3', '500000', '1500000', '30000', '70', '100', '100', '100', '5000', '100', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '2', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
// Si recibes el error de que 2501 ya existe .. o algun otro vnum, ve borrando las lineas poquito a poco .. borra las que existen ya. Si quieres, podrias comprobar los vnum antes de inicializar la querry.
// Si recibes el error: "[err] 1136 - column count doesn't match value count at row 1" es porque tienes una estructura nueva de la tabla mob_proto y este Querry esta en el formato de la antigua.
Para arreglar este problema cada vez que necesitas poner un nuevo mob .. y recibes este error .. sigue mis pasos:
1. Reciniciamos el servidor y volvemos a entrar pero sin arrancar el servidor de metin.
2. Seleccionar la tabla "pob_proto" y pulsar a donde pone: Design Table
3. Borramos las ultimas 6 fields que serian: "skill_level2" "skill_vnum2" "skill_level3" "skill_vnum3" "skill_level4" "skill_vnum4" . Lo pueden hacer mediante la querry asi:
ALTER TABLE mob_proto
DROP COLUMN skill_level2
ALTER TABLE mob_proto
DROP COLUMN skill_vnum2
ALTER TABLE mob_proto
DROP COLUMN skill_level3
ALTER TABLE mob_proto
DROP COLUMN kill_vnum3
ALTER TABLE mob_proto
DROP COLUMN skill_level4
ALTER TABLE mob_proto
DROP COLUMN skill_vnum4
4. Reiniciamos el servidor y volvemos a entrar.
5. Abrimos el Navicat .. tabla player .. new querry .. y volvemos a meter la QUERRY .. ya no deberian de recibir error.
6. Reiniciamos el servidor y volvemos a entrar. Abrimos el navicat .. le damos nombres a los bichos .. en mi caso puse: el mob 2597 que se llame "La Muerte" de lvl 95. Configurar los demas valores a su gusto.
7. Volvemos a modificar la tabla y añadir los valores que hemos quitado en el punto 3. Asi que abrir un nuevo querry y poner:
ALTER TABLE `mob_proto` ADD `skill_level2` tinyint(3) unsigned default NULL;
ALTER TABLE `mob_proto` ADD `skill_vnum2` int(10) unsigned default NULL;
ALTER TABLE `mob_proto` ADD `skill_level3` tinyint(3) unsigned default NULL;
ALTER TABLE `mob_proto` ADD `skill_vnum3` int(10) unsigned default NULL;
ALTER TABLE `mob_proto` ADD `skill_level4` tinyint(3) unsigned default NULL;
ALTER TABLE `mob_proto` ADD `skill_vnum4` int(10) unsigned default NULL;
// Si no encuentran el mob en mob_proto es porque llegastes a mas de 1000 mobs y estos nuevos estaran en la pagina 2 de la tabla mob_proto.
Aqui tienes para el mob_proto del cliente ( si falta alguno hacerlo manualmente. es simple)
// Si no recibes ningun error es pq usas una estructura antigua de la tabla.
Recuerdo a mis seguidores que este motodo funciona con todos los mobs que quieres añadir y recibes el error numero 1136.
Un saludo.