NPC Archive..

smoochy boys on tour

IceSlice

Golden Oldie
Golden Oldie
May 24, 2005
1,179
54
155
Under the Sea :O
Well i thought i might start an NPC Archive as some people may want some NPC's need doing for them to use on their own servers. Here is a few to prove i can script.

----------------------------

[@KM]
Hello, <$USERNAME>, im the kit man of <$SERVERNAME>\
and what can i help you with today.\ \
<Well, you are the kitman../@Kit>
<Nothin, thanks./@exit>

[@kit]
Ah, Smartmouth are we..?\
Well anyway to be able to get this kit you have to be level\
7 and under otherwise your gonna get told to **** right off\ \
<I am level 7 and below/@givekit>\
<K, bye then/@exit>\ \

[@givekit]
#IF
checklevel < 7
#ACT
give NoobRing 2
give NoobShackle 2
give NoobSword 1
give NoobArm(F) 1
give NoobArm(M) 1
give Fencing 1
give Healing 1
give Fireball 1
give NoobHelm 1
give gold 100000
#ELSESAY
You trying to con me out of my stores, Fag get lost\ \
break

----------------------------------------------------------

[@GC]
Hello there <$USERNAME>, and what can i\
change you into today, but before i do change you\
please note that i charge and that i do not come\
cheap... you will need 500000 to be able to change\
it aint just a walk in the park...\ \
<Great, i got that/@C>\
<Sorry, brb/@exit>\ \

[@C]
Ok, Great now you have 500g, i can change you\
and so what can i change you into then..?\ \
<Male Please/@MP>\
<Female Please/@FP>\ \
<Nothing, BYE/@exit>

[@MP]
#IF
checkgold 500000
GENDER FEMALE
#ACT
take gold 500000
CHANGEGENDER 0
#SAY
There you go, you are now Male\
#ELSESAY
You have not got enough gold and/or\
your already Male.\ \
break

[@FP]
#IF
checkgold 500000
GENDER MAN
#ACT
take gold 500000
CHANGEGENDER 1
#SAY
There you go, you are now Female\
#ELSESAY
You have not got enough gold and/or\
your already Female.\ \
break

---------------------------------------------------------------------

Here is one i cba finishing lol :D

[CT]
Hello there where would you like to move..?\ \
<Town Tele Please/@TT>\
<CaveTele Please/@CTP>\ \
<Be back later./@exit>
break

[TT]
Ok, which town would you like to move to..?\
Also, remember that you will be charged, pending\
on how far you travel..\ \
<Mongchon Province/@MP>\
<Bichon Wall/@BW>\
<SerpentValley/@SP>\
<Woomyon Woods/@WW>\
<Ginko Tree Valley/@G>\
<Prajna Island/@PI>\
<Boarder Village/@BV>\ \
<Never mind Latas/@exit>\
break

[CTP]
What levelling area can i take you too..?\ \
<Warrior Places/@WP>\
<Wizard Places/@ZP>\
<Taoist Places/@TP>\ \
<Never mind/@exit>\
break

[@WP]
#IF
CHECKJOB WARRIOR
<1-12/@w1>\
<13-21/@w2>\
<22-28/@w3>\
<29-38/@w4>\
<39-45/@w5>\ \
break

[@ZP]
#IF
CHECKJOB WIZARD
<1-12/@z1>\
<13-21/@z2>\
<22-28/@z3>\
<29-38/@z4>\
<39-45/@z5>\ \
break

[@TP]
#IF
CHECKJOB WARRIOR
<1-12/@t1>\
<13-21/@t2>\
<22-28/@t3>\
<29-38/@t4>\
<39-45/@t5>\ \

[@BW]
#IF
checkgold 5000
#ACT
take gold 5000
mapmove 0 328 264
give townteleport 1
break
#ELSESAY
Sorry mate, not got enough cash.\ \

[@z1]
#IF
checklevel > 12
#SAY
Hmm i can take u to various places, some harder\
than others.\ \
<Oma Cave (Newbs]/@oc>\
<Oma Natural Caves (Advanced)/@onc>\ \
#ELSESAY
nice try...\ \

[@z2]
#IF
checklevel > 21
#SAY
Sup Nib, where can i take you..?\ \
<Zombie Mines/@zm>\
<ConnectedPath/@cp>\ \
#ELSESAY
nice try...\ \

[@z3]
#IF
checklevel > 28
#SAY
Sarp, where can i take you..?\ \
<Zombie Mines/@zm>\
<Bug Caves/@bc>\
<Wooma Temple/@wt>\ \
#ELSESAY
nice try...\ \

