npc trouble..

Play Now

sparx14

Guest
well Aria made a nice quest npc and i added it n everythin but wen i run server i get this error (btw the npc is called sherman lol) oh and wen i use mse and try n "edit script" nothing happens... elp :(

Merchant Initalize fail... (m.PEnvir=nil) Sherman

thats the error and here is the script.....

Code:
; Info[ Aqua Quest made by AriaQ {100%}{NPC map: DHA, Co-ords:45:96]

@main]
#IF
check [001] 1
#ACT
goto @gotpot
break

#IF
check [002] 1
#ACT
goto @Cheeky
break

[@main_1]
Hello <$USERNAME>, This place is Packed,\
You know I caught the Great AquaTaurus\
Want to hear more?\
<yes/@more1>\
<no thanks/@exit>\\

[@more1]
Well you see <$USERNAME> my sister\
is after a potion, called the Aqua Pot.\
It has the ability to summon an AquaTaurus.\
The one I gave her didn't carry one\
I don’t know quite how it works but...\
<go on/@more2>\\

[@more2]
Well she maybe able to give you\
an AquaTaurus to use as a pet.\
If you bring me that pot ill take \
you to her.\
<Sound’s good, I’ll try it/@Accept>\
<tell me the story again/@more1>\
<may be next time/@exit>\\

[@Accept]
#ACT
set [001] 1
#SAY
OK thank you so much\.
my sister will be very pleased \
<I'll be Back/@exit>\\


[@gotpot]
#IF
check [001] 1
checkitem AquaPot
#SAY 
You have it, ok my sister\
is waiting for you,\
Would you like to go?\
<yes/@tele>\
<I ill come back later/@exit>\\
#ELSESAY
you have not got it yet\
<whoop's sorry/@exit>

[@tele]
#ACT
set [002] 1
mapmove BGHM
break

[@Cheeky]
<$USERNAME>, haven't I seen you before?\
Thankyou for the help you gave me, but I can't\
ask anymore of you <$USERNAME> .\
<bye/@exit>\\
 

Trojan28

Dedicated Member
Dedicated Member
Jul 9, 2003
53
0
82
sparx14 said:
well Aria made a nice quest npc and i added it n everythin but wen i run server i get this error (btw the npc is called sherman lol) oh and wen i use mse and try n "edit script" nothing happens... elp :(

Merchant Initalize fail... (m.PEnvir=nil) Sherman

thats the error and here is the script.....

Code:
; Info[ Aqua Quest made by AriaQ {100%}{NPC map: DHA, Co-ords:45:96]

@main]
#IF
check [001] 1
#ACT
goto @gotpot
break

#IF
check [002] 1
#ACT
goto @Cheeky
break

[@main_1]
Hello <$USERNAME>, This place is Packed,\
You know I caught the Great AquaTaurus\
Want to hear more?\
<yes/@more1>\
<no thanks/@exit>\\

[@more1]
Well you see <$USERNAME> my sister\
is after a potion, called the Aqua Pot.\
It has the ability to summon an AquaTaurus.\
The one I gave her didn't carry one\
I don’t know quite how it works but...\
<go on/@more2>\\

[@more2]
Well she maybe able to give you\
an AquaTaurus to use as a pet.\
If you bring me that pot ill take \
you to her.\
<Sound’s good, I’ll try it/@Accept>\
<tell me the story again/@more1>\
<may be next time/@exit>\\

[@Accept]
#ACT
set [001] 1
#SAY
OK thank you so much\.
my sister will be very pleased \
<I'll be Back/@exit>\\


[@gotpot]
#IF
check [001] 1
checkitem AquaPot
#SAY 
You have it, ok my sister\
is waiting for you,\
Would you like to go?\
<yes/@tele>\
<I ill come back later/@exit>\\
#ELSESAY
you have not got it yet\
<whoop's sorry/@exit>

[@tele]
#ACT
set [002] 1
mapmove BGHM
break

[@Cheeky]
<$USERNAME>, haven't I seen you before?\
Thankyou for the help you gave me, but I can't\
ask anymore of you <$USERNAME> .\
<bye/@exit>\\

Code:
; Info[ Aqua Quest made by AriaQ {100%}{NPC map: DHA, Co-ords:45:96]

[@main]
#IF
check [001] 1
#ACT
goto @gotpot
break

#IF
check [002] 1
#ACT
goto @Cheeky
break
#ELSEACT
goto @main_1

[@main_1]
Hello <$USERNAME>, This place is Packed,\
You know I caught the Great AquaTaurus\
Want to hear more?\
<yes/@more1>\
<no thanks/@exit>\\

[@more1]
Well you see <$USERNAME> my sister\
is after a potion, called the Aqua Pot.\
It has the ability to summon an AquaTaurus.\
The one I gave her didn't carry one\
I don’t know quite how it works but...\
<go on/@more2>\\

[@more2]
Well she maybe able to give you\
an AquaTaurus to use as a pet.\
If you bring me that pot ill take \
you to her.\
<Sound’s good, I’ll try it/@Accept>\
<tell me the story again/@more1>\
<may be next time/@exit>\\

[@Accept]
#ACT
set [001] 1
#SAY
OK thank you so much\.
my sister will be very pleased \
<I'll be Back/@exit>\\


[@gotpot]
#IF
check [001] 1
checkitem AquaPot
#SAY 
You have it, ok my sister\
is waiting for you,\
Would you like to go?\
<yes/@tele>\
<I ill come back later/@exit>\\
#ELSESAY
you have not got it yet\
<whoop's sorry/@exit>

[@tele]
#ACT
set [002] 1
mapmove BGHM
break
This is unfinished still because i dont know what you want @cheeky to have.
 

TheMonk

Dedicated Member
Dedicated Member
Apr 22, 2003
107
0
93
The Void
sparx14 said:
well Aria made a nice quest npc and i added it n everythin but wen i run server i get this error (btw the npc is called sherman lol) oh and wen i use mse and try n "edit script" nothing happens... elp :(

Merchant Initalize fail... (m.PEnvir=nil) Sherman

thats the error and here is the script.....

Code:
; Info[ Aqua Quest made by AriaQ {100%}{NPC map: DHA, Co-ords:45:96]

@main]
#IF
check [001] 1
#ACT
goto @gotpot
break

...

[@Cheeky]
<$USERNAME>, haven't I seen you before?\
Thankyou for the help you gave me, but I can't\
ask anymore of you <$USERNAME> .\
<bye/@exit>\\

check the choords that the NPC is meant to be spawning are "clear", as in you can walk on that part ... not a wall etr