Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Help (https://postpacific.mmorpg-game.online/forumdisplay.php?f=37)
-   -   ≈ [Q] Why mobs almost always "lost" paths? AI or HEX (https://postpacific.mmorpg-game.online/showthread.php?t=3740)

humordwarf 21.03.2006 03:32

[Q] Why mobs almost always "lost" paths? AI or HEX
 
players uses pathnode "as is" and walks from pt1 to pt2 without problem, but why mobs so stuppid?

we need fix AI or HEX ?

Megatronpt 21.03.2006 03:35

Well HD.. that is a good question indeed.. I would propably say that it's due to AI.

But I'm just an ignorant...

SoaPy 21.03.2006 03:38

mmmm i think pathnode isnt for players, its for mobs and i dont know why mobs act of that way

humordwarf 21.03.2006 03:49

Quote:

Originally Posted by SoaPy
mmmm i think pathnode isnt for players, its for mobs and i dont know why mobs act of that way

server menu - "user pathfind"
check it

Truffe 21.03.2006 12:59

Moved ;)

Sauron 21.03.2006 14:31

forget about ai, it's server problem for sure.

humordwarf 21.03.2006 15:06

l2server?
or
l2npc?

we really need solution somehow..

Mirror 21.03.2006 15:41

or a misunderstanding in the pathnode.bin structure of course..

vaskes 21.03.2006 15:54

AI issue

toolpunk 21.03.2006 15:59

nice, now we got 3 different opinions:
pathnode - 2 "votes"
ai - 2 "votes"
exe - 1 "votes"
seems like this topic causes confusion instead of clarifying the situation... :?

Radmin 21.03.2006 16:00

yep..
AI problems..

askey 21.03.2006 23:59

Quote:

Originally Posted by Radmin
yep..
AI problems..

yep ... in exe :)

Shawnmb 22.03.2006 00:32

I'm pretty sure it's L2Server, doesn't mob movement use some sort of vertex calculation involving the borders in pathnode?

eXcursion 22.03.2006 01:51

the mobs are given a terrority and a invisible area in which they spawn in NPCPOS.

the mobs are given drops skills rates of drops hp sp and others in
NPCDATA.

skills are in the skilldata file for skills

the AI is the handler for everything

the EXE's just reads from these files.

fooling with the AI, then making them have more skills argo a little farther might make them seek a little smarter but i highly doubt they will stop attacking and sit down to do complex arithmatics. :D

however mobs do run though walls and rocks while chasing a player its like they are not effected by the terrain. :s

Sauron 22.03.2006 01:51

Quote:

Originally Posted by humordwarf
l2server?
or
l2npc?

we really need solution somehow..

l2server

Quote:

Originally Posted by Radmin
yep..
AI problems..

i assume that with ai problem u mean l2npc problem. So that give us 2 possibilities l2server or l2npc.

SoaPy 22.03.2006 02:21

but in C1 server mobs with pathnode works perfect right ?

Radmin 22.03.2006 07:16

man. i have ai. where mobs finde good path to target..
no fix in exe.. no fix pathnode...

http://webfile.ru/871762
look this = video.
only ai relised

-=KIRALEX=- 22.03.2006 08:26

Поэтому видио видно што мобы перестают атакавать по истечению ннгого промежутка времени и идудт к X,Y,Z затем знова идет adddesireatack


А сайчас у них как я понял просто прописано штоб атакавали досмерти.

Нужно взять часть когда у IOMahum каторые бугают жалуются што их убивают=)
Следственно у них вроде это зависит от Myself.sm.hp а тут как сдалать я уже долго думаю

Елси к ним присматреться то ани пытаются идти по патч нодам обхадя припятствия
но им судя по всему мешает adddesireatacket

drugolo 22.03.2006 08:28

uhm... ai... exe... pathnode.... can i vote auth.exe?

Mirror 22.03.2006 09:17

a simple quiz....

with old pathnode...mobs find their path...
with new pathnode..they don't

so we should blame :
1.) AI
2.) L2NPC
3.) l2server
4.) pathnode <=== VOTE FOR THIS !!!

drugolo 22.03.2006 11:08

Btw is easy to check that something is missing in our _conv.dat (new ones) that is fixed in the old ones.
The problem isn't the pathnode generator but the maps itself.
Wanna a proof? ok, do this

a) go to Giran, where there is the GK, now: Click behind the stair (yes, behind the obstacle behind the GK) and you will see that your char will avoid it 100% running around it.
b) go in a new map, maybe the new toi just posted and click behind a column (the big columns that are on the ground in the middle of the room and that are mapped as obstacles on the geodata, of course!) and what you get? your char will run forward and block against it.

