[CD3.55] Teleport NPC Script Help

smoochy boys on tour

MrCruque

Dedicated Member
Dedicated Member
Mar 16, 2012
34
4
34
Hello every1, i would to know 2 things.( i looked everywhere, didnt find nothing)
i found the NPC teleport location in Merchant, but where is the axual file for the stone, i mean the 1 that contains the places wher eu wanna go, cause i used the search function inyo ma Envir and found nothing :S

btw this is the script i would like to use, is it going to work??? (its not finished yet)

;;不要删掉此行
[@main]
{
#IF
chekgold 10000
#SAY
Where do you want to go??


{FCOLOR/10}<DeadPit/@DeadPit>{FCOLOR/10}\
{FCOLOR/10}<FleaCave/@FleaCave>{FCOLOR/10}\
{FCOLOR/10}<AntColony/@AntColony>{FCOLOR/10}\
{FCOLOR/10}<DeathValley/@DeathValley>{FCOLOR/10}\
{FCOLOR/10}<StoneTomb/@StoneTomb>{FCOLOR/10}\
{FCOLOR/10}<WoomaTemple/@WoomaTemple>{FCOLOR/10}\
{FCOLOR/10}<PrajnaCave/@PrajnaCave>{FCOLOR/10}\
{FCOLOR/10}<PrajnaTemple/@PrajnaTemple>{FCOLOR/10}\
{FCOLOR/10}<BichonCave/@BichonCave>{FCOLOR/10}\
{FCOLOR/10}<ZumaTemple/@ZumaTemple>{FCOLOR/10}\
{FCOLOR/10}<PhantomCave/@PhantomCave>{FCOLOR/10}\
{FCOLOR/10}<JinChonDungeon/@JinChonDungeon>{FCOLOR/10}\
{FCOLOR/10}<PrajnaCave/@PrajnaCave>{FCOLOR/10}\
{FCOLOR/10}<BlackPalace/@BlackPalace>{FCOLOR/10}\
{FCOLOR/10}<NumaRuins/@NumaRuins>{FCOLOR/10}\
{FCOLOR/10}<DesertTunnel/@DesertTunnel>{FCOLOR/10}\


[@DeadPit]
#IF
checkgold 10000
#ACT
Mapmove D201
Take Gold 10000
give TownTeleport 1
#ELSEACT
SysMsg "You dont have enought Gold"
Close

[@FleaCave]
#IF
checkgold 10000
#ACT
Mapmove D301
Take Gold 10000
give TownTeleport 1
#ELSEACT
SysMsg "You dont have enought Gold"
Close

[@AntColony]
#IF
checkgold 10000
#ACT
Mapmove D401
Take Gold 10000
give TownTeleport 1
#ELSEACT
SysMsg "You dont have enought Gold"
Close

[@StoneTomb]
#IF
checkgold 10000
#ACT
Mapmove D701
Take Gold 10000
give TownTeleport 1
#ELSEACT
SysMsg "You dont have enought Gold"
Close

[@WoomaTemple]
#IF
checkgold 10000
#ACT
Mapmove D501
Take Gold 10000
give TownTeleport 1
#ELSEACT
SysMsg "You dont have enought Gold"
Close

[@PrajnaCave]
#IF
checkgold 10000
#ACT
Mapmove D601
Take Gold 10000
give TownTeleport 1
#ELSEACT
SysMsg "You dont have enought Gold"
Close

[@PrajnaTemple]
#IF
checkgold 10000
#ACT
Mapmove D1001
Take Gold 10000
give TownTeleport 1
#ELSEACT
SysMsg "You dont have enought Gold"
Close

[@BichonCave]
#IF
checkgold 10000
#ACT
Mapmove D101
Take Gold 10000
give TownTeleport 1
#ELSEACT
SysMsg "You dont have enought Gold"
Close

[@ZumaTemple]
#IF
chekgold 10000
#ACT
Mapmove D1101
Take Gold 10000
give TownTeleport 1
#ELSEACT
SysMsg "You dont have enought Gold"
close

[@PhantomCave]
#IF
chekgold 10000
#ACT
Mapmove D111
Take Gold 10000
give TownTeleport 1
#ELSEACT
SysMsg "You dont have enought Gold"
close

[@JinChonDungeon]
#IF
chekgold 10000
#ACT
Mapmove D1200
Take Gold 10000
give TownTeleport 1
#ELSEACT
SysMsg "You dont have enought Gold"
close

[@PrajnaCave]
#IF
checkgold 10000
#ACT
Mapmove D121
Take Gold 10000
give TownTeleport 1
#ELSEACT
SysMsg "You dont have enought Gold"
close

[@BlackPalace]
#IF
checkgold 10000
#ACT
Mapmove D1301
Take Gold 10000
give TownTeleport 1
#ELSEACT
SysMsg "You dont have enought Gold"
close

[@DesertTunnel]
#IF
checkgold 10000
#ACT
Mapmove D2001
Take Gold 10000
give TownTeleport 1
#ELSEACT
SysMsg "You dont have enought Gold"
close

[@NumaRuins]
#IF
checkgold 10000
#ACT
Mapmove D1501
Take Gold 10000
give TownTeleport 1
#ELSEACT
SysMsg "You dont have enought Gold"
close

[@DeathValley]
#IF
checkgold 10000
#ACT
Mapmove D801
Take Gold 10000
give TownTeleport 1
#ELSEACT
SysMsg "You dont have enought Gold"
close

basicaly i wanna know how do i edit the location of the stone teleport npc AND the npc itself thats pretty much it thanks
 

Buldok

Dedicated Member
Dedicated Member
Feb 27, 2010
41
0
33
Put script in Envir\Market_Def\TeleportArea.txt\
In Envir\Merchant.txt put TeleportArea 0 160 230 56

;;不要删掉此行

[@Main]
#IF
#SAY
Where do you want to go?\
<Level Area/@Levelingarea>\
<Exit/@exit>\\


[@Levelingarea]
#SAY
Where do you want to go?\\
<BichonCave/@Teleport(D101,131,174,500)> Cost: {FCOLOR/10}500gold{FCOLOR/12}\
<Flea Cave/@Teleport(D301,84,237,800)> Cost: {FCOLOR/10}800gold{FCOLOR/12}\
<Dead Pit/@Teleport(D201,56,286,1000)> Cost: {FCOLOR/10}1,000gold{FCOLOR/12}\
<Ant Colony/@Teleport(D401,187,178,1200)> Cost: {FCOLOR/10}1,200gold{FCOLOR/12}\
<Wooma Temple/@Teleport(D501,363,369,1500)> Cost: {FCOLOR/10}1,500gold{FCOLOR/12}\
<South Prajna Valley/@Teleport(D004,100,21,1800)> Cost: {FCOLOR/10}1,800gold{FCOLOR/12}\
<Death Valley/@Teleport(D801,147,231,2100)> Cost: {FCOLOR/10}2,100gold{FCOLOR/12}\
<Stone Temple/@Teleport(D701,40,209,2400)> Cost: {FCOLOR/10}2,400gold{FCOLOR/12}\
<Prajna Stone Cave/@Teleport(D601,132,167,2700)> Cost: {FCOLOR/10}2,700gold{FCOLOR/12}\
<Illusion Woods/@Teleport(D001,183,20,3000)> Cost: {FCOLOR/10}3,000gold{FCOLOR/12}\
<Red Moon Valley/@Teleport(D901,320,322,3400)> Cost: {FCOLOR/10}3,400gold{FCOLOR/12}\
<Desert/@Teleport(D002,169,34,3700)> Cost: {FCOLOR/10}3,700gold{FCOLOR/12}\\
<Más/@nextareas1>\\
<Exit/@exit>\

[@nextareas1]
#SAY
<Prajna Temple/@Teleport(D1001,23,149,4100)> Cost: {FCOLOR/10}4,100gold{FCOLOR/12}\
<Zuma Temple/@Teleport(D1101,47,71,4300)> Cost: {FCOLOR/10}4,300gold{FCOLOR/12}\
<Phantom Forest North/@Teleport(D003,138,212,4500)> Cost: {FCOLOR/10}4,500gold{FCOLOR/12}\
<Black Palace/@Teleport(D1301,125,111,4800)> Cost: {FCOLOR/10}4,800gold{FCOLOR/12}\
<Jinchon Dungeon/@Teleport(D1200,270,352,5200)> Cost: {FCOLOR/10}5,200gold{FCOLOR/12}\
<Numa Ruins/@Teleport(D1501,354,256,5700)> Cost: {FCOLOR/10}5,700gold{FCOLOR/12}\
<Desert Tunnel/@Teleport(D2001,279,273,6000)> Cost: {FCOLOR/10}6,000gold{FCOLOR/12}\
<Exit/@exit>\

;--------------------------------------------

[@Teleport()]
#IF
#ACT
Mov A1{MAP} %ARG(1)
Mov A2{X} %ARG(2)
Mov A3{Y} %ARG(3)
Mov A4{COST} %ARG(4)
goto @move

[@move]
#IF
checkgold %A4{COST}
#ACT
give TownTeleport 1
take gold %A4{COST}
mapmove %A1{MAP} %A2{X} %A3{Y}
close
#ELSESAY
You dont have enought Gold!

;--------------------------------------------


;;不要删掉此行
 
Upvote 0

MrCruque

Dedicated Member
Dedicated Member
Mar 16, 2012
34
4
34
Bud i did what u do, realoaded all npc, the tele stone never appeared....
closed the server loaded it again... the same nothing i did EXACTLY what u told me :S can u please explain a little bit better :=) thanks
 
