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)
-   -   [Fix] failed to increase total npc because of npc quota (https://postpacific.mmorpg-game.online/showthread.php?t=7389)

GMan 18.04.2007 21:26

[Fix] failed to increase total npc because of npc quota
 
Figured I would Post the "official" version of this patch.

Again, tested only a little, but running on live server for 2 days with no issues. Still it's up to you to make sure it wont mess your server up.

NOTE: I sence installing this i have only seen mabey 1 or 2 errors come up, but i think they are in a different class, so I need to look through my logs and see what the erroring territory uses for its AI.

Hope you enjoy

research topic: https://postpacific.mmorpg-game.onli...ead.php?t=7344

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

Drag 18.04.2007 21:39

Thank You :) will see how it works

Arcia 18.04.2007 22:11

Thanks! I will try it and report back.

What I didn't understand, if I may say so, is what problem besides reading a red message is caused with this error.

I used to think it was like the familiar "Invalid SunRise time".

Please forgive my ignorance.

GMan 18.04.2007 23:28

As far as i can tell, it wont do anything bad to the server, more or less telling the Dev team that it needs to bee looked at, becasue of (most likley on official) a misconfigured npc_maker. So all the code does is fix the bad if statment so its not trying to spawn a full set of NPCs every time. And ofcourse as a result the error wont happen again.

SlayerX 19.04.2007 01:46

I only recently started to get these and since I was too lazy to fix it myself I'll give this a test

Jarohe 19.04.2007 11:53

Thanks GMan

mcrabben7 20.04.2007 00:50

Nice share. Keep up the developer spirit.

palace 20.04.2007 01:05

Nice share. thank you, very much

kepler001 20.04.2007 02:02

nice share thanks

Smart 22.04.2007 08:07

Thank You GMan

KOC2000 22.04.2007 11:02

Gonna try this..although I changed max npcs :D

KOC2000 22.04.2007 11:24

Well.. I reverted back to old npcpos.txt.. and used your fix..
Now as l2npc startup I get all these errors:-
Code:

04/22/2007 13:08:xx.xx3, [dion04_mb2021_03] failed to increase total npc because of npc quota [2 / 1]
04/22/2007 13:08:xx.xx3, [innadril01_mb2322_02] failed to increase total npc because of npc quota [2 / 1]
04/22/2007 13:08:xx.xx3, [innadril01_mb2322_03] failed to increase total npc because of npc quota [2 / 1]
04/22/2007 13:08:xx.xx3, [innadril01_mb2322_04] failed to increase total npc because of npc quota [2 / 1]
04/22/2007 13:08:xx.xx6, [aden08_mb2318_14] failed to increase total npc because of npc quota [22 / 21]
04/22/2007 13:09:xx.xx0, [t21_24_boss3f_023] failed to increase total npc because of npc quota [201 / 200]
04/22/2007 13:09:xx.xx0, [t21_24_boss3f_023] failed to increase total npc because of npc quota [201 / 200]
04/22/2007 13:09:xx.xx0, [t21_24_boss3f_023] failed to increase total npc because of npc quota [201 / 200]
04/22/2007 13:09:xx.xx0, [t21_24_boss3f_023] failed to increase total npc because of npc quota [201 / 200]
04/22/2007 13:09:xx.xx0, [t21_24_boss3f_023] failed to increase total npc because of npc quota [201 / 200]
04/22/2007 13:09:xx.xx0, [t21_24_boss3f_023] failed to increase total npc because of npc quota [201 / 200]
04/22/2007 13:09:xx.xx0, [t21_24_boss3f_023] failed to increase total npc because of npc quota [201 / 200]
04/22/2007 13:09:xx.xx0, [t21_24_boss3f_023] failed to increase total npc because of npc quota [201 / 200]
04/22/2007 13:09:xx.xx0, [t21_24_boss3f_023] failed to increase total npc because of npc quota [201 / 200]
04/22/2007 13:09:xx.xx0, [t21_24_boss3f_023] failed to increase total npc because of npc quota [201 / 200]
04/22/2007 13:09:xx.xx0, [t21_24_boss3f_023] failed to increase total npc because of npc quota [201 / 200]
04/22/2007 13:09:xx.xx0, [t21_24_boss3f_023] failed to increase total npc because of npc quota [201 / 200]
04/22/2007 13:09:xx.xx0, [t21_24_boss3f_023] failed to increase total npc because of npc quota [201 / 200]
04/22/2007 13:09:xx.xx0, [t21_24_boss3f_023] failed to increase total npc because of npc quota [201 / 200]
04/22/2007 13:09:xx.xx0, [t21_24_boss3f_023] failed to increase total npc because of npc quota [201 / 200]
04/22/2007 13:09:xx.xx0, [t21_24_boss3f_023] failed to increase total npc because of npc quota [201 / 200]
04/22/2007 13:09:xx.xx0, [t21_24_boss3f_023] failed to increase total npc because of npc quota [201 / 200]
04/22/2007 13:09:xx.xx0, [t21_24_boss3f_023] failed to increase total npc because of npc quota [201 / 200]
04/22/2007 13:09:xx.xx0, [t21_24_boss3f_023] failed to increase total npc because of npc quota [201 / 200]
04/22/2007 13:09:xx.xx0, [t21_24_boss3f_023] failed to increase total npc because of npc quota [201 / 200]
04/22/2007 13:09:xx.xx0, [t21_24_boss3f_023] failed to increase total npc because of npc quota [201 / 200]
04/22/2007 13:10:xx.xx0, [oren16_npc2218_016] failed to increase total npc because of npc quota [2 / 1]
04/22/2007 13:10:xx.xx5, [aden13_npc2418_51] failed to increase total npc because of npc quota [2 / 1]
04/22/2007 13:10:xx.xx2, [rune02_npc2116_06] failed to increase total npc because of npc quota [3 / 2]
04/22/2007 13:10:xx.xx5, [godard05_npc2414_09] failed to increase total npc because of npc quota [3 / 2]
04/22/2007 13:10:xx.xx5, [godard02_npc2416_39] failed to increase total npc because of npc quota [2 / 1]
04/22/2007 13:10:xx.xx8, [godard02_npc2416_40] failed to increase total npc because of npc quota [5 / 4]
04/22/2007 13:10:xx.xx3, [godard02_npc2416_40] failed to increase total npc because of npc quota [5 / 4]
04/22/2007 13:13:xx.xx6, [rune09_2116_23] failed to increase total npc because of npc quota [11 / 10]
04/22/2007 13:13:xx.xx6, [rune09_2116_24] failed to increase total npc because of npc quota [13 / 12]
04/22/2007 13:13:xx.xx6, [rune09_2116_24] failed to increase total npc because of npc quota [13 / 12]


GMan 22.04.2007 16:35

yeah theres some that use the day_night_spawn that need fixing mabey a few others, Looking into thoes also. but [t21_24_boss3f_023] is (if i can remember with out looking) is Zaken, and he uses a different spawn AI as well.

KOC2000 23.04.2007 00:17

I see.. good luck then ;)

hex0id 11.05.2007 08:27

btw I think there are bugs in other makers, cause not all npc quota errors disappeared, i.e:
Code:

[core_cube] failed to increase total npc because of npc quota [31 / 30]
this spawn using other maker, default_maker actually...


All times are GMT. The time now is 23:50.