RFWorld
Would you like to react to this message? Create an account in a few clicks or log in to continue.

RFWorldLog in

Rising Force World

ANNOUNCEMENT

HOW TO DOWNLOAD THE FILE?

CLICK THE LINK FILE YOU WANT TO DOWNLOAD, THEN CLICK FREE ACCESS, LAST STEP IS FOLLOW THE LINK TILL YOU FIND THE FILE ORIGINAL LINK,

THIS ADS LINK MANDATORY TO KEEP OUR FORUM ALIVE♥️


PLEASE SUPPORT US BY CLICK THE ADS LINK, TURN OFF ADBLOCK ♥️

OR YOU CAN SUPPORT US THROUGH PAYPAL / SAWERIA ♥️

THE FORUM WILL BE SHUT DOWN IN THE END OF THE YEAR

IF WE GOT NO SUPPORT ANYMORE Tears





description[SOLVED] Edit Price NPC Empty[SOLVED] Edit Price NPC

more_horiz
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

description[SOLVED] Edit Price NPC EmptyRe: [SOLVED] Edit Price NPC

more_horiz
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

description[SOLVED] Edit Price NPC EmptyRe: [SOLVED] Edit Price NPC

more_horiz

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

description[SOLVED] Edit Price NPC EmptyRe: [SOLVED] Edit Price NPC

more_horiz
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.

description[SOLVED] Edit Price NPC EmptyRe: [SOLVED] Edit Price NPC

more_horiz
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 Source

description[SOLVED] Edit Price NPC EmptyRe: [SOLVED] Edit Price NPC

more_horiz
Problem considered as solved.

Thread locked.


[SOLVED] Edit Price NPC Giphy

description[SOLVED] Edit Price NPC EmptyRe: [SOLVED] Edit Price NPC

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