[Q] Teleport npc..

Page 1 of 2 12 LastLast
Results 1 to 25 of 42
  1. #1
    Member ciut is offline
    MemberRank
    Sep 2006 Join Date
    HereLocation
    59Posts

    [Q] Teleport npc..

    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!


  2. #2
    Account Upgraded | Title Enabled! Bodonko is offline
    MemberRank
    Sep 2006 Join Date
    395Posts
    (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. ;)

  3. #3
    Your omega Dopestar is offline
    MemberRank
    Aug 2006 Join Date
    the NetherlandsLocation
    3,193Posts
    if you make it kind 5 you also have to make the dialog in your e.pk s500300

  4. #4
    Valued Member ninjazec is offline
    MemberRank
    Aug 2006 Join Date
    131Posts
    i tryed it but i cant see even see him now

  5. #5
    Apprentice noob16 is offline
    MemberRank
    Sep 2006 Join Date
    17Posts
    How can i know where the npc releport guys stands??????

  6. #6
    Account Upgraded | Title Enabled! ZeroSanity is offline
    MemberRank
    Jul 2006 Join Date
    NetherlandsLocation
    979Posts
    Quote Originally Posted by noob16 View Post
    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))

  7. #7
    Apprentice noob16 is offline
    MemberRank
    Sep 2006 Join Date
    17Posts
    And how do you know where those codes stands???

    Anyway thx, helped a bit :P

  8. #8
    Account Upgraded | Title Enabled! ZeroSanity is offline
    MemberRank
    Jul 2006 Join Date
    NetherlandsLocation
    979Posts
    Quote Originally Posted by noob16 View Post
    And how do you know where those codes stands???

    Anyway thx, helped a bit :P
    ingame type /coordinates

  9. #9
    Valued Member ninjazec is offline
    MemberRank
    Aug 2006 Join Date
    131Posts
    (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 by ninjazec; 04-10-06 at 04:02 PM.

  10. #10
    Account Upgraded | Title Enabled! Aoii is offline
    MemberRank
    Aug 2006 Join Date
    NetherlandsLocation
    560Posts
    isnt the html wrong?

  11. #11
    Account Upgraded | Title Enabled! ZeroSanity is offline
    MemberRank
    Jul 2006 Join Date
    NetherlandsLocation
    979Posts
    Quote Originally Posted by ninjazec View Post
    (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

  12. #12
    Valued Member ninjazec is offline
    MemberRank
    Aug 2006 Join Date
    131Posts
    i tryed html 0) and (html 500300) but still nothing he doesnt speak
    notice that he speaked to me when kind was 0!

  13. #13
    Affenzirkus Sung is offline
    MemberRank
    Aug 2006 Join Date
    GermanyLocation
    1,113Posts
    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.
    Attached Files Attached Files
    Last edited by Sung; 04-10-06 at 04:21 PM.

  14. #14
    Account Upgraded | Title Enabled! Bloodfreak913 is offline
    MemberRank
    Sep 2006 Join Date
    GermanyLocation
    511Posts
    nice work sung :)


    warum willste rage verlassen?

  15. #15
    Affenzirkus Sung is offline
    MemberRank
    Aug 2006 Join Date
    GermanyLocation
    1,113Posts
    die leecher gehn mir aufn sack.. ich spiel WoW weiter jetzt.. brauch mein letzes t2.5 teil noch

  16. #16
    Account Upgraded | Title Enabled! Bloodfreak913 is offline
    MemberRank
    Sep 2006 Join Date
    GermanyLocation
    511Posts
    ja ok da haste recht so 70-90% sind nur leacher und machen selber nix daf

  17. #17
    Account Upgraded | Title Enabled! ZeroSanity is offline
    MemberRank
    Jul 2006 Join Date
    NetherlandsLocation
    979Posts
    ty sung

    Edit: you say delete this line bla bla, but that line takes the geons, not the teleport scroll ;p
    Last edited by ZeroSanity; 04-10-06 at 04:36 PM.

  18. #18
    Affenzirkus Sung is offline
    MemberRank
    Aug 2006 Join Date
    GermanyLocation
    1,113Posts
    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

  19. #19
    Member Lye is offline
    MemberRank
    Sep 2006 Join Date
    HamburgLocation
    90Posts
    Quote Originally Posted by Sung View Post
    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

  20. #20
    Account Upgraded | Title Enabled! Bloodfreak913 is offline
    MemberRank
    Sep 2006 Join Date
    GermanyLocation
    511Posts
    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.

  21. #21
    Account Upgraded | Title Enabled! ZeroSanity is offline
    MemberRank
    Jul 2006 Join Date
    NetherlandsLocation
    979Posts
    Quote Originally Posted by Sung View Post
    oh lol right..



    this line i mean ^^

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

  22. #22
    Affenzirkus Sung is offline
    MemberRank
    Aug 2006 Join Date
    GermanyLocation
    1,113Posts
    [QUOTE=Bloodfreak913;1628991]Naja man m

  23. #23
    Member Lye is offline
    MemberRank
    Sep 2006 Join Date
    HamburgLocation
    90Posts
    Quote Originally Posted by Sung View Post
    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önnen die anderen die selbst auch am entwickeln sind nichts dafür, und wirklich schnell kommen wir dann vorran, wenn wir -alle- gut zusammenarbeiten. Und dann häten wir in rasender Geschwindikeit, schnellere, sicherere, größere und bei weitem "sozialere" Server als die Offiziellen... mit neuen Monstern, Neuen LvL gebieten und unterschiedlichsten Mods...

    Just did not started to create Teleport Npc's and now i'm ready.
    Thank You Very Much Sung.



    Quote Originally Posted by Sung View Post
    BakaBug -> Pro Hacker Nr1
    Atemo -> Pro Coder Nr1
    Sung -> Server Coder Nr1
    salvation -> Modeling Nr1
    xcorp -> Best Host/connection ever

    was will man mehr?
    Ein eigenes Projekt?

    Ihr habt alles Was ihr braucht ihr habts nicht mehr nötig noch Leute mit aufzunehmen, aber es gibt noch mehr Leute die auch eigene Ideen mit einbringen wollen und auch umsetzen wollen.
    Bei eurem Team sehe ich da für mich z.B. kein Chance, Ich kann nichts (wie du schon aufgelistet hast) was ihr noch nicht könnt.
    Demnach gibt es keinen Grund mich auzunehmen folglich -> eigenes Projekt.

    Deshalb denke ich wird dieses Forum auch überhaut so genutzt wie wir es atm tun ;)

    Sorry for Doppelposting

    Lye
    Last edited by Lye; 04-10-06 at 05:24 PM.

  24. #24
    Affenzirkus Sung is offline
    MemberRank
    Aug 2006 Join Date
    GermanyLocation
    1,113Posts
    [QUOTE=Lye;1629020]Trotzdem Danke.
    Sind zwar unheimlich viele leecher da, aber wie willst du die ausperren?
    Da k

  25. #25
    Valued Member ninjazec is offline
    MemberRank
    Aug 2006 Join Date
    131Posts
    hehe thnx for the file now i get it!



Page 1 of 2 12 LastLast

Advertisement