Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 01.08.2006, 07:06   #1
KTPSMF
Архивный участник
 
Join Date: Oct 2005
Posts: 367
Default 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...
KTPSMF is offline  
Old 01.08.2006, 09:07   #2
hel
Архивный участник
 
Join Date: Apr 2006
Posts: 729
Default

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)
hel is offline  
Old 01.08.2006, 09:10   #3
GeNtOo
Архивный участник
 
Join Date: Jan 2006
Posts: 69
Default

my npc not crashing just quest's not work^^
GeNtOo is offline  
Old 01.08.2006, 09:16   #4
KTPSMF
Архивный участник
 
Join Date: Oct 2005
Posts: 367
Default

i dont think i't sql problem
KTPSMF is offline  
Old 01.08.2006, 09:25   #5
KTPSMF
Архивный участник
 
Join Date: Oct 2005
Posts: 367
Default

someone give me example of incorrect function

and how u found when it is correct and when it is not
KTPSMF is offline  
Old 01.08.2006, 09:38   #6
hel
Архивный участник
 
Join Date: Apr 2006
Posts: 729
Default

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...
hel is offline  
Old 01.08.2006, 10:14   #7
dar55
Архивный участник
 
Join Date: Aug 2005
Posts: 180
Default

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 сервер больше незнает ?)
dar55 is offline  
Old 01.08.2006, 12:54   #8
Zil
Архивный участник
 
Join Date: Jan 2006
Posts: 277
Default

waypointstype и waypointdelaystype - understand, but npc server has an error
Zil is offline  
Old 01.08.2006, 13:01   #9
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

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!
testdude is offline  
Old 01.08.2006, 13:15   #10
Zil
Архивный участник
 
Join Date: Jan 2006
Posts: 277
Default

Give us it and we will finishing ur work

but as I see this handler works fine, because we tested it
Zil is offline  
Old 01.08.2006, 13:18   #11
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

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 is offline  
Old 01.08.2006, 13:20   #12
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

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)
rodier is offline  
Old 01.08.2006, 13:40   #13
Sauron
Архивный участник
 
Join Date: Feb 2005
Posts: 357
Default

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
Sauron is offline  
Old 01.08.2006, 13:53   #14
KTPSMF
Архивный участник
 
Join Date: Oct 2005
Posts: 367
Default

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
KTPSMF is offline  
Old 01.08.2006, 14:27   #15
Zil
Архивный участник
 
Join Date: Jan 2006
Posts: 277
Default

May be it's help some pplz to start correcting errors in AI, or write own dll for npc.exe
Zil is offline  
Old 01.08.2006, 15:39   #16
empathon
Архивный участник
 
Join Date: Feb 2006
Posts: 136
Default

zil awesome! thanks man
empathon is offline  
Old 01.08.2006, 17:50   #17
KTPSMF
Архивный участник
 
Join Date: Oct 2005
Posts: 367
Default

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
KTPSMF is offline  
Old 01.08.2006, 17:56   #18
barabashka
Архивный участник
 
Join Date: Jan 2006
Posts: 55
Default

There is no need to fix l2npc, just fix your AI. all quest works and no crushes.
barabashka is offline  
Old 01.08.2006, 17:57   #19
Drac
Архивный участник
 
Join Date: Aug 2006
Posts: 3
Default

How to fix AI?
Drac is offline  
Old 01.08.2006, 17:59   #20
barabashka
Архивный участник
 
Join Date: Jan 2006
Posts: 55
Default

use your brain and hands.dll
i don't tell you about how to fix it, but it's works 100%.
barabashka is offline  
Old 01.08.2006, 18:04   #21
Cardon
Архивный участник
 
Join Date: Apr 2006
Posts: 65
Default

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

Wow. Just wow.
Cardon is offline  
Old 01.08.2006, 18:08   #22
dknod
Архивный участник
 
Join Date: Mar 2006
Posts: 82
Default

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
dknod is offline  
Old 01.08.2006, 18:08   #23
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

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.
rodier is offline  
Old 01.08.2006, 18:10   #24
DeKoth
Архивный участник
 
Join Date: Apr 2006
Posts: 236
Default

the question is, does the mydying handler work or not, can anyone confirm it. from what i see its not working entirely
DeKoth is offline  
Old 01.08.2006, 18:35   #25
barabashka
Архивный участник
 
Join Date: Jan 2006
Posts: 55
Default

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...
barabashka 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 20:33.