• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[SOLVED] Console Flusharenapoints

Status
Not open for further replies.

Blaze

Enthusiast
Hey EmuDev, I'm starting a new thread because I needed help with the "flusharenapoints" command. I haven't followed TrinityCore emulation for a few years and I see they have made a new system called RBAC and I can't use it at all.

I would like to make the command be usable by worldserver.exe (console) by typing ".flusharenapoints" in the console. Is it possible? If so, what do I have to change to get it to work?

Thanks in advance to all the guys who will answer me. Greetings, Blaze :)
 

foxthecrash

Respected Member
mmm if you want to give arenapoints the console can do it automatically, Go to your worldserver.conf and search -> ARENA CONFIG

Then change:
Code:
#
#    Arena.AutoDistributePoints
#        Description: Automatically distribute arena points.
#        Default:     0 - (Disabled)
#                     1 - (Enabled)

Arena.AutoDistributePoints = [COLOR="#FF0000"]0[/COLOR]

to: 1
Code:
#
#    Arena.AutoDistributePoints
#        Description: Automatically distribute arena points.
#        Default:     0 - (Disabled)
#                     1 - (Enabled)

Arena.AutoDistributePoints = [COLOR="#FF0000"]1[/COLOR]

Now it will distribute points automatically every 7 days.
 

Blaze

Enthusiast
It doesn't work from the console because 'AllowConsole' is set to false, meaning it needs to be done ingame. Not sure if you set it to true if it will crash the server or not, but you can try it.

In cs_misc.cpp, on this line: https://github.com/TrinityCore/TrinityCore/blob/master/src/server/scripts/Commands/cs_misc.cpp#L64

Set 'false' to 'true'.

Oh, thank you :) I'll try it :)

- - - Updated - - -

mmm if you want to give arenapoints the console can do it automatically, Go to your worldserver.conf and search -> ARENA CONFIG

Then change:
Code:
#
#    Arena.AutoDistributePoints
#        Description: Automatically distribute arena points.
#        Default:     0 - (Disabled)
#                     1 - (Enabled)

Arena.AutoDistributePoints = [COLOR="#FF0000"]0[/COLOR]

to: 1
Code:
#
#    Arena.AutoDistributePoints
#        Description: Automatically distribute arena points.
#        Default:     0 - (Disabled)
#                     1 - (Enabled)

Arena.AutoDistributePoints = [COLOR="#FF0000"]1[/COLOR]

Now it will distribute points automatically every 7 days.

Yeah I know but it prefer to distribute points manually. Thanks anyways :)
 

Tommy

Founder
I was going to check the config, but I was always denying there was something in there about that. No problem. :p
 

Blaze

Enthusiast
Status
Not open for further replies.
Top