Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] how it is right now it just goes through the table and returns the tickets with the players guid rig

[DiscordArchive] how it is right now it just goes through the table and returns the tickets with the players guid rig

[DiscordArchive] how it is right now it just goes through the table and returns the tickets with the players guid rig

Pages (8): Previous 1 4 5 6 7 8  
rektbyfaith
Administrator
0
01-12-2023, 01:15 AM
#71
Archived author: Nix • Posted: 2023-01-12T01:15:15.687000+00:00
Original source

You can update it synchronously and asynchronously
rektbyfaith
01-12-2023, 01:15 AM #71

Archived author: Nix • Posted: 2023-01-12T01:15:15.687000+00:00
Original source

You can update it synchronously and asynchronously

rektbyfaith
Administrator
0
01-12-2023, 01:15 AM
#72
Archived author: Nix • Posted: 2023-01-12T01:15:53.902000+00:00
Original source

synchronously means that your code waits for the update to happen before it continues executing. This is typically only used in places where you absolutely need to wait, because the next part of the code depends on the result of the update as an example
rektbyfaith
01-12-2023, 01:15 AM #72

Archived author: Nix • Posted: 2023-01-12T01:15:53.902000+00:00
Original source

synchronously means that your code waits for the update to happen before it continues executing. This is typically only used in places where you absolutely need to wait, because the next part of the code depends on the result of the update as an example

rektbyfaith
Administrator
0
01-12-2023, 01:16 AM
#73
Archived author: Nix • Posted: 2023-01-12T01:16:16.093000+00:00
Original source

asynchronously means that your code immediately continues running the next code as soon as the command to update the database has been sent (but not yet completed)
rektbyfaith
01-12-2023, 01:16 AM #73

Archived author: Nix • Posted: 2023-01-12T01:16:16.093000+00:00
Original source

asynchronously means that your code immediately continues running the next code as soon as the command to update the database has been sent (but not yet completed)

rektbyfaith
Administrator
0
01-12-2023, 01:16 AM
#74
Archived author: Nix • Posted: 2023-01-12T01:16:31.478000+00:00
Original source

Since you'll be storing your own local table with data matching the database, you don't need to wait for it to tell you what happened
rektbyfaith
01-12-2023, 01:16 AM #74

Archived author: Nix • Posted: 2023-01-12T01:16:31.478000+00:00
Original source

Since you'll be storing your own local table with data matching the database, you don't need to wait for it to tell you what happened

rektbyfaith
Administrator
0
01-12-2023, 01:16 AM
#75
Archived author: Nix • Posted: 2023-01-12T01:16:46.874000+00:00
Original source

Therefore in your example updating it asynchronously would be the right choice
rektbyfaith
01-12-2023, 01:16 AM #75

Archived author: Nix • Posted: 2023-01-12T01:16:46.874000+00:00
Original source

Therefore in your example updating it asynchronously would be the right choice

rektbyfaith
Administrator
0
01-12-2023, 01:18 AM
#76
Archived author: Foe • Posted: 2023-01-12T01:18:13.374000+00:00
Original source

WorldDBQuery = returns data, so you have to wait for it
WorldDBExecute = does not return data, so you can fire and forget and the script won't halt
rektbyfaith
01-12-2023, 01:18 AM #76

Archived author: Foe • Posted: 2023-01-12T01:18:13.374000+00:00
Original source

WorldDBQuery = returns data, so you have to wait for it
WorldDBExecute = does not return data, so you can fire and forget and the script won't halt

rektbyfaith
Administrator
0
01-12-2023, 01:18 AM
#77
Archived author: Nix • Posted: 2023-01-12T01:18:43.366000+00:00
Original source

https://elunaluaengine.github.io/
[Embed: Eluna API]
API documentation for the Eluna engine.
https://elunaluaengine.github.io/
rektbyfaith
01-12-2023, 01:18 AM #77

Archived author: Nix • Posted: 2023-01-12T01:18:43.366000+00:00
Original source

https://elunaluaengine.github.io/
[Embed: Eluna API]
API documentation for the Eluna engine.
https://elunaluaengine.github.io/

rektbyfaith
Administrator
0
01-12-2023, 01:18 AM
#78
Archived author: Nix • Posted: 2023-01-12T01:18:54.835000+00:00
Original source

Remember you can always go here to see the available functions
rektbyfaith
01-12-2023, 01:18 AM #78

Archived author: Nix • Posted: 2023-01-12T01:18:54.835000+00:00
Original source

Remember you can always go here to see the available functions

rektbyfaith
Administrator
0
01-12-2023, 01:19 AM
#79
Archived author: Foe • Posted: 2023-01-12T01:19:01.233000+00:00
Original source

https://github.com/Foereaper/PublicScrip...BCache.lua
[Embed: PublicScripts/DBCache.lua at master · Foereaper/PublicScripts]
A repository for storing public script releases. Contribute to Foereaper/PublicScripts development by creating an account on GitHub.
https://github.com/Foereaper/PublicScrip...BCache.lua
rektbyfaith
01-12-2023, 01:19 AM #79

Archived author: Foe • Posted: 2023-01-12T01:19:01.233000+00:00
Original source

https://github.com/Foereaper/PublicScrip...BCache.lua
[Embed: PublicScripts/DBCache.lua at master · Foereaper/PublicScripts]
A repository for storing public script releases. Contribute to Foereaper/PublicScripts development by creating an account on GitHub.
https://github.com/Foereaper/PublicScrip...BCache.lua

rektbyfaith
Administrator
0
01-12-2023, 01:19 AM
#80
Archived author: Foe • Posted: 2023-01-12T01:19:24.168000+00:00
Original source

Here's an old caching example script for loading data into a table on startup/reload
rektbyfaith
01-12-2023, 01:19 AM #80

Archived author: Foe • Posted: 2023-01-12T01:19:24.168000+00:00
Original source

Here's an old caching example script for loading data into a table on startup/reload

Pages (8): Previous 1 4 5 6 7 8  
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)