Newbie Spellweaver
- Joined
- Nov 25, 2019
- Messages
- 5
- Reaction score
- 5
As per the title.
I have searched the database but I can't find anything :/
Okay nevermind I have found it. It is the TQREWARDCHART table in TGAME_GSP.dbo.
bRewardType = 6 indicates that it is EXP and the corresponding dwRewardID will be the amount of EXP which will be rewarded for the Quest with the dwQuestID
You can also change it in TMapSvr project (which compiles the TMAP service) in TPlayer.cpp under the function
there will be some cases and under the
you just need to modify the
variable, which normally takes the EXP from the corresponding dwRewardID in the database.
So if you want to change your Quest EXP Rate in your server you would either multiply/divide every dwRewardID with bRewardType 6 in your database or you would write something like dwExp = dwExp * 4 in TPlayer.cpp
Here is the query to change the EXP Rate from 4.8 (when the first quest gives you 24 experience) to 1 (original)
I have searched the database but I can't find anything :/
Okay nevermind I have found it. It is the TQREWARDCHART table in TGAME_GSP.dbo.
bRewardType = 6 indicates that it is EXP and the corresponding dwRewardID will be the amount of EXP which will be rewarded for the Quest with the dwQuestID
You can also change it in TMapSvr project (which compiles the TMAP service) in TPlayer.cpp under the function
Code:
CTPlayer::OnQuestComplete
Code:
case RT_EXP
Code:
dwExp
So if you want to change your Quest EXP Rate in your server you would either multiply/divide every dwRewardID with bRewardType 6 in your database or you would write something like dwExp = dwExp * 4 in TPlayer.cpp
Here is the query to change the EXP Rate from 4.8 (when the first quest gives you 24 experience) to 1 (original)
SQL:
UPDATE TQREWARDCHART
SET dwRewardID = ROUND((dwRewardID / 4.8), 0)
WHERE bRewardType = 6;
Last edited: