Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] What does that do exactly in c++?

[DiscordArchive] What does that do exactly in c++?

[DiscordArchive] What does that do exactly in c++?

Pages (4): 1 2 3 4 Next
rektbyfaith
Administrator
0
06-14-2022, 02:27 PM
#1
Archived author: Foe • Posted: 2022-06-14T14:27:11.643000+00:00
Original source

What does that do exactly in c++?
rektbyfaith
06-14-2022, 02:27 PM #1

Archived author: Foe • Posted: 2022-06-14T14:27:11.643000+00:00
Original source

What does that do exactly in c++?

rektbyfaith
Administrator
0
06-14-2022, 02:27 PM
#2
Archived author: Revision • Posted: 2022-06-14T14:27:22.767000+00:00
Original source

I gets the set values loaded from worldserver.conf
rektbyfaith
06-14-2022, 02:27 PM #2

Archived author: Revision • Posted: 2022-06-14T14:27:22.767000+00:00
Original source

I gets the set values loaded from worldserver.conf

rektbyfaith
Administrator
0
06-14-2022, 02:28 PM
#3
Archived author: Foe • Posted: 2022-06-14T14:28:08.147000+00:00
Original source

Oh, for config stuff, I don't think we ever exposed that to the Lua engine but you can make a function to read the config file with file io i guess
rektbyfaith
06-14-2022, 02:28 PM #3

Archived author: Foe • Posted: 2022-06-14T14:28:08.147000+00:00
Original source

Oh, for config stuff, I don't think we ever exposed that to the Lua engine but you can make a function to read the config file with file io i guess

rektbyfaith
Administrator
0
06-14-2022, 02:28 PM
#4
Archived author: Foe • Posted: 2022-06-14T14:28:24.053000+00:00
Original source

I did expose it for a previous project I worked on, but never really used it much
rektbyfaith
06-14-2022, 02:28 PM #4

Archived author: Foe • Posted: 2022-06-14T14:28:24.053000+00:00
Original source

I did expose it for a previous project I worked on, but never really used it much

rektbyfaith
Administrator
0
06-14-2022, 02:28 PM
#5
Archived author: Revision • Posted: 2022-06-14T14:28:32.154000+00:00
Original source

for instance I grab sWorld->getRate(RATE_XP_KILL) and I can run sWorld->setRate(RATE_XP_KILL, rateExperienceKill) where rateExperienceKill is from getRate multiplied by whatever value you set in the modules config. I do this instead of running on the triggers when earning exp etc
rektbyfaith
06-14-2022, 02:28 PM #5

Archived author: Revision • Posted: 2022-06-14T14:28:32.154000+00:00
Original source

for instance I grab sWorld->getRate(RATE_XP_KILL) and I can run sWorld->setRate(RATE_XP_KILL, rateExperienceKill) where rateExperienceKill is from getRate multiplied by whatever value you set in the modules config. I do this instead of running on the triggers when earning exp etc

rektbyfaith
Administrator
0
06-14-2022, 02:29 PM
#6
Archived author: Foe • Posted: 2022-06-14T14:29:12.811000+00:00
Original source

Wouldn't that set the rate for every single player in that case?
rektbyfaith
06-14-2022, 02:29 PM #6

Archived author: Foe • Posted: 2022-06-14T14:29:12.811000+00:00
Original source

Wouldn't that set the rate for every single player in that case?

rektbyfaith
Administrator
0
06-14-2022, 02:29 PM
#7
Archived author: Foe • Posted: 2022-06-14T14:29:19.071000+00:00
Original source

I guess that might be intentional
rektbyfaith
06-14-2022, 02:29 PM #7

Archived author: Foe • Posted: 2022-06-14T14:29:19.071000+00:00
Original source

I guess that might be intentional

rektbyfaith
Administrator
0
06-14-2022, 02:29 PM
#8
Archived author: Foe • Posted: 2022-06-14T14:29:58.727000+00:00
Original source

Personally I did on XP hooks, but we had player defined variable xp
rektbyfaith
06-14-2022, 02:29 PM #8

Archived author: Foe • Posted: 2022-06-14T14:29:58.727000+00:00
Original source

Personally I did on XP hooks, but we had player defined variable xp

rektbyfaith
Administrator
0
06-14-2022, 02:30 PM
#9
Archived author: Revision • Posted: 2022-06-14T14:30:04.339000+00:00
Original source

Yes, that was what I wanted. It's my weekend bonus module, and it also sets reputation, money earned, weapon and defense skill ups aswell as professions rates. It's just easier than trying to figure out for instance how to modify the money earned.
rektbyfaith
06-14-2022, 02:30 PM #9

Archived author: Revision • Posted: 2022-06-14T14:30:04.339000+00:00
Original source

Yes, that was what I wanted. It's my weekend bonus module, and it also sets reputation, money earned, weapon and defense skill ups aswell as professions rates. It's just easier than trying to figure out for instance how to modify the money earned.

rektbyfaith
Administrator
0
06-14-2022, 02:30 PM
#10
Archived author: Revision • Posted: 2022-06-14T14:30:41.917000+00:00
Original source

It's not the end of the world, I was just curious if it was possible right now.
rektbyfaith
06-14-2022, 02:30 PM #10

Archived author: Revision • Posted: 2022-06-14T14:30:41.917000+00:00
Original source

It's not the end of the world, I was just curious if it was possible right now.

Pages (4): 1 2 3 4 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)