![]() |
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... |
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) |
my npc not crashing just quest's not work^^
|
i dont think i't sql problem
|
someone give me example of incorrect function
and how u found when it is correct and when it is not |
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... |
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 сервер больше незнает ?) |
waypointstype и waypointdelaystype - understand, but npc server has an error
|
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!
|
Give us it :) and we will finishing ur work ;)
but as I see this handler works fine, because we tested it |
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. |
Quote:
btw > anyone tried VMWare? I saw VMWARE+64bit OS on 32bit OS with 64bit cpu (Xeon) |
Quote:
|
Quote:
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 |
May be it's help some pplz to start correcting errors in AI, or write own dll for npc.exe
|
zil awesome! thanks man :D
|
Quote:
please tell :D |
There is no need to fix l2npc, just fix your AI. all quest works and no crushes.
|
How to fix AI?
|
use your brain and hands.dll
i don't tell you about how to fix it, but it's works 100%. |
"I don't tell you about how to fix it, but it's works 100%"
Wow. Just wow. |
Quote:
|
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. |
the question is, does the mydying handler work or not, can anyone confirm it. from what i see its not working entirely
|
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... |
awesome, thank you for the brief information
|
i try to fix all bugs at ai, maybe, sometimes i'll share them.
|
barabashka, help us!
It's not only errors in AI!!! npc.exe can't understand some functions, because they were updated and now they have new digits. Our version of AI.obj is newest then npc.exe (newest ver of nasc) |
Anyone could explain to nonAIscripter, as me, how to fix new handlers and\or new functions?
|
well i dont know how to get the right function ids but i do know how to change them and write in ai.obj.
all you have to do is search for the old one and replace the # with the new one if u have a list. |
try to learn more about l2npc.exe and how ot works with AI. in it you can see more answers about correctly id's of all functions, variables and handlers.
About AI.OBJ, there is not so easy to rewrite it. |
i dont know how to mess with exe files, but i know how to write the ai lol so we play 2 different worlds =s
|
долбоеб че еще сказать...
нпсы тупо не грузятся, если закоментировать всех (ex) то в городах нет, а вроде как сервак не падает.... |
думаю, что в этом топике тебе делать нечего.
|
спасибо друК, рад был поодщатся
|
MamonT, see LinError to view ur error when npc server crashed!
barabashka, ну хотя б чуток намекни че какие функции должы делать, которые птс нпц.ехе не хавает |
9.) Posting language
We only allow english post, so if you can't write it use a translator (http://babelfish.altavista.com/). You guys can post it in both languages, russian/english, spanish/english, whatever/english but always leave a english version with it. |
in many classes are missing such string as func_call 218103812 // func[AllocCodeInfoList], but arguments for this func are declared:(
then... func_call 251789313 // func[SetInfo] are also missed, but it must be in class where quest was declared. ...... push_event // random1_list works with func_call 251658242 // func[RandomSelectOne], but in retail ai this func are missing. i say once more: npc server is perfect, AI.OBJ is very bugged, couse it test AI for c5 (i think so). |
Zil, тут бесполезно намекать, кто-то должен разобрать npc server, по вот такой аналогии, тога моментом все сделаем
Вот кусочек описания С1 функций вытащенных из c1 npc.exe, нам нуна тоже самое только по С4 нпс :) Всего делов то :) ........ func_call 196 // func[CreatePet] (CSharedCreatureData* to, int nPetCollarClassID, int nPetNpcClassID) func_call 197 // func[AgitAuction] func_call 198 // func[GetAgitDeposit] func_call 199 // func[GetPledgeMoney] (CSharedCreatureData* c) func_call 200 // func[OpenSiegeInfo] func_call 201 // func[SetDoorHpLevel] func_call 202 // func[GetDoorHpLevel] func_call 203 // func[SetControlTowerLevel] func_call 204 // func[GetControlTowerLevel] and handlers: handler 0 // NO_DESIRE handler 1 // ATTACKED handler 2 // SPELLED handler 3 // TALKED handler 4 // TALK_SELECTED handler 5 // SEE_CREATURE ......... myself struc: p_state 2308 (pstate) temper 2312 ?+ i_quest0 2316 i_quest1 2320 i_quest2 2324 i_quest3 2328 i_quest4 2332 ....... myself.sm struc x 8 (m_Pos.x) y 16 (m_Pos.y) z 24 (m_Pos.z) is_pc 108 (m_bIsUser) attacker ...... Sorry, but my english very bad. This example extract C1 function in npc.exe We need extract function in C4 npc.exe. Who can?) |
We try that :) We know that we can....but some pplz too lazy :-/
and goto IRC...there we can talk on russian:) |
| All times are GMT. The time now is 16:25. |