L2JMobius

Free Users => Solved/Invalid Bug Reports => Topic started by: snyderjgz on July 22, 2020, 05:49:45 AM

Title: Archangels Baium
Post by: snyderjgz on July 22, 2020, 05:49:45 AM
Testing the epic chiefs I realized that the archangels of Baium do not attack.
I thought it was the geodata but I deactivated it and the same thing happens





Title: Re: Archangels Baium
Post by: Mobius on July 22, 2020, 09:57:55 AM
Try this.
Code: [Select]
Index: dist/db_installer/sql/game/npc.sql
===================================================================
--- dist/db_installer/sql/game/npc.sql (revision 7463)
+++ dist/db_installer/sql/game/npc.sql (working copy)
@@ -4068,8 +4068,8 @@
 INSERT INTO `npc` VALUES ('29017', '29017', 'Riba', '0', '', '0', 'Monster.riba', '25.00', '72.00', '48', 'female', 'Monster', '40', '10241', '768', '249.64', '2.14', '40', '43', '30', '41', '20', '10', '0', '1', '489', '1048', '109', '425', '278', '0', '333', '0', '0', '0', '66', '253', 'orfen_clan', '2700', '0', '0', 'LAST_HIT');
 INSERT INTO `npc` VALUES ('29018', '29018', 'Riba Iren', '0', '', '0', 'Monster.riba', '25.00', '72.00', '49', 'female', 'Monster', '40', '21154', '799', '255.96', '2.14', '40', '43', '30', '41', '20', '10', '0', '1', '1752', '1080', '4358', '438', '278', '0', '333', '0', '0', '0', '66', '253', 'orfen_clan', '2900', '0', '0', 'LAST_HIT');
 INSERT INTO `npc` VALUES ('29019', '29019', 'Antharas', '0', '', '0', 'Monster.antaras', '300.00', '300.00', '79', 'male', 'GrandBoss', '40', '13090000', '22197', '2380.00', '265.32', '60', '57', '73', '76', '70', '80', '262720918', '29116376', '13308', '8064', '28099', '1641', '333', '0', '3819', '0', '0', '0', '81', '301', null, '0', '0', '13', 'FULL_PARTY');
-INSERT INTO `npc` VALUES (29020,    29020,'Baium'    ,0,  ''  ,0,  'Monster.baium',  65.00,   174.00,  75,  'male','GrandBoss',    40,  1709400,  16377,   668.78   ,3.09   ,60,   57,   73,   76,   70,   80,   10253400,   1081544,   5488,   5412,   3605,   3283,   230,   0,   3819,   0,   0,   0,   117,   176, null, '0', '0', '12', 'FULL_PARTY');
-INSERT INTO `npc` VALUES (29021, 29021,'Archangel',0,'',0,'Monster.archangel','15.00','80.00',74,'male','Monster',80,'186915','1342','158','3.00',40,43,30,21,20,20,6571,343,'2255','8326','606','2500',230,500,3819,93,0, 0,117,176, null, '0', '0', '12', 'FULL_PARTY');
+INSERT INTO `npc` VALUES ('29020', '29020', 'Baium', 0, '', 0, 'Monster.baium', 65.00, 174.00, 75, 'male', 'GrandBoss', 40, 1709400, 16377, 668.78, 3.09, 60, 57, 73, 76, 70, 80, 10253400, 1081544, 5488, 5412, 3605, 3283, 230, 0, 3819, 0, 0, 0, 117, 176, 'baium_clan', '2000', '0', '12', 'FULL_PARTY');
+INSERT INTO `npc` VALUES ('29021', '29021', 'Archangel', 0, '', 0, 'Monster.archangel', '15.00', '80.00', 74, 'male', 'Monster', 80, '186915', '1342', '158', '3.00', 40, 43, 30, 21, 20, 20, 6571, 343, '2255', '8326', '606', '2500', 230, 500, 3819, 93, 0, 0, 117, 176, 'baium_clan', '2000', '0', '12', 'FULL_PARTY');
 INSERT INTO `npc` VALUES ('29022', '29022', 'Zaken', '0', '', '0', 'Monster.zaken', '16.00', '32.00', '60', 'male', 'GrandBoss', '40', '360722', '1494', '799.68', '2.45', '60', '57', '73', '76', '70', '80', '4879745', '423589', '5343', '1827', '4405', '809', '253', '0', '333', '0', '0', '0', '68', '275', null, '0', '1', '12', 'FULL_PARTY');
 INSERT INTO `npc` VALUES ('29023', '29023', 'Doll Blader', '0', '', '0', 'Monster.doll_blader', '6.00', '12.00', '58', 'male', 'Monster', '40', '2888', '1065', '10.27', '2.45', '40', '43', '30', '21', '20', '25', '0', '0', '779', '383', '428', '359', '278', '150', '333', '5129', '0', '0', '24', '165', null, '0', '0', '0', 'LAST_HIT');
 INSERT INTO `npc` VALUES ('29024', '29024', 'Vale master', '0', '', '0', 'Monster.vale_master', '12.00', '40.00', '59', 'male', 'Monster', '40', '2970', '1102', '10.27', '2.45', '40', '43', '30', '21', '20', '25', '0', '0', '818', '395', '452', '369', '278', '150', '333', '0', '0', '0', '77', '170', null, '0', '0', '0', 'LAST_HIT');
