Autor Tema: DIFF para implementar L2jEngineMods (C4) a L2jAdmins  (Leído 327 veces)

ReynalDev

  • Freelancer
  • Administrador
  • Newbie
  • *
  • Mensajes: 26
  • Karma: +0/-0
  • Freelancer
    • Ver Perfil
    • ReynalDev
DIFF para implementar L2jEngineMods (C4) a L2jAdmins
« en: Diciembre 17, 2017, 09:47:43 pm »
Los pasos serían estos.... considerando que aplicaste el parche que estoy proporcionando

1. Descargar el datapack L2jAdmins (c4) y L2jAdmins_EngineMods
2. Construir el proyecto L2jAdmins_EngineMods
3. Aplicar el parche de L2jAdmins_EngineMods > dist > patch.diff a los proyectos C4_Datapack y C4_GameServer
4. Construir el proyecto C4_Datapack
5. Construir el proyecto C4_GameServer
____________________________________

Depende de tí montar el servidor, ya tienes el datapack C4 con el Engine implementado.










Código
### Eclipse Workspace Patch 1.0
#P L2jAdmins_EngineMods
Index: build.xml
===================================================================
--- build.xml (revisión: 23)
+++ build.xml (copia de trabajo)
@@ -4,12 +4,23 @@
  <property name="workspace" location="${ant.file}/../.." />
 
  <target name="dist" depends="jar">
- <copy todir="build/dist">
- <fileset dir="dist">
+ <copy todir="${workspace}/C4_GameServer/dist/game/config/">
+ <fileset dir="dist/game/config" excludes="patch.diff">
  </fileset>
  </copy>
 
+ <copy todir="${workspace}/C4_Datapack/data">
+ <fileset dir="dist/game/data" excludes="patch.diff">
+ </fileset>
+ </copy>
+
+ <copy todir="${workspace}/C4_Datapack/sql/custom">
+ <fileset dir="sql">
+ </fileset>
+ </copy>
+
  <delete dir="build/classes"/>
+ <delete file="build/L2J_EngineMods.jar"/>
  </target>
 
  <target name="jar" depends="compile" description="Create the jar file.">
@@ -21,11 +32,12 @@
  </manifest>
  </jar>
 
- <copy todir="build/dist/libs">
+ <copy todir="${workspace}/C4_GameServer/dist/libs">
  <fileset dir="build">
  <include name="L2J_EngineMods.jar" />
  </fileset>
  </copy>
+
  </target>
 
  <target name="compile" depends="init" description="Compile the source.">
@@ -35,8 +47,6 @@
  <target name="init" depends="clean,checkRequirements" description="Create the output directories.">
  <mkdir dir="build" />
  <mkdir dir="build/classes" />
- <mkdir dir="build/dist" />
- <mkdir dir="build/dist/game" />
  </target>
 
  <target name="clean" description="Remove the output directories.">
