Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] <@156235732955037697> possible options, use the server console to rename, use a GM character to ren

[DiscordArchive] <@156235732955037697> possible options, use the server console to rename, use a GM character to ren

[DiscordArchive] <@156235732955037697> possible options, use the server console to rename, use a GM character to ren

rektbyfaith
Administrator
0
09-26-2019, 07:40 PM
#1
Archived author: MMjr • Posted: 2019-09-26T19:40:48.808000+00:00
Original source

<@156235732955037697> possible options, use the server console to rename, use a GM character to rename, manually edit de name in the database?
rektbyfaith
09-26-2019, 07:40 PM #1

Archived author: MMjr • Posted: 2019-09-26T19:40:48.808000+00:00
Original source

<@156235732955037697> possible options, use the server console to rename, use a GM character to rename, manually edit de name in the database?

rektbyfaith
Administrator
0
09-26-2019, 07:47 PM
#2
Archived author: MMjr • Posted: 2019-09-26T19:47:34.697000+00:00
Original source

On an unrelated note, I'm currently dabbling a bit in C++ custom scripts from Trinity Core 3.3.5. However I am running into a problem. I am trying to get the players pet (I know this can be done via player->GetPet() ) however at the moment I am doing this is directly after a player enter an instance. My hypothesis is that the pet has not yet spawned in yet when this is triggered and thus this returns a null_ptr. Does anyone have any suggestions on how to wait until the pet is there (I tried spinning up a thread with a timer to delay, however this kept locking up the game or resulting in segmentation faults)? or if there is some other trigger I can use?
rektbyfaith
09-26-2019, 07:47 PM #2

Archived author: MMjr • Posted: 2019-09-26T19:47:34.697000+00:00
Original source

On an unrelated note, I'm currently dabbling a bit in C++ custom scripts from Trinity Core 3.3.5. However I am running into a problem. I am trying to get the players pet (I know this can be done via player->GetPet() ) however at the moment I am doing this is directly after a player enter an instance. My hypothesis is that the pet has not yet spawned in yet when this is triggered and thus this returns a null_ptr. Does anyone have any suggestions on how to wait until the pet is there (I tried spinning up a thread with a timer to delay, however this kept locking up the game or resulting in segmentation faults)? or if there is some other trigger I can use?

rektbyfaith
Administrator
0
09-26-2019, 08:21 PM
#3
Archived author: fealix • Posted: 2019-09-26T20:21:04.380000+00:00
Original source

<@161041070115782656> Thanks for following up. yeah I tried to change it in the database but when I log in it kicks me back out and forces a rename. I have used this to allow other players to have names that would otherwise be blocked and they are good. but this seems specific to GM names.
rektbyfaith
09-26-2019, 08:21 PM #3

Archived author: fealix • Posted: 2019-09-26T20:21:04.380000+00:00
Original source

<@161041070115782656> Thanks for following up. yeah I tried to change it in the database but when I log in it kicks me back out and forces a rename. I have used this to allow other players to have names that would otherwise be blocked and they are good. but this seems specific to GM names.

rektbyfaith
Administrator
0
09-26-2019, 08:22 PM
#4
Archived author: fealix • Posted: 2019-09-26T20:22:00.746000+00:00
Original source

I have been going around the internet all morning and the closest solution I found requires ownedcraft GM commands.
rektbyfaith
09-26-2019, 08:22 PM #4

Archived author: fealix • Posted: 2019-09-26T20:22:00.746000+00:00
Original source

I have been going around the internet all morning and the closest solution I found requires ownedcraft GM commands.

rektbyfaith
Administrator
0
09-26-2019, 08:22 PM
#5
Archived author: fealix • Posted: 2019-09-26T20:22:19.025000+00:00
Original source

I did not see a command in console to rename let me look into that and I will let you know.
rektbyfaith
09-26-2019, 08:22 PM #5

Archived author: fealix • Posted: 2019-09-26T20:22:19.025000+00:00
Original source

I did not see a command in console to rename let me look into that and I will let you know.

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)