NPC scripts 1.8 server files

smoochy boys on tour

TravisW

LOMCN Veteran
Veteran
Sep 4, 2007
737
17
125
Anyone who can give me an example of a Potshop npc?
Im not sure how to set it up with the #call command.
In one chinees script I have it says

[@main]
»¶Ó­Ä㣡ÎÒÕâÀïÂôµÄÊé¶ÔÄãÌáÉý¼¼ÄÜÓÐÖØÒªµÄÒâÒå!\
¶øÇÒÎÒ»á¸æËßÄãÈçºÎʹÓÃËüÃÇ.\
<¹ºÈëÊé¼®/@buy>\
<³öÊÛÊé¼®/@sell>\
<ѯÎʼ¼ÄÜ/@ѯÎʼ¼ÄÜ>\
<´òÌý/@´òÌý>ºÍÌúѪħ³ÇÓйصÄ×îÐÂÏûÏ¢\
<´òÌýÏûÏ¢/@´òÌýÏûÏ¢>\
<¹Ø±ÕÑ¡µ¥/@exit>
[@´òÌýÏûÏ¢]
ºÜ¶à¶«Î÷Êé±¾ÉÏÊÇѧ²»µ½µÄ.\\
<À뿪/@main>
[@buy]
#CALL [\ÉÌÈË\Êéµê.txt] @¹ºÈëÊé¼® <---whats this refer too? :)

Also, I have(I Think) set right in Merchant.txt...
Npc shows, name is correct, at right coords (inGame)
but when I click on it nothing appears.

does it go, for exapmple for map"Town" (Inside Merchant.txt)

X1 Town X2 Town_Potions X3 Map# X4 (X) X5 (Y) X6 NPCname X7? X8?

X9? x10?

Thx for any help!:eek:
 

Sanity

Legend
Legendary
Nov 7, 2007
3,812
119
300
Have you translated any files in QuestDiary?

You find @CALL this is script, You must off changed the root so it cannot read the file.

@¹ºÈëÊé¼® is nothing, Translate it or don't, it want effect anything.
 

sumfuka

LOMCN Veteran
Veteran
Sep 14, 2007
298
0
62
+0
+31
+42
[@main]
<COLOR=GREEN Welcome. I sell all types of drugs.>\
What do you need ?\\
<Buy/@buy>\
<Sell/@sell>\
<Ask/@_YD_ask>BloodCity related most recent news\
<Exit/@exit>

[@buy]
Which medicine do you want to buy?\\
<Return/@main>

[@sell]
Which medicine do you want to sell?\\
<Return/@main>

[@_YD_ask]

[goods]
MaggotEgg 0 10
HPPotion(S) 0 10
HPPotion(M) 0 10
HPPotion(L) 0 10
MPPotion(S) 0 10
MPPotion(M) 0 10
MPPotion(L) 0 10
HPBundle(S) 0 10
HPBundle(M) 0 10
MPBundle(S) 0 10
MPBundle(M) 0 10
HPBundle(L) 0 10
MPBundle(L) 0 10
GreyPoison(S) 0 10
GreyPoison(M) 0 10
GreyPoison(L) 0 10
YelowPoison(S) 0 10
YelowPoison(M) 0 10
YelowPoison(L) 0 10
MaleDoll(S) 0 10
MaleDoll(M) 0 10
MaleDoll(L) 0 10
FemaleDoll(S) 0 10
FemaleDoll(M) 0 10
FemaleDoll(L) 10 10

If your working on 1.8 files, I'd recommand downloading the mates server files as almost all the npcs have been translated

http://www.lomcn.co.uk/forum/showthread.php?t=52550