npc help

mirlin6

Golden Oldie
Golden Oldie
Aug 11, 2004
532
3
124
United Kingdom
right ive never done mir 2 before i can do mir 3 but these files are much diffrent i want to know where i add the npcs to once ive made them?

i think its TBL_Merchant but just double checking i got the right place :P

thanks :)
 

neo1uk

Dedicated Member
Dedicated Member
Feb 12, 2007
95
0
52
if ur using C: driver letter then try making sure u got in in right folder like so

C:\Mirserver\M2Server\Envir\Npc_def
all so make sure u have name right like so E.G:

Pets Rental-0.txt (i have file format visable)
^^^^^^ ^

D.B stuff should look like so:

85 Pets Rental 0 0 332 267 0 8 1
ID^ NAME^ type^ map^name^Xcords^Ycords^flags^ appearanceFLD_enabled
name map name I.E bichonProvence as u probs already know :P just incase am explaining noobie sytle sorry if i efended

hope that works for ya if not just pm me and i will send you my db files to replace urs as i know mine work :)

Good Luck

\neo
 
Upvote 0

mirlin6

Golden Oldie
Golden Oldie
Aug 11, 2004
532
3
124
United Kingdom
still doesnt work take a look

[2008-07-10 21:03:38] Pets Npc Initalize fail... - thats the error

Npc script - unfinshed atm found this on the forum but changing it atm!

; ===================================
; Npc Def NPC File : Pets-6.txt
; -----------------------------------
; Name: Pets
; Job:
; Map No: 6
; Pos X 239
; Pos Y 263
; File name: *removed*
; Comment: npc in bichon

;================================================= =
;

[@main]
#SAY
LostSouls - Pet Service\
For each pet you will have to aquire
the blood they drop, if you get the blood
i will use my powers to tame the monster.\
<Pet List/@wizardpet>\ \
<Close Window/@exit>\

[@wizardpet]
#SAY
Wizard Pet List -\
1 . <WoomaTaurus/@Monster1> Requires WoomaTaurusBlood!\
2 . <yimoogi/@Monster2> Requires yimoogiBlood\
3 . <Monster/@Monster3> Level 35+\
4 . <Monster/@Monster4> Level 40+\
5 . <Monster/@Monster5> Level 43+\
6 . <Monster/@Monster6> Level 45+\
7 . <NA/@>\
<Back to Main/@main> - <Close Window/@exit>

[@Monster1]
#IF
checkmarry 5
Check item WoomaTaurusBlood
#ACT
marry mob WoomaTaurus
#SAY
Please treat you pet with good care.\ \
<I'd like another one./@main>\ \
<Exit/@exit>
#ELSESAY
Pet Limit Reached.\ \

Sorry!\
<Close Window/@exit>

[@Monster2]
#IF
checkmarry 5
CheckItem YimoogiBlood
#ACT
marry mob Yimoogi
#SAY
Please treat you pet with good care.\ \
<I'd like another one./@main>\ \
<Exit/@exit>
#ELSESAY
Pet Limit Reached.\ \
 
Last edited:
Upvote 0

neo1uk

Dedicated Member
Dedicated Member
Feb 12, 2007
95
0
52
i think it might be with ur mapinfo some thing like that
unsure....
 
Last edited:
Upvote 0

neo1uk

Dedicated Member
Dedicated Member
Feb 12, 2007
95
0
52
@recallmob? or @mob commands?

because thats a gm command and requires permission 10 which would meen people would be able to @make (item name) and much much more :S
 
Upvote 0

neo1uk

Dedicated Member
Dedicated Member
Feb 12, 2007
95
0
52
ooo lol i see guess u got then g/l m8 glad u figured it out if u did that is :)
 
Upvote 0