Wise
11-02-14, 12:56 PM
This patch allows players to set their XP and loot rate (multiplier) to a custom value.
Players are given two commands: .rate xp $value and .rate loot $value that will be used to change rates.
Maximum rates and who can use commands (account security) are configurable via config. values.
How to install:
1. Download/Get the scripts from link given below
(don't forget to say Thanks)
UPDATED LINK
**Hidden Content: Check the thread to see hidden data.**
2. Import character_loot_rate.sql and character_xp_rate.sql in your TC characters database
3. Import commands.sql in your TC world database (not necessarily needed, used to add help to commands)
4.
If your TrinityCore clone does not contain any custom scripts (original TrinityCoreClonePath\src\server\scripts\Custom\CMa keLists.txt) and you are too lazy to modify scripts/Custom/CMakeLists.txt you can apply individual_rates.patch to your TrinityCore clone, via git apply rates.patch or git patch -p1 < rates.patch (the file must be inside root TrinityCore folder), or GitExtensions. There are a lot of tutorials on how to apply patches via GIT.
OR
If you already have custom scripts (altered TrinityCoreClonePath\src\server\scripts\Custom\CMa keLists.txt)
Apply invdividual_rates.patch to your TrinityCore clone, then go to TrinityCoreClonePath\src\server\scripts\Custom and modify CMakeLists.txt to add custom_rates.cpp script. File should have the following structure:
set(scripts_STAT_SRCS
${scripts_STAT_SRCS}
Custom/custom script 1.cpp
Custom/custom script 2.cpp
.
.
.
Custom/custom_rates.cpp
)
Note: You will generally want to apply invdividual_rates.patch because more than sure you already have custom scripts.
5. Copy custom_rates.cpp to PathToTrinityCoreClone/src/server/scripts/custom
6. Use cmake to configure & generate TC project files again, then re-compile
7. Make sure to copy worldserver.conf.dist in your server's binaries folder, on the bottom it contains different configs for this patch
Patch was successfully applied on TC rev. https://github.com/TrinityCore/TrinityCore/commit/35f03185f2db2ebfb8b959e9c86257fdb88b734a
Credits silviu2008
Players are given two commands: .rate xp $value and .rate loot $value that will be used to change rates.
Maximum rates and who can use commands (account security) are configurable via config. values.
How to install:
1. Download/Get the scripts from link given below
(don't forget to say Thanks)
UPDATED LINK
**Hidden Content: Check the thread to see hidden data.**
2. Import character_loot_rate.sql and character_xp_rate.sql in your TC characters database
3. Import commands.sql in your TC world database (not necessarily needed, used to add help to commands)
4.
If your TrinityCore clone does not contain any custom scripts (original TrinityCoreClonePath\src\server\scripts\Custom\CMa keLists.txt) and you are too lazy to modify scripts/Custom/CMakeLists.txt you can apply individual_rates.patch to your TrinityCore clone, via git apply rates.patch or git patch -p1 < rates.patch (the file must be inside root TrinityCore folder), or GitExtensions. There are a lot of tutorials on how to apply patches via GIT.
OR
If you already have custom scripts (altered TrinityCoreClonePath\src\server\scripts\Custom\CMa keLists.txt)
Apply invdividual_rates.patch to your TrinityCore clone, then go to TrinityCoreClonePath\src\server\scripts\Custom and modify CMakeLists.txt to add custom_rates.cpp script. File should have the following structure:
set(scripts_STAT_SRCS
${scripts_STAT_SRCS}
Custom/custom script 1.cpp
Custom/custom script 2.cpp
.
.
.
Custom/custom_rates.cpp
)
Note: You will generally want to apply invdividual_rates.patch because more than sure you already have custom scripts.
5. Copy custom_rates.cpp to PathToTrinityCoreClone/src/server/scripts/custom
6. Use cmake to configure & generate TC project files again, then re-compile
7. Make sure to copy worldserver.conf.dist in your server's binaries folder, on the bottom it contains different configs for this patch
Patch was successfully applied on TC rev. https://github.com/TrinityCore/TrinityCore/commit/35f03185f2db2ebfb8b959e9c86257fdb88b734a
Credits silviu2008