Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Yes, but there is no function that does that already right?

[DiscordArchive] Yes, but there is no function that does that already right?

[DiscordArchive] Yes, but there is no function that does that already right?

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
05-07-2021, 04:49 PM
#11
Archived author: Honey • Posted: 2021-05-07T16:49:45.964000+00:00
Original source

seems like it makes a query to me. i'm not sure if i could even expose that and if i did, if it would halt the core until there is a return
rektbyfaith
05-07-2021, 04:49 PM #11

Archived author: Honey • Posted: 2021-05-07T16:49:45.964000+00:00
Original source

seems like it makes a query to me. i'm not sure if i could even expose that and if i did, if it would halt the core until there is a return

rektbyfaith
Administrator
0
05-07-2021, 05:12 PM
#12
Archived author: Kitzunu • Posted: 2021-05-07T17:12:15.221000+00:00
Original source

test, you can always have nullptr check so it wont run if there isnt an account
rektbyfaith
05-07-2021, 05:12 PM #12

Archived author: Kitzunu • Posted: 2021-05-07T17:12:15.221000+00:00
Original source

test, you can always have nullptr check so it wont run if there isnt an account

rektbyfaith
Administrator
0
05-07-2021, 05:18 PM
#13
Archived author: Honey • Posted: 2021-05-07T17:18:31.306000+00:00
Original source

I'd make sure that the account exists 100% before calling it. But it seems to return id and username from acore_account.account instead of the names from the acore_characters.characters table
rektbyfaith
05-07-2021, 05:18 PM #13

Archived author: Honey • Posted: 2021-05-07T17:18:31.306000+00:00
Original source

I'd make sure that the account exists 100% before calling it. But it seems to return id and username from acore_account.account instead of the names from the acore_characters.characters table

rektbyfaith
Administrator
0
05-07-2021, 05:21 PM
#14
Archived author: Kitzunu • Posted: 2021-05-07T17:21:16.666000+00:00
Original source

> I'd make sure that the account exists 100% before calling it
Literally a null check tho
```cpp
if (account)
{
Now look for the characters on an account
}
```
rektbyfaith
05-07-2021, 05:21 PM #14

Archived author: Kitzunu • Posted: 2021-05-07T17:21:16.666000+00:00
Original source

> I'd make sure that the account exists 100% before calling it
Literally a null check tho
```cpp
if (account)
{
Now look for the characters on an account
}
```

rektbyfaith
Administrator
0
05-07-2021, 05:21 PM
#15
Archived author: Honey • Posted: 2021-05-07T17:21:46.698000+00:00
Original source

No, i mean Like i checked it in previous code
rektbyfaith
05-07-2021, 05:21 PM #15

Archived author: Honey • Posted: 2021-05-07T17:21:46.698000+00:00
Original source

No, i mean Like i checked it in previous code

rektbyfaith
Administrator
0
05-07-2021, 05:25 PM
#16
Archived author: Honey • Posted: 2021-05-07T17:25:09.271000+00:00
Original source

I probably better track the accounts and their characters in a Lua table instead of trying to get Data from the db
rektbyfaith
05-07-2021, 05:25 PM #16

Archived author: Honey • Posted: 2021-05-07T17:25:09.271000+00:00
Original source

I probably better track the accounts and their characters in a Lua table instead of trying to get Data from the db

rektbyfaith
Administrator
0
05-07-2021, 05:26 PM
#17
Archived author: Kitzunu • Posted: 2021-05-07T17:26:10.712000+00:00
Original source

I dont know what exactly you want to do... but as it already does this for that command I dont understand why not. But maybe cuz I am noob in cpp :d
rektbyfaith
05-07-2021, 05:26 PM #17

Archived author: Kitzunu • Posted: 2021-05-07T17:26:10.712000+00:00
Original source

I dont know what exactly you want to do... but as it already does this for that command I dont understand why not. But maybe cuz I am noob in cpp :d

rektbyfaith
Administrator
0
05-07-2021, 05:27 PM
#18
Archived author: Honey • Posted: 2021-05-07T17:27:57.885000+00:00
Original source

Haha, as If
rektbyfaith
05-07-2021, 05:27 PM #18

Archived author: Honey • Posted: 2021-05-07T17:27:57.885000+00:00
Original source

Haha, as If

rektbyfaith
Administrator
0
05-07-2021, 05:28 PM
#19
Archived author: Honey • Posted: 2021-05-07T17:28:06.552000+00:00
Original source

Thanks for your help, appreciate it
rektbyfaith
05-07-2021, 05:28 PM #19

Archived author: Honey • Posted: 2021-05-07T17:28:06.552000+00:00
Original source

Thanks for your help, appreciate it

Pages (2): Previous 1 2
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)