• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[Q] Teleport npc..

Newbie Spellweaver
Joined
Sep 11, 2006
Messages
7
Reaction score
0
So i made a teleport npc like this

This is for InitNPC.txt
Code:
(gennpc (index 601) (country 252) (kind 0) (shape 7) (html 300) (teleport 2 50179 34100 20476) (map 0) (xy 232651 295588 45300) (dir 235916 233677))

This is for e.pk
Code:
(filechk file_ver (country_type ENG) (filename s000300))
(background
 (font 12) 
 (wrap 270)
 (link system ( param ( width 270) ( height 255) ( style title edge system vscroll) ( caption "Talk") ( layout script) ))
)
( frame ( font 12)
 ( line "I am the teleport NPC to Dungeon 1.")
 ( line "Do you want to be teleported there?")
        ( line "")
        ( link ( text "Teleport me there.") ( param load "teleportNPC1" ))
 ( link close ( text "[End Talking] No. Take care."))
)

So i made it after puppi's guide.. but i dont know what i did wrong because it doesnt teleport me.
Can sum1 please tell me if i have to do something else .. like put something in Etc.txt maybe? or i dunno tell me please !
Thanks!
 
Newbie Spellweaver
Joined
Sep 10, 2006
Messages
19
Reaction score
0
(gennpc (index 601) (country 252) (kind 5) (shape 7) (html 300) (teleport 2 50179 34100 20476) (map 0) (xy 232651 295588 45300) (dir 235916 233677))

Try this. ;)
 
Upvote 0
Your omega
Loyal Member
Joined
Aug 22, 2006
Messages
1,495
Reaction score
24
if you make it kind 5 you also have to make the dialog in your e.pk s500300
 
Upvote 0
Newbie Spellweaver
Joined
Jul 16, 2006
Messages
81
Reaction score
0
How can i know where the npc releport guys stands??????

(gennpc (index 601) (country 252) (kind 5) (shape 7) (html 300) (teleport 2 50179 34100 20476) (map 0) (xy 232651 295588 45300) (dir 235916 233677))
 
Upvote 0
Initiate Mage
Joined
Sep 19, 2006
Messages
2
Reaction score
0
And how do you know where those codes stands???

Anyway thx, helped a bit :p
 
Upvote 0
Newbie Spellweaver
Joined
Aug 28, 2006
Messages
14
Reaction score
0
(filechk file_ver (country_type ENG) (filename s500300))
(background
(font 12)
(wrap 270)
(link system ( param ( width 270) ( height 255) ( style title edge system vscroll) ( caption "Talk") ( layout script) ))
)

( frame ( font 12)
( line "I am the first nps ante ever made")
( line "Hope i will work fine")
( line "")


( link ( text "Teleport me to where ever") ( param load "Teleport NPC1" ))
( link close ( text "[End Talking] Bye Bye"))
)

and in init npc:

(gennpc (index 800) (country 252) (kind 5) (shape 7) (html 300) (teleport 2 50179 34100 20476) (map 0) (xy 232651 295588 45300) (dir 235916 233677))

this is what i have but it doesnt work!
I had shape 12 but i couldn't even see the guy then, now i can see him but i cant talk to him, when i had kind 0 i could talk to him!
What am i doing wrong?
 
Last edited:
Upvote 0
Newbie Spellweaver
Joined
Jul 16, 2006
Messages
81
Reaction score
0
(filechk file_ver (country_type ENG) (filename s500300))
(background
(font 12)
(wrap 270)
(link system ( param ( width 270) ( height 255) ( style title edge system vscroll) ( caption "Talk") ( layout script) ))
)

( frame ( font 12)
( line "I am the first nps ante ever made")
( line "Hope i will work fine")
( line "")


( link ( text "Teleport me to where ever") ( param load "Teleport NPC1" ))
( link close ( text "[End Talking] Bye Bye"))
)

and in init npc:

(gennpc (index 800) (country 252) (kind 5) (shape 7) (html 300) (teleport 2 50179 34100 20476) (map 0) (xy 232651 295588 45300) (dir 235916 233677))

this is what i have but it doesnt work!
I had shape 12 but i couldn't even see the guy then, now i can see him but i cant talk to him, when i had kind 0 i could talk to him!
What am i doing wrong?

same problem ;p
 
Upvote 0
Newbie Spellweaver
Joined
Aug 28, 2006
Messages
14
Reaction score
0
i tryed html 0) and (html 500300) but still nothing he doesnt speak
notice that he speaked to me when kind was 0!
 
Upvote 0
Affenzirkus
Loyal Member
Joined
Aug 10, 2006
Messages
269
Reaction score
52
kk i help a last time before i quit ragezone..
QUEST.txt

;Teleport Agent - For Dungeon 1 -------------------------------------------------------

;;Room 1
(quest
(index 8700 1)
(case (if (item (5018 1))) (then (item (out 5018 1)) (teleport 2 51359 34657)))
(case (if (item (31 10000))) (then (item (out 31 10000)) (teleport 2 51359 34657)))
(case (then (html 502)))
)

;;Room 2
(quest
(index 8700 2)
(case (if (item (5018 1))) (then (item (out 5018 1)) (teleport 2 51359 35237)))
(case (if (item (31 15000))) (then (item (out 31 15000)) (teleport 2 51359 35237)))
(case (then (html 502)))
)

;;Room 3
(quest
(index 8700 3)
(case (if (item (5018 1))) (then (item (out 5018 1)) (teleport 2 51359 35810)))
(case (if (item (31 20000))) (then (item (out 31 20000)) (teleport 2 51359 35810)))
(case (then (html 502)))
)

