|
You last visited: Today at 18:17
Advertisement
Tabbed DB Save Issue
Discussion on Tabbed DB Save Issue within the Flyff Private Server forum part of the Flyff category.
11/16/2016, 03:48
|
#1
|
elite*gold: 0
Join Date: Jul 2016
Posts: 36
Received Thanks: 17
|
Tabbed DB Save Issue
I added the tabbed inventory, double checked everything with winmerge and even compareIT. It's all defined in the correct projects to.
Everything compiles fine, however when the player logs out or it saves it dispenses this error:
Code:
2016/11/15 21:43:05
CQuery::BindParameter - result : -1, ThreadID : 2532
2016/11/15 21:43:05
CQuery::BindParameter - result : -1, ThreadID : 2532
2016/11/15 21:43:05
CQuery::BindParameter - result : -1, ThreadID : 2532
2016/11/15 21:43:05
CQuery::BindParameter - result : -1, ThreadID : 2532
2016/11/15 21:43:05
CQuery::BindParameter - result : -1, ThreadID : 2532
2016/11/15 21:43:05
CQuery::BindParameter - result : -1, ThreadID : 2532
2016/11/15 21:43:05
CQuery::BindParameter - result : -1, ThreadID : 2532
2016/11/15 21:43:05
CQuery::BindParameter - result : -1, ThreadID : 2532
2016/11/15 21:43:05
CQuery::BindParameter - result : -1, ThreadID : 2532
2016/11/15 21:43:05
CQuery::BindParameter - result : -1, ThreadID : 2532
2016/11/15 21:43:05
SavePlayer(Testers) - 64th bindparam error - 2532
2016/11/15 21:43:05
try DB Reconnect... - ThreadId : 2532
2016/11/15 21:43:05
DB Reconnect Success! - ThreadId : 2532
If u reboot the server the character is well wiped.
I changed the following according to the other Database for my database.
Why is this happening, what am i missing o.o?
|
|
|
11/16/2016, 10:58
|
#2
|
elite*gold: 10
Join Date: Jan 2015
Posts: 937
Received Thanks: 449
|
Leeched Form Dragon Cross ?
|
|
|
11/16/2016, 11:35
|
#3
|
elite*gold: 0
Join Date: Aug 2009
Posts: 228
Received Thanks: 26
|
Just check if server is sending all parameters to query is correct, maybe is missing something.
|
|
|
11/16/2016, 12:27
|
#4
|
elite*gold: 0
Join Date: Mar 2008
Posts: 665
Received Thanks: 230
|
Check number 64, there are over 110 params in total.
SavePlayer(Testers) - 64th bindparam error - 2532
|
|
|
11/16/2016, 14:07
|
#5
|
elite*gold: 0
Join Date: Jul 2016
Posts: 36
Received Thanks: 17
|
Quote:
Originally Posted by Gentros'
Leeched Form Dragon Cross ?
|
Yes
Quote:
Originally Posted by alfredico
Check number 64, there are over 110 params in total.
SavePlayer(Testers) - 64th bindparam error - 2532
|
How do u count these out exactly?
Theres
?
MAX_SAVEPARAM +
bOK[++j] = qry->BindParameter
Which one do you count?
This is also my DbManagerSave.cpp:
----------------------------------------------------------------------------------------------------------
After counting down if i'm correct i assume its :
Code:
bOK[++j] = qry->BindParameter( ++i, SQL_PARAM_INPUT, SQL_C_SHORT, SQL_SMALLINT, 0, 0, &pMover->m_UserTaskBar.m_nActionPoint, 0, 0 );
Which dragoncross or w/e shows this:
Code:
#ifndef __NEW_THEME
bOK[++j] = qry->BindParameter( ++i, SQL_PARAM_INPUT, SQL_C_SHORT, SQL_SMALLINT, 0, 0, &pMover->m_UserTaskBar.m_nActionPoint, 0, 0 );
#else //__NEW_THEME
int nAP = 0;
bOK[++j] = qry->BindParameter( ++i, SQL_PARAM_INPUT, SQL_C_SHORT, SQL_SMALLINT, 0, 0, &nAP, 0, 0 );
#endif //__NEW_THEME
I dont use the v19 skin nor did i add this so im not sure where or how to stop this?
|
|
|
11/16/2016, 14:31
|
#6
|
elite*gold: 10
Join Date: Jan 2015
Posts: 937
Received Thanks: 449
|
Your SaveInventory:
Code:
#ifdef __TABBED_INV
strncat( pItemContainerStruct->szItem4, NullStr, sizeof(NullStr) );
#else
strncat( pItemContainerStruct->szItem, NullStr, sizeof(NullStr) );
#endif
My SaveInventory:
Code:
#ifdef __TABBED_INV
strncat(pItemContainerStruct->szItem, NullStr, sizeof(NullStr));
strncat(pItemContainerStruct->szItem2, NullStr, sizeof(NullStr));
strncat(pItemContainerStruct->szItem3, NullStr, sizeof(NullStr));
strncat(pItemContainerStruct->szItem4, NullStr, sizeof(NullStr));
#else
strncat(pItemContainerStruct->szItem, NullStr, sizeof(NullStr));
#endif
My tabbed Inventory works good and stable.
|
|
|
11/16/2016, 14:54
|
#7
|
elite*gold: 0
Join Date: Jul 2016
Posts: 36
Received Thanks: 17
|
Quote:
Originally Posted by Gentros'
Your SaveInventory:
Code:
#ifdef __TABBED_INV
strncat( pItemContainerStruct->szItem4, NullStr, sizeof(NullStr) );
#else
strncat( pItemContainerStruct->szItem, NullStr, sizeof(NullStr) );
#endif
My SaveInventory:
Code:
#ifdef __TABBED_INV
strncat(pItemContainerStruct->szItem, NullStr, sizeof(NullStr));
strncat(pItemContainerStruct->szItem2, NullStr, sizeof(NullStr));
strncat(pItemContainerStruct->szItem3, NullStr, sizeof(NullStr));
strncat(pItemContainerStruct->szItem4, NullStr, sizeof(NullStr));
#else
strncat(pItemContainerStruct->szItem, NullStr, sizeof(NullStr));
#endif
My tabbed Inventory works good and stable.
|
I tried this and it made no difference
|
|
|
11/17/2016, 05:23
|
#8
|
elite*gold: 115
Join Date: Jan 2012
Posts: 1,156
Received Thanks: 894
|
@
What?? Only szItem4 got the /$ then you will nullstr all? Possible the dragoncross tab will not save..
|
|
|
12/22/2016, 15:43
|
#9
|
elite*gold: 0
Join Date: Dec 2008
Posts: 306
Received Thanks: 59
|
Quote:
Originally Posted by Rhyder`
@
What?? Only szItem4 got the /$ then you will nullstr all? Possible the dragoncross tab will not save..
|
So how to fix it sir ?
|
|
|
Similar Threads
|
Tabbed Inv
10/10/2015 - Flyff Private Server - 8 Replies
Hi I was wondering if anyone knows how to add tabbed inventory to the source. I been trying for a few days and I can't seem to get it.
|
[DE] Ruthless Renegade|15k Startgeld|Medics|Save Gear|Z-Save|High FPS|Perm Gangs
08/03/2014 - Private Server Advertising - 3 Replies
Kann geschlossen werden
|
[Trusted|Billig|Save] KillService By .Replay' & PerfectTyga [100%Save]
03/26/2013 - WarRock Trading - 13 Replies
Hallo Epvp PerfectTyga & Ich biete euch einen Killservice an.
http://s7.directupload.net/images/130308/hb4lolcm .jpg
Ablauf : Wir Stellen uns mit einem "NoSpawnWait-Hack" afk & ihr killt uns, dies rate ich euch mit einem Auto (Humwee)
zu tuhen , denn pro kill bekommt ihr 7 Punkte statt den gewohnten 5 Punkten pro Kill :)
Ablauf˛ : Ihr gebt uns ID+PW , und wir machen euch die kills :)
|
All times are GMT +1. The time now is 18:17.
|
|