Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   [Help] [Npcpos] failed to increase total npc because of npc quota (https://postpacific.loc-online.com/showthread.php?t=5922)

HF 03.10.2006 10:57

[Help] [Npcpos] failed to increase total npc because of npc quota
 
I wish to understand the reason of this error. And to find correct variants of corrections. I shall show all of you to a variation of this error on various examples.

1)
On a server there is an error.

Code:

[aden13_npc2418_51] failed to increase total npc because of npc quota [2 / 1]
We look an original file.

Code:

territory_begin          [aden13_npc2418_51]          {{145804; 22700;-2184;-1984}; {146004; 22700;-2184;-1984}; {146004; 22900;-2184;-1984}; {145804; 22900;-2184;-1984}}          territory_end               
npcmaker_ex_begin          [aden13_npc2418_51]          name = [aden01_npc2418_5101]          ai = [default_maker]          maximum_npc=1
npc_ex_begin          [radyss]          pos = {145928; 22768;-2116; 25000}          total=1          respawn=1min          npc_ex_end
npcmaker_ex_end

We see, that in this zone there should be only one npc. Whence there is the second npc? Npc does not create new and this zone is unique.

2)

Code:

[aden21_2317_18s] failed to increase total npc because of npc quota [7 / 6]

Code:

territory_begin          [aden21_2317_18s]          {{127960;-11872;-3792;-3592}; {129176;-12456;-3792;-3592}; {129652;-11288;-3792;-3592}; {128240;-10736;-3792;-3592}}          territory_end                               
npcmaker_begin          [aden21_2317_18s]          initial_spawn=all          maximum_npc=6
npc_begin          [dark_guard]        pos=anywhere        total=1        respawn=37sec        respawn_rand=10sec        Privates= [blade_death:blade_death:1:0sec;blade_death:blade_death:1:0sec;nihil_invader:nihil_invader:1:0sec;nihil_invader:nihil_invader:1:0sec]          npc_end
npcmaker_end

We see, that it is the leader who creates four more privates. Total 5. One whence undertakes more? (in original files there is figure 6). But in an error now we see, as it is not so enough of six.

3)
It is even more difficult to understand with npc at which spawn has 'random_spawn' a class.

Code:

[dion02_tb2122_29] failed to increase total npc because of npc quota [5 / 3]
Code:

territory_begin          [dion02_tb2122_29]          {{45699; 151349;-2946;-2446}; {48307; 150431;-2946;-2446}; {50400; 154088;-2946;-2446}; {47523; 155433;-2946;-2446}; {46010; 154313;-2946;-2446}; {44995; 152326;-2946;-2446}}          territory_end               
npcmaker_ex_begin          [dion02_tb2122_29]          name = [dion02_tb29_m1]          ai = [random_spawn]          maximum_npc=3
npc_ex_begin          [treasure_box_27]        pos=anywhere        total=3        respawn=60sec        npc_ex_end
npc_ex_begin          [mimic_27]        pos=anywhere        total=3        respawn=60sec        npc_ex_end
npc_ex_begin          [treasure_box_30]        pos=anywhere        total=3        respawn=60sec        npc_ex_end
npc_ex_begin          [mimic_30]        pos=anywhere        total=3        respawn=60sec        npc_ex_end
npcmaker_ex_end

We count. The zone should serve as much as possible six npc. But, the file matters 3. And already it is necessary to a server 5.
Question. Whether will correctly lift for such zone value up to 6. Whether the certain protection is installed in this quota?

Drag 05.10.2006 05:28

Up Up Up....

Not only You dont understand this problem :)

GMan 05.10.2006 19:23

I figured it was like this.

the area should have 2 treasure boxs. but to make it random between boxes and minmics, so at the most will will have 2 boxes and at the most eother 2 boxes or 2 mimics

so i think the npcpos is fine, i was thinking the AI where it checks the max npc count and spawns, its not working right, almost like it looses the max count and tries to summon a npc even thoe its a full area


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