[CXE] AT_store issue

Results 1 to 3 of 3
  1. #1
    Apprentice hasan38 is offline
    MemberRank
    Oct 2008 Join Date
    11Posts

    note [CXE] AT_store issue

    So I have created a brand new NPC that will be selling fashion costumes and jewelry sets that we have created. The NPC dialog works perfectly but when the NPC store opens, it is completely blank. It shows none of the new tabs that I have created in list_sell.stb for this NPC. The lua script is shown below and I have also linked the NPC to these tabs. I have provided some screenshots of of the stbs and the NPC in game below:

    NPC In Game:



    NPC Dialog:



    NPC Empty Shop:



    SELL STB:


    NPC STB:



    LUA SCRIPT:
    Code:
    -- =========================================
     
     
    function AT_store ( hID )
     
      local iObject
      iObject = QF_getEventOwner( hID )
      
      local specialFlag
      specialFlag = 1
     
      -- 4¹ø »óÁ¡ÅÇ(½ºÆä¼ÈÅÇ)Àº º¸Åë ÀϹÝÅÇÀ¸·Î »ç¿ëÇϰí, Ưº°ÇÑ npc ¸¸ ½ºÆä¼ÈÅÇÀ¸·Î »ç¿ëÇÔ
      -- ÀϹÝÅÇ(specialFlag = 1),  ½ºÆä¼ÈÅÇ(specialFlag=0,  Á¶°ÇÃ¼Å©ÇØ¼­ ¸Â´Â°æ¿ì¸¸ 1·Î º¯°æ)
      GF_openStore( iObject, specialFlag )
     
    end
     
    -- =========================================


  2. #2
    Valued Member harry12 is offline
    MemberRank
    Jun 2010 Join Date
    148Posts

    Re: [CXE] AT_store issue

    it is also controlled by STL
    check your list_Sell_s.stl and make id 255 and 256 and name it

  3. #3
    Apprentice hasan38 is offline
    MemberRank
    Oct 2008 Join Date
    11Posts

    Re: [CXE] AT_store issue

    Yeah I did that but it turned out that my editor did not save the stl entries. I did the stl again on another editor and that seemed to fix the issue. Thanks for replying harry12



Advertisement