Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] How do I read it from the SQL query then?

[DiscordArchive] How do I read it from the SQL query then?

[DiscordArchive] How do I read it from the SQL query then?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
09-21-2023, 06:19 PM
#1
Archived author: Thulz • Posted: 2023-09-21T18:19:20.200000+00:00
Original source

How do I read it from the SQL query then?
rektbyfaith
09-21-2023, 06:19 PM #1

Archived author: Thulz • Posted: 2023-09-21T18:19:20.200000+00:00
Original source

How do I read it from the SQL query then?

rektbyfaith
Administrator
0
09-21-2023, 06:19 PM
#2
Archived author: Thulz • Posted: 2023-09-21T18:19:23.746000+00:00
Original source

as UInt64?
rektbyfaith
09-21-2023, 06:19 PM #2

Archived author: Thulz • Posted: 2023-09-21T18:19:23.746000+00:00
Original source

as UInt64?

rektbyfaith
Administrator
0
09-21-2023, 06:20 PM
#3
Archived author: Thulz • Posted: 2023-09-21T18:20:41.714000+00:00
Original source

```
local _guid = Q:GetUInt64(7)
table.insert(mytable, { ..., GUID = _guid })
```
This won't work
rektbyfaith
09-21-2023, 06:20 PM #3

Archived author: Thulz • Posted: 2023-09-21T18:20:41.714000+00:00
Original source

```
local _guid = Q:GetUInt64(7)
table.insert(mytable, { ..., GUID = _guid })
```
This won't work

rektbyfaith
Administrator
0
09-21-2023, 06:20 PM
#4
Archived author: Nix • Posted: 2023-09-21T18:20:43.681000+00:00
Original source

The lower part of the GUID is sufficient, which is a UInt32
rektbyfaith
09-21-2023, 06:20 PM #4

Archived author: Nix • Posted: 2023-09-21T18:20:43.681000+00:00
Original source

The lower part of the GUID is sufficient, which is a UInt32

rektbyfaith
Administrator
0
09-21-2023, 06:21 PM
#5
Archived author: Foe • Posted: 2023-09-21T18:21:49.047000+00:00
Original source

the char table holds uint32 max anyway
rektbyfaith
09-21-2023, 06:21 PM #5

Archived author: Foe • Posted: 2023-09-21T18:21:49.047000+00:00
Original source

the char table holds uint32 max anyway

rektbyfaith
Administrator
0
09-21-2023, 06:21 PM
#6
Archived author: Thulz • Posted: 2023-09-21T18:21:57.236000+00:00
Original source

Aight cool it's working now thanks
rektbyfaith
09-21-2023, 06:21 PM #6

Archived author: Thulz • Posted: 2023-09-21T18:21:57.236000+00:00
Original source

Aight cool it's working now thanks

rektbyfaith
Administrator
0
09-21-2023, 06:22 PM
#7
Archived author: Thulz • Posted: 2023-09-21T18:22:11.431000+00:00
Original source

Core handles guid as uint64 tho?
rektbyfaith
09-21-2023, 06:22 PM #7

Archived author: Thulz • Posted: 2023-09-21T18:22:11.431000+00:00
Original source

Core handles guid as uint64 tho?

rektbyfaith
Administrator
0
09-21-2023, 06:22 PM
#8
Archived author: Foe • Posted: 2023-09-21T18:22:26.534000+00:00
Original source

it constructs the full guid based on the low guid stored in the db
rektbyfaith
09-21-2023, 06:22 PM #8

Archived author: Foe • Posted: 2023-09-21T18:22:26.534000+00:00
Original source

it constructs the full guid based on the low guid stored in the db

rektbyfaith
Administrator
0
09-21-2023, 06:23 PM
#9
Archived author: Nix • Posted: 2023-09-21T18:23:28.997000+00:00
Original source

Think of it like this, the GUID holds a type, and a unique identifier for the type
rektbyfaith
09-21-2023, 06:23 PM #9

Archived author: Nix • Posted: 2023-09-21T18:23:28.997000+00:00
Original source

Think of it like this, the GUID holds a type, and a unique identifier for the type

rektbyfaith
Administrator
0
09-21-2023, 06:23 PM
#10
Archived author: Nix • Posted: 2023-09-21T18:23:45.346000+00:00
Original source

That way you have a globally unique id, by including a type id
rektbyfaith
09-21-2023, 06:23 PM #10

Archived author: Nix • Posted: 2023-09-21T18:23:45.346000+00:00
Original source

That way you have a globally unique id, by including a type id

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