Fast buying from NPC doesn't work with some items

Results 1 to 9 of 9
  1. #1
    Elite Member elitebi is offline
    Member +Rank
    Feb 2012 Join Date
    196Posts

    Fast buying from NPC doesn't work with some items

    I have some items in the NPC which I can't use the fast buying (Ctrl + Click), like Arrows and Bolts, I have to buy them manually and write the number I wants, is there a way to enable the "Ctrl Click" to buy instantly the max stack?

    ty


  2. #2
    Member omerdogan41 is offline
    MemberRank
    Jan 2012 Join Date
    29Posts

    Re: Fast buying from NPC doesn't work with some items

    Seems you're using modified media.pk2
    So edit refpackageitem in your media.pk2 and change the stack number of those items which ones you can't buy automatically.
    or
    Check the stack number of those items in refpackageitem onto the db side and set the stack number of items on the media side.

  3. #3
    Elite Member elitebi is offline
    Member +Rank
    Feb 2012 Join Date
    196Posts

    Re: Fast buying from NPC doesn't work with some items

    I checked the refpackageitem on the DB and on the Media and both are same

    PHP Code:
    1    15    25421    PACKAGE_ITEM_ETC_AMMO_BOLT_01    0    EXPAND_TERM_ALL    SN_ITEM_ETC_AMMO_BOLT_01    SN_ITEM_ETC_AMMO_BOLT_01_TT_DESC    item\etc\ammo_bolt_01.ddj    -1    xxx    -1    xxx    -1    xxx    -1    xxx

    1    15    25421    PACKAGE_ITEM_ETC_AMMO_BOLT_01    0    EXPAND_TERM_ALL    SN_ITEM_ETC_AMMO_BOLT_01    SN_ITEM_ETC_AMMO_BOLT_01_TT_DESC    item
    \etc\ammo_bolt_01.ddj    -1    xxx    -1    xxx    -1    xxx    -1    xxx 

  4. #4
    Sorcerer Supreme ModGift is offline
    Member +Rank
    Sep 2011 Join Date
    261Posts

    Re: Fast buying from NPC doesn't work with some items

    Check your item stack. for db and media.pk2

  5. #5
    Elite Member ferpa125 is offline
    Member +Rank
    Nov 2011 Join Date
    BrazilLocation
    162Posts

    Re: Fast buying from NPC doesn't work with some items

    search the Link of ITEM_ETC_AMMO_BOLT_01 in _RefObjCommon
    then search the number of Link in _RefObjItem and change MaxStack to yours wanted stackable, also edit in media side itemdata_xxxx.txt (check this Guide)

  6. #6
    Elite Member elitebi is offline
    Member +Rank
    Feb 2012 Join Date
    196Posts

    Re: Fast buying from NPC doesn't work with some items

    Quote Originally Posted by ferpa125 View Post
    search the Link of ITEM_ETC_AMMO_BOLT_01 in _RefObjCommon
    then search the number of Link in _RefObjItem and change MaxStack to yours wanted stackable, also edit in media side itemdata_xxxx.txt (check this Guide)
    is it not about the max stackable, max stackable is set to 250 correctly in db and media, and I can stack it without problem, so stack is working, I can buy it manually and type in the npc "250" to get it but when I use "Ctrl Click" nothing happens

  7. #7
    Member omerdogan41 is offline
    MemberRank
    Jan 2012 Join Date
    29Posts

    Re: Fast buying from NPC doesn't work with some items

    because it's different in your media side,I'm sorry i wrote wrong table in my first post.Check RefObjItem at the media side through a media.pk2 tool and set stack as you've set on the db side.

  8. #8
    Elite Member elitebi is offline
    Member +Rank
    Feb 2012 Join Date
    196Posts

    Re: Fast buying from NPC doesn't work with some items

    Quote Originally Posted by omerdogan41 View Post
    because it's different in your media side,I'm sorry i wrote wrong table in my first post.Check RefObjItem at the media side through a media.pk2 tool and set stack as you've set on the db side.
    ty, got it fixed
    Last edited by elitebi; 13-02-12 at 04:52 AM.

  9. #9
    Newbie leolazy is offline
    MemberRank
    Apr 2013 Join Date
    3Posts

    Re: Fast buying from NPC doesn't work with some items

    where do you find the RefObjItem in MEdia.pk2??? I wasn't able to fast buying my stacked stuffs anymore.



Advertisement