Why are the NPCs/Mobs in L2java so stupid?

StreetPlayerxD

Выдающийся
VIP
Старожил I степени
Сообщения
135
Розыгрыши
0
Решения
2
Репутация
1
Реакции
12
Баллы
1 330
Хроники
  1. Interlude
Исходники
Отсутствуют
Сборка
Lucera2
I would like to understand why NPCs/mobs behavior in L2Java is much less intelligent than in L2Off, even though L2Off is much older and hasn’t been updated.


Even so, I’ve never seen any L2Java implementation with NPC/Mobs behavior comparable to L2Off.
 
Even with Java projects that have been in development for over 20 years, there should be some NPCs/mobs with reasonable behavior.

All the ones I've seen recently are terrible.
 
For meaningful behavior, it is necessary to write individual AIs for each NPC/monster, which would take into account as many nuances of the behavior of both the NPCs themselves and the players attacking them.
On most emulators, they don't really bother with this and use only a few basic AI. Also, often even the necessary skills used by NPCs are not spelled out or spelled out, but not implemented and they just climb into hand-to-hand combat, instead of hitting with skills.

On official servers lately, in principle, the behavior of ordinary monsters is the same - they use simple basic AI, i.e. they are made as stupid as possible to make them easier to kill during auto-hunting.
There is a more or less individual approach only to the implementation of the behavior of different bosses.
 
Why do you need smart NPCs on a Java server, when usually make a PvP server on Java where you get +13-+16 S weapons in half an hour. And the mobs don't even have time to think, let alone turn around.

P.S. For those who use Java for x1 or crafting servers, I'm speechless.
 
I would like to understand why NPCs/mobs behavior in L2Java is much less intelligent than in L2Off, even though L2Off is much older and hasn’t been updated.


Even so, I’ve never seen any L2Java implementation with NPC/Mobs behavior comparable to L2Off.
L2Off is L2Off, stolen official server. Java is an emulator of L2Off, if you want intelligent NPCs you need to emulate their AI from L2Off. Like here for example:
C:\Server\game\data\scripts\
Or here:
C:\Server\game\data\scripts\ai

Depends to what NPC you want to add intelligence.
 
For meaningful behavior, it is necessary to write individual AIs for each NPC/monster, which would take into account as many nuances of the behavior of both the NPCs themselves and the players attacking them.
On most emulators, they don't really bother with this and use only a few basic AI. Also, often even the necessary skills used by NPCs are not spelled out or spelled out, but not implemented and they just climb into hand-to-hand combat, instead of hitting with skills.

On official servers lately, in principle, the behavior of ordinary monsters is the same - they use simple basic AI, i.e. they are made as stupid as possible to make them easier to kill during auto-hunting.
There is a more or less individual approach only to the implementation of the behavior of different bosses.
как игрок могу сказать, что на яве мобы именно стоят и ловят втыкуна, а на птс они более проворные и время реакции меньше.
если например пвп составляющую на яве можно подтянуть и даже сделать лучше чем на птс, но АИ мобов какая то шляпа и мало кто заморачивается с её исправлением, не припомню ниодной явы где играл что б мобы были такие же как на птс по отзывчивости.
 
Why do you need smart NPCs on a Java server, when usually make a PvP server on Java where you get +13-+16 S weapons in half an hour. And the mobs don't even have time to think, let alone turn around.

P.S. For those who use Java for x1 or crafting servers, I'm speechless.
Even after many more years of development in Java-based projects, I expected things to be at least stable enough by 2026 to run a decent server using Java. However, Java servers are still far from reaching the same level as PTS.
 
what do they do in l2off that is so special to make them look intelligent?
 
what do they do in l2off that is so special to make them look intelligent?
Just play both Java and PTS versions and compare the behavior of mobs and bosses side by side.


Even older PTS versions still show noticeably more advanced AI and decision-making than what you typically see in Java implementations.
 
Just play both Java and PTS versions and compare the behavior of mobs and bosses side by side.


Even older PTS versions still show noticeably more advanced AI and decision-making than what you typically see in Java implementations.
In fact, I agree with you, and I noticed that not only in AI mobs, but even when you pvp on a java server 1 vs 1, it’s somehow... sluggish
 
Just play both Java and PTS versions and compare the behavior of mobs and bosses side by side.


Even older PTS versions still show noticeably more advanced AI and decision-making than what you typically see in Java implementations.
last time i tried to spin up h5 pts all i saw was "mob see me -> mob chases me" and that's it, maybe for bosses it's a different story.
movement (both mine and mobs) felt better though
 
last time i tried to spin up h5 pts all i saw was "mob see me -> mob chases me" and that's it, maybe for bosses it's a different story.
movement (both mine and mobs) felt better though
It’s not just that simple. NPCs and mobs don’t only “see and chase” their behavior is much more complex and nuanced than that.

