Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   Fixin NPC crash in Retail Server (https://postpacific.loc-online.com/showthread.php?t=5283)

KTPSMF 01.08.2006 07:06

Fixin NPC crash in Retail Server
 
Hello,
i am trying to resolve problems how to fix critical npc crashes on l2NPC.exe

i have toniced that npc crashes because ai functions to l2npc.exe

some people sayd to me that functions is disabled by "visa" to do not see errors in l2npc like My_Dying.

i am trying to fix problems but npc is still crashes .

my server is running 5 days and 2 days without players npc did not crashed

players kill's npc or push'es not correct link on npc and NPC goes down.


if someone can help me to find out or knows how to find critical functions please post.

i think all need new developers team of postpacific...

hel 01.08.2006 09:07

I have a problem as your. But my friend has successfuly launched L2NPC without crashes, but quests don't work.
Only 1(!) different in our configuration (C4 server files is same). He have SQL2000 SP4, I have SQL2005 x64. I think it all explains... I will go and uninstall SQL2005, and install SQL2000 SP4...
(I can join your team, I interested in fixing it all)

GeNtOo 01.08.2006 09:10

my npc not crashing just quest's not work^^

KTPSMF 01.08.2006 09:16

i dont think i't sql problem

KTPSMF 01.08.2006 09:25

someone give me example of incorrect function

and how u found when it is correct and when it is not

hel 01.08.2006 09:38

Oh, one thing more...
On npcpos we're see a lot of parameters which is not defined in AI.obj.
ai=[maker_instant_spawn_random]
ai_parameters={[maker_name1]=[t21_24_00101];[maker_name2]=[t21_24_00102];[maker_cnt]=2;[respawn_time]=130;[on_start_spawn]=1}

I fix many these errors on starting l2.npc by adding these parameters in each class with superclass default_maker:
string maker_name1 ""
string maker_name2 ""
int maker_cnt 0
int respawn_time 0


I think it will help to all...

dar55 01.08.2006 10:14

not correct add parameter in default_maker.
If add this, then not have report error, but this parameters not work.
Need change class in problems npc

/rus
Короче, нихрена я незнаю английской грамматики. Вообщем если добавить просто в этот класс, эти параметры, то максимум чего добьетесь, это удаления ошибок из репорта, но работать они не будут. Я еще не проверял, но на 90% это ошибка в перепутанном классе у нпс.

Кстати интересно, типы waypointstype и waypointdelaystype сервер больше незнает ?)

Zil 01.08.2006 12:54

waypointstype и waypointdelaystype - understand, but npc server has an error

testdude 01.08.2006 13:01

my_dying handler doesnt work, theres a dll out that aparently fixes this problem but ive yet to find out how to attach this dll, cos i hate 64bit xP and ida pro is a piece of shit, olly4eva!

Zil 01.08.2006 13:15

Give us it :) and we will finishing ur work ;)

but as I see this handler works fine, because we tested it

rodier 01.08.2006 13:18

this code
string maker_name1 ""
string maker_name2 ""
int maker_cnt 0
int respawn_time 0

must be pasted

class 1 default_npc : (null)
parameter_define_begin
<------------------------------------here ? or where in superclass?
int DesirePqSize 50
int FavorListSize 30
...
thanks for reply.

rodier 01.08.2006 13:20

Quote:

Originally Posted by testdude
my_dying handler doesnt work, theres a dll out that aparently fixes this problem but ive yet to find out how to attach this dll, cos i hate 64bit xP and ida pro is a piece of shit, olly4eva!

Try Windows 2003 R2 Trial 64bit ;)

btw > anyone tried VMWare? I saw VMWARE+64bit OS on 32bit OS with 64bit cpu (Xeon)

Sauron 01.08.2006 13:40

Quote:

Originally Posted by rodier
Quote:

Originally Posted by testdude
my_dying handler doesnt work, theres a dll out that aparently fixes this problem but ive yet to find out how to attach this dll, cos i hate 64bit xP and ida pro is a piece of shit, olly4eva!

Try Windows 2003 R2 Trial 64bit ;)

btw > anyone tried VMWare? I saw VMWARE+64bit OS on 32bit OS with 64bit cpu (Xeon)

works

KTPSMF 01.08.2006 13:53

Quote:

Originally Posted by rodier
this code
string maker_name1 ""
string maker_name2 ""
int maker_cnt 0
int respawn_time 0

must be pasted

class 1 default_npc : (null)
parameter_define_begin
<------------------------------------here ? or where in superclass?
int DesirePqSize 50
int FavorListSize 30
...
thanks for reply.


ufortunatly this fix does not fix critical crashes in l2npc

trye to remove 1,2,3 change class npc from npcpos it think there is some problems too (remove npc to see is this really problem)
without players npc does not crashes for 24hours

Zil 01.08.2006 14:27

May be it's help some pplz to start correcting errors in AI, or write own dll for npc.exe

empathon 01.08.2006 15:39

zil awesome! thanks man :D

KTPSMF 01.08.2006 17:50

Quote:

Originally Posted by Zil
May be it's help some pplz to start correcting errors in AI, or write own dll for npc.exe

how he exported it fo txt?

please tell :D

barabashka 01.08.2006 17:56

There is no need to fix l2npc, just fix your AI. all quest works and no crushes.

Drac 01.08.2006 17:57

How to fix AI?

barabashka 01.08.2006 17:59

use your brain and hands.dll
i don't tell you about how to fix it, but it's works 100%.

Cardon 01.08.2006 18:04

"I don't tell you about how to fix it, but it's works 100%"

Wow. Just wow.

dknod 01.08.2006 18:08

Quote:

Originally Posted by barabashka
use your brain and hands.dll
i don't tell you about how to fix it, but it's works 100%.

Nice help :lol: "it works" Will try to work more with my brains ;)

rodier 01.08.2006 18:08

barabashka > I dont think your way is the right one..

Why be stupid and dont learn people? Everyone hate leechers.. OK, so what about giving them chance to be developer teaching them at least something?
So tell us how to fix it, so everyone can fix it on own and there will be 0 leechers.

I think you get in basic school for nothing.. for free... you get basic information like reading..writing.. for nothing.. for free.. so dont be stupid dumb and start pay back. Start sharing info so ppl can learn how to make things .. so here will be 0 leechers.

DeKoth 01.08.2006 18:10

the question is, does the mydying handler work or not, can anyone confirm it. from what i see its not working entirely

barabashka 01.08.2006 18:35

handler my_dying works fine. there are many errors in base classes in correctly fetch_i, function_call, push_const digits. for example:
fetch_i // master
push_const 2016
but this is a stupid error, need
fetch_i // master
push_const 2008
and so on...


All times are GMT. The time now is 16:09.