[@z4]
#IF
checklevel > 38
#SAY
Hello, where can i take you..?\ \
<Minotaur Cave/@mtc>\
<Bug Caves/@bc>\
<MineralMines/@mm>\
<Wooma Temple/@wt>\ \
#ELSESAY
nice try...\ \

[@z5]
#IF
checklevel > 45
#SAY
Hello there all mighty one, where may\
i take you today...?\ \
<Fox Cave/@fc>\
<Zuma Temple/@zt>\
<Mineral Mines/@mm>\
<MT KR/@mtkr>\
<Spider Valley/@sp>\ \
#ELSESAY
nice try...\ \

[@z1]
#IF
checklevel > 12
#SAY
Hmm i can take u to various places, some harder\
than others.\ \
<Oma Cave (Newbs]/@oc>\
<Oma Natural Caves (Advanced)/@onc>\
<Zombie Mines/@zm>\ \
#ELSESAY
nice try...\ \

[@w2]
#IF
checklevel > 21
#SAY
Sup Nib, where can i take you..?\ \
<Zombie Mines/@zm>\
<ConnectedPath/@cp>\ \
#ELSESAY
nice try...\ \

[@w3]
#IF
checklevel > 28
#SAY
Sarp, where can i take you..?\ \
<Zombie Mines/@zm>\
<Bug Caves/@bc>\
<Wooma Temple/@wt>\ \
#ELSESAY
nice try...\ \

[@w4]
#IF
checklevel > 38
#SAY
Hello, where can i take you..?\ \
<Prajna Cave/@pc>\
<Bug Caves/@bc>\
<MineralMines/@mm>\
<Wooma Temple/@wt>\ \
#ELSESAY
nice try...\ \

[@w5]
#IF
checklevel > 45
#SAY
Hello there all mighty one, where may\
i take you today...?\ \
<Fox Cave/@fc>\
<Zuma Temple/@zt>\
<Mineral Mines/@mm>\
<Prajna Cave KR/@pckr>\
<Spider Valley/@sp>\ \
#ELSESAY
nice try...\ \

[@t1]
#IF
checklevel > 12
#SAY
Hmm i can take u to various places, some harder\
than others.\ \
<Oma Cave (Newbs]/@oc>\
<Oma Natural Caves (Advanced)/@onc>\
<Zombie Mines/@zm>\ \
#ELSESAY
nice try...\ \

[@t2]
#IF
checklevel > 21
#SAY
Sup Nib, where can i take you..?\ \
<Zombie Mines/@zm>\
<Oma Cave/@oc>\
<ConnectedPath/@cp>\ \
#ELSESAY
nice try...\ \

[@t3]
#IF
checklevel > 28
#SAY
Sarp, where can i take you..?\ \
<Zombie Mines/@zm>\
<Bug Caves/@bc>\
<Zuma Temple/@zt>\
<Wooma Temple/@wt>\ \
#ELSESAY
nice try...\ \

[@t4]
#IF
checklevel > 38
#SAY
Hello, where can i take you..?\ \
<Minotaur Cave/@mtc>\
<Zuma Temple/@zt>\
<Bug Caves/@bc>\
<MineralMines/@mm>\
<Wooma Temple/@wt>\ \
#ELSESAY
nice try...\ \

[@t5]
#IF
checklevel > 45
#SAY
Hello there all mighty one, where may\
i take you today...?\ \
<Fox Cave/@fc>\
<Zuma Temple/@zt>\
<Mineral Mines/@mm>\
<MT KR/@mtkr>\
<PC KR/@pckr>\
<Spider Valley/@sp>\ \
#ELSESAY
nice try...\ \

-----------------------------------------------------------------

[@SCH]
Hey there, what would you like to see....?\ \
<HIGH MC/@HMC>\
<HIGH DC/@HDC>\
<HIGH SC/@HSC>\
<HIGH LVL/@HLV>\ \
<Be back Later/@exit>\
break

[HMC]
#IF
#ACT
<$HIGHMCINFO>
break

[HDC]
#IF
#ACT
<$HIGHDCINFO>
break

[HSC]
#IF
#ACT
<$HIGHSCINFO>
break

[HLV]
#IF
#ACT
<$HIGHLEVELINFO>
break

------------------------------------------------------------


Theres some of myne, if anyone has any they wanna give out just post em below here so your helping people out...

If people need some scripts being done feel free to ask but please be specific on what you want and i'll probably get it to you withing 48 hrs as my time diff is different to yours.

For those who want one specifically for them ask here and i'll pm it you...

/Mrbeefy.

P.S. .txt's below...
 

