|
You last visited: Today at 04:34
Advertisement
[Request] Auto Perin Convert
Discussion on [Request] Auto Perin Convert within the Flyff Private Server forum part of the Flyff category.
05/07/2017, 09:15
|
#1
|
elite*gold: 0
Join Date: Mar 2017
Posts: 342
Received Thanks: 18
|
[Request] Auto Perin Convert
Hi epvp! i would like to ask if theres a code for Auto Perin convert? once i sell item more than 100m and when i reach the maximum capacity of the penya it will automatically converted to perin? help please thanks! sorry for my bad english
|
|
|
05/08/2017, 09:52
|
#2
|
elite*gold: 0
Join Date: Aug 2014
Posts: 653
Received Thanks: 217
|
Nice asking but the question is who is crazy man want to share that kind of awesome feature.
|
|
|
05/08/2017, 16:36
|
#3
|
elite*gold: 0
Join Date: Jul 2015
Posts: 181
Received Thanks: 199
|
Quote:
Originally Posted by babyminion
Hi epvp! i would like to ask if theres a code for Auto Perin convert? once i sell item more than 100m and when i reach the maximum capacity of the penya it will automatically converted to perin? help please thanks! sorry for my bad english
|
Needs work, credits to whoever the original author of this was. Google is your friend..
Code:
void CUser::AddGoldText( int nPlus )
{
char szPlus[64];
char szGold[64];
sprintf( szPlus, "%d", nPlus );
sprintf( szGold, "%d", GetGold() );
CString strPlus = GetNumberFormatEx( szPlus );
CString strGold = GetNumberFormatEx( szGold );
//AddDefinedText( TID_GAME_REAPMONEY, "%s %s", strPlus, strGold );
if( GetGold() > 2100000000 )
{
if( m_Inventory.GetEmptyCount() == 0 && GetPerinNum() > 0 )
{
CItemElem* pItem = m_Inventory.GetAtItemId( II_SYS_SYS_SCR_PERIN );
pItem.m_nItemNum += 21;
AddGold( -2100000000 );
AddDefinedText( TID_GAME_MAKEPERIN );
}
else if ( m_Inventory.GetEmptyCount() > 0 && GetPerinNum() >= 0)
{
CItemElem pItem;
pItem.m_nItemNum = 21;
pItem.m_bCharged = TRUE;
pItem.m_dwItemId = II_SYS_SYS_SCR_PERIN;
BYTE nID;
CreateItem( &pItem, &nID );
AddGold( -2100000000 );
AddDefinedText( TID_GAME_MAKEPERIN );
}
else if ( m_Inventory.GetEmptyCount() == 0 && GetPerinNum() == 0)
{
AddDefinedText( TID_GAME_MAKEPERIN_FAILURE );
}
}
AddDefinedText( TID_GAME_REAPMONEY, "%s %s", strPlus, strGold );
}
|
|
|
05/08/2017, 23:25
|
#4
|
elite*gold: 0
Join Date: Mar 2017
Posts: 342
Received Thanks: 18
|
Quote:
Originally Posted by KetchupSamurai
Needs work, credits to whoever the original author of this was. Google is your friend..
Code:
void CUser::AddGoldText( int nPlus )
{
char szPlus[64];
char szGold[64];
sprintf( szPlus, "%d", nPlus );
sprintf( szGold, "%d", GetGold() );
CString strPlus = GetNumberFormatEx( szPlus );
CString strGold = GetNumberFormatEx( szGold );
//AddDefinedText( TID_GAME_REAPMONEY, "%s %s", strPlus, strGold );
if( GetGold() > 2100000000 )
{
if( m_Inventory.GetEmptyCount() == 0 && GetPerinNum() > 0 )
{
CItemElem* pItem = m_Inventory.GetAtItemId( II_SYS_SYS_SCR_PERIN );
pItem.m_nItemNum += 21;
AddGold( -2100000000 );
AddDefinedText( TID_GAME_MAKEPERIN );
}
else if ( m_Inventory.GetEmptyCount() > 0 && GetPerinNum() >= 0)
{
CItemElem pItem;
pItem.m_nItemNum = 21;
pItem.m_bCharged = TRUE;
pItem.m_dwItemId = II_SYS_SYS_SCR_PERIN;
BYTE nID;
CreateItem( &pItem, &nID );
AddGold( -2100000000 );
AddDefinedText( TID_GAME_MAKEPERIN );
}
else if ( m_Inventory.GetEmptyCount() == 0 && GetPerinNum() == 0)
{
AddDefinedText( TID_GAME_MAKEPERIN_FAILURE );
}
}
AddDefinedText( TID_GAME_REAPMONEY, "%s %s", strPlus, strGold );
}
|
sorry but where can i put this code sorry im just new about developing  
|
|
|
05/09/2017, 07:37
|
#5
|
elite*gold: 353
Join Date: Jan 2013
Posts: 924
Received Thanks: 617
|
Quote:
Originally Posted by babyminion
|
User.cpp
void CUser::AddGoldText( int nPlus )
|
|
|
05/09/2017, 15:33
|
#6
|
elite*gold: 0
Join Date: Mar 2017
Posts: 342
Received Thanks: 18
|
Quote:
Originally Posted by Kiseku
User.cpp
void CUser::AddGoldText( int nPlus )
|
Quote:
Originally Posted by KetchupSamurai
Needs work, credits to whoever the original author of this was. Google is your friend..
Code:
void CUser::AddGoldText( int nPlus )
{
char szPlus[64];
char szGold[64];
sprintf( szPlus, "%d", nPlus );
sprintf( szGold, "%d", GetGold() );
CString strPlus = GetNumberFormatEx( szPlus );
CString strGold = GetNumberFormatEx( szGold );
//AddDefinedText( TID_GAME_REAPMONEY, "%s %s", strPlus, strGold );
if( GetGold() > 2100000000 )
{
if( m_Inventory.GetEmptyCount() == 0 && GetPerinNum() > 0 )
{
CItemElem* pItem = m_Inventory.GetAtItemId( II_SYS_SYS_SCR_PERIN );
pItem.m_nItemNum += 21;
AddGold( -2100000000 );
AddDefinedText( TID_GAME_MAKEPERIN );
}
else if ( m_Inventory.GetEmptyCount() > 0 && GetPerinNum() >= 0)
{
CItemElem pItem;
pItem.m_nItemNum = 21;
pItem.m_bCharged = TRUE;
pItem.m_dwItemId = II_SYS_SYS_SCR_PERIN;
BYTE nID;
CreateItem( &pItem, &nID );
AddGold( -2100000000 );
AddDefinedText( TID_GAME_MAKEPERIN );
}
else if ( m_Inventory.GetEmptyCount() == 0 && GetPerinNum() == 0)
{
AddDefinedText( TID_GAME_MAKEPERIN_FAILURE );
}
}
AddDefinedText( TID_GAME_REAPMONEY, "%s %s", strPlus, strGold );
}
|
Sad  not working 
i tryd to sell 9999suns
and i receive some penya instead of perins
|
|
|
05/09/2017, 18:28
|
#7
|
elite*gold: 26
Join Date: Oct 2016
Posts: 116
Received Thanks: 13
|
Quote:
Originally Posted by babyminion
Sad  not working 
i tryd to sell 9999suns
and i receive some penya instead of perins
|
I think it only works on penya drop.
|
|
|
05/09/2017, 18:44
|
#8
|
elite*gold: 0
Join Date: Mar 2017
Posts: 342
Received Thanks: 18
|
yea maybe.
|
|
|
 |
Similar Threads
|
Kick to convert: easy and fast way to convert your item_proto/mob_proto to txt files!
09/07/2016 - Metin2 PServer Guides & Strategies - 21 Replies
Hi all,
this is my first release :)
This "kick converter" will allow you to generate txt files (item_names, item_proto, mob_proto, mob_names) for the rev-34k game.
The script was written in python by me, so you need python 2.7 and MySQLDB (python extension) installed on your server.
If you found any error, please report it to me and I'll fix it as soon as possibile.
PS: If you get errors while converting the item_proto, please remove items that have type 29 or type 31.
|
Tausche [Buru] Perin gegen [Augu] Perin
02/27/2011 - Flyff Trading - 1 Replies
wie schon im topic steht suche perin auf dem server augu und biete perin auf buru
|
68 Perin Steamwalker (1.5 Perin = 1€)
01/29/2011 - Flyff Trading - 0 Replies
Hallo,
ich verkaufe genau 68 Perin's auf dem Server Steamwalker. ( dFlyff )
Es schaut folgendermaßen aus: 1.5 <-> 1 ( 150 mio für 1 € )
Ich verkaufe nur in folgenden Schritten:
15 Perin = 10 €
|
All times are GMT +1. The time now is 04:35.
|
|