Hi elitepvpers,
Well i was scripting the rebirth system over again to use and different field instead of m_nCampusPoint what most people are using.
So what i did was inside character_tbl i have an new field called m_nRebirth
Also in the character_str Procedure i have added these lines in their correct order
@im_nRebirth int = 0
U1
, m_nRebirth = @im_nRebirth
I1
, m_nRebirth
, 0
inside dbManagerSave.cpp
#ifdef __REBIRTH
",?"
#endif
#ifdef __REBIRTH
MAX_SAVEPARAM += 1; //m_nRebirth
#endif
#ifdef __REBIRTH
bOK[++j] = qry->BindParameter( i++, SQL_PARAM_INPUT, SQL_C_LONG, SQL_INTEGER, 0, 0, &pMover->m_nRebirth, 0, 0);
#endif
Compiling with no errors so you know that the rest of the code is correct.
Now when i do an rebirth i am recieving this error
After checking the tables its the same ammount. so no problems there
If i delete ",?" from dbManagerSave.cpp then i dont have that error the only problem then is that its not saving the rebirth.
Anyone can give me an tip on where to look?
With kind regards
Update
I have added JOPS_GlOW system
Now when i do an rebirth it is updating the GlowHandRight field instead of the m_nRebirth field.
Any help or tips that can lead to the fix will be appriciated.
Well i was scripting the rebirth system over again to use and different field instead of m_nCampusPoint what most people are using.
So what i did was inside character_tbl i have an new field called m_nRebirth
Also in the character_str Procedure i have added these lines in their correct order
@im_nRebirth int = 0
U1
, m_nRebirth = @im_nRebirth
I1
, m_nRebirth
, 0
inside dbManagerSave.cpp
#ifdef __REBIRTH
",?"
#endif
#ifdef __REBIRTH
MAX_SAVEPARAM += 1; //m_nRebirth
#endif
#ifdef __REBIRTH
bOK[++j] = qry->BindParameter( i++, SQL_PARAM_INPUT, SQL_C_LONG, SQL_INTEGER, 0, 0, &pMover->m_nRebirth, 0, 0);
#endif
Compiling with no errors so you know that the rest of the code is correct.
Now when i do an rebirth i am recieving this error
After checking the tables its the same ammount. so no problems there
If i delete ",?" from dbManagerSave.cpp then i dont have that error the only problem then is that its not saving the rebirth.
Anyone can give me an tip on where to look?
With kind regards
Update
I have added JOPS_GlOW system
Now when i do an rebirth it is updating the GlowHandRight field instead of the m_nRebirth field.
Any help or tips that can lead to the fix will be appriciated.