[SOLVED] Edit Price NPC

View previous topic View next topic Go down

SevenDeadlySins
Newborn Noob Heroes
Newborn Noob Heroes
Posts : 11

Reputation : 0

Points : 152

Base Class : Warrior

Weap : RFPSC Legacy Knife Newcomers [ LIMITED ]

View user profile

PostSevenDeadlySins on 3/7/2018, 4:22 am

Maaf semoga master master disini bisa membantu saya untuk kasih tau buat edit price barang di NPC.
Karena saya cari di store ataupun di storelist tidak ada mengenai harga beli dari item di NPC tersebut.

Mohon bantunya.

avatar
Reddit
Newborn Noob Heroes
Newborn Noob Heroes
Posts : 22

Reputation : 1

Points : 207

Base Class : Warrior

View user profile

PostReddit on 3/7/2018, 3:09 pm

Item yg dibeli apa gan? Armor, Weapon, atau apa?

Booty = Item.dat
Weapon = WeaponItem.dat


Untuk store & storelist nya kyknya STRS nya ga lengkap tuh gan..

dulu kyknya ada yg share cm gw lupa thread nya yg mana.  
avatar
Reddit
Newborn Noob Heroes
Newborn Noob Heroes
Posts : 22

Reputation : 1

Points : 207

Base Class : Warrior

View user profile

PostReddit on 3/7/2018, 3:16 pm

Code:
[filemask="Store.dat"]

struct StoreFile
{
  u32 StoreBlocks;
  u32 StoreBlockSize;
  child StoreBlock [count=StoreBlocks];
}

struct STORE_ITEM_DATA
{
   u8   byItemType;
  cstr [len=3] junkdata [hidden];
   x32 dwDTCode;
}

struct STORE_RENT_ITEM_DATA
{
   u8   byItemType;
  cstr [len=3] junkdata [hidden];
   x32 dwDTCode;
  i32 amount;
}

struct StoreBlock [preload=1, tableview=1]
{
  u32 nCount;
  x32 NPCCode;
  u8 race;
  cstr [len=32] NpcName [hidden]; //unused
  cstr [len=32] NpcName [hidden]; //unused
  cstr [len=32] NpcCode;
  u8 byMerchantType;
  u16 junkdata [hidden];
  float   fYAngle;
  u32 AngleToggle;
  float scale;
  u32 dwMaxItemNum;
  repeat 200
   {
      include STORE_ITEM_DATA; //pItemList
   }
  repeat 10
  {
    u8 menuCode;
  }
  cstr [len=6] npcComment [hidden]; //unused
  u32 multiplier;
  x32 slots;
  u32 rentableTotal;
  repeat 16
  {
    include STORE_RENT_ITEM_DATA; //pItemList
  }
}


STRS lain https://rf-dev.net/topic/157-structorian-structure-collection-various-structures-i-had-laying-around/

Credit : Agony & RF-Dev

Dulu sempet ada di HDD yang versi complete skrg udah amysong smnjk udah ga main RF. wkwkw
SevenDeadlySins
Newborn Noob Heroes
Newborn Noob Heroes
Posts : 11

Reputation : 0

Points : 152

Base Class : Warrior

Weap : RFPSC Legacy Knife Newcomers [ LIMITED ]

View user profile

PostSevenDeadlySins on 9/7/2018, 10:43 am

@Reddit wrote:Item yg dibeli apa gan? Armor, Weapon, atau apa?

Booty = Item.dat
Weapon = WeaponItem.dat


Untuk store & storelist nya kyknya STRS nya ga lengkap tuh gan..

dulu kyknya ada yg share cm gw lupa thread nya yg mana.  

Item.dat
weaponitem.dat 

saya udah coba gan, kolom std price ya ?
ga ada perubahan gan, harga masih sama.

dan ga ada value yang harganya sama kaya di npc.
misal npc harga 100jt di kolom situ ga ada angka 100jt.
avatar
FajriGusnadi
Founder
Posts : 107

Reputation : 19002

Points : 2147483960

Weap : The Mythical Luxury Axe of Lucifer Conqueror [ PRICELESS RARITY ] +7

Shield : The Great Holy Shield of World Conqueror [ PRICELESS RARITY ] +7

Head : Mythical Superior Mask of Angel of Death [ PRICELESS RARITY ] +7

Upper : Holy Breastplate of Immortality [U] [ PRICELESS RARITY ] +7

Lower : Holy Breastplate of Immortality [L] [ PRICELESS RARITY ] +7
Shoes : Holy Breastplate of Immortality [S] [ PRICELESS RARITY ] +7
Amulets :  RFPS-C Team CEO Amulet
Rings :  RFPS-C Team CEO Rings
Booster : RFPS-C Team Booster
View user profile

PostFajriGusnadi on 18/7/2018, 6:50 pm

Seinget gw & setahu gw harga NPC itu ga original, jadi hasil yg muncul itu dari hasil kali(x) dari harga original.








 Dikarenakan WA saya masih error dan belum fix sampai sekarang, jadi untuk segala urusan donasi dan pemasangan iklan di forum RFPSC bisa hubungi saya melalui PM forum. Atau PM Official Staff forum lainya.





Thanks.


Fajri.
avatar
XBL
Moderator
Posts : 64

Reputation : 9002

Points : 9399

Base Class : Mage

Weap : Ancient Conqueror Staff of Fallen Angel [ PRICELESS RARITY ] +7

Shield : RFPS-C Team Shield Damage Blocker [ ULTRA RARE ]+7

Head : RFPS-C Leader Helmet Ways Destructor [ ULTRA RARE ] +7

Upper : RFPS-C Leader Upper Ways Destructor [ ULTRA RARE ] +7

Lower : RFPS-C Leader Lower Ways Destructor [ ULTRA RARE ] +7
Shoes : RFPS-C Leader Shoes Ways Destructor [ ULTRA RARE ] +7
Amulets : Black Blood Brother's Leash
Rings : Dagon's Leash
Booster : RFPS-C Team Booster
View user profile

PostXBL on 7/8/2018, 2:52 pm

Problem considered as solved.

Thread locked.
Sponsored content

PostSponsored content

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

 
Permissions in this forum:
You cannot reply to topics in this forum