cool_santino 22.03.2006 11:30

I sink pathnode generator need little different algorithm or little more optimizations... if you look in the generated pathnode.bin and compare it with original you will see what wrong... it is problem of pathnode i sink... :-)

Mirror 22.03.2006 11:54

Quote:

Originally Posted by drugolo
Btw is easy to check that something is missing in our _conv.dat (new ones) that is fixed in the old ones.
The problem isn't the pathnode generator but the maps itself.
Wanna a proof? ok, do this

a) go to Giran, where there is the GK, now: Click behind the stair (yes, behind the obstacle behind the GK) and you will see that your char will avoid it 100% running around it.
b) go in a new map, maybe the new toi just posted and click behind a column (the big columns that are on the ground in the middle of the room and that are mapped as obstacles on the geodata, of course!) and what you get? your char will run forward and block against it.

what you describe is not a geo bug but a pathnode bug. geo is all about Z,about where you can go or not and about what you see or not.

pathnode is exactly for that, so that mobs and players can find the way around obstacles. well maybe IF he explained his theory about pathnode, we could find his errors and have a complete understanding of pathnode as we all have for geo.

drugolo 22.03.2006 13:04

Quote:

Originally Posted by Mirror
Quote:

Originally Posted by drugolo
Btw is easy to check that something is missing in our _conv.dat (new ones) that is fixed in the old ones.
The problem isn't the pathnode generator but the maps itself.
Wanna a proof? ok, do this

a) go to Giran, where there is the GK, now: Click behind the stair (yes, behind the obstacle behind the GK) and you will see that your char will avoid it 100% running around it.
b) go in a new map, maybe the new toi just posted and click behind a column (the big columns that are on the ground in the middle of the room and that are mapped as obstacles on the geodata, of course!) and what you get? your char will run forward and block against it.

what you describe is not a geo bug but a pathnode bug. geo is all about Z,about where you can go or not and about what you see or not.

pathnode is exactly for that, so that mobs and players can find the way around obstacles. well maybe IF he explained his theory about pathnode, we could find his errors and have a complete understanding of pathnode as we all have for geo.

I'm talking about use the pathnode made with HD tool. You can't make the pathnode of a single location. Or you make all or you make nothing.
Same pathnode, both maps generated using HD tool, try the test.
Giran stairway perfect with HDpathmaker tool (path finded perfectly), TOI not (or any new map made with HDGE). And the pathnode is generated by the same appl.

Mirror 22.03.2006 14:15

"same pathnode, both maps". one pathnode, works for 1 set of maps, not for two different. if maps slightly changes so has to change pathnode. i don't know hd's logic for pathnode but i'm sure from what you said there is something wrong with it. and i can assure you that pathfinding has nothing to do with geodata - meaning that for bad pathfinding you can't blame geodata.

drugolo 22.03.2006 14:56

OMG, really, shake your head and make some neuron collide, please.

- grab c1 geodata of giran town.
- grab toi, goe, anyshitthatyouwantthatyouhavemadewithhdge.
- build pathnode of the whole
- load all up
- go to GK of giran, click behind the stairway of the GK. cool, you avoid the obstacle.
- go anyshitofplace (builded fully with hdge, example: TOI, 1st floor, click behind the big column in the middle of the room) that you think it should do the same and try. it will not do it.

so, the pathnode generator is ok, the problem is the map.

kvoxi 22.03.2006 14:58

l2server.exe issue
It is not possible to make all ways and put them into pathnode.bin

demon 22.03.2006 15:00

In My Opinion

Area within which mob moves is controled by npcpos(territory)
if a mob can pass or cant pass an obstacle is controled by pathnode,geodata because, u give a territory for mob to move and territory includes everything
but everything for that territory is controled by geodata,pathnode

l2server,npcserver just reads data not control mob (stop start walk jump run) this is Ai function

so, geodata Or? pathnode is the problem

Mirror 22.03.2006 15:56

Quote:

Originally Posted by drugolo
OMG, really, shake your head and make some neuron collide, please.

- grab c1 geodata of giran town.
- grab toi, goe, anyshitthatyouwantthatyouhavemadewithhdge.
- build pathnode of the whole
- load all up
- go to GK of giran, click behind the stairway of the GK. cool, you avoid the obstacle.
- go anyshitofplace (builded fully with hdge, example: TOI, 1st floor, click behind the big column in the middle of the room) that you think it should do the same and try. it will not do it.