Title: Re: Archangels Baium
Post by: snyderjgz on July 22, 2020, 07:09:00 PM
Try this.
Code: [Select]
Index: dist/db_installer/sql/game/npc.sql
===================================================================
--- dist/db_installer/sql/game/npc.sql (revision 7463)
+++ dist/db_installer/sql/game/npc.sql (working copy)
@@ -4068,8 +4068,8 @@
 INSERT INTO `npc` VALUES ('29017', '29017', 'Riba', '0', '', '0', 'Monster.riba', '25.00', '72.00', '48', 'female', 'Monster', '40', '10241', '768', '249.64', '2.14', '40', '43', '30', '41', '20', '10', '0', '1', '489', '1048', '109', '425', '278', '0', '333', '0', '0', '0', '66', '253', 'orfen_clan', '2700', '0', '0', 'LAST_HIT');
 INSERT INTO `npc` VALUES ('29018', '29018', 'Riba Iren', '0', '', '0', 'Monster.riba', '25.00', '72.00', '49', 'female', 'Monster', '40', '21154', '799', '255.96', '2.14', '40', '43', '30', '41', '20', '10', '0', '1', '1752', '1080', '4358', '438', '278', '0', '333', '0', '0', '0', '66', '253', 'orfen_clan', '2900', '0', '0', 'LAST_HIT');
 INSERT INTO `npc` VALUES ('29019', '29019', 'Antharas', '0', '', '0', 'Monster.antaras', '300.00', '300.00', '79', 'male', 'GrandBoss', '40', '13090000', '22197', '2380.00', '265.32', '60', '57', '73', '76', '70', '80', '262720918', '29116376', '13308', '8064', '28099', '1641', '333', '0', '3819', '0', '0', '0', '81', '301', null, '0', '0', '13', 'FULL_PARTY');
