Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 18.08.2006, 20:10   #1
MuNLoK
Архивный участник
 
Join Date: Sep 2005
Posts: 255
Default Fix for "Maker[xxx] doesn't have ai handler. cannot set the ai parameter[xxx]"

Ok, to fix the problem:

Code:
08/18/2006 16:16:xx.xx1, Maker[t21_24_01801] doesn't have ai handler. cannot set the ai parameter[maker_name1]
08/18/2006 16:16:xx.xx1, Maker[t21_24_01801] doesn't have ai handler. cannot set the ai parameter[maker_name2]
08/18/2006 16:16:xx.xx1, Maker[t21_24_01801] doesn't have ai handler. cannot set the ai parameter[maker_cnt]
08/18/2006 16:16:xx.xx1, Maker[t21_24_01801] doesn't have ai handler. cannot set the ai parameter[respawn_time]
etc, etc
etc...

You need edit npcpos.txt

The problem is here, for example, for the first error Maker[t21_24_01801]:

Code:
npcmaker_ex_begin [giran08_2124_018] name=[t21_24_01801] ai=[default_maker] ai_parameters={[maker_name1]=.... etc
AI=default_maker

This AI is erroneous. In order to be able to use the "AI_Parameter" --> "maker_name1", "maker_name2"... etc you need to use the AI=maker_instant_spawn_random

Code:
class 2 maker_instant_spawn_random : default_maker
parameter_define_begin
	string maker_name1 ""
	string maker_name2 ""
	string maker_name3 ""
...etc

You only need to do one "search&remplace" for this:

Search:
ai=[default_maker] ai_parameters={[maker_name1]
Remplace for:
ai=[maker_instant_spawn_random] ai_parameters={[maker_name1]

(UltraEdit is good for it.) And the problem is fixed
MuNLoK 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 15:15.