Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] ```c++

[DiscordArchive] ```c++

[DiscordArchive] ```c++

Pages (4): 1 2 3 4 Next
rektbyfaith
Administrator
0
07-17-2022, 03:28 PM
#1
Archived author: Trojan • Posted: 2023-09-05T23:15:36.806000+00:00
Original source

```c++
int8 maxLevelCharacters = CharacterDatabase.Execute("SELECT guid FROM characters WHERE level = '80' AND account = '%u'", player->GetSession()->GetAccountId());
```
Can i use this statement to get all lvl 80s of a account?
rektbyfaith
07-17-2022, 03:28 PM #1

Archived author: Trojan • Posted: 2023-09-05T23:15:36.806000+00:00
Original source

```c++
int8 maxLevelCharacters = CharacterDatabase.Execute("SELECT guid FROM characters WHERE level = '80' AND account = '%u'", player->GetSession()->GetAccountId());
```
Can i use this statement to get all lvl 80s of a account?

rektbyfaith
Administrator
0
07-17-2022, 03:30 PM
#2
Archived author: Revision • Posted: 2022-07-17T15:30:44.615000+00:00
Original source

The first one, false, removes the enchantment
rektbyfaith
07-17-2022, 03:30 PM #2

Archived author: Revision • Posted: 2022-07-17T15:30:44.615000+00:00
Original source

The first one, false, removes the enchantment

rektbyfaith
Administrator
0
07-17-2022, 03:30 PM
#3
Archived author: Revision • Posted: 2022-07-17T15:30:55.796000+00:00
Original source

As far as I know, at least.
rektbyfaith
07-17-2022, 03:30 PM #3

Archived author: Revision • Posted: 2022-07-17T15:30:55.796000+00:00
Original source

As far as I know, at least.

rektbyfaith
Administrator
0
07-17-2022, 03:31 PM
#4
Archived author: Anchy • Posted: 2022-07-17T15:31:31.607000+00:00
Original source

oh okay, so it might not even need to be there if I can just check if the enchantment already exists
rektbyfaith
07-17-2022, 03:31 PM #4

Archived author: Anchy • Posted: 2022-07-17T15:31:31.607000+00:00
Original source

oh okay, so it might not even need to be there if I can just check if the enchantment already exists

rektbyfaith
Administrator
0
07-17-2022, 03:31 PM
#5
Archived author: Anchy • Posted: 2022-07-17T15:31:40.208000+00:00
Original source

I'd prefer not to overwrite enchantment I guess
rektbyfaith
07-17-2022, 03:31 PM #5

Archived author: Anchy • Posted: 2022-07-17T15:31:40.208000+00:00
Original source

I'd prefer not to overwrite enchantment I guess

rektbyfaith
Administrator
0
07-17-2022, 03:32 PM
#6
Archived author: Revision • Posted: 2022-07-17T15:32:38.623000+00:00
Original source

Yeah, exactly.
rektbyfaith
07-17-2022, 03:32 PM #6

Archived author: Revision • Posted: 2022-07-17T15:32:38.623000+00:00
Original source

Yeah, exactly.

rektbyfaith
Administrator
0
07-17-2022, 03:33 PM
#7
Archived author: Anchy • Posted: 2022-07-17T15:33:22.206000+00:00
Original source

thanks
rektbyfaith
07-17-2022, 03:33 PM #7

Archived author: Anchy • Posted: 2022-07-17T15:33:22.206000+00:00
Original source

thanks

rektbyfaith
Administrator
0
07-17-2022, 03:34 PM
#8
Archived author: Revision • Posted: 2022-07-17T15:34:23.141000+00:00
Original source

Could easily have an if within that function to check if an enchantement is active, then return
rektbyfaith
07-17-2022, 03:34 PM #8

Archived author: Revision • Posted: 2022-07-17T15:34:23.141000+00:00
Original source

Could easily have an if within that function to check if an enchantement is active, then return

rektbyfaith
Administrator
0
07-17-2022, 03:36 PM
#9
Archived author: eldwarvo0001 • Posted: 2022-07-17T15:36:11.100000+00:00
Original source

even with preloading the grids it crashes
rektbyfaith
07-17-2022, 03:36 PM #9

Archived author: eldwarvo0001 • Posted: 2022-07-17T15:36:11.100000+00:00
Original source

even with preloading the grids it crashes

rektbyfaith
Administrator
0
07-17-2022, 03:36 PM
#10
Archived author: eldwarvo0001 • Posted: 2022-07-17T15:36:26.455000+00:00
Original source

so what does it do after loading the grips
rektbyfaith
07-17-2022, 03:36 PM #10

Archived author: eldwarvo0001 • Posted: 2022-07-17T15:36:26.455000+00:00
Original source

so what does it do after loading the grips

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