Attachments

  • Cave and Town Tele.txt
    3.8 KB · Views: 81
  • Gender.txt
    867 bytes · Views: 61
  • Kitman.txt
    673 bytes · Views: 80
  • NPC Scripts.txt
    8.4 KB · Views: 125
  • Stats.txt
    326 bytes · Views: 129
Last edited:

NewHope

Golden Oldie
Golden Oldie
Nov 18, 2005
1,311
28
154
------------------------------------------------------------
Spawn a pet npc.

[@main]
#SAY
Hello <$USERNAME>.\
Would you like to summon a pet?.\ \
<Spawn a Woomataurus/@spawnwt> , <Spawn a WoomaGuardian/@spawnwg>.\

[@spawnwt]
#IF
CHECKLEVELEX > 100
#ACT
RECALLMOB Woomataurus 1 3 1 1
#SAY
\ \
Enjoy your new pet.\ \
<Okay i will./@exit>\
#ELSESAY
\ \
You do not have the nessecary level for this pet.\ \
<Maybe in the future then./@exit>\

[@spawnwg]
#IF
CHECKLEVELEX > 100
#ACT
RECALLMOB WoomaGuardian 1 3 1 1
#SAY
\ \
Enjoy your new pet.\ \
<Okay i will./@exit>\
#ELSESAY
\ \
You do not have the nessecary level for this pet.\ \
<Maybe in the future then./@exit>\

------------------------------------------------------------
This npc checks your level (CHECKLEVELEX > 100) which means you need to be level 101 or higher to summon the pet. Simply changing the number will alow you to spawn a pet at a different level. Bear in mind you should always put the number there 1 less than the level which you intend to mob to be summoned via the npc.

Please note, this npc will spawn you a level 3 pet with a funky graphic on the mob constantly (Like clear/para/fceffect) - if you do not like or want this just remove the two 1's after the 3 on this line: RECALLMOB WoomaGuardian 1 3 1 1
Also to change the level of the pet summoned altar the 3 on this line (RECALLMOB WoomaGuardian 1 3 1 1) to whichever level pet you want (0-7 avaliable).
To change the amount of pets you are given change the first number on this line (RECALLMOB WoomaGuardian 1 3 1 1), there is no limit i know of but its not like you'd give someone over 5 pets unless you wanted a seriously laggy server.
 
Last edited:

IceSlice

Golden Oldie
Golden Oldie
May 24, 2005
1,179
54
155
Under the Sea :O
Very nice NewHope, glad to see someone else contributing.

Can u explain more on the how to work the clear/para effects..? cos i really have'nt a clue about them at all.
 

IceSlice

Golden Oldie
Golden Oldie
May 24, 2005
1,179
54
155
Under the Sea :O
Ok just made a Translater NPC not fully finished but i'll upload now as im going to bed and may not be on for a while...All that needs finishing is the #ELSEACT's on if they have not got the book and you need to sort server side the chances of it breaking and things like that..


Basically what this is, is a book NPC but in my server you can no longer buy skills and use them u have to buy them then get them translated for FREE! Anyhoo it all looks good but i have not tested as of yet. Its on an attachment. enjoy :D
 

Attachments

  • Translater-0.txt
    5.6 KB · Views: 51

Evolution

Banned
Banned
Veteran
Sep 9, 2006
285
0
62
Darlo
Ok just made a Translater NPC not fully finished but i'll upload now as im going to bed and may not be on for a while...All that needs finishing is the #ELSEACT's on if they have not got the book and you need to sort server side the chances of it breaking and things like that..


Basically what this is, is a book NPC but in my server you can no longer buy skills and use them u have to buy them then get them translated for FREE! Anyhoo it all looks good but i have not tested as of yet. Its on an attachment. enjoy :D

Nice...

Thanks.

/JayZ
 

IceSlice

Golden Oldie
Golden Oldie
May 24, 2005
1,179
54
155
Under the Sea :O
Here again is a Quest NPC, i aint finished it as i dont know what quests your having in your server but i started off with the level 5 one..
 

Attachments

  • QuestNPC.txt
    1.2 KB · Views: 41

mStation

Golden Oldie
Golden Oldie
Oct 29, 2003
2,042
69
255
♫♪♫ ♦♥♠♣ ♀♂♀
i have tried the stats npc posted but does this work with 2.3?

i already saw others 2.3 servers have the highest dc mc sc players stated into the stats npc so if i did some wrong please tell me.. atm i just copied his script and added a @main like this:
[@main]
#IF
checkpkpoint 2
#SAY
I will never talk to such an evil person as you!\ \
<Ok/@exit>
#ELSEACT
goto @SCH

