|
You last visited: Today at 05:43
Advertisement
[Help] Penya buy bug
Discussion on [Help] Penya buy bug within the Flyff Private Server forum part of the Flyff category.
05/01/2020, 15:45
|
#1
|
elite*gold: 0
Join Date: Mar 2014
Posts: 243
Received Thanks: 11
|
[Help] Penya buy bug
I encounter a penya buy bug, i vend on privateshop and set the price to 1b , and i use another/dual account to buy it and my vendor receive 2b. Does anyone have this fix please help.
|
|
|
05/01/2020, 23:43
|
#2
|
elite*gold: 2
Join Date: Sep 2019
Posts: 95
Received Thanks: 99
|
Quote:
Originally Posted by aoyamananami
I encounter a penya buy bug, i vend on privateshop and set the price to 1b , and i use another/dual account to buy it and my vendor receive 2b. Does anyone have this fix please help.
|
I'm not sure, but you may have the AddGold string duplicated somewhere at MoverItem.cpp
Try checking this file and finding an extra line in it:
MoverItem.cpp
Code:
m_pOwner->AddGold(pItemBase->m_nCost * nNum);
|
|
|
05/01/2020, 23:51
|
#3
|
elite*gold: 0
Join Date: Mar 2014
Posts: 243
Received Thanks: 11
|
Quote:
Originally Posted by Zzz..
I'm not sure, but you may have the AddGold string duplicated somewhere at MoverItem.cpp
Try checking this file and finding an extra line in it:
MoverItem.cpp
Code:
m_pOwner->AddGold(pItemBase->m_nCost * nNum);
|
Ill try this,for now ive just disabled the price on penya, by editing the max exceed of selling price from 2.1b to 1penya so theh cant sell item using penya then they obligate to sell item using other currency.
Edit
Like what youve said, ive seen the duplicated, thank you very much, i didnt even see that duplicate. Now it will never x2 if they buy it . Thanks again
|
|
|
05/02/2020, 00:12
|
#4
|
elite*gold: 0
Join Date: Aug 2014
Posts: 653
Received Thanks: 217
|
Quote:
Originally Posted by aoyamananami
I encounter a penya buy bug, i vend on privateshop and set the price to 1b , and i use another/dual account to buy it and my vendor receive 2b. Does anyone have this fix please help.
|
i've encounter this before but its fix. this is the issue of player own shop right? .
|
|
|
05/02/2020, 01:15
|
#5
|
elite*gold: 0
Join Date: Mar 2014
Posts: 243
Received Thanks: 11
|
Quote:
Originally Posted by Ecrypter
i've encounter this before but its fix. this is the issue of player own shop right? .
|
Yses, known as privateshop.
|
|
|
05/02/2020, 16:28
|
#6
|
elite*gold: 0
Join Date: Aug 2014
Posts: 653
Received Thanks: 217
|
Quote:
Originally Posted by aoyamananami
Yses, known as privateshop.
|
Go to your MoverItem.cpp in _common folder
find :
PHP Code:
#ifdef __WORLDSERVER
#include "user.h"
extern CUserMng g_UserMng;
#endif // WORLDSERVER
Change to this
PHP Code:
#ifdef __WORLDSERVER
#include "user.h"
#include "DPDatabaseClient.h"
extern CUserMng g_UserMng;
extern CDPDatabaseClient g_dpDBClient;
#endif // WORLDSERVER
leave this part
PHP Code:
cBuyItem.m_nItemNum = nNextPrice;
if( !m_pOwner->CreateItem( &cBuyItem ) )
g_dpDBClient.SendQueryPostMail( m_pOwner->m_idPlayer, NULL, cBuyItem, NULL, "Shop Item", "Your items." );
look this:
PHP Code:
pBuyer->AddGold( -( pItemBase->m_nCost * nNum ) );
m_pOwner->AddGold( pItemBase->m_nCost * nNum );
Change to this:
PHP Code:
// pBuyer->AddGold( -( pItemBase->m_nCost * nNum ) );
// m_pOwner->AddGold( pItemBase->m_nCost * nNum );
|
|
|
05/02/2020, 20:01
|
#7
|
elite*gold: 0
Join Date: Mar 2014
Posts: 243
Received Thanks: 11
|
Quote:
Originally Posted by Ecrypter
Go to your MoverItem.cpp in _common folder
find :
PHP Code:
#ifdef __WORLDSERVER
#include "user.h"
extern CUserMng g_UserMng;
#endif // WORLDSERVER
Change to this
PHP Code:
#ifdef __WORLDSERVER
#include "user.h"
#include "DPDatabaseClient.h"
extern CUserMng g_UserMng;
extern CDPDatabaseClient g_dpDBClient;
#endif // WORLDSERVER
leave this part
PHP Code:
cBuyItem.m_nItemNum = nNextPrice;
if( !m_pOwner->CreateItem( &cBuyItem ) )
g_dpDBClient.SendQueryPostMail( m_pOwner->m_idPlayer, NULL, cBuyItem, NULL, "Shop Item", "Your items." );
look this:
PHP Code:
pBuyer->AddGold( -( pItemBase->m_nCost * nNum ) );
m_pOwner->AddGold( pItemBase->m_nCost * nNum );
Change to this:
PHP Code:
// pBuyer->AddGold( -( pItemBase->m_nCost * nNum ) );
// m_pOwner->AddGold( pItemBase->m_nCost * nNum );
|
Like what i said above i already fixed it
|
|
|
 |
Similar Threads
|
Trading Lykan Penya for Mocomochi Penya
09/04/2012 - Flyff Trading - 0 Replies
PM me here or add me on xfire: crippkilla
I answer faster through xfire.
|
[Help] Hit Of Penya Or Penya Strike = Client Crash
08/31/2012 - Flyff Private Server - 2 Replies
Good Day!! To All Of You..
Can Any One Teach Me How To Fix The HOP Issue??
When You Hop The Other Persons Client Crashes
How Can I Fix It??
Thank You And God Bless :)
|
GEBE CS (PENYA) AUF STEAM GG PENYA AUF AUGU
01/03/2010 - Flyff Trading - 0 Replies
Hallo,
Ich tausche mein Gesamtes Inventar (80 mio, CS Pet, 15 Oris, Allgemein CS männlich, Int cloak, mp, fp sonnenbrille, 2 demols +12, 2 vigors +9, eine hp kette +6!!! und vieles wertvolles mehr.....)
gegen den Wert auf Augu.
Ich habe mal das Inventar als Bild gepostet, schau es euch einfach an :-)
http://i47.tinypic.com/2j31c74.jpg
http://i45.tinypic.com/11lps3m.jpg
|
Penya auf Augu gegen Penya auf Luia
12/26/2009 - Flyff Trading - 0 Replies
Hi,
wie der name schon sagt tausche ich mein Penya auf Augu gegen deins auf Luia.
wenn einer interesse hat bitte einfach posten
mfg lolerlol
bis huete nachmittag
|
Wie bekomm ich unentlich penya bzw suche penya hack xD
11/05/2007 - Flyff - 2 Replies
also wie oben gesagt kennt jemand nen penya hack der noch nicht gefixt ist im game pls links adressen etc. reinnschreiben bitte nur kostenlos danke xD
|
All times are GMT +1. The time now is 05:44.
|
|