![]() |
|
|
#1 |
|
Архивный участник
Join Date: Sep 2005
Posts: 15
|
thats all my work i have done so far... dont complain about shitty php code -> feel free to make it better and share it with others! also dont pm me!
if u got a question -> ask here. im giving it out since i think l2off got no future - my opinion, and im starting to work on l2j... some explainations and theory... i have seen that many ppl do application to generate geodata 'on the fly', i dont think its a good idea, it will be complicated to code and even if u try to create map grid-only based as result u will have hell buggy map and if u try to create 64 or 3type(flor) header map based it will couse great load to server... thats why i made it sql based (to clean up 0,64 and 3type header) attachments: - sql-geodata.rar is the empty mysql database - load.php loads existent geodata into sql - check.php calculate new header - write.php write new map from sql - flat_flors_fix.php not done, grid only based - allow to change existent data into solid area or bridges (if this one dosnt work i got somewhere older version) - load-l2j.php a sample script to load heights from l2j dump, decompress the bin file with winrar first! how to calculate bridges height -> ((ingame_height*2)/16-1)=> remove after point number and do this -> *16+1 this formula will give u a height that have to be used in geodata flat_flors_fix.php does work - parttly, after fucking around with it, i got an idea to use pictures to generate map, theory: 1024x1024 bmp will allow to create 1 layer of geodata, 1pixel=1subgrid, different colors will allow to define height; such script should allow for example to load bmp generated from l2j, without bridge and lower flors but those r simple to add ![]() i think there is no need for further explanation? later i will post my theory about client side bmp textures.. sry for my bad eng. |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|