and all the rest of the script is the same.. btw m2server says:
[01/09/2008 18.04.33] Quest problem: <$HIGHMCINFO> Row:21 FileName: .\Envir\Npc_def\Stats-0.txt
[01/09/2008 18.04.33] Quest problem: <$HIGHDCINFO> Row:27 FileName: .\Envir\Npc_def\Stats-0.txt
[01/09/2008 18.04.33] Quest problem: <$HIGHSCINFO> Row:33 FileName: .\Envir\Npc_def\Stats-0.txt
[01/09/2008 18.04.33] Quest problem: <$HIGHLEVELINFO> Row:39 FileName: .\Envir\Npc_def\Stats-0.txt

thanks
 

mStation

Golden Oldie
Golden Oldie
Oct 29, 2003
2,042
69
255
♫♪♫ ♦♥♠♣ ♀♂♀
this post goes for a bump.. ill try to explain better what is wrong so maybe someone can simply tell me where i'm making errors..

i downloaded the stats npc posted by IceSlice which says:

[@SCH]
Hey there, what would you like to see....?\ \
<HIGH MC/@HMC>\
<HIGH DC/@HDC>\
<HIGH SC/@HSC>\
<HIGH LVL/@HLV>\ \
<Be back Later/@exit>\
break

[HMC]
#IF
#ACT
<$HIGHMCINFO>
break

[HDC]
#IF
#ACT
<$HIGHDCINFO>
break

[HSC]
#IF
#ACT
<$HIGHSCINFO>
break

[HLV]
#IF
#ACT
<$HIGHLEVELINFO>
break


i added to this npc a simply pkpoint check and added it into the game to see if it works.. but i get the error i posted the other day..

since i didnt find other info on this forum i searched on another important forum and found this post:

on 1.9 it worked fine with those commands from the npc, but now with the 2.3 files it just doesnt work correctly, perhaps it is a different command ?

td if you read this could you please post what the command is or what iam doing wrong

cheers


then i found td's reply which says:
oops forgot to reply
you have to set what you want the 'commands' to return in string.ini
variable = MyInfo=
options:
%name, %map, %x, %y, %level, %gold, %minhp, %maxhp, %minmp, %maxmp, %mindc, %maxdc, %minmc, %maxmc, %minsc, %maxsc, %logontime, %logonlong


what does this mean? that i have to make other lines in string.ini like HIGHMCINFO=%maxmc and so on?

please any help will be very nice!
 

XPOD

Dedicated Member
Dedicated Member
Jul 23, 2009
75
0
33
Your Mums Bedroom
I think this is right for 2.3. Sorry if it doesn't help
Code:
[@main]
#say
Hey there <$USERNAME>, what would you like to see....?\ \
<Highest MC/@HMC>\
<Highest DC/@HDC>\
<Highest SC/@HSC>\
<Highest Level/@HLV>\ \
<Be back Later/@exit>\
break

[@HMC]
#IF
#ACT
<$HIGHMCINFO>
break

[@HDC]
#IF
#ACT
<$HIGHDCINFO>
break

[@HSC]
#IF
#ACT
<$HIGHSCINFO>
break

[@HLV]
#IF
#ACT
<$HIGHLEVELINFO>
break

/Terry
 

paul.obrien

LOMCN Veteran
Veteran
Aug 28, 2008
453
4
65
heres my mir items npc.
Can easiy change the items needed to collect
This NPC will allow your player to gain a mir item by collecting items.
The first person to collect all the items will win and the NPC will close automaticaly.
Theres also a reset script in there so you can reset the global var to open the npc again.

I also have a subscript which allows the players to take back the items they deposited after the item has been own.
Just download the script from the link below and add this little script to your Qmanage.

Might add more later depending on how generous im feeling.


add this to your qmanage

