problem with .dat files

Results 1 to 5 of 5
  1. #1
    Sorcerer Supreme mukso is offline
    Member +Rank
    Nov 2007 Join Date
    HungaryLocation
    333Posts

    problem with .dat files

    Hi all, i got a problem. i have made an npc, and made some .dat files and added to e.pk, but when i click on npc, nothing happens :S and this problem happened me 3rd times now :S idk what i messing up....


    here is initnpc:

    ;HIDDEN CITY TELEPORTER
    (gennpc (index 1182) (country 0 1 2) (kind 0) (shape 3) (html 400900) (map 0) (xy 224503 309286 45110) (dir 223920 309300))



    here is 400900.dat from e.pk:

    (filechk file_ver (country_type ENG) (filename s400900))
    (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 "Hidden City Manager : Welcome my friend! What do you want?")
    ( line "")

    ( link ( text "Please explain about Hidden City.") ( param load "s400901" ))
    ( link ( text "I'd like to buy a ticket for Hidden City.") ( param load "S400902" ))
    ( link ( text "I got the ticket, let me in!") ( param send quest 5000 1 ))
    ( link close ( text "[Talk End] Sorry, i can't support the server."))
    )

    i have used the blacksmith's dat files... s000243


  2. #2
    Grand Master 2Kxx is offline
    Grand MasterRank
    Feb 2008 Join Date
    Sweden..Location
    1,194Posts

    Re: problem with .dat files

    Quote Originally Posted by mukso View Post
    Hi all, i got a problem. i have made an npc, and made some .dat files and added to e.pk, but when i click on npc, nothing happens :S and this problem happened me 3rd times now :S idk what i messing up....


    here is initnpc:

    ;HIDDEN CITY TELEPORTER
    (gennpc (index 1182) (country 0 1 2) (kind 0) (shape 3) (html 400900) (map 0) (xy 224503 309286 45110) (dir 223920 309300))



    here is 400900.dat from e.pk:

    (filechk file_ver (country_type ENG) (filename s400900))
    (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 "Hidden City Manager : Welcome my friend! What do you want?")
    ( line " ")

    ( link ( text "Please explain about Hidden City.") ( param load "s400901" ))
    ( link ( text "I'd like to buy a ticket for Hidden City.") ( param load "S400902" ))
    ( link ( text "I got the ticket, let me in!") ( param send quest 5000 1 ))
    ( link close ( text "[Talk End] Sorry, i can't support the server."))
    )

    i have used the blacksmith's dat files... s000243
    this .dat file isnt any problem..
    make sure you have written in right pk pw.

  3. #3
    Kal Craker cristy_abaddon is offline
    Grand MasterRank
    Apr 2006 Join Date
    acasaLocation
    859Posts

    Re: problem with .dat files

    im not sure try to change kind to 1 in initnpc.txt

  4. #4
    Sorcerer Supreme mukso is offline
    Member +Rank
    Nov 2007 Join Date
    HungaryLocation
    333Posts

    Re: problem with .dat files

    still nothing with kind 1 :S

    and if i would write pk pw wrong then there would ne errors before start game

    EDIT: ohh i finally realised, i never made big mistakes, i just used sworde pk editor isntead of make it in koape :X

    i realised when i opened 400900.dat with koape its a messed up shit, tried again when i added these things in koape and all works :)

  5. #5
    boo General is offline
    Grand MasterRank
    Sep 2006 Join Date
    at homeLocation
    2,269Posts

    Re: problem with .dat files

    don't try s4xxxxx that's for special dialogues

    use s000xxx instead



Advertisement