-INSERT INTO `npc` VALUES (29020,    29020,'Baium'    ,0,  ''  ,0,  'Monster.baium',  65.00,   174.00,  75,  'male','GrandBoss',    40,  1709400,  16377,   668.78   ,3.09   ,60,   57,   73,   76,   70,   80,   10253400,   1081544,   5488,   5412,   3605,   3283,   230,   0,   3819,   0,   0,   0,   117,   176, null, '0', '0', '12', 'FULL_PARTY');
-INSERT INTO `npc` VALUES (29021, 29021,'Archangel',0,'',0,'Monster.archangel','15.00','80.00',74,'male','Monster',80,'186915','1342','158','3.00',40,43,30,21,20,20,6571,343,'2255','8326','606','2500',230,500,3819,93,0, 0,117,176, null, '0', '0', '12', 'FULL_PARTY');
+INSERT INTO `npc` VALUES ('29020', '29020', 'Baium', 0, '', 0, 'Monster.baium', 65.00, 174.00, 75, 'male', 'GrandBoss', 40, 1709400, 16377, 668.78, 3.09, 60, 57, 73, 76, 70, 80, 10253400, 1081544, 5488, 5412, 3605, 3283, 230, 0, 3819, 0, 0, 0, 117, 176, 'baium_clan', '2000', '0', '12', 'FULL_PARTY');
+INSERT INTO `npc` VALUES ('29021', '29021', 'Archangel', 0, '', 0, 'Monster.archangel', '15.00', '80.00', 74, 'male', 'Monster', 80, '186915', '1342', '158', '3.00', 40, 43, 30, 21, 20, 20, 6571, 343, '2255', '8326', '606', '2500', 230, 500, 3819, 93, 0, 0, 117, 176, 'baium_clan', '2000', '0', '12', 'FULL_PARTY');
 INSERT INTO `npc` VALUES ('29022', '29022', 'Zaken', '0', '', '0', 'Monster.zaken', '16.00', '32.00', '60', 'male', 'GrandBoss', '40', '360722', '1494', '799.68', '2.45', '60', '57', '73', '76', '70', '80', '4879745', '423589', '5343', '1827', '4405', '809', '253', '0', '333', '0', '0', '0', '68', '275', null, '0', '1', '12', 'FULL_PARTY');
 INSERT INTO `npc` VALUES ('29023', '29023', 'Doll Blader', '0', '', '0', 'Monster.doll_blader', '6.00', '12.00', '58', 'male', 'Monster', '40', '2888', '1065', '10.27', '2.45', '40', '43', '30', '21', '20', '25', '0', '0', '779', '383', '428', '359', '278', '150', '333', '5129', '0', '0', '24', '165', null, '0', '0', '0', 'LAST_HIT');
 INSERT INTO `npc` VALUES ('29024', '29024', 'Vale master', '0', '', '0', 'Monster.vale_master', '12.00', '40.00', '59', 'male', 'Monster', '40', '2970', '1102', '10.27', '2.45', '40', '43', '30', '21', '20', '25', '0', '0', '818', '395', '452', '369', '278', '150', '333', '0', '0', '0', '77', '170', null, '0', '0', '0', 'LAST_HIT');

It works half, Just move to a specific place and they don't attack


Title: Re: Archangels Baium
Post by: Mobius on July 22, 2020, 07:10:06 PM
Make range bigger?
3000? 5000?
Title: Re: Archangels Baium
Post by: snyderjgz on July 22, 2020, 07:49:56 PM
Make range bigger?
3000? 5000?

I changed:
collision_height to 60.00
attackrange to 60

and what you said the range to 3000

Code: [Select]
INSERT INTO `npc` VALUES ('29021', '29021', 'Archangel', 0, '', 0, 'Monster.archangel', '15.00', '60.00', 74, 'male', 'Monster', 60, '186915', '1342', '158', '3.00', 40, 43, 30, 21, 20, 20, 6571, 343, '2255', '8326', '606', '2500', 230, 500, 3819, 93, 0, 0, 117, 176, 'baium_clan', '3000', '0', '12', 'FULL_PARTY');
Thank you very much for your work and time  ;D
Title: Re: Archangels Baium
Post by: Mobius on July 22, 2020, 11:28:17 PM
Baium maybe 3000 as well?
Is collision_height really necessary?
Title: Re: Archangels Baium
Post by: snyderjgz on July 23, 2020, 01:39:24 AM
Baium maybe 3000 as well?
Is collision_height really necessary?

I tried it without changing the collision height and they only attack 1 or 2 archangels.

Another thing and I comment here because I do not know whether to open a topic regarding that. Aggressive monsters don't attack, you can pass very close to them until they are next to them and they do not attack.




Title: Re: Archangels Baium
Post by: Mobius on August 02, 2020, 11:13:26 AM
Fixed with https://bitbucket.org/MobiusDev/l2j_mobius/commits/2b6072ebdc48d57d0108e5a1833356656122b7c1