;;Room 4
(quest
(index 8700 4)
(case (if (item (5018 1))) (then (item (out 5018 1)) (teleport 2 51359 36387)))
(case (if (item (31 25000))) (then (item (out 31 25000)) (teleport 2 51359 36387)))
(case (then (html 502)))
)

;;Room 5
(quest
(index 8700 5)
(case (if (item (5018 1))) (then (item (out 5018 1)) (teleport 2 51359 36963)))
(case (if (item (31 30000))) (then (item (out 31 30000)) (teleport 2 51359 36963)))
(case (then (html 502)))
)

;;Room 6
(quest
(index 8700 6)
(case (if (item (5018 1))) (then (item (out 5018 1)) (teleport 2 51359 37727)))
(case (if (item (31 35000))) (then (item (out 31 35000)) (teleport 2 51359 37727)))
(case (then (html 502)))
)

;;Room 7
(quest
(index 8700 7)
(case (if (item (5018 1))) (then (item (out 5018 1)) (teleport 2 51359 38300)))
(case (if (item (31 40000))) (then (item (out 31 40000)) (teleport 2 51359 38300)))
(case (then (html 502)))
)

;;Room 8
(quest
(index 8700 8)
(case (if (item (5018 1))) (then (item (out 5018 1)) (teleport 2 51359 38876)))
(case (if (item (31 45000))) (then (item (out 31 45000)) (teleport 2 51359 38876)))
(case (then (html 502)))
)

;;Room 9
(quest
(index 8700 9)
(case (if (item (5018 1))) (then (item (out 5018 1)) (teleport 2 51359 39643)))
(case (if (item (31 50000))) (then (item (out 31 50000)) (teleport 2 51359 39643)))
(case (then (html 502)))
)

;;Room 10
(quest
(index 8700 10)
(case (if (item (5018 1))) (then (item (out 5018 1)) (teleport 2 51359 40404)))
(case (if (item (31 55000))) (then (item (out 31 55000)) (teleport 2 51359 40404)))
(case (then (html 502)))
)

s_000xx.dat e-pk
(filechk file_ver (country_type ENG) (filename s300095))
(background
(font 12)
(wrap 270)
(link system ( param ( width 270) ( height 280) ( style title edge system vscroll) ( caption "Talk") ( layout script) ))
)

( frame ( font 12)

( line "[Local Teleport Agent] : The Royal Tomb is very very big.")
( line "")

( line "I got a methode that uses Ancient Magic to teleport you to another l")
( line "")

( line "A teleportation costs 10,000~55,000 geon or an Ancient Teleport Scroll.")
( line "If you have a scroll I'll take it else I'll take the money.")
( line "")

( line "I want to teleport to...")
( line "")

( link ( text "Room 1 - 10,000 geons") ( param send quest 8700 1 ))
( link ( text "Room 2 - 15,000 geons") ( param send quest 8700 2 ))
( link ( text "Room 3 - 20,000 geons") ( param send quest 8700 3 ))
( link ( text "Room 4 - 25,000 geons") ( param send quest 8700 3 ))
( link ( text "Room 5 - 30,000 geons") ( param send quest 8700 4 ))
( link ( text "Room 6 - 35,000 geons") ( param send quest 8700 5 ))
( link ( text "Room 7 - 40,000 geons") ( param send quest 8700 6 ))
( link ( text "Room 8 - 45,000 geons") ( param send quest 8700 7 ))
( link ( text "Room 9 - 50,000 geons") ( param send quest 8700 8 ))
( link ( text "Room 10 - 55,000 geons") ( param send quest 8700 10 ))
( line "")

( link close ( text "[Talk End] I'll come back again." ))

initNPC.txt
;D1 Local Port
(gennpc (index 970) (country 0) (kind 1) (shape 26) (html 300095) (map 2) (xy 50266 34358 20476) (dir 57258 7717))


or just download my file and edit what you want


EDIT:
(case (if (item (31 10000))) (then (item (out 31 10000)) (teleport 2 51359 34657)))

you can delete this part from quest.txt because it takes a teleport scroll selfmade from my char.. you dont have them so you can remove it.
 

Attachments

  • teleport.rar
    1.1 KB · Views: 137
Last edited:
Upvote 0
Affenzirkus
Loyal Member
Joined
Aug 10, 2006
Messages
269
Reaction score
52
die leecher gehn mir aufn sack.. ich spiel WoW weiter jetzt.. brauch mein letzes t2.5 teil noch
 
Upvote 0
Newbie Spellweaver
Joined
Jul 16, 2006
Messages
81
Reaction score
0
ty sung

Edit: you say delete this line bla bla, but that line takes the geons, not the teleport scroll ;p
 
Last edited:
Upvote 0
Affenzirkus
Loyal Member
Joined
Aug 10, 2006
Messages
269
Reaction score
52
oh lol right..

(case (if (item (5018 1))) (then (item (out 5018 1)) (teleport 2 51359 39643)))

this line i mean ^^

or change that "5018" to a number that you want to take from a char to teleport for free
 
Upvote 0

Lye

Newbie Spellweaver
Joined
Sep 11, 2006
Messages
5
Reaction score
0
die leecher gehn mir aufn sack.. ich spiel WoW weiter jetzt.. brauch mein letzes t2.5 teil noch

Trotzdem Danke.
Sind zwar unheimlich viele leecher da, aber wie willst du die ausperren?
Da k
 
Upvote 0
Junior Spellweaver
Joined
Sep 16, 2006
Messages
187
Reaction score
0
Naja man müsse einfach ein Private Projekt machen wo nur leute reinkommen die auch was können oder wenigstens hilfe geben.sowas Versuche ich ja grade zu machen.Arbeite grade dran.
 
Upvote 0
Back
Top