Weapon Leveling Database

08/05/2013 11:32 raventh1984#1
Hi elitepvpers,

I know this has been asked many times. But never does anyone gave an good answer on this.

The one i need to know is where do i need to put
m_nWeaponLevel and m_nWeaponExp fields?
I think its in the LOGGING_01_DBF but i am not sure about it.

With kind regards.
08/05/2013 16:32 Ryunat#2
Quote:
Originally Posted by raventh1984 View Post
Hi elitepvpers,

I know this has been asked many times. But never does anyone gave an good answer on this.

The one i need to know is where do i need to put
m_nWeaponLevel and m_nWeaponExp fields?
I think its in the LOGGING_01_DBF but i am not sure about it.

With kind regards.
You only had to change your Source Code o.o
In this function:

void CDbManager::SaveOneItem( CItemElem* pItemElem, PItemStruct pItemStruct )
08/05/2013 21:42 raventh1984#3
Yes its already in there. But as most people are having its not saving it.
Cause when the database server gets restarted the weapon level is at 1 again with 0.0%exp.

Or do i need to add 2x %d to it also. I cant remember it anymore. My old source code is gone so i must begin from scrath.
08/05/2013 21:54 Ryunat#4
Quote:
Originally Posted by raventh1984 View Post
Yes its already in there. But as most people are having its not saving it.
Cause when the database server gets restarted the weapon level is at 1 again with 0.0%exp.

Or do i need to add 2x %d to it also. I cant remember it anymore. My old source code is gone so i must begin from scrath.
Yes you had to do this o.o
Each %d stands for a variable that you safe ^^
08/05/2013 22:27 raventh1984#5
hahaha. Thanks Andre for your solution. I know it had something to do with it didnt now what it was.

#closerequest.
06/05/2015 04:19 Ecrypter#6
hi., which part i can add this? variable %d ?
06/05/2015 08:54 .SnoX#7
Quote:
Originally Posted by Ecrypter View Post
hi., which part i can add this? variable %d ?
CDbManager::SaveOneItem DbManagerSave.cpp
06/06/2015 03:39 Ecrypter#8
okey., i got it., my leveling now is functionally exp. gain into 100% when killing mobs, but when i closed all program and back to open all the exp. i gain will lost and back to 0%, how to solve this to make stable the exp of weapon leveling?
06/07/2015 03:54 Ecrypter#9
who can give me the right code for the leveling weapon to save exp. gain?
06/07/2015 09:41 raventh1984#10
Quote:
Originally Posted by Ecrypter View Post
who can give me the right code for the leveling weapon to save exp. gain?

Its already been said. What you need to do.

Look at above post.
06/08/2015 07:48 Ecrypter#11
i know., buts nothings happen exp not save
06/08/2015 08:44 raventh1984#12
Check if you have an CQuery Log file.
06/09/2015 05:49 Ecrypter#13
no CQuery logs
06/10/2015 11:42 teejayu1#14
excuse me...who know how to fix this please

[Only registered and activated users can see links. Click Here To Register...]


please me please
06/13/2015 01:29 Ecrypter#15
Quote:
Originally Posted by teejayu1 View Post
excuse me...who know how to fix this please

[Only registered and activated users can see links. Click Here To Register...]


please me please

make your own thread