so, the pathnode generator is ok, the problem is the map.

misread your first post. still i believe it's not a geodata problem.
the only thing geodata defines is whether you can move or not towards some direction, nothing else. just 16 types of flags from 0 ( all nonwalkable ) to 15 ( all walkable ). everything else is a pathnode matter. so the probabilities are :
1- files parsed by l2server.exe for pathnode are only c1 maps ( needs hexing)
2- pathnode.bin needs a better geo structure than the one created by pathnode builder
3- pathnode builder error, i cant assume anything on this cause i don't even know the theory of pathnode let alone how this program works.

it would really help if theory of pathnode was not a secret

askey 22.03.2006 18:09

a noob question: what contain exactly pathnode.bin ? is a hash file for geodata ?
another Q: .unr map files (client side) contains heights of terrain ?

sry for offtopic

drugolo 22.03.2006 19:14

Quote:

Originally Posted by Mirror
misread your first post. still i believe it's not a geodata problem.
the only thing geodata defines is whether you can move or not towards some direction, nothing else. just 16 types of flags from 0 ( all nonwalkable ) to 15 ( all walkable ). everything else is a pathnode matter. so the probabilities are :
1- files parsed by l2server.exe for pathnode are only c1 maps ( needs hexing)
2- pathnode.bin needs a better geo structure than the one created by pathnode builder
3- pathnode builder error, i cant assume anything on this cause i don't even know the theory of pathnode let alone how this program works.

it would really help if theory of pathnode was not a secret

then can you explain why the stairway of Giran works and same for any tree or anything from C1 but not the new maps manually done by us? (c2,c3,c4)
Also, you say that "files parsed by l2server.exe for pathnode are only c1 maps" but TOI map (23_18) is C1 (was closed the inside, but the map was there) so it should be parsed from the list but... not work :)

Also, already checked the exe, there is no maplist inside it.

Mirror 22.03.2006 19:46

i cant explain why it doesnt work, i can explain why it is not geodata fault

IF ( geodata had also other info inside for pathfinding etc. ) THEN ( some bits in geofiles would be used to keep such info ). which means that we wouldn't have ACCURATE values for Z as we do... ( the same problem when we didn't know about NSWE flags - 4 last bits )

edit : sorry, it would be even worse, not only not accurate Z but not walkable maps at all since they would intervene with flags bits :)

-=KIRALEX=- 22.03.2006 20:02

Это дело в AI вамже радмин все ясно показал

Mirror 22.03.2006 20:17

drugolo some questions :

1. do the mobs find their path in c1 maps with the NEW pathnode ?
2. do the mobs find their path in c1 map in some catacomb/necro with the NEW pathnode ??
3. is the NEW pathnode identical to the old one for c1 maps ? ( of course you have to know the structure of pathnode.bin to answer to this )

well if the answer to those quetions is YES then there may be a new possibility that just came accross my mind :

IT'S NOT A BUG, IT'S A FEATURE ( of the LE ) :p

drugolo 22.03.2006 20:51

and what about missing water level then? we still miss a lot of stuffs of Geoediting and this can be another one.

and the replies:
1. yes
2. yes
3. dunno, i can't say it (but 99% is "no"). We would need the exact set of maps used to generate the C1 one (dunno if anyone have them, still) and watch/compare the output generating the pathnode from them (and compare the result with the official pathnode)

askey 22.03.2006 21:04

Quote:

Originally Posted by Mirror
drugolo some questions :
....
IT'S NOT A BUG, IT'S A FEATURE ( of the LE ) :p

what is LE ? :)

Mirror 22.03.2006 21:10

@askey : pathnode.bin generator Light Edition...isn't it how he called it ? :P

@drugolo : i have no answer for water, MAYBE it's in pathnode ..i repeat knowing the theory of pathnode.bin / structure is a basis to solve as a team the incomplete places

Xellos 22.03.2006 21:18

the format inside the pathnode.bin is easy

it's a list of nodes
and each node contains of 11 dwords (44 bytes)
dword x, y, z
dword index1..8
and the index points to a connected node

that's all afaik

Mirror 22.03.2006 21:33

what about headers and connections ?

Xellos 22.03.2006 21:39

there is no header

and the index is directly pointing to other nodes (list index)
but i haven't checked if it's an one-way-connection

each node can connect to max eight other nodes
an index of 0 defines "no connection"

and the node[0] is filled with 0 and have to be ignored ;)

it's a dump of an one dimensional array
and contains filesize/44 nodes


and what's the content of the idx file (text)?


All times are GMT. The time now is 23:06.