PDA

View Full Version : Individual player XP and loot rates for latest TrinityCore 3.3.5a



Wise
11-02-14, 11:56 AM
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

Rhodderz
19-02-17, 02:04 AM
Cheers for this, Exactly what im looking for.

tortosi
13-03-17, 09:00 AM
I test it and comment if works or not

sajjadfrank
08-05-17, 10:48 PM
(-_-) Ty

tortosi
17-05-17, 07:01 PM
Don't work :(

Oraorian
22-05-17, 10:03 AM
its outdated

mariodanny91
24-05-17, 12:57 PM
good work :cool:

Seebaby
08-06-17, 02:56 PM
Pls Update not work on New Trinitycore

airmaster123
14-07-17, 07:34 PM
Anyone know if this still works? Will attempt to try.

teryaki1
10-10-17, 12:28 AM
Does this still work?

Dr.Core
12-10-17, 06:32 PM
The source is 4 years old, you need to upgrade it manually by your self. Or rent a developer to update it.

Austerror
05-10-18, 09:11 PM
Keen to test

scpn
15-12-18, 08:20 AM
How to install:
1. Download/Get the scripts from link given below
(don't forget to say Thanks)

UPDATED LINK
***Hidden content cannot be quoted.***

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. Script/SAI: Fix runtime errors * TrinityCore/TrinityCore@35f0318 * GitHub (https://github.com/TrinityCore/TrinityCore/commit/35f03185f2db2ebfb8b959e9c86257fdb88b734a)

Credits silviu2008

Does it works now? or need update?

UW Nexus
07-02-19, 06:34 PM
wtf is this bs forum forcing me to reply to see a dl link

Trixx
19-04-19, 12:30 PM
awesome

Kapeng
17-05-19, 04:52 AM
:confused:

OpgamerDK
23-05-19, 12:27 PM
Great work :D

thexseba1
01-06-19, 08:05 PM
buen aporte

newblader2k
09-10-19, 03:31 PM
thx i will test this script :)

azertyazerty
30-03-20, 11:23 AM
thanks

markus12345
01-04-20, 01:17 AM
thanks

szhsunshine
27-11-20, 06:04 AM
thanks

ravish123
29-11-20, 10:07 PM
Thanks, gonna give it a try.

SmokeRover
25-02-21, 02:38 AM
thanks

fenix1
15-03-21, 08:16 PM
_Nice

remamakiller
17-07-21, 09:04 AM
Thank you very much, let's see if I can make it work.

ziryn
15-12-21, 10:04 AM
Thx man you saved my life

alomir
28-02-22, 01:11 PM
nice?

alekasor
08-09-22, 07:00 AM
How to install:
1. Download/Get the scripts from link given below
(don't forget to say Thanks)

UPDATED LINK
***Hidden content cannot be quoted.***

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
Goooder

pepe123
19-12-22, 06:49 PM
Thanks

Logandros
08-01-23, 08:05 PM
Still working?

6yTblJIka
10-03-23, 10:54 AM
good job mate !:cool:

elerendon
28-06-23, 01:54 PM
thanks

Mysterium
22-07-23, 04:51 PM
For testing

zic789
18-08-23, 09:43 AM
как получить ссылку?

remamakiller
18-08-23, 02:12 PM
Excellent contribution
Thank you very much

Ayiko
24-08-23, 02:12 PM
nice, looks good

wbsnake
07-09-23, 09:03 AM
Cheers for this, Exactly what im looking for.

DarkAngelDE
08-03-24, 03:11 PM
Looks good Thanks