![]() |
|
|
#1 |
|
Архивный участник
Join Date: Nov 2006
Posts: 13
|
Hello
i am working on new L2 Server Emulator and i come at the problem how to implement pathfinding in my server. For that i need some information. There 3 ways to do that 1. To read the data from client (but i am almostsure that there no way to mark some position is it walkable or is not) 2. To parse geodata files from 'original' server 3. To get that info from l2walker data files. What exacly i need X,Y,Z position on ech point on the map and is that point is walkable or not If some one have information for file structure of those files and wont to share it will be great ![]() Thanks in advance PS : Sorry about my bad english but i hope that its understandable
|
|
|
|
|
#2 |
|
Архивный участник
Join Date: Jan 2006
Posts: 281
|
take a look at the l2j forum, they had several topics about that...
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Nov 2006
Posts: 13
|
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Jan 2006
Posts: 281
|
yesterday i red some thoughts of 'em...
so try it... if i remember right some guy made a fast algorythm for storing it... (for insiders O(log n)~O(1)) and yeah u r right they store every x,y,z coordinate //Edit not for storing... i meant for finding a point in the files |
|
|
|
|
#5 |
|
Архивный участник
Join Date: Jun 2005
Posts: 258
|
Actually l2j has a system to read official geodata files and perform collision detection and line of sight checks and it works perfectly .. It's not part of the main l2j distro because its a c++ dll that is called by loadlibrary from within the gameserver
Last I checked L2J was working on pathfinding and has achieved initial success .. check their contributions forum |
|
|
|
|
#6 |
|
Архивный участник
Join Date: Nov 2006
Posts: 13
|
Thanks for the help i found the answer on HumorDwarf's homepage
|
|
|
|
|