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, 18:41   #26
DeKoth
Архивный участник
 
Join Date: Apr 2006
Posts: 236
Default

awesome, thank you for the brief information
DeKoth is offline  
Old 01.08.2006, 18:44   #27
barabashka
Архивный участник
 
Join Date: Jan 2006
Posts: 55
Default

i try to fix all bugs at ai, maybe, sometimes i'll share them.
barabashka is offline  
Old 01.08.2006, 18:49   #28
Zil
Архивный участник
 
Join Date: Jan 2006
Posts: 277
Default

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)
Zil is offline  
Old 01.08.2006, 19:03   #29
hel
Архивный участник
 
Join Date: Apr 2006
Posts: 729
Default

Anyone could explain to nonAIscripter, as me, how to fix new handlers and\or new functions?
hel is offline  
Old 01.08.2006, 19:07   #30
DeKoth
Архивный участник
 
Join Date: Apr 2006
Posts: 236
Default

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

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

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
DeKoth is offline  
Old 01.08.2006, 19:31   #33
MamonT
Архивный участник
 
Join Date: May 2006
Posts: 15
Default

долбоеб че еще сказать...

нпсы тупо не грузятся, если закоментировать всех (ex) то в городах нет, а вроде как сервак не падает....
MamonT is offline  
Old 01.08.2006, 19:35   #34
barabashka
Архивный участник
 
Join Date: Jan 2006
Posts: 55
Default

думаю, что в этом топике тебе делать нечего.
barabashka is offline  
Old 01.08.2006, 19:37   #35
MamonT
Архивный участник
 
Join Date: May 2006
Posts: 15
Default

спасибо друК, рад был поодщатся
MamonT is offline  
Old 01.08.2006, 19:39   #36
Zil
Архивный участник
 
Join Date: Jan 2006
Posts: 277
Default

MamonT, see LinError to view ur error when npc server crashed!
barabashka, ну хотя б чуток намекни че какие функции должы делать, которые птс нпц.ехе не хавает
Zil is offline  
Old 01.08.2006, 19:42   #37
Truffe
Архивный участник
 
Join Date: May 2005
Posts: 944
Default

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

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

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?)
dar55 is offline  
Old 01.08.2006, 20:00   #40
Zil
Архивный участник
 
Join Date: Jan 2006
Posts: 277
Default

We try that We know that we can....but some pplz too lazy :-/
and goto IRC...there we can talk on russian
Zil is offline  
Old 01.08.2006, 20:03   #41
Sdw
Архивный участник
 
Join Date: Sep 2005
Posts: 150
Default

func_call 218300428 // func[SendScriptEvent]

func_call 184614913 // func[IsNullCreature]
Sdw is offline  
Old 10.08.2006, 10:47   #42
droptable
Архивный участник
 
Join Date: Mar 2006
Posts: 27
Default

My l2npc before crash, write this error:

08/10/2006 12:36:xx.xx8, [.\NPC.cpp][13493] SendScriptEvent(to=null)
08/10/2006 12:36:xx.xx8, func_call : Invalid argument count. Func[SendScriptEvent], argcount[1], sfnp.argN[3], ai[default_maker] event[ON_START], pc[67], sp[1]

I think, this is IA error,but I not Ai scripter... Please help me somebody!

Sorry for my bad english !

barabashka!

Please share the fixed Ai ! I testing certainly and report the errors!
droptable is offline  
Old 10.08.2006, 11:25   #43
midnight
Архивный участник
 
Join Date: Jun 2005
Posts: 199
Default

The selected Attachment does not exist anymore

404 File Not Found: The File files/string_433.rar does not exist.
midnight is offline  
Old 11.08.2006, 13:57   #44
HongK
Архивный участник
 
Join Date: Jun 2005
Posts: 258
Default

There is no need for a dll to fix this problem lol .. Someone already gave THE hint you need to fix it on a different page

The reason your NPCs are crashing IS because of MY_DYING but look at the error that l2npc generates .. read it further

You've got bad code in your AI

BTW, just so you guys know there are huge html exploits that exist and you're gonna get owned by them unless you start thinking ahead .. It is possible to fix them in AI too, you just need to know what to do :O

Launching a c4 retail server right now without taking this into consideration is like asking to have your server blown up
HongK is offline  
Old 11.08.2006, 14:29   #45
Truffe
Архивный участник
 
Join Date: May 2005
Posts: 944
Default

Wow. No shit.
Truffe is offline  
Old 12.08.2006, 06:38   #46
barabashka
Архивный участник
 
Join Date: Jan 2006
Posts: 55
Default

Ehhh, here it is. Say tnx to me

AI_FULLY_FIXED

For password PM me.



P.S. Need some cash
barabashka is offline  
Old 12.08.2006, 06:49   #47
droptable
Архивный участник
 
Join Date: Mar 2006
Posts: 27
Default

Thx ! PM sent...
droptable is offline  
Old 12.08.2006, 06:56   #48
TheOrder
Архивный участник
 
Join Date: Sep 2005
Posts: 731
Default

Cash for u !!! I love smart people :twisted:
TheOrder is offline  
Old 12.08.2006, 08:21   #49
Phantom2005
Архивный участник
 
Join Date: Aug 2005
Posts: 394
Default

Quote:
08/10/2006 12:36:xx.xx8, [.\NPC.cpp][13493] SendScriptEvent(to=null)
08/10/2006 12:36:xx.xx8, func_call : Invalid argument count. Func[SendScriptEvent], argcount[1], sfnp.argN[3], ai[default_maker] event[ON_START], pc[67], sp[1]
goto class default_maker
goto the ON_START handler.
then go to the 67th line.. after variables stuff... that func_call is bugged.
Phantom2005 is offline  
Old 12.08.2006, 10:14   #50
sg552
Архивный участник
 
Join Date: Sep 2005
Posts: 22
Default

[last-send: iria001.htm][recived: observer_1477443854_1] : INVALID link on bypass[.\UserSocket_HTMLCmd.cpp][177]
[last-send: iria001.htm][recived: observer_group_1477443854_8] : INVALID link on bypass[.\UserSocket_HTMLCmd.cpp][177]
[last-send: iria001.htm][recived: observer_1477443854_16] : INVALID link on bypass[.\UserSocket_HTMLCmd.cpp][177]

Can anyone explain what it mean? As i understand it missmatch ai with html?
sg552 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 21:38.