Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Server Modifications ONLY! (https://postpacific.mmorpg-game.online/forumdisplay.php?f=28)
-   -   l2joff npcpos converter again :) (https://postpacific.mmorpg-game.online/showthread.php?t=7672)

hel 01.06.2007 14:35

you doing npclist by hands? O_O
give me npcdata (at least "warrior 1 [gremlin]" columns) and i'll make a script. :)

Guaresnay 01.06.2007 15:51

As I've been looking the script makes just one big area for each zone, so if you chage the pos to pos=anywhere then you will prolly have mobs behind the walls or smth like that.

mcrabben7 02.06.2007 05:28

Neo, lol, I could Ultraedit my entire C5 npcdata in like 2 minutes :P Why did you do it by hand xD?

Edit: list attached. All warriors + mimics + treasure chests have a 0 for random. Rest have 1.

P.S. If possible, I only care about C5 mobs which are from id 22001 to 22195. I have some mobs commented out that I haven't built yet, so those aren't in the list. They exist inbetween the ids 22001 and 22195.

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
hel_npc_list.rar — 37483 байт

tpuNIsher 02.06.2007 06:55

yah i didn't think of that xD

hel 02.06.2007 08:58

Quote:

Originally Posted by Guaresnay (Post 87406)
As I've been looking the script makes just one big area for each zone, so if you chage the pos to pos=anywhere then you will prolly have mobs behind the walls or smth like that.

yeah, but how to check real territory? :/ (it's not creating "one big area", it makes territory based on minimum and maximum coordinates from npcmaker list)
i've completed square-like 8-points territory generating, but think it's bad idea, than old...
it looks like this (points is square "corners", unbreakable lines is max and min x,y values, found in current npcmaker list):

---------.---------
---.____max____.---
---|-----------|---
. min--center--max .
---|-----------|---
---.____min____.---
---------.---------


Code:

{{-20000;110686;-2772;-2189};{-19950;113328;-2772;-2189};{-18249;113378;-2772;-2189};{-16548;113328;-2772;-2189};{-16498;110686;-2772;-2189};{-16548;108044;-2772;-2189};{-18249;107994;-2772;-2189};{-19950;108044;-2772;-2189}}
Quote:

Originally Posted by mcrabben7
Edit: list attached. All warriors + mimics + treasure chests have a 0 for random. Rest have 1.

:) thanks
now i'll download latest spawnlist, npc, castle siege guards from l2dp svn and will do next version.

hel 02.06.2007 14:33

mcrabben7:
your npclist has mistakes... for example all siege guards has 3rd value (rand) assigned to 0. (it's pos=anywhere, of course it's wrong)

btw, new version 0.5a uploaded, check 1st post.

mcrabben7 02.06.2007 22:28

Siege guards are warriors xD That's why.

hel 03.06.2007 06:23

mcrabben7:
for that reason i use static coords for all siege spawns.

what i need to do with territory? i don't think thats new territory generation is better than old... :(

Guaresnay 03.06.2007 06:40

No hel the new way is worst, b.c as i told u, it will spawn mobs behind walls or somewhere where ppl wont be able to see. For example pay a look at monastery of silence's positions, it's a big area for the whole geodata so u can't spawn mobs in random positions with this kind of areas

hel 03.06.2007 06:51

Guaresnay:
any ideas, how to generate good territory?
i have an idea, but it way hard to implement. :(

minor bug fixed, converter reuploaded.

Guaresnay 03.06.2007 15:50

I'm debuging one idea, i'll let u know if it works.

tpuNIsher 04.06.2007 11:32

idea is do it by hand lol :p

DevilsAssociate 08.06.2007 00:00

tpuNIsher LOL that would work too :P

great work with it hel.

was wondering if anyone else got this error or if it just me.

Code:

Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in c:**/npcpos_class.php on line 12

hel 08.06.2007 08:01

there is no problems. script greatly works on my config, i'm using Apache/2.2.3, PHP 5.1.6.

DevilsAssociate 09.06.2007 00:05

I will update my version and i am sure that will fix it then. Thanks

Starting doing them by hand :P for the npcs I needed


All times are GMT. The time now is 15:01.