Register for your free account! | Forgot your password?

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

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

Advertisement



Taxes are not send

Discussion on Taxes are not send within the Flyff Private Server forum part of the Flyff category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2011
Posts: 91
Received Thanks: 10
Taxes are not send

Hello,

I have a strange problem with Taxes, i don't know why but the SecretRoom winner don't recieve them...

I have a strange error like this :

query:{call MAIL_STR('A1', 26086, '01', '0002523', '0000000', 1039500, 1477398601, 0, ?, ?,0, 0, 0, 0, 0, 0, 0, 0,0, 0, 0, 0, 0, 0, 0,0,0, 0, 0, 0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0, 0, 0, 0,0, 0, 0, 0, 0,0)}
SQLSTATE:22001 error:[Microsoft][SQL Native Client]String data, right truncation

Here is the function associated :


Maybe you know what's the problem ?

Thanks alot
firesqual is offline  
Old 10/25/2016, 17:06   #2
 
Offspringfan1234's Avatar
 
elite*gold: 0
Join Date: Jan 2012
Posts: 147
Received Thanks: 24
Sorry for the question but weren't you able to find something out through the debug mode?
Offspringfan1234 is offline  
Old 10/25/2016, 17:32   #3
 
elite*gold: 0
Join Date: Apr 2011
Posts: 91
Received Thanks: 10
I only debug my Worldserver when it crashes :/
firesqual is offline  
Old 10/26/2016, 04:51   #4
 
NoWay | Phoenix's Avatar
 
elite*gold: 0
Join Date: May 2014
Posts: 252
Received Thanks: 58
Upload: Resource/Lua/SecreetRoom....
I Check the Source Code later
NoWay | Phoenix is offline  
Old 10/26/2016, 09:10   #5
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
No need for Resource etc.

Its an truncation did you search google what it ment?

Its simple. The data that is inserted is larger then the field allows.

So it has nothing to do with the procedure.
DbManager.cpp
raventh1984 is offline  
Old 10/26/2016, 10:25   #6
 
elite*gold: 0
Join Date: Apr 2011
Posts: 91
Received Thanks: 10
Thanks, then what should i do ? Just increase every field size ?

Is there a way to know exactly which data is the truncated one ?
firesqual is offline  
Old 10/26/2016, 12:47   #7
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
Post your MAIL_STR here and your
Code:
 void CDbManager::MakeQueryAddMail( char* szSql, CMail* pMail, u_long idReceiver )
so i can compare it to what i have to see if there is something out of the order.
raventh1984 is offline  
Old 10/26/2016, 13:04   #8
 
elite*gold: 0
Join Date: Apr 2011
Posts: 91
Received Thanks: 10

STr :

firesqual is offline  
Old 10/26/2016, 22:50   #9
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
Seems the same.

Thus this only happen with the taxes? You can send gold for yourself to an other player?
Also over 1B?
raventh1984 is offline  
Old 10/27/2016, 12:20   #10
 
elite*gold: 0
Join Date: Apr 2011
Posts: 91
Received Thanks: 10
Mmh.. I'll try with 1B.

Edit : It worked with 1B, not Perins but 1b. So maybe there is something else ?
And yes it only happen with the taxes
firesqual is offline  
Old 10/27/2016, 13:07   #11
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
I think its still the gold.
Increase the table nGold from int to bigint. To see if that helps.
raventh1984 is offline  
Old 10/27/2016, 13:43   #12
 
elite*gold: 0
Join Date: Apr 2011
Posts: 91
Received Thanks: 10
Ok i'll try that thanks

Edit : Its already a bigint :c
firesqual is offline  
Old 10/27/2016, 14:08   #13
 
xTwiLightx's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,741
Received Thanks: 1,674
It seems that either the Title or the Text is too long for the column.By default, szTitle can take 128 and szText can take up to 255 characters.

Check what length your szText and szTitle columns (in MAIL_TBL) can take and check what your server wants to insert there (maybe with debug output, or some error log output for testing).
xTwiLightx is offline  
Old 10/27/2016, 14:57   #14
 
elite*gold: 0
Join Date: Apr 2011
Posts: 91
Received Thanks: 10
I changed the szText and szTitle values to varchar(MAX) already, i though it was that but its not :/
firesqual is offline  
Old 10/27/2016, 16:32   #15
 
xTwiLightx's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,741
Received Thanks: 1,674
Quote:
Originally Posted by firesqual View Post
I changed the szText and szTitle values to varchar(MAX) already, i though it was that but its not :/
Then it must happen while the quetion marks (?) are being binded to the values.

So check what length pMail->m_szText and pMail->m_szTitle have during runtime.
xTwiLightx is offline  
Closed Thread


Similar Threads Similar Threads
SMC : Fortress War Taxes
09/18/2018 - SRO Private Server - 5 Replies
Hello : i opened SmC : Schedule Controller : TAX_PERIOD , i'm trying to make guilds collect the fortress war taxes every day in the week and in any time , does any one know what is the option and time setting i should chose ? cuz i keep failing there is 2 options : 01- everyday for ( duration ) from (Start time)
[Trading] [H] 5€ Amazon GiftCard [W] 5€ paysafecard! can pay e*gold taxes, i go first
07/03/2016 - Trading - 2 Replies
hello, iam here to trade my earned amazon giftcard (5€) for a 5€ paysafecard! I will go first if you are trusted enough (atleast 100 tbm´s!!) otherwise i get ma code first :) iam ok with paying taxes
group level limit/taxes in the blackmarket
01/16/2014 - Shaiya PServer Development - 2 Replies
Hey guys I come with another request to you, what I am searching for is for a group level limit which i want to set. I don't know how, where and I have no idea. Also there are taxes in the blackmarket, anybody have an idea of where I can change them?
Created npc and Fortress taxes
10/09/2012 - SRO Private Server - 2 Replies
Hi, how to set npc selling items on fortress war tax system ?
[Bug] Taxes
10/20/2008 - Kal Online - 0 Replies
Hey... Well I play on a private server and I am the castle owner... well I had the following thing: When i took taxes, i had my full 2kkk. But when I taked it and put it in storage, i went back and saw it has again 2kkk... Well after geting the money a few times, i got c/l. Now the taxes are normal... I heared from some guys that they read about this bug and how to use it. Do anyone know of you how to use it? Would be great! Thanks



All times are GMT +1. The time now is 14:43.


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.