Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] For what, single line if?

[DiscordArchive] For what, single line if?

[DiscordArchive] For what, single line if?

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
11-25-2023, 04:39 AM
#11
Archived author: Bench • Posted: 2023-11-25T04:39:53.433000+00:00
Original source

I mean I guess that's fair but like
rektbyfaith
11-25-2023, 04:39 AM #11

Archived author: Bench • Posted: 2023-11-25T04:39:53.433000+00:00
Original source

I mean I guess that's fair but like

rektbyfaith
Administrator
0
11-25-2023, 04:41 AM
#12
Archived author: Anchy • Posted: 2023-11-25T04:41:28.259000+00:00
Original source

i always use curly braces
rektbyfaith
11-25-2023, 04:41 AM #12

Archived author: Anchy • Posted: 2023-11-25T04:41:28.259000+00:00
Original source

i always use curly braces

rektbyfaith
Administrator
0
11-25-2023, 04:42 AM
#13
Archived author: Bench • Posted: 2023-11-25T04:42:14.361000+00:00
Original source

Your face is a curly brace
rektbyfaith
11-25-2023, 04:42 AM #13

Archived author: Bench • Posted: 2023-11-25T04:42:14.361000+00:00
Original source

Your face is a curly brace

rektbyfaith
Administrator
0
11-25-2023, 04:48 AM
#14
Archived author: Rymercyble • Posted: 2023-11-25T04:48:36.534000+00:00
Original source

surrender and come to dark side
rektbyfaith
11-25-2023, 04:48 AM #14

Archived author: Rymercyble • Posted: 2023-11-25T04:48:36.534000+00:00
Original source

surrender and come to dark side

rektbyfaith
Administrator
0
11-25-2023, 05:01 AM
#15
Archived author: Rymercyble • Posted: 2023-11-25T05:01:45.727000+00:00
Original source

pussywizard saved me
rektbyfaith
11-25-2023, 05:01 AM #15

Archived author: Rymercyble • Posted: 2023-11-25T05:01:45.727000+00:00
Original source

pussywizard saved me

rektbyfaith
Administrator
0
11-25-2023, 05:01 AM
#16
Archived author: Rymercyble • Posted: 2023-11-25T05:01:57.606000+00:00
Original source

```cpp
// pussywizard: spells learnt from talents are added as TEMPORARY, so not saved to db (only the talent itself is saved)
```
rektbyfaith
11-25-2023, 05:01 AM #16

Archived author: Rymercyble • Posted: 2023-11-25T05:01:57.606000+00:00
Original source

```cpp
// pussywizard: spells learnt from talents are added as TEMPORARY, so not saved to db (only the talent itself is saved)
```

rektbyfaith
Administrator
0
11-25-2023, 06:48 AM
#17
Archived author: Rymercyble • Posted: 2023-11-25T06:48:29.942000+00:00
Original source

i needed to drop world and i noticed that actually its 7 months since last squash im kind of surprised that they are not more often
rektbyfaith
11-25-2023, 06:48 AM #17

Archived author: Rymercyble • Posted: 2023-11-25T06:48:29.942000+00:00
Original source

i needed to drop world and i noticed that actually its 7 months since last squash im kind of surprised that they are not more often

rektbyfaith
Administrator
0
11-25-2023, 07:35 AM
#18
Archived author: Rymercyble • Posted: 2023-11-25T07:35:51.138000+00:00
Original source

can any1 explain to me why this works
```cpp
QueryResult talents = CharacterDatabase.Query("SELECT * FROM talents");
```
and this doesnt ?
```cpp
PrepareStatement(CHAR_SEL_TALENTS, "SELECT * FROM talents", CONNECTION_ASYNC);

CharacterDatabasePreparedStatement *statement = CharacterDatabase.GetPreparedStatement(CHAR_SEL_TALENTS);
PreparedQueryResult talents = CharacterDatabase.Query(statement);
```
rektbyfaith
11-25-2023, 07:35 AM #18

Archived author: Rymercyble • Posted: 2023-11-25T07:35:51.138000+00:00
Original source

can any1 explain to me why this works
```cpp
QueryResult talents = CharacterDatabase.Query("SELECT * FROM talents");
```
and this doesnt ?
```cpp
PrepareStatement(CHAR_SEL_TALENTS, "SELECT * FROM talents", CONNECTION_ASYNC);

CharacterDatabasePreparedStatement *statement = CharacterDatabase.GetPreparedStatement(CHAR_SEL_TALENTS);
PreparedQueryResult talents = CharacterDatabase.Query(statement);
```

rektbyfaith
Administrator
0
11-25-2023, 07:37 AM
#19
Archived author: Rymercyble • Posted: 2023-11-25T07:37:59.405000+00:00
Original source

there is not any clear error it just fails on assertion in MySQLConnection::_Query
rektbyfaith
11-25-2023, 07:37 AM #19

Archived author: Rymercyble • Posted: 2023-11-25T07:37:59.405000+00:00
Original source

there is not any clear error it just fails on assertion in MySQLConnection::_Query

rektbyfaith
Administrator
0
11-25-2023, 08:09 AM
#20
Archived author: Rymercyble • Posted: 2023-11-25T08:09:49.510000+00:00
Original source

so this `GetPreparedStatement(index);` returns null but i dont understand why
rektbyfaith
11-25-2023, 08:09 AM #20

Archived author: Rymercyble • Posted: 2023-11-25T08:09:49.510000+00:00
Original source

so this `GetPreparedStatement(index);` returns null but i dont understand why

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