Upvote 0

TheDayIDie

Banned
Banned
Dedicated Member
Jul 29, 2011
4,071
97
135
UK
In Envir\Merchant.txt

TeleportArea 0 160 230 56

not 100% sure for CD but dont you need somewhere in that line a location of text file? (you do for kings anyway) :P
Bichon\Teleport

Also most people forget on the text file you must label it

Teleport-0 < map number (or the map you want it in)
 
Upvote 0

MrCruque

Dedicated Member
Dedicated Member
Mar 16, 2012
34
4
34
So basicaly i need to add to the merchant.txt another .txt ie: Teleport area
now my questions, doest it have to be in order? i mean i see there are ncps number 1 2 3 4 5 ... 17...
so something like this at the end of the txt
TeleportArea 0 160230 56, where does the TeleportAre-0 u said must go? in the convert folder??? jesus crhist im really lost, axualy a few weeks ago i put another tele rock, but got no clue how to take it out xDDDDDDDDDDDDDDDDDD
 
Upvote 0

woogyeman

Dedicated Member
Dedicated Member
Nov 23, 2010
75
5
35
in Merchant.txt teleporters are located as # 13Move_<Location> <Map> <x> <y> <name> <0> <56 or 57 (teleport skin)>
13Move_Bichon 0 138 261 TeleportStone 0 56

Then your file is located (for all merchant list) in market_def in this instance file name would be <13Move_Bichon-0> all of merchant.txt can be accessed or rebuilt in this manner.
 
Upvote 0

Relentless

LOMCN Veteran
Veteran
Mar 9, 2012
491
34
55
Hull-England
in merchant put "npc file name without -0" then put "mapnum" "cords" "npc(name)" 0 "npc Skin"
E.G

Teleports 0 160 230 (Ultra)_Teleports 0 56

Hope This helps and when i get my server done i will start helping you agen bud.
 
Upvote 0