![]() |
|
|
#1 |
|
Архивный участник
Join Date: Feb 2006
Posts: 453
|
hmmm... hi
first of all, geodata is not a main problem for C3-C4 servers main problem - pathfinding stuff for mobs and players run "HD Inside PathNode" and you'll see nodes and links between nodes, then turn on your imagination and try understand and rebuild pathnode.bin (also .idx from bin) yourself. example: giran city, nodes: ![]() same place, links: ![]() u can get HD Inside PathNode v1.00 here: http://humordwarf.info/ (hope at least this tool will not be used for money making) ...just to save your time, ppl... |
|
|
|
|
#2 |
|
Архивный участник
Join Date: May 2005
Posts: 59
|
OMG! You work in ncsoft?
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Aug 2005
Posts: 428
|
Thanks, HD. Keep it up!
|
|
|
|
|
#4 | |
|
Архивный участник
Join Date: Jan 2006
Posts: 188
|
Quote:
|
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Feb 2006
Posts: 5
|
thx a lot, mate
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: Oct 2005
Posts: 54
|
на самом деле пачтнфайндинг это не обязательная фича.
у меня на сервере например мобы вполне правильно и адекватно обходят все препятствия. Это проблем их аи, нужно было просто его продумать правильно, вот и все. |
|
|
|
|
#7 |
|
Архивный участник
Join Date: May 2005
Posts: 117
|
Судя по всему если нет пачнода для текущей точки, то моб начинает обходить препятсвие по какому то алгоритму поиска пути, не слишком эффетивному, но небольшую стену/лестинцу преодолевает, мелкие препядствия тем более.
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: Jun 2005
Posts: 82
|
-_-
Tell me that wasn't me giving you the idea to look into pathnode!
|
|
|
|
|
#9 | |
|
Архивный участник
Join Date: May 2005
Posts: 118
|
Quote:
Патчнод нежен больше для игроков чем для мобов если его вырубить игроки к стенкам прилепать начнут попадать в дверные проходы с 5ой попытки... На новых локациях игрокам без патчнода очень туго... Еще один прикол оказывается ТОИ в патчноед еще в С1 прописана была :lol: humordawrf respect !!! |
|
|
|
|
|
#10 |
|
Архивный участник
Join Date: Aug 2005
Posts: 119
|
讲英语请 XD
|
|
|
|
|
#11 | |
|
Архивный участник
Join Date: Jan 2006
Posts: 363
|
Quote:
请讲英语 |
|
|
|
|
|
#12 |
|
Архивный участник
Join Date: Oct 2005
Posts: 330
|
posting info on the format of pathnode.bin is IMHO better than posting a viewer
|
|
|
|
|
#13 |
|
Архивный участник
Join Date: Jan 2006
Posts: 584
|
Nice work HD!
|
|
|
|
|
#14 |
|
Архивный участник
Join Date: Feb 2006
Posts: 453
|
1. relax, all l2j users
2. path nodes can be viewed inside client, using //viewpn (lot of wooden arrows around) - and wow.. its not a rudiment stuff in C3. 3. to disable pathnode loading, trunc pathnode.bin file size to 0 bytes, you be happy 4. pathfinding can be disabled only players only (l2server top menu) 5. Mirror, you so interesting in it? Yes? But why you not turn on YOUR brain? C: Code:
struct
{
int x,y,z;
int link[8];
}
Code:
TNode = record x,y,z: integer; link: array[0..7] of integer; end; fights not need... |
|
|
|
|
#15 |
|
Архивный участник
Join Date: Oct 2005
Posts: 330
|
this info is not enough. what 'link' variable is ?
i think i disagree. first 44 bytes are null and i believe they are the 11 first geos which are null. still if you have full and certain info like chinese say 'it's better learning someone how to fish than giving him a fish to eat' |
|
|
|
|
#16 |
|
Архивный участник
Join Date: Feb 2005
Posts: 705
|
mirror ?P%~€@#... calm down
|
|
|
|
|
#17 | |
|
Архивный участник
Join Date: Feb 2006
Posts: 453
|
Quote:
Code:
var nodes: array of TNode; f: file; begin filemode:=0; assignfile(f,'pathnode.bin'); reset(f,1); setlength(nodes,filesize(f) div sizeof(TNode)); blockread(f,nodes[0],filesize(f)); closefile(f); end. // nodes[n].link[x] - our nodes array index // sizeof(TNode) = 44 bytes // sizeof(integer) = 4 bytes // A = first letter of roman alphabet |
|
|
|
|
|