add items in npc

Results 1 to 11 of 11
  1. #1
    Enthusiast _shuffle_ is offline
    MemberRank
    Jul 2009 Join Date
    49Posts

    add items in npc

    I'm having trouble add new npcs
    it opens more usually does not appear any items in store
    could someone help me?
    I add as shown below

    ######################################################################################
    Cabal.enc

    <world id="2" name="world2" type="0" map_file="world_02.mcl" terrain_mesh="" icon="J_icn_map2" m_code="1" t_max_x="1" t_max_z="1" gpsorder="2" allowedwar="0" warcontrol="0" >
    <world_npc id="78" npc_name="npc02-0078" x="64" y="241" is_obj="0" />


    <world id="3" name="world3" type="0" map_file="world_03.mcl" terrain_mesh="" icon="J_icn_map3" m_code="1" t_max_x="1" t_max_z="1" gpsorder="3" allowedwar="0" warcontrol="0" >
    <world_npc id="78" npc_name="npc03-0078" x="192" y="49" is_obj="0" />

    ######################################################################################
    Cabal_Msg.enc

    <msg id="npc02-0078" cont="Oficial Rasya Despachado" />
    <msg id="npc03-0078" cont="Oficial Ahyidereun Despachado" />

    ######################################################################################
    Extra_Obj.enc

    <extra_object world_id="2" >
    </extra_stuff>
    <extra_stuff ID="9" filename="character\w2pro_wexp.ebm" min="-170.873,-25.3112,-244.727" max="215.379,650,172.775" >
    <extra_entity type="1" pos="6410,0,24221" rotate="0,300,0" scale="1,1,1" disable_cell_radius="1" stuff_id="9" name="extra_npc_110" npc_id="78" npc_tag="0" npc_type="1" />
    </extra_stuff>


    <extra_object world_id="3" >
    </extra_stuff>
    <extra_stuff ID="12" filename="character\w3cap_wexp.ebm" min="-170.873,-25.3112,-244.727" max="215.379,100,172.775" >
    <extra_entity type="1" pos="19300,0,4980" rotate="0,270,0" scale="1,1,1" disable_cell_radius="1" stuff_id="12" name="extra_npc_111" npc_id="78" npc_tag="0" npc_type="1" />
    </extra_stuff>

    ######################################################################################
    Extra_Obj_Msg.enc

    <msg id="extra_npc_0110" cont="Oficial Rasya Despachado" />
    <msg id="extra_npc_0111" cont="Oficial Ahyidereun Despachado" />

    ######################################################################################
    world2-npc.scp

    [NpcPos] Flags Index PosX PosY Type IsRangeCheck
    49 0 78 64 241 1 1

    ######################################################################################
    world3-npc.scp

    [NpcPos] Flags Index PosX PosY Type IsRangeCheck
    47 0 78 192 49 1 1

    ######################################################################################
    NPCShop.scp

    [Server] Server_Index Shop_ID
    1 1 1

    [NPC] Shop_ID World_ID Order NPC_ID Pool_ID1 Pool_ID2
    33 1 2 4 78 33 2
    34 1 3 4 78 34 2

    [Shop] Pool_ID SlotID ItemKind ItemOpt DurationIdx MinLevel MaxLevel Reputation OnlyPremium OnlyWin AlzPrice WExpPrice DPPrice CashPrice Renew ChracterBuyLimit SellLimit Marker MaxReputation
    1249 33 0 1300 0 0 0 0 -19 0 0 100000 0 0 0 0 0 0 0 20
    1250 34 0 1300 0 0 0 0 -19 0 0 100000 0 0 0 0 0 0 0 20

    ######################################################################################


  2. #2
    Enthusiast _shuffle_ is offline
    MemberRank
    Jul 2009 Join Date
    49Posts

    Re: add items in npc

    someone please help me?
    WHAT am I doing wrong?

  3. #3
    Proficient Member Ken Ken Bueno is offline
    MemberRank
    Sep 2013 Join Date
    169Posts

    Re: add items in npc

    Quote Originally Posted by _shuffle_ View Post
    someone please help me?
    WHAT am I doing wrong?
    wrong position X and Y
    pos="6410,0,24221"

    [NpcPos] Flags Index PosX PosY Type IsRangeCheck
    49 0 78 64 241 1 1 << should be 242

    and same problem as ur world 3
    pos="19300,0,4980"
    [NpcPos] Flags Index PosX PosY Type IsRangeCheck
    47 0 78 192 49 1 1 <<< should be 193, 49

  4. #4
    Banned GODSKIN is offline
    BannedRank
    Aug 2011 Join Date
    กรุงเLocation
    1,433Posts

    Re: add items in npc

    Quote Originally Posted by Ken Ken Bueno View Post
    wrong position X and Y
    pos="6410,0,24221"

    [NpcPos] Flags Index PosX PosY Type IsRangeCheck
    49 0 78 64 241 1 1 << should be 242

    and same problem as ur world 3
    pos="19300,0,4980"
    [NpcPos] Flags Index PosX PosY Type IsRangeCheck
    47 0 78 192 49 1 1 <<< should be 193, 49
    Ken Ken u worng
    him mean >>>> not appear any items in store
    not NPC Model Pos

  5. #5
    Proficient Member Ken Ken Bueno is offline
    MemberRank
    Sep 2013 Join Date
    169Posts

    Re: add items in npc

    Quote Originally Posted by GODSKIN View Post
    Ken Ken u worng
    him mean >>>> not appear any items in store
    not NPC Model Pos
    hmm Ok im sorry :)
    I didn't see xd

    - - - Updated - - -

    Quote Originally Posted by _shuffle_ View Post
    someone please help me?
    WHAT am I doing wrong?
    <msg id="item1300" cont="Portable FT Panel" />
    btw, what is this for? xdd
    I've never seen this item or use it, I don't know how this item work btw, maybe its an invisible item like Blue Forcium Blade thats why you couldn't see it in your npc but im not sure tho xd
    Last edited by Ken Ken Bueno; 20-05-14 at 04:22 PM.

  6. #6
    Enthusiast _shuffle_ is offline
    MemberRank
    Jul 2009 Join Date
    49Posts

    Re: add items in npc

    Item 1300 and used to create things in tg
    more so I put it to test. and the item does not appear
    not tested so he tested various items including potions
    I'm trying to get the npcs trace arcane tbm most are with the same problem does not appear any items in store
    Last edited by _shuffle_; 21-05-14 at 12:03 AM.

  7. #7
    Apprentice powerzx is offline
    MemberRank
    Apr 2011 Join Date
    PolandLocation
    14Posts

    Re: add items in npc

    - - - Updated - - -
    Quote Originally Posted by war143 View Post
    hello guys im new here and im playing cabal ph. is there a cheat for a cabalph alz?
    No cheat for alz in any Cabal version (it is server side).

  8. #8
    Enthusiast _shuffle_ is offline
    MemberRank
    Jul 2009 Join Date
    49Posts

    Re: add items in npc

    I AM TRYING TO UNDERSTAND HOW DOES NPCSHOP.SCP
    THIS MOST DIFFICULT I AM NOT UNDERSTANDING LOGIC
    EXAMPLE

    6 1 2 0 4 7 2 / / Deighton (Grocer) - (Tundra Infamous)

    MY FIRST AND DOUBT HE IS IN PQ World_ID 2 FOR HIM AND ONE OF TUNDRA NPC World_ID 1

    ALL NPCS ARE REPLACED WITH NPC_ID (COMPARING WITH MY Cabal_Msg)

    USING THIS SAME EXAMPLE

    6 1 2 0 4 7 2 / / Deighton (Grocer) - (Tundra Infamous)

    NPC_ID BOTH WORLD 1 AND 2 TO NOT HIT

    <msg id="npc01-0004" cont="Prewitt (Vendedor From Armas)" />
    <msg id="npc02-0004" cont="Mezias /> (Vendedor From Armas)"

    HE ACTUALLY LIKE THIS grocer
    <msg id="npc01-0007" cont="Deighton (Dono From Mercearia)" />


    I AM NOT UNDERSTANDING THAT, HOW AM TRYING TO ADD MORE NEW NPCs WITHOUT SUCCESS THINK THE ERROR SHOULD BE RELATED THERETO.
    'M LAYING World_ID And The NPC_ID CERTAIN
    MAYBE IT'S NOT THAT WHICH IS GIVING RIGHT
    SEEING THAT ALL OTHERS ARE WITH IDS AND EXCHANGED NPCS

    33 1 12 0 8 33 2 / / Bren (Arcane Trace - Capella NPC)
    34 1 12 1 9 34 2 / / Kim (Arcane Trace - Procyon NPC)

    BOTH AS THE BREN NPC KIM ARE AS NPCs, I CAN SELL ITEMS PRA THEY THEN RECOVER MORE CAN NOT BUY THEM NOTHING

    BELOW IS THE NPCS MY NPCSHOP.SCP

    1 1 0 0 1 2 50 / / Remote Store
    2 1 4 3 2 1 0 / / Premium Shop (Shop "N")
    3 1 1 1 5 4 2 / / Prewitt (Weapons Vendor) - (Tundra Infamous)
    4 1 1 2 6 5 2 / / Simon (Vendor Armor) - (Tundra Infamous)
    5 1 1 3 7 6 2 / / Keller (Core Alchemist) - (Tundra Infamous)
    6 1 2 0 4 7 2 / / Deighton (grocer) - (Tundra Infamous)
    7 1 2 1 5 8 2 / / Mezias (Weapons Vendor) - (Desert Of Mourning)
    8 1 2 2 6 9 2 / / Dion (Vendor Armor) - (Desert Of Mourning)
    9 1 2 3 7 10 2 / / Sullivan (Core Alchemist) - (Desert Of Mourning)
    10 1 3 0 4 11 2 / / Eillens (grocer) - (Desert Of Mourning)
    11 1 3 1 5 12 2 / / Mitroff (Weapons Vendor) - (Forest Of Despair)
    12 1 3 2 6 13 2 / / Collins (Vendor Armor) - (Forest Of Despair)
    13 1 3 3 7 14 2 / / Nodaka (Core Alchemist) - (Forest Of Despair)
    14 1 4 0 4 15 2 / / Libert (grocer) - (Forest Of Despair)
    15 1 4 1 5 16 2 / / Eite (Weapons Vendor) - (Port Lux)
    16 1 4 2 6 17 2 / / Agris (Vendor Armor) - (Port Lux)
    17 1 4 3 7 18 2 / / Yerte (Core Alchemist) - (Port Lux)
    18 1 4 4 13 19 2 / / Hampric (grocer) - (Port Lux)
    19 1 5 0 4 20 2 / / Peticia (PC Dealer) - (Port Lux)
    20 1 5 1 5 21 2 / / Najaba (Weapons Vendor) - (Fort Ruina)
    21 1 5 2 6 22 2 / / Ryeong (Vendor Armor) - (Fort Ruina)
    22 1 5 3 7 23 2 / / Soyoung (Core Alchemist) - (Fort Ruina)
    23 1 9 0 7 24 2 / / Sally (grocer) - (Fort Ruina)
    24 1 15 0 50 25 2 / / Merchant Stranger - (Mutant Forest)
    25 1 15 1 149 26 2 / / Remote Store (TG)
    26 1 15 2 150 27 2 / / Tower Arcana - (Capella - TG)
    27 1 16 0 2 28 2 / / Tower Arcana - (Procyon - TG)
    28 1 16 1 3 29 2 / / Ellin (Groceries) - (Procyon - TG)
    29 1 16 2 17 30 2 / / Kate (Groceries) - (Capella - TG)
    30 1 16 3 18 31 2 / / Olivia (Official) - (Capella - TG)
    31 1 23 0 7 32 2 / / Kyle (Official) - (Procyon - TG)
    32 1 0 0 51 2 2 / / Black Market The Mutant - (Forgotten Temple B1F)
    33 1 12 0 8 33 2 / / Bren (Arcane Trace - Capella NPC)
    34 1 12 1 9 34 2 / / Kim (Arcane Trace - Procyon NPC)

    SOMEONE COULD TAKE THAT DOUBT?
    THANK YOU FOR YOUR ATTENTION...

  9. #9
    Enthusiast _shuffle_ is offline
    MemberRank
    Jul 2009 Join Date
    49Posts

    Re: add items in npc

    .............
    Last edited by _shuffle_; 29-06-14 at 04:11 PM.

  10. #10
    Enthusiast _shuffle_ is offline
    MemberRank
    Jul 2009 Join Date
    49Posts

    Re: add items in npc

    up.....

  11. #11
    Enthusiast _shuffle_ is offline
    MemberRank
    Jul 2009 Join Date
    49Posts

    Re: add items in npc

    Up...



Advertisement