Index: sql/custom_npc_engine.sql
===================================================================
--- sql/custom_npc_engine.sql (nonexistent)
+++ sql/custom_npc_engine.sql (copia de trabajo)
@@ -0,0 +1,7 @@
+INSERT INTO `custom_npc` VALUES
+('14050', '8000', 'L2jAdmins', '1', 'Buffer', '0', 'NPC.a_fighterguild_master_Mhuman', '8.00', '23.50', '70', 'male', 'L2Npc', '40', '3862', '1493', '11.85', '2.78', '40', '43', '30', '21', '20', '10', '0', '0', '1314', '470', '780', '382', '278', '0', '333', '0', '0', '0', '55', '132', null, '0', '1', '0', '0', '0', '0'),
+('14051', '8000', 'L2jAdmins', '1', 'Ranking', '0', 'NPC.a_fighterguild_master_Mhuman', '8.00', '23.50', '70', 'male', 'L2Npc', '40', '3862', '1493', '11.85', '2.78', '40', '43', '30', '21', '20', '10', '0', '0', '1314', '470', '780', '382', '278', '0', '333', '0', '0', '0', '55', '132', null, '0', '1', '0', '0', '0', '0'),
+('14052', '8000', 'L2jAdmins', '1', 'Guard', '0', 'NPC.a_fighterguild_master_Mhuman', '8.00', '23.50', '70', 'male', 'L2Npc', '40', '3862', '1493', '11.85', '2.78', '40', '43', '30', '21', '20', '10', '0', '0', '1314', '470', '780', '382', '278', '0', '333', '0', '0', '0', '55', '132', null, '0', '1', '0', '0', '0', '0'),
+('14053', '8000', 'L2jAdmins', '1', 'Teleport', '0', 'NPC.a_fighterguild_master_Mhuman', '8.00', '23.50', '70', 'male', 'L2Npc', '40', '3862', '1493', '11.85', '2.78', '40', '43', '30', '21', '20', '10', '0', '0', '1314', '470', '780', '382', '278', '0', '333', '0', '0', '0', '55', '132', null, '0', '1', '0', '0', '0', '0'),
+('14054', '8000', 'L2jAdmins', '1', 'VoteReward', '0', 'NPC.a_fighterguild_master_Mhuman', '8.00', '23.50', '70', 'male', 'L2Npc', '40', '3862', '1493', '11.85', '2.78', '40', '43', '30', '21', '20', '10', '0', '0', '1314', '470', '780', '382', '278', '0', '333', '0', '0', '0', '55', '132', null, '0', '1', '0', '0', '0', '0');
+
Index: sql/npc.sql
===================================================================
--- sql/npc.sql (revisión: 23)
+++ sql/npc.sql (nonexistent)
@@ -1,7 +0,0 @@
-INSERT INTO `custom_npc` VALUES
-('14050', '8000', 'L2jAdmins', '1', 'Buffer', '0', 'NPC.a_fighterguild_master_Mhuman', '8.00', '23.50', '70', 'male', 'L2Npc', '40', '3862', '1493', '11.85', '2.78', '40', '43', '30', '21', '20', '10', '0', '0', '1314', '470', '780', '382', '278', '0', '333', '0', '0', '0', '55', '132', null, '0', '1', '0', '0', '0', '0'),
-('14051', '8000', 'L2jAdmins', '1', 'Ranking', '0', 'NPC.a_fighterguild_master_Mhuman', '8.00', '23.50', '70', 'male', 'L2Npc', '40', '3862', '1493', '11.85', '2.78', '40', '43', '30', '21', '20', '10', '0', '0', '1314', '470', '780', '382', '278', '0', '333', '0', '0', '0', '55', '132', null, '0', '1', '0', '0', '0', '0'),
-('14052', '8000', 'L2jAdmins', '1', 'Guard', '0', 'NPC.a_fighterguild_master_Mhuman', '8.00', '23.50', '70', 'male', 'L2Npc', '40', '3862', '1493', '11.85', '2.78', '40', '43', '30', '21', '20', '10', '0', '0', '1314', '470', '780', '382', '278', '0', '333', '0', '0', '0', '55', '132', null, '0', '1', '0', '0', '0', '0'),
-('14053', '8000', 'L2jAdmins', '1', 'Teleport', '0', 'NPC.a_fighterguild_master_Mhuman', '8.00', '23.50', '70', 'male', 'L2Npc', '40', '3862', '1493', '11.85', '2.78', '40', '43', '30', '21', '20', '10', '0', '0', '1314', '470', '780', '382', '278', '0', '333', '0', '0', '0', '55', '132', null, '0', '1', '0', '0', '0', '0'),
-('14054', '8000', 'L2jAdmins', '1', 'VoteReward', '0', 'NPC.a_fighterguild_master_Mhuman', '8.00', '23.50', '70', 'male', 'L2Npc', '40', '3862', '1493', '11.85', '2.78', '40', '43', '30', '21', '20', '10', '0', '0', '1314', '470', '780', '382', '278', '0', '333', '0', '0', '0', '55', '132', null, '0', '1', '0', '0', '0', '0');
-

« Última modificación: Diciembre 17, 2017, 09:51:01 pm por ReynalDev »