Welcome to the new RFPSC !

Hi Guest , Welcome to the new RFPSC ! We had several updates includes themes and many more. You can see the changelog here


New to RFPSC? Dont know how to make a topic?

Hi Guest , Now you can create fast topic on the right widget! Give it a try!


We got new Features!

Hi Guest , We got a new features called "Cover Profile Picture" , now you upload your own cover picture for
your profile!
You can do that by clicking here and modify the Profile Cover Photo form with your Image URL !
Give it a try!

You are not connected. Please login or register

[SOLVED] Edit Price NPC

By

reply in this page topic

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.

[SOLVED] Edit Price NPC Store

Reddit

Reddit

Member
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.  [SOLVED] Edit Price NPC 1f605

Reddit

Reddit

Member
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

@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.  [SOLVED] Edit Price NPC 1f605

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.

FajriGusnadi

FajriGusnadi

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





[SOLVED] Edit Price NPC Giphy


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

El Morad

El Morad

Global Moderator
Problem considered as solved.

Thread locked.

Sponsored content



View previous topic View next topic Back to top  Message [Page 1 of 1]

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

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here


Sign In Now