Item Mall / NPC Shop Items

Page 1 of 4 1234 LastLast
Results 1 to 15 of 48
  1. #1
    Enthusiast s2k is offline
    MemberRank
    Sep 2011 Join Date
    38Posts

    note Item Mall / NPC Shop Items

    so ive done some testing on NPC Shop items edit.

    maybe someone find this usefull. still some fields are unknown but the basics are described.

    PHP Code:
    NPC Shops Items

    _RefAccessPermissionOfShop             
    //??
    _RefObjItem
    _RefConditionToBuyScrapItem            
    //??
    _RefConditionToSellPackageItem        //??
    _RefConditionToSellScrapItem        //??
    _RefRewardPolicyToBuyScrapItem        //??
    _RefRewardPolicyToSellPackageItem    //??
    _RefRewardPolicyToSellScrapItem        //??
    _RefSetItemGroup                    //??
    _RefTreatItemOfShop                    //??

    _RefObjItem                            //All known Items
    _RefObjCommon                        //All known Items

    _RefMappingShopGroup                //importent for NPC Menu
    _RefMappingShopWithTab                //importent for NPC Menu    
    _RefShop                            //NPC Shop Management i.e.: (Hotan Smith)
    _RefShopGroup                        //NPC Shop Groups i.e.: (EU Weapons and CH Weapons selection Menus, those are 1 Group. Also NPC Codename here: NPC_KT_SMITH = KT=HOTAN)
    _RefShopItemGroup                    //NPC Shop Menu Names in Media.pk2? (SN_ Codename)
    _RefShopItemStockPeriod                //Item Mall sell period
    _RefShopObject                        //Locale and global CountryID
    _RefShopTab                            //NPC Shop Tab define (Weapons, Shield, Ammo) and Codename for Media.pk2 Names
    _RefShopTabGroup                    //NPC Shop Menu define (Chinese Weapons or European Weapons)
                                        
                                        //ONLY THESE ARE NEEDED FOR ADDING EXISTING ITEMS TO SHOP
                                        //ALSO: make sure the clientside export of this tables only have services with 1 (else client will crash) (Export only service 1 items, ignore other)
    _RefPackageItem                        //NPC Shop Items define (default icon, default name and description (point to media.pk2))
    _RefPricePolicyOfItem                //Price of Package Items
    _RefScrapOfPackageItem                //NPC Shop Item-Pointer: Package points to Real Items
    _RefShopGoods                        //NPC Shop Items i.e.: (ItemType: Bow, TabGroup: Weapons, Shield, Ammo etc. and Slot)




    NPC Shop Items Parser
        
            
    _RefMappingShopGroup
        RefShopGroupCodeName        GROUP_STORE_KT_SMITH                
    //
        
    RefShopCodeName                STORE_KT_SMITH                        //

    _RefMappingShopWithTab
        RefShopCodeName                STORE_KT_SMITH                        
    //
        
    RefTabGroupCodeName            STORE_KT_SMITH_GROUP1                //
        
        
        
        
        
    _RefShop
        Service                     1                                    
    //
        
    Country                     15                                     //from now on will be skipped
        
    ID                             984
        CodeName128                 STORE_KT_SMITH


    _RefShopTab
        ID                             2448                                
    //
        
    CodeName128                 STORE_KT_SMITH_TAB1                    //
        
    RefTabGroupCodeName         STORE_KT_SMITH_GROUP1                 //MENU Group Chinese Weapons
        
    StrID128_Tab                 SN_TAB_WEAPON                         //Tab Name in media.pk2?
        
    _RefShopTabGroup
        ID                            1082                                
    //
        
    CodeName                    STORE_KT_SMITH_GROUP1                 //Chinese Weapons
        
    StrID128_Group                SN_STORE_SMITH_GROUP1                 //Media.pk2 Name-String?
        
    _RefShopGroup
        ID                            996                                    
    //
        
    CodeName                    GROUP_STORE_KT_SMITH                //
        
    NPCCodeName                    NPC_KT_SMITH                        //
        
    _RefShopItemGroup
        GroupID                        27
        CodeName                    STORE_KT_SMITH_GROUP1                
    //
        
    StrID                        SN_STORE_SMITH_GROUP1                 //Name ID in Media.pk2?
        
    _RefPackageItem
        ID 24971
        CodeName                    PACKAGE_ITEM_CH_BOW_09_A            
        SaleTag                        0                                    
    //?? 0=Normal Items, 32=Item Mall Avatar
        
    ExpandTerm                    EXPAND_TERM_ALL                        //?? every item same
        
    NameStrID                    SN_ITEM_CH_BOW_09_A                    //Name of item in media.pk2?
        
    DescStrID                    SN_ITEM_CH_BOW_09_A_TT_DESC            //Description of item in media.pk2?
        
    AssocFileIcon                item\china\weapon\bow_09.ddj         //Icon Path in Media.pk2/icon/ directory

    _RefScrapOfPackageItem
        RefPackageItemCodeName        PACKAGE_ITEM_CH_BOW_09_A            
    //item package codename
        
    RefItemCodeName                ITEM_CH_BOW_09_A                    //pointer to Real Item CodeName

    _RefPricePolicyOfItem
        RefPackageItemCodeName        PACKAGE_ITEM_CH_BOW_09_A            
    //
        
    PaymentDevice                1                                    //??
        
    PreviousCost                0                                    //??
        
    Cost                        4491000                                //Item-Price
        

    _RefShopGoods
        RefTabCodeName                 STORE_KT_SMITH_TAB1
        RefPackageItemCodeName         PACKAGE_ITEM_CH_BOW_09_A
        Slot                         24 


    same for item mall items.

    to add an item basicly you would do this:

    in
    _RefPackageItem: add a new row

    Service = 1
    Country = 15
    ID = will be auto assigned
    CodeName128 = PACKAGE_ITEM_MALL_AVATAR_M_HALLOWEEN
    SaleTag = 0
    ExpandTerm = EXPAND_TERM_ALL
    NameStrID = SN_ITEM_MALL_AVATAR_M_HALLOWEEN
    DescStrID = SN_ITEM_MALL_AVATAR_M_HALLOWEEN_TT_DESC
    AssocFileIcon = ddj file in media.pk2

    do the same in RefPackageItem.txt

    _RefScrapOfPackageItem: add a new row

    RefPackageItemCodeName: PACKAGE_ITEM_MALL_AVATAR_M_HALLOWEEN
    RefItemCodeName: ITEM_MALL_AVATAR_M_HALLOWEEN
    leave Index empty (will be auto filled)

    _RefPricePolicyOfItem: add a new row
    RefPackageItemCodeName: PACKAGE_ITEM_MALL_AVATAR_M_HALLOWEEN
    PaymentDevice: not sure about this look other mall items

    _RefShopGoods: add a new row
    RefTabCodeName: MALL_AVATAR_DRESS (not sure)
    PackageCodeName...
    Slot: look for last item and add 1
    thats it. of course you have to add everything clientside too.
    Last edited by s2k; 23-09-11 at 10:41 PM.


  2. #2
    Account Upgraded | Title Enabled! lucastx is offline
    MemberRank
    Sep 2008 Join Date
    BrasilLocation
    240Posts

    Re: Item Mall / NPC Shop Items

    what is code for gm item speed in your inventory?

  3. #3
    Enthusiast s2k is offline
    MemberRank
    Sep 2011 Join Date
    38Posts

    Re: Item Mall / NPC Shop Items

    sorry i dont remember :>

    /edit:

    i got it its ITEM_MALL_MOVE_SPEED_UP100
    Last edited by s2k; 23-09-11 at 11:35 PM.

  4. #4
    Banned julioclitwin is offline
    BannedRank
    Oct 2010 Join Date
    401Posts

    Re: Item Mall / NPC Shop Items

    Possible you create one basic tut-video? :3

  5. #5
    Valued Member Maecko is offline
    MemberRank
    Mar 2008 Join Date
    119Posts

    Re: Item Mall / NPC Shop Items

    could you do some screens for every Step for example adding the halloween outfit to the database ? just the database dont need for the media

  6. #6
    Account Upgraded | Title Enabled! Larkon is offline
    MemberRank
    Jun 2008 Join Date
    258Posts

    Re: Item Mall / NPC Shop Items

    how about look in the database on how their made. Stop being lazy.

  7. #7
    Novice Amarda is offline
    MemberRank
    Sep 2011 Join Date
    3Posts

    Re: Item Mall / NPC Shop Items

    I need some help, i added the Male Halloween dress, but it wont show up in the ingame Item Mall :(


    I found 3 entries with Halloween Dress in RefPackageItem.txt , RefPricePolicyOfItem.txt and RefScrapOfPackageItem.txt

    No entry in RefShopGoods.txt



    So i added this line to RefShopGoods.txt

    1 15 MALL_AVATAR_DRESS PACKAGE_ITEM_MALL_AVATAR_W_HALLOWEEN 32 -1 xxx -1 xxx -1 xxx -1 xxx


    And still, it doesnt show up in the Item Mall :(

  8. #8
    Enthusiast Shifty41 is offline
    MemberRank
    Sep 2011 Join Date
    27Posts

    Re: Item Mall / NPC Shop Items

    I can add all other items but equipment. when I add for example a blade I get this

    Then I followed ur "guide" and same shit, any suggestions?

  9. #9
    Novice meska1250 is offline
    MemberRank
    Sep 2011 Join Date
    4Posts

    Re: Item Mall / NPC Shop Items

    Hi.This is good tut i see you are playing Bloody-sro ,I play too.I got one problem only why i cant open Bloody media.pk2.I can open iSRO media and other medias but Bloody media cant.Pls pm me in Private i got offer for you.

  10. #10
    Enthusiast s2k is offline
    MemberRank
    Sep 2011 Join Date
    38Posts

    Re: Item Mall / NPC Shop Items

    i dont play on bloody sro just an old screenshot with bloody media.pk2.

    @Shifty41 wrong durability for item. you cant change that. you need to type original item durability. for Bow_10_A it is 89.

  11. #11
    Novice meska1250 is offline
    MemberRank
    Sep 2011 Join Date
    4Posts

    Re: Item Mall / NPC Shop Items

    s2k can u upload that media and send me link pls.

    ---------- Post added at 03:45 PM ---------- Previous post was at 03:45 PM ----------

    And Do u know answer on my Question

  12. #12
    Enthusiast s2k is offline
    MemberRank
    Sep 2011 Join Date
    38Posts

    Re: Item Mall / NPC Shop Items

    look here for bloody media: Bloody Network - Overview

  13. #13
    Proficient Member Tazdingo is offline
    MemberRank
    Nov 2010 Join Date
    153Posts

    Re: Item Mall / NPC Shop Items

    Can you share a little guide ? I mean with images :)
    Also i will try without a guide :P

    Thanks

  14. #14
    Account Upgraded | Title Enabled! saxz is offline
    MemberRank
    Jul 2010 Join Date
    1,293Posts

    Re: Item Mall / NPC Shop Items

    Quote Originally Posted by Shifty41 View Post
    I can add all other items but equipment. when I add for example a blade I get this

    Then I followed ur "guide" and same shit, any suggestions?
    read what the error say lol

  15. #15
    Apprentice True2Kxx is offline
    MemberRank
    Apr 2009 Join Date
    23Posts

    Re: Item Mall / NPC Shop Items

    Lol the server files doesnt explain the error that good.



Page 1 of 4 1234 LastLast

Advertisement