Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 06.11.2006, 14:06   #1
Menta2K
Архивный участник
 
Join Date: Nov 2006
Posts: 13
Default [Question] geodata and pathfinding

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
Menta2K is offline  
Old 06.11.2006, 15:36   #2
Met45
Архивный участник
 
Join Date: Jan 2006
Posts: 281
Default

take a look at the l2j forum, they had several topics about that...
Met45 is offline  
Old 06.11.2006, 16:01   #3
Menta2K
Архивный участник
 
Join Date: Nov 2006
Posts: 13
Default

L2J have totaly diferent and system about geodata.
When online palayers walk arrount the server store the cordinates
They dont have real geodata or maybe i am worong ?

Quote:
Originally Posted by Met45 View Post
take a look at the l2j forum, they had several topics about that...
Menta2K is offline  
Old 06.11.2006, 17:14   #4
Met45
Архивный участник
 
Join Date: Jan 2006
Posts: 281
Default

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
Met45 is offline  
Old 06.11.2006, 19:08   #5
HongK
Архивный участник
 
Join Date: Jun 2005
Posts: 258
Default

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
HongK is offline  
Old 06.11.2006, 23:55   #6
Menta2K
Архивный участник
 
Join Date: Nov 2006
Posts: 13
Default

Thanks for the help i found the answer on HumorDwarf's homepage
Menta2K is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 19:52.