Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 29.05.2007, 11:25   #1
hel
Архивный участник
 
Join Date: Apr 2006
Posts: 729
Default l2joff npcpos converter again :)

that's l2joff converting tool.

0.1a - first release.
0.1b - respawn time fixed.
0.2a - a bit optimized code, integrated castle guards converter (if there is a bug - post bugreport, i'll fix it), name="" mistake fixed.
0.2b - castle guards pos generating fix, $row["reuse_delay"] mistake fixed
0.2b2 - castle guards now isn't _ex_ npcs, but regular npcs is _ex_.
0.5a - now all territories looks like a square (8 points); warriors, raid bosses,mimic,treasures have pos=anywhere, but citizen's, guards, traders, etc have static coordinates; script from now will get npcnames from npclist (which has c4 npcs and some of c5), if some id not found in npclist, then script will take it from l2jdb and give them static coordinates and display a warning in browser;some optimizes (converting now take less than 5 seconds).
0.5a2 - minor bug fixed (with territory and npcmaker names on regular npcs).

i think that latest l2j database is here:
http://www.l2jdp.com/svn/

i've rewrite my old one from null, and it looks more better. :P
i was written this script to up exp in php, but i don't have time to check script or result for errors and mistakes.
this script not for sell, but you can freely modify and share it.
hints, reports and help will help me fix scripts and better understand php.
small piece of generated npcpos :
Quote:
territory_begin [gludio_t16_21_003] {{-103742;103344;-3555;-3535};{-101914;103344;-3555;-3535};{-101914;105251;-3555;-3535};{-103742;105251;-3555;-3535}} territory_end
npcmaker_ex_begin [gludio_t16_21_003] name="gludio_t16_21_003" ai=[default_maker] maximum_npc=5
npc_ex_begin [whispering_wind] pos={-101924;104293;-3545;-3220} total=1 respawn=35 npc_ex_end
npc_ex_begin [whispering_wind] pos={-102596;105241;-3545;-3220} total=1 respawn=35 npc_ex_end
npc_ex_begin [ol_mahum_legionnaire] pos={-103236;103354;-3545;-3220} total=1 respawn=35 npc_ex_end
npc_ex_begin [selu_lizardman_warrior] pos={-102946;103785;-3545;-3220} total=1 respawn=35 npc_ex_end
npc_ex_begin [selu_lizardman_scout] pos={-103732;103488;-3545;-3220} total=1 respawn=35 npc_ex_end
npcmaker_ex_end
Вложения из исходного сообщения (сами файлы в копии отсутствуют):
l2joff_npcpos_rebirth_0.5a2.rar — 40454 байт
hel 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 15:22.