NPC null help request

Results 1 to 11 of 11
  1. #1
    Proficient Member Swiftdeath is offline
    MemberRank
    Jan 2016 Join Date
    184Posts

    NPC null help request

    --- Edit --
    Got the name part working now. The NPC is only not talking to me.
    ------


    He guy's i have a question about the 3rd job npc.

    I have added the files from 3rd job into my local server, but my npc is giving me a NULL.
    and there for i am unable to talk with him.

    Can someone have a look for me so i can change what is wrong?

    inside INITNPC:
    Code:
    (gennpc (index 1293) (country 2) (kind 1) (shape 7) (html 530000) (map 0) (xy 231329 294508 45327) (dir 231656 294699))
    inside Quest:
    Code:
    (quest (index 98001 1)
        (case (if (clear 98001 1)) (then (html )))
        (case (then (link 98001 2)))
    )
    (quest (index 98001 2) (linked 1)
        (case (if (class 0) (level 70) (specialty 0 3) (item (1461 1) (1462 1) (1463 1) (1464 1) (1465 1) (1494 1) (1498 1) (1497 1) (1496 1) (1493 1) (1495 1)))
            (then (item (out 1461 1) (out 1462 1) (out 1463 1) (out 1464 1) (out 1465 1) (out 1495 1) (out 1494 1) (out 1496 1) (out 1497 1) (out 1498 1) (out 1493 1)(in 9800 128 1)(in 18000 128 5000)) (specialty 5) (clear 98001 1) (html )))
        (case (then (html )))
    )

    thanks
    Last edited by Swiftdeath; 14-01-16 at 05:03 PM.


  2. #2
    Account Upgraded | Title Enabled! walid445200 is offline
    MemberRank
    Jan 2010 Join Date
    :DLocation
    461Posts

    Re: NPC null help request

    add the html file s530000 so i can help you.

  3. #3
    Proficient Member Swiftdeath is offline
    MemberRank
    Jan 2016 Join Date
    184Posts

    Re: NPC null help request

    Quote Originally Posted by walid445200 View Post
    add the html file s530000 so i can help you.
    yes, here it is.

    Code:
    (filechk file_ver (country_type ENG) (filename s530000))
    (background
        (font 12) 
        (wrap 270)
        (link system ( param ( width 280) ( height 240) ( style title edge system vscroll) ( caption "Talk") ( layout script) ))
    )
    
    ( frame ( font 12)
    
        ( line "Sur-Pil : Would you like to become a General? I'll help you. Just follow the requirement list and i will reward you.")
        ( line "")
        ( line "Requirements:")
        ( line "                       - 1 Perfect Elements of Each")
        ( line "                       - Lord's Jaw")
        ( line "                       - Sword of the Chief Defender")
        ( line "                       - Monster's Right Arm")
        ( line "                       - Necklace of Evil")
        ( line "")
        ( link ( text "[Job Change] I got everything!")  ( param send quest 98001 1 ))
        ( link close ( text "[Talk End] Yes, I'll bring them as fast possible![By MrHeth]"))
    )

  4. #4
    Kałabanga Chelios1985 is offline
    MemberRank
    Oct 2012 Join Date
    PolandLocation
    794Posts

    Re: NPC null help request

    show us the null msg

  5. #5
    Proficient Member Swiftdeath is offline
    MemberRank
    Jan 2016 Join Date
    184Posts

    Re: NPC null help request

    Well the NULL was above the NPC his head but that is fixed now.
    The other thing is that when i try to talk with the NPC, it is not responding.

    error message that i get while starting the MainSvr =

    untitled.png

  6. #6
    Account Upgraded | Title Enabled! walid445200 is offline
    MemberRank
    Jan 2010 Join Date
    :DLocation
    461Posts

    Re: NPC null help request

    everything is fine quest , npc , e.pk dialog
    maybe the file format wrong

    try this : Zippyshare.com - s530000.dat

  7. #7
    Proficient Member Swiftdeath is offline
    MemberRank
    Jan 2016 Join Date
    184Posts

    Re: NPC null help request

    let me try it ;) one sec

    - - - Updated - - -

    Still getting the same error.
    Invalid format Config\Quest.txt[2959] at CObjectDB::Open

    Is it possible that is has something to do with the 3 (html ))) parts that are empty by standard in the Quest.txt?:
    Code:
    (quest (index 98001 1)
        (case (if (clear 98001 1)) (then (html )))
        (case (then (link 98001 2)))
    )
    (quest (index 98001 2) (linked 1)
        (case (if (class 0) (level 70) (specialty 0 3) (item (1461 1) (1462 1) (1463 1) (1464 1) (1465 1) (1494 1) (1498 1) (1497 1) (1496 1) (1493 1) (1495 1)))
            (then (item (out 1461 1) (out 1462 1) (out 1463 1) (out 1464 1) (out 1465 1) (out 1495 1) (out 1494 1) (out 1496 1) (out 1497 1) (out 1498 1) (out 1493 1)(in 9800 128 1)(in 18000 128 5000)) (specialty 5) (clear 98001 1) (html )))
        (case (then (html )))

  8. #8
    Kałabanga Chelios1985 is offline
    MemberRank
    Oct 2012 Join Date
    PolandLocation
    794Posts

    Re: NPC null help request

    the last (html) had 4x )))) should have 3

  9. #9
    Account Upgraded | Title Enabled! Skansmer is offline
    MemberRank
    Jul 2015 Join Date
    204Posts

    Re: NPC null help request

    Quote Originally Posted by Swiftdeath View Post
    Code:
    (quest (index 98001 1)
        (case (if (clear 98001 1)) (then (html )))
        (case (then (link 98001 2)))
    )
    (quest (index 98001 2) (linked 1)
        (case (if (class 0) (level 70) (specialty 0 3) (item (1461 1) (1462 1) (1463 1) (1464 1) (1465 1) (1494 1) (1498 1) (1497 1) (1496 1) (1493 1) (1495 1)))
            (then (item (out 1461 1) (out 1462 1) (out 1463 1) (out 1464 1) (out 1465 1) (out 1495 1) (out 1494 1) (out 1496 1) (out 1497 1) (out 1498 1) (out 1493 1)(in 9800 128 1)(in 18000 128 5000)) (specialty 5) (clear 98001 1) (html )))
        (case (then (html )))
    Either u forgot the (quest ending or the problem isn't here

  10. #10
    Proficient Member Swiftdeath is offline
    MemberRank
    Jan 2016 Join Date
    184Posts

    Re: NPC null help request

    ok thanks to you all ;) i will try the things you said and i will let you know if it worked.

  11. #11
    Account Upgraded | Title Enabled! walid445200 is offline
    MemberRank
    Jan 2010 Join Date
    :DLocation
    461Posts

    Re: NPC null help request

    i checked ur quest it running good , just empty ur quest.txt and add only that quest and run the server

    (quest (index 98001 1)
    (case (if (clear 98001 1)) (then (html )))
    (case (then (link 98001 2)))
    )
    (quest (index 98001 2) (linked 1)
    (case (if (class 0) (level 70) (specialty 0 3) (item (1461 1) (1462 1) (1463 1) (1464 1) (1465 1) (1494 1) (1498 1) (1497 1) (1496 1) (1493 1) (1495 1)))
    (then (item (out 1461 1) (out 1462 1) (out 1463 1) (out 1464 1) (out 1465 1) (out 1495 1) (out 1494 1) (out 1496 1) (out 1497 1) (out 1498 1) (out 1493 1)(in 9800 128 1)(in 18000 128 5000)) (specialty 5) (clear 98001 1) (html )))
    (case (then (html )))
    )



Advertisement