Register for your free account! | Forgot your password?

You last visited: Today at 22:53

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Sell price NPC

Discussion on Sell price NPC within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2010
Posts: 19
Received Thanks: 0
Sell price NPC

Hello everyone,

How can I adjust the selling price of all items to NPC? I have tried this to change this line from /4 to /400

Code:
DWORD BuyGold = dwCost / 400;
under the line of CWndShop but it only shows the right amount on the screen but once you sold it the real price is still the original.
pepeton is offline  
Old 04/01/2022, 22:35   #2

 
FIorist's Avatar
 
elite*gold: 2
Join Date: Sep 2019
Posts: 95
Received Thanks: 99
File: WndManager.cpp
Function: CWndMgr::PutItemGold
Line: dwCostTem = pItemElem->GetCost() / 4;
Explanation: Change number in tooltip

File: WndShop.cpp
Function: CWndConfirmSell::OnDraw
Line: DWORD BuyGold = dwCost / 4;
Explanation: Change number in confirmation window

File: WndShop.cpp
Function: CWndConfirmSell::Initialize
Line: DWORD BuyGold = dwCost / 4;
Explanation: Change number in confirmation window

File: DPSrvr.cpp
Function: CDPSrvr::OnSellItem
Line: int nGold = (pItemElem->GetCost() / 4);
Explanation: Change number in server side
FIorist is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
Old npc item sell price is -ve
05/26/2020 - SRO Private Server - 1 Replies
i cannot debug this problem , any items i want to sell to npc appeared with sell price -ve number . but in new npc added by me it's works well ! any help ! up ?
Other NPC-List/Andere NPC-Liste
08/10/2006 - Ragnarok Online PServer Hosting - 2 Replies
Santa Suit Broadcaster Buffer Change Size DisguiserDonation-NPC DreamStation Event-NPC Evento de Páscoa GM-Guild-Flag GM-NPC
Npc VS Npc
01/05/2006 - WoW Private Server - 5 Replies
Hi @ll, hätte da mal ne Frage und hoffe darauf das mir dabei jemand helfen kann (oder zumindest sagen kann obs Möglich ist)...: Habe momentan einen Server am laufen auf Version 1.8.0 und arbeite mit paar Freunden daran ein Video zu machen. In diesem Video wollen wir aber auch gerne einige größere Kämpfe zeigen und zwar mit Hilfe von Npc's. Wenn ich aber nun eine zB Stormwind-Wache neber eine Orgrimmar-Wache stelle passiert nix, obwohl diese sicherlich verfeindet sind. Kann ich also die...



All times are GMT +1. The time now is 22:56.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.