When you factor in parties, clans, and more complex situations, PTS is clearly far superior. Anyone who has played both Java and PTS servers can easily notice the difference.
 
It’s not just that simple. NPCs and mobs don’t only “see and chase” their behavior is much more complex and nuanced than that.

When you factor in parties, clans, and more complex situations, PTS is clearly far superior. Anyone who has played both Java and PTS servers can easily notice the difference.
Offcourse PTS is much superior. It is original server files stolen from NCSoft. Java servers are just emulators. Difference is that when you start java server in common countries you wont go to prison for that because emulation is not illegal. Thats why there are not many PTS based projects there and java emulators are requirable and today. If you want intelligent NPCs on your java server just create or edit AI of them.
 
Offcourse PTS is much superior. It is original server files stolen from NCSoft. Java servers are just emulators. Difference is that when you start java server in common countries you wont go to prison for that because emulation is not illegal. Thats why there are not many PTS based projects there and java emulators are requirable and today. If you want intelligent NPCs on your java server just create or edit AI of them.
Yes, definitely.
I expected that by 2026, after decades of Java development, things would be at a much more advanced and polished state.

Right now, even fake/phantom BOT players tend to behave much smarter than the actual NPCs in Java servers 😅
 
Yes, definitely.
I expected that by 2026, after decades of Java development, things would be at a much more advanced and polished state.

Right now, even fake/phantom BOT players tend to behave much smarter than the actual NPCs in Java servers 😅
Depends about what java devs we speak here. Think on sellable projects the situation is better. But for example if we take free ones like L2jServer and L2jMobius the situation would be different and there. It is actually a lot of code.
 
Even with Java projects that have been in development for over 20 years, there should be some NPCs/mobs with reasonable behavior.

All the ones I've seen recently are terrible.
А зачем? Игроки и так донатят, и им глубоко плевать как там у тебя работают npc. Большая часть игроков даже не в курсе как вообще должны работать те или иные механики игры, они опираются на легенду на которой играли до этого, и если даже сделаешь как на pts, тебя начнут поливать говном мол "вот на помойке х100500 работало по другому, а у вас сломано".
 
как игрок могу сказать, что на яве мобы именно стоят и ловят втыкуна, а на птс они более проворные и время реакции меньше.
если например пвп составляющую на яве можно подтянуть и даже сделать лучше чем на птс, но АИ мобов какая то шляпа и мало кто заморачивается с её исправлением, не припомню ниодной явы где играл что б мобы были такие же как на птс по отзывчивости.
это обычно зависит от того какой период вызова тасков AI выставлен в конфигах.
многие просто достаточно большие периоды ставят для уменьшения нагрузки. в итоге мобы и "тупят", замедленно реагируя на действия игрока или вобще не реагируя.
например при большом периоде можно умудрится успеть пробежать мимо агромоба и он даже не сагрится, т.к. все время пока ты в пределах агрорадиуса, попадет в "окно" между вызовами проверок объектов поблизости на тему "на кого можно напасть".

З.Ы. на оффе кстати проверки на агру и т.п. вроде как работают по другому и потому еще более оперативно - там сами двигающиеся объекты (игроки, другие нпс и т.д.) периодически рассылают при движении в определенном радиусе всем нпс уведомления "я тут - проверь меня"
 
Последнее редактирование:
это обычно зависит от того какой период вызова тасков AI выставлен в конфигах.
многие просто достаточно большие периоды ставят для уменьшения нагрузки. в итоге мобы и "тупят", замедленно реагируя на действия игрока или вобще не реагируя.
например при большом периоде можно умудрится успеть пробежать мимо агромоба и он даже не сагрится, т.к. все время пока ты в пределах агрорадиуса, попадет в "окно" между вызовами проверок объектов поблизости на тему "на кого можно напасть".

З.Ы. на оффе кстати проверки на агру и т.п. вроде как работают по другому и потому еще более оперативно - там сами двигающиеся объекты (игроки, другие нпс и т.д.) периодически рассылают при движении в определенном радиусе всем нпс уведомления "я тут - проверь меня"
логичнее конечно часть проверок повесить на клиент например на каждом мобе может висеть тригер с радиусом колизии равным агру и чётко передавать когда игрок соприкоснулся с тригером, оставляя лишь серверу отдать команду атака тем самым избавляемся от ненужных проверок и нагрузок или всё же эти проверки идут вместе с пакетом апдейп позишн(не знаю как он там правильно называется)?
 
логичнее конечно часть проверок повесить на клиент
Угу, а потом придет какой-то черт, хукнет проверку и будет бегать невидимьім. ) Что можно не проверять в клиенте - лучше не проверять в клиенте. )0)00)
 
Назад
Сверху Снизу