[Q]Making an NPC sell g45+ weapons

Results 1 to 5 of 5
  1. #1
    Apprentice Valek is offline
    MemberRank
    Oct 2007 Join Date
    19Posts

    [Q]Making an NPC sell g45+ weapons

    Im trying to make an NPC at fort make g45-48-50-53 weapons and for some reason its not working...
    I changed in inititem.txt the weapon 'buy' option
    g45 weap example:
    Code:
     
     
    (item (name 364)  (Index 109) (Image "Wea049") (Action 6 2)  (class weapon bow) (code 1 2 2 2) (country 2) (level 45) (wear 1)        (limit archer 40) (range 176) (buy 200000) (sell 78000) (endurance 32)  (maxprotect 60)  (specialty (aspeed 800)  (Hth 1)    (Attack 100 128)  (hp 150)   (hit 60)                       )  )
    
    (item (name 365)  (Index 110) (Image "Wea050") (Action 6 3)  (class weapon bow) (code 1 2 2 2) (country 2) (level 45) (wear 1)        (limit archer 40) (range 176) (buy 200000) (sell 78000) (endurance 30)  (maxprotect 60)  (specialty (aspeed 800)     (Dex 1) (Attack 72 182)  (hp 100) (mp 50)  (hit 65)                       )  )
    after that i made it in client side at config.pk --> inititem.dat and put the buy option same price as in inititem.txt

    after that, i edited macro.dat and let an npc that sells knight wpns g33-37-40 also sell g45-53 and so for mage and arch

    now it seems like i screwed the config.pk cuz when i open it i see some gibberish in the dat files... anyone know wat to do?

    ty in advance to everyone who helps/tries to


  2. #2
    This Time = Dead Time! gumby is offline
    MemberRank
    Oct 2006 Join Date
    #(^>*)>Location
    981Posts

    Re: [Q]Making an NPC sell g45+ weapons

    macro.dat stores the items in shop.

  3. #3
    Apprentice Valek is offline
    MemberRank
    Oct 2007 Join Date
    19Posts
    i know and i found 2 merchants that sells items which index are swords g33 37 and g40 so i putted in same row with space item index 103 104 which are g45 swords...
    did i do sumf wrong?

    and now everything seems to be ok but when i login it says im expelled...
    is there any macro that i gotta change in server side??
    Last edited by Dopestar; 12-10-07 at 06:32 AM.

  4. #4
    Account Upgraded | Title Enabled! TrueDarKZONE is offline
    MemberRank
    Nov 2006 Join Date
    Some Were In ALocation
    686Posts

    Re: [Q]Making an NPC sell g45+ weapons

    no your being expeled becuse the prices dont match whats server side and client side is just what shows it up so what you think you gotta change server side a?

  5. #5
    Apprentice Valek is offline
    MemberRank
    Oct 2007 Join Date
    19Posts

    Re: [Q]Making an NPC sell g45+ weapons

    although i checked it so many times im freakin out ill try it again xD ty dark



Advertisement