Code:
Var Integer Human spidertoothmi 0
LoadVar HUMAN spidertoothmi ../QuestDiary/Variables/Integral.txt
Var Integer Human miritem 0
LoadVar HUMAN miritem ../QuestDiary/Variables/Integral.txt
Var Integer Human blackthreadmir 0
LoadVar HUMAN blackthreadmir ../QuestDiary/Variables/Integral.txt
Var Integer Human whitethreadmir 0
LoadVar HUMAN whitethreadmir ../QuestDiary/Variables/Integral.txt
Var Integer Human redthreadmir 0
LoadVar HUMAN redthreadmir ../QuestDiary/Variables/Integral.txt
Var Integer Human bonemir 0
LoadVar HUMAN bonemir ../QuestDiary/Variables/Integral.txt
Var Integer Human largebonemir 0
LoadVar HUMAN largebonemir ../QuestDiary/Variables/Integral.txt
Var Integer Human maggotpillmir 0
LoadVar HUMAN maggotpillmir ../QuestDiary/Variables/Integral.txt
Var Integer Human scorpiontailmir 0
LoadVar HUMAN scorpiontailmir ../QuestDiary/Variables/Integral.txt
Var Integer Human canniballeafmir 0
LoadVar HUMAN canniballeafmir ../QuestDiary/Variables/Integral.txt
Var Integer Human bugshellmir 0
LoadVar HUMAN bugshellmir ../QuestDiary/Variables/Integral.txt
Var Integer Human bugeyemir 0
LoadVar HUMAN bugeyemir ../QuestDiary/Variables/Integral.txt
Var Integer Human buglegmir 0
LoadVar HUMAN buglegmir ../QuestDiary/Variables/Integral.txt
Var Integer Human mandiblemir 0
LoadVar HUMAN mandiblemir ../QuestDiary/Variables/Integral.txt
Var Integer Human mushroommir 0
LoadVar HUMAN mushroommir ../QuestDiary/Variables/Integral.txt
Var Integer Human spiderwebmir 0
LoadVar HUMAN spiderwebmir ../QuestDiary/Variables/Integral.txt
Var Integer Human skystingereggmir 0
LoadVar HUMAN skystingereggmir ../QuestDiary/Variables/Integral.txt
Var Integer Human spidertoothmir 0
LoadVar HUMAN spidertoothmir ../QuestDiary/Variables/Integral.txt
 

Attachments

  • MirItem-0.txt
    41.1 KB · Views: 18
Last edited:

stupple

Golden Oldie
Golden Oldie
May 11, 2003
915
53
190
heres my mir items npc.
Can easiy change the items needed to collect
This NPC will allow your player to gain a mir item by collecting items.
The first person to collect all the items will win and the NPC will close automaticaly.
Theres also a reset script in there so you can reset the global var to open the npc again.

I also have a subscript which allows the players to take back the items they deposited after the item has been own.
Just download the script from the link below and add this little script to your Qmanage.

Might add more later depending on how generous im feeling.


add this to your qmanage

Code:
Var Integer Human spidertoothmi 0
LoadVar HUMAN spidertoothmi ../QuestDiary/Variables/Integral.txt
Var Integer Human miritem 0
LoadVar HUMAN miritem ../QuestDiary/Variables/Integral.txt
Var Integer Human blackthreadmir 0
LoadVar HUMAN blackthreadmir ../QuestDiary/Variables/Integral.txt
Var Integer Human whitethreadmir 0
LoadVar HUMAN whitethreadmir ../QuestDiary/Variables/Integral.txt
Var Integer Human redthreadmir 0
LoadVar HUMAN redthreadmir ../QuestDiary/Variables/Integral.txt
Var Integer Human bonemir 0
LoadVar HUMAN bonemir ../QuestDiary/Variables/Integral.txt
Var Integer Human largebonemir 0
LoadVar HUMAN largebonemir ../QuestDiary/Variables/Integral.txt
Var Integer Human maggotpillmir 0
LoadVar HUMAN maggotpillmir ../QuestDiary/Variables/Integral.txt
Var Integer Human scorpiontailmir 0
LoadVar HUMAN scorpiontailmir ../QuestDiary/Variables/Integral.txt
Var Integer Human canniballeafmir 0
LoadVar HUMAN canniballeafmir ../QuestDiary/Variables/Integral.txt
Var Integer Human bugshellmir 0
LoadVar HUMAN bugshellmir ../QuestDiary/Variables/Integral.txt
Var Integer Human bugeyemir 0
LoadVar HUMAN bugeyemir ../QuestDiary/Variables/Integral.txt
Var Integer Human buglegmir 0
LoadVar HUMAN buglegmir ../QuestDiary/Variables/Integral.txt
Var Integer Human mandiblemir 0
LoadVar HUMAN mandiblemir ../QuestDiary/Variables/Integral.txt
Var Integer Human mushroommir 0
LoadVar HUMAN mushroommir ../QuestDiary/Variables/Integral.txt
Var Integer Human spiderwebmir 0
LoadVar HUMAN spiderwebmir ../QuestDiary/Variables/Integral.txt
Var Integer Human skystingereggmir 0
LoadVar HUMAN skystingereggmir ../QuestDiary/Variables/Integral.txt
Var Integer Human spidertoothmir 0
LoadVar HUMAN spidertoothmir ../QuestDiary/Variables/Integral.txt

trust pual to give away addvise spirct
 

stupple

Golden Oldie
Golden Oldie
May 11, 2003
915
53
190
lol an advnest npc lol as in long one wich go in global var wich u now loving