|
You last visited: Today at 08:01
Advertisement
[HELP] Message Box is showing to all players.
Discussion on [HELP] Message Box is showing to all players. within the Flyff Private Server forum part of the Flyff category.
07/20/2020, 23:53
|
#1
|
elite*gold: 0
Join Date: Aug 2016
Posts: 19
Received Thanks: 0
|
[HELP] Message Box is showing to all players.
Hi, this message box is shown to all players in random times and many other like the message "in refuse trading".
Somebody experienced this before?
|
|
|
07/21/2020, 01:04
|
#2
|
elite*gold: 0
Join Date: Nov 2009
Posts: 627
Received Thanks: 686
|
Quote:
Originally Posted by deleonrenz024
Hi, this message box is shown to all players in random times and many other like the message "in refuse trading".
Somebody experienced this before?
|
Just trace back the message to find where it gets sent from the server to players
In V15:
IDS_TEXTCLIENT_INC_000448 You cannot add into or remove items from the trading window anymore after the first confirmation.
And it leads to CDPSrvr::OnTradePut
......
Code:
if( pUser->m_vtInfo.TradeGetState() == TRADE_STEP_ITEM && pTrader->m_vtInfo.TradeGetState() == TRADE_STEP_ITEM )
{
short nItemNumResult = nItemNum;
DWORD dwText = pUser->m_vtInfo.TradeSetItem2( nId, i, nItemNumResult );
if( dwText == 0 )
{
pUser->AddTradePut( pUser->GetId(), i, nItemType, nId, nItemNumResult );
( (CUser*)pTrader )->AddTradePut( pUser->GetId(), i, nItemType, nId, nItemNumResult );
}
else
{
pUser->AddDefinedText( dwText );
}
}
else
{
pUser->AddTradePutError();
}
Check if you changed something in your code..basically that error message is sent when the function pUser->AddTradePutError() is called, so check where it is called in all your solution files.
|
|
|
07/21/2020, 18:22
|
#3
|
elite*gold: 18
Join Date: Sep 2009
Posts: 20,177
Received Thanks: 14,471
|
Quote:
Originally Posted by cookie69
Just trace back the message to find where it gets sent from the server to players
In V15:
IDS_TEXTCLIENT_INC_000448 You cannot add into or remove items from the trading window anymore after the first confirmation.
And it leads to CDPSrvr::OnTradePut
......
Code:
if( pUser->m_vtInfo.TradeGetState() == TRADE_STEP_ITEM && pTrader->m_vtInfo.TradeGetState() == TRADE_STEP_ITEM )
{
short nItemNumResult = nItemNum;
DWORD dwText = pUser->m_vtInfo.TradeSetItem2( nId, i, nItemNumResult );
if( dwText == 0 )
{
pUser->AddTradePut( pUser->GetId(), i, nItemType, nId, nItemNumResult );
( (CUser*)pTrader )->AddTradePut( pUser->GetId(), i, nItemType, nId, nItemNumResult );
}
else
{
pUser->AddDefinedText( dwText );
}
}
else
{
pUser->AddTradePutError();
}
Check if you changed something in your code..basically that error message is sent when the function pUser->AddTradePutError() is called, so check where it is called in all your solution files.
|
The reason for this error to happen is due to a packet mismatch between client and server. Has nothing to do with trading in general.
|
|
|
07/21/2020, 19:03
|
#4
|
elite*gold: 0
Join Date: Nov 2009
Posts: 627
Received Thanks: 686
|
Quote:
Originally Posted by Sedrika
The reason for this error to happen is due to a packet mismatch between client and server. Has nothing to do with trading in general.
|
I would say that too, it does not make any sens it that was related to trading as that trading error would never happen, it would just happen if a cheater tried to put items on the trade window after someone has already confirmed his trading, and even doing this, only the cheater would receive the error message...
I hope "devs" nowadays try at least to do basic things in order to investigate about an issue...
|
|
|
07/25/2020, 08:09
|
#5
|
elite*gold: 0
Join Date: Aug 2016
Posts: 19
Received Thanks: 0
|
Quote:
Originally Posted by cookie69
I would say that too, it does not make any sens it that was related to trading as that trading error would never happen, it would just happen if a cheater tried to put items on the trade window after someone has already confirmed his trading, and even doing this, only the cheater would receive the error message...
I hope "devs" nowadays try at least to do basic things in order to investigate about an issue...
|
I've tried what you say on the first post before posting here. I'm still learning. Thank you.
|
|
|
All times are GMT +2. The time now is 08:01.
|
|