Enabling Mercenaries

Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    Member silkroadnet is offline
    MemberRank
    Sep 2011 Join Date
    75Posts

    config Enabling Mercenaries

    Hello everybody
    I hope everyone know mean of mercenaries.
    There is already mercenaries on guild NPCs.But there appear a problem;
    You are not allowed to use items.

    I made some tries on TypeID3 and TypeID4 but fail

    RefObjCommon Select Code for mercenaries
    Code:
    SELECT     Service, ID, CodeName128, ObjName128, OrgObjCodeName128, NameStrID128, DescStrID128, CashItem, Bionic, TypeID1, TypeID2, TypeID3, TypeID4, DecayTime, 
                          Country, Rarity, CanTrade, CanSell, CanBuy, CanBorrow, CanDrop, CanPick, CanRepair, CanRevive, CanUse, CanThrow, Price, CostRepair, CostRevive, CostBorrow, 
                          KeepingFee, SellPrice, ReqLevelType1, ReqLevel1, ReqLevelType2, ReqLevel2, ReqLevelType3, ReqLevel3, ReqLevelType4, ReqLevel4, MaxContain, RegionID, Dir, 
                          OffsetX, OffsetY, OffsetZ, Speed1, Speed2, Scale, BCHeight, BCRadius, EventID, AssocFileObj128, AssocFileDrop128, AssocFileIcon128, AssocFile1_128, 
                          AssocFile2_128, Link
    FROM         _RefObjCommon
    WHERE     (CodeName128 LIKE 'ITEM_ETC_GUILD_%SOLDIER%')


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

    Re: [Dev] Enabling Mercenaries

    Quote Originally Posted by silkroadnet View Post
    Hello everybody
    I hope everyone know mean of mercenaries.
    There is already mercenaries on guild NPCs.But there appear a problem;
    You are not allowed to use items.

    I made some tries on TypeID3 and TypeID4 but fail

    RefObjCommon Select Code for mercenaries
    Code:
    SELECT     Service, ID, CodeName128, ObjName128, OrgObjCodeName128, NameStrID128, DescStrID128, CashItem, Bionic, TypeID1, TypeID2, TypeID3, TypeID4, DecayTime, 
                          Country, Rarity, CanTrade, CanSell, CanBuy, CanBorrow, CanDrop, CanPick, CanRepair, CanRevive, CanUse, CanThrow, Price, CostRepair, CostRevive, CostBorrow, 
                          KeepingFee, SellPrice, ReqLevelType1, ReqLevel1, ReqLevelType2, ReqLevel2, ReqLevelType3, ReqLevel3, ReqLevelType4, ReqLevel4, MaxContain, RegionID, Dir, 
                          OffsetX, OffsetY, OffsetZ, Speed1, Speed2, Scale, BCHeight, BCRadius, EventID, AssocFileObj128, AssocFileDrop128, AssocFileIcon128, AssocFile1_128, 
                          AssocFile2_128, Link
    FROM         _RefObjCommon
    WHERE     (CodeName128 LIKE 'ITEM_ETC_GUILD_%SOLDIER%')
    what you mean?
    what's the problem with them?
    when use them the client crash or something?

  3. #3
    Valued Member stemale is offline
    MemberRank
    Jul 2005 Join Date
    127Posts

    Re: [Dev] Enabling Mercenaries

    If im not wrong for example zszc \wsro have them and the db + server files is released
    So why dont take them from their db?

  4. #4
    Member silkroadnet is offline
    MemberRank
    Sep 2011 Join Date
    75Posts

    Re: [Dev] Enabling Mercenaries

    Quote Originally Posted by stemale View Post
    If im not wrong for example zszc \wsro have them and the db + server files is released
    So why dont take them from their db?
    Don't need database.I think i need itemdata.txt files only from server with these mercenaries.
    But idk which servers have them

  5. #5
    Valued Member stemale is offline
    MemberRank
    Jul 2005 Join Date
    127Posts

    Re: [Dev] Enabling Mercenaries

    Quote Originally Posted by silkroadnet View Post
    Don't need database.I think i need itemdata.txt files only from server with these mercenaries.
    But idk which servers have them
    Like u can enable in ObjCommon new Premium but u cant use it..i didnt test it but i think u need enable in RefSkill cuz i saw Premium skill in this table. So i think u should enable them in RefSkill and try to use

  6. #6
    Account Upgraded | Title Enabled! TryToMakeServer is offline
    MemberRank
    Dec 2008 Join Date
    257Posts

    Re: [Dev] Enabling Mercenaries

    Your guild lvl 4?
    CanUse = 1 ?

  7. #7
    Member silkroadnet is offline
    MemberRank
    Sep 2011 Join Date
    75Posts

    Re: [Dev] Enabling Mercenaries

    Quote Originally Posted by TryToMakeServer View Post
    Your guild lvl 4?
    CanUse = 1 ?
    Yes they are.

    And there isnt anything about mercenaries in _RefSkill

  8. #8
    Account Upgraded | Title Enabled! TryToMakeServer is offline
    MemberRank
    Dec 2008 Join Date
    257Posts

    Re: [Dev] Enabling Mercenaries

    _RefObjCommon
    Look there if CanUse = 1

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

    Re: [Dev] Enabling Mercenaries

    Yeah that same issues happens here. I dont think their enabled.

  10. #10
    #Yummi.sql Caipi is offline
    MemberRank
    Sep 2011 Join Date
    GermanyLocation
    403Posts

    Re: [Dev] Enabling Mercenaries

    Why don't you look at other items/mobs with ~ the same properties. Probably there's something really necessary missing at the DB.
    Like Taese or Hang-A scrolls+mobs. Can also only be used by the Guild leader, are working and are also "mobs" :)

    Just to mention it..
    PHP Code:
    SELECT FROM _RefObjCommon
    WHERE CodeName128 like 
    'ITEM_ETC_GUILD_%SOLDIER%' 
    Would work too ;D

  11. #11

    Re: [Dev] Enabling Mercenaries

    caipi this is query ?
    SELECT * FROM _RefObjCommon
    WHERE CodeName128 like 'ITEM_ETC_GUILD_%SOLDIER%'

  12. #12
    #Yummi.sql Caipi is offline
    MemberRank
    Sep 2011 Join Date
    GermanyLocation
    403Posts

    Re: [Dev] Enabling Mercenaries

    I just shows every row which contains "ITEM_ETC_GUILD_...SOLDIER..." at CodeName128 - results in the same what silkroadnet already made, nothing more.

  13. #13
    Member silkroadnet is offline
    MemberRank
    Sep 2011 Join Date
    75Posts

    Re: [Dev] Enabling Mercenaries

    Quote Originally Posted by Caipi View Post
    I just shows every row which contains "ITEM_ETC_GUILD_...SOLDIER..." at CodeName128 - results in the same what silkroadnet already made, nothing more.
    I tried a lot thing.But there is nothing

  14. #14
    Enthusiast vista1 is offline
    MemberRank
    Nov 2011 Join Date
    26Posts

    Re: [Dev] Enabling Mercenaries

    bro very hard enable..

  15. #15
    Valued Member fabien31 is offline
    MemberRank
    Dec 2010 Join Date
    FranceLocation
    147Posts

    Re: [Dev] Enabling Mercenaries

    Maybe the problem it's not on DB :P
    Cause everything is fine into DB so maybe a problem whit media.pk2 or sro_client didn't search it !



Page 1 of 2 12 LastLast

Advertisement