Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 14:04

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

Advertisement



[Help] Penya buy bug

Discussion on [Help] Penya buy bug within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
aoyamananami's Avatar
 
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.
aoyamananami is offline  
Old 05/01/2020, 23:43   #2

 
FIorist's Avatar
 
elite*gold: 2
Join Date: Sep 2019
Posts: 95
Received Thanks: 99
Quote:
Originally Posted by aoyamananami View Post
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);
FIorist is offline  
Thanks
1 User
Old 05/01/2020, 23:51   #3
 
aoyamananami's Avatar
 
elite*gold: 0
Join Date: Mar 2014
Posts: 243
Received Thanks: 11
Quote:
Originally Posted by Zzz.. View Post
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
aoyamananami is offline  
Old 05/02/2020, 00:12   #4
 
Ecrypter's Avatar
 
elite*gold: 0
Join Date: Aug 2014
Posts: 653
Received Thanks: 217
Quote:
Originally Posted by aoyamananami View Post
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? .
Ecrypter is offline  
Old 05/02/2020, 01:15   #5
 
aoyamananami's Avatar
 
elite*gold: 0
Join Date: Mar 2014
Posts: 243
Received Thanks: 11
Quote:
Originally Posted by Ecrypter View Post
i've encounter this before but its fix. this is the issue of player own shop right? .
Yses, known as privateshop.
aoyamananami is offline  
Old 05/02/2020, 16:28   #6
 
Ecrypter's Avatar
 
elite*gold: 0
Join Date: Aug 2014
Posts: 653
Received Thanks: 217
Quote:
Originally Posted by aoyamananami View Post
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.SendQueryPostMailm_pOwner->m_idPlayerNULLcBuyItemNULL"Shop Item""Your items." ); 
look this:
PHP Code:
    pBuyer->AddGold( -( pItemBase->m_nCost nNum ) );
    
m_pOwner->AddGoldpItemBase->m_nCost nNum ); 
Change to this:
PHP Code:
//    pBuyer->AddGold( -( pItemBase->m_nCost * nNum ) );
//    m_pOwner->AddGold( pItemBase->m_nCost * nNum ); 
Ecrypter is offline  
Old 05/02/2020, 20:01   #7
 
aoyamananami's Avatar
 
elite*gold: 0
Join Date: Mar 2014
Posts: 243
Received Thanks: 11
Quote:
Originally Posted by Ecrypter View Post
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.SendQueryPostMailm_pOwner->m_idPlayerNULLcBuyItemNULL"Shop Item""Your items." ); 
look this:
PHP Code:
    pBuyer->AddGold( -( pItemBase->m_nCost nNum ) );
    
m_pOwner->AddGoldpItemBase->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
aoyamananami is offline  
Reply


Similar Threads 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 14:04.


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.