Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
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  
Old 19.08.2006, 03:47   #2
darkwire
Архивный участник
 
Join Date: Aug 2006
Posts: 9
Default

Tnx! Reputation point for you
darkwire is offline  
Old 19.08.2006, 04:18   #3
lamnh
Архивный участник
 
Join Date: Mar 2005
Posts: 185
Default

thank you MuNLoK
lamnh is offline  
Old 19.08.2006, 04:45   #4
Sakumi
Архивный участник
 
Join Date: Apr 2005
Posts: 555
Default

Thanks much yes!
Sakumi is offline  
Old 19.08.2006, 05:07   #5
SoaPy
Архивный участник
 
Join Date: Feb 2005
Posts: 705
Default

good job

pd : btw saku is back :P ?
SoaPy is offline  
Old 22.08.2006, 10:17   #6
moon
Архивный участник
 
Join Date: Jul 2006
Posts: 66
Default

thanks it works fine
moon is offline  
Old 22.08.2006, 13:22   #7
Thunderstorm
Архивный участник
 
Join Date: Dec 2005
Posts: 56
Default

awesome! thanks man
Thunderstorm is offline  
Old 23.08.2006, 15:14   #8
fcbinfo
Архивный участник
 
Join Date: Mar 2006
Posts: 61
Default

The name of all bit rabbit is adventurer_agent_town_XX

Where "XX" is 01~67

o.O

AnyBody have code of npcname-e.txt and npcgrp.txt ???
fcbinfo is offline  
Old 23.08.2006, 15:55   #9
zExz
Архивный участник
 
Join Date: Mar 2005
Posts: 20
Default

Quote:
Originally Posted by fcbinfo View Post
The name of all bit rabbit is adventurer_agent_town_XX

Where "XX" is 01~67

o.O

AnyBody have code of npcname-e.txt and npcgrp.txt ???
you can use npcname-e.txt and npcgrp.txt with no rabbits from here https://postpacific.loc-online.com/f...newpost&t=5518 :-)
zExz is offline  
Old 24.08.2006, 04:44   #10
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

hmm my npcpos is only like this:
Code:
npcmaker_ex_begin	[gludio32_npc1624_001]	name=[gludio32_npc1624_001m1]	ai=[default_maker]
dont found another kind of "default_maker" and 0 "ai_parameters=" found.. so I think there is another way how to repair too ;-)

there is paste of my t21_24_01801
Code:
npcmaker_ex_begin	[giran08_2124_018]	name=[t21_24_01801]	ai=[default_maker]	maximum_npc=15													
npc_ex_begin	[zakens_seer]	pos=anywhere	total=3	respawn=55sec	npc_ex_end													
npcmaker_ex_end
rodier is offline  
Old 23.09.2006, 00:48   #11
nish
Архивный участник
 
Join Date: May 2006
Posts: 237
Default

ya when i add this fix to my npcpos mobs dont spawn back after u kill them....but if i dont add this its fine. anyone give me a hand with this ?
nish is offline  
Old 23.09.2006, 02:18   #12
Sakumi
Архивный участник
 
Join Date: Apr 2005
Posts: 555
Default

Quote:
Originally Posted by SoaPy View Post
good job

pd : btw saku is back :P ?
I am indeed.
Sakumi is offline  
Old 24.09.2006, 11:10   #13
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

i cant find any default_maker1... can you explain a bit more please?
top-gear is offline  
Old 27.09.2006, 16:39   #14
Xachump
Архивный участник
 
Join Date: Sep 2006
Posts: 27
Default

Quote:
Originally Posted by MuNLoK View Post
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

Is not this line ai= [to default_maker] ai_parameters= {[maker_name1]
help please.

thanks
Xachump is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 16:57.