Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] do you need to label certain scripts as map / world context?

[DiscordArchive] do you need to label certain scripts as map / world context?

[DiscordArchive] do you need to label certain scripts as map / world context?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
01-12-2023, 01:10 PM
#1
Archived author: robinsch • Posted: 2023-01-12T13:10:03.388000+00:00
Original source

do you need to label certain scripts as map / world context?
rektbyfaith
01-12-2023, 01:10 PM #1

Archived author: robinsch • Posted: 2023-01-12T13:10:03.388000+00:00
Original source

do you need to label certain scripts as map / world context?

rektbyfaith
Administrator
0
01-12-2023, 01:10 PM
#2
Archived author: Foe • Posted: 2023-01-12T13:10:36.751000+00:00
Original source

For sure, the only way that people will have the ability to communicate across maps will be through the key value store core side, and that won't accept any userdata
rektbyfaith
01-12-2023, 01:10 PM #2

Archived author: Foe • Posted: 2023-01-12T13:10:36.751000+00:00
Original source

For sure, the only way that people will have the ability to communicate across maps will be through the key value store core side, and that won't accept any userdata

rektbyfaith
Administrator
0
01-12-2023, 01:11 PM
#3
Archived author: Foe • Posted: 2023-01-12T13:11:16.180000+00:00
Original source

Scripts are by default flagged as loaded by all map states unless they are placed in a map prefixed subfolder, or you specify in the script header which maps should have access to it
rektbyfaith
01-12-2023, 01:11 PM #3

Archived author: Foe • Posted: 2023-01-12T13:11:16.180000+00:00
Original source

Scripts are by default flagged as loaded by all map states unless they are placed in a map prefixed subfolder, or you specify in the script header which maps should have access to it

rektbyfaith
Administrator
0
01-12-2023, 01:11 PM
#4
Archived author: Foe • Posted: 2023-01-12T13:11:35.011000+00:00
Original source

That's to make sure libs, extensions and helper functions work as expected
rektbyfaith
01-12-2023, 01:11 PM #4

Archived author: Foe • Posted: 2023-01-12T13:11:35.011000+00:00
Original source

That's to make sure libs, extensions and helper functions work as expected

rektbyfaith
Administrator
0
01-12-2023, 01:11 PM
#5
Archived author: robinsch • Posted: 2023-01-12T13:11:37.727000+00:00
Original source

hmm wouldnt it be easier for people to label certain subtypes of "scripts" that then supplies additional APIs?
rektbyfaith
01-12-2023, 01:11 PM #5

Archived author: robinsch • Posted: 2023-01-12T13:11:37.727000+00:00
Original source

hmm wouldnt it be easier for people to label certain subtypes of "scripts" that then supplies additional APIs?

rektbyfaith
Administrator
0
01-12-2023, 01:12 PM
#6
Archived author: robinsch • Posted: 2023-01-12T13:12:03.088000+00:00
Original source

since I could think of a few cases where scripts in threadsafe context should access multiple maps
rektbyfaith
01-12-2023, 01:12 PM #6

Archived author: robinsch • Posted: 2023-01-12T13:12:03.088000+00:00
Original source

since I could think of a few cases where scripts in threadsafe context should access multiple maps

rektbyfaith
Administrator
0
01-12-2023, 01:13 PM
#7
Archived author: Foe • Posted: 2023-01-12T13:13:06.016000+00:00
Original source

In those cases I'm more in favor of said data store, then you can just check that store in the map context side
rektbyfaith
01-12-2023, 01:13 PM #7

Archived author: Foe • Posted: 2023-01-12T13:13:06.016000+00:00
Original source

In those cases I'm more in favor of said data store, then you can just check that store in the map context side

rektbyfaith
Administrator
0
01-12-2023, 01:13 PM
#8
Archived author: Foe • Posted: 2023-01-12T13:13:29.683000+00:00
Original source

That or we'll have to look into a proper message broker with topic subscription
rektbyfaith
01-12-2023, 01:13 PM #8

Archived author: Foe • Posted: 2023-01-12T13:13:29.683000+00:00
Original source

That or we'll have to look into a proper message broker with topic subscription

rektbyfaith
Administrator
0
01-12-2023, 01:13 PM
#9
Archived author: robinsch • Posted: 2023-01-12T13:13:35.596000+00:00
Original source

and that would lock then?
rektbyfaith
01-12-2023, 01:13 PM #9

Archived author: robinsch • Posted: 2023-01-12T13:13:35.596000+00:00
Original source

and that would lock then?

rektbyfaith
Administrator
0
01-12-2023, 01:14 PM
#10
Archived author: Foe • Posted: 2023-01-12T13:14:50.442000+00:00
Original source

It wouldn't, you'd have to assume the data in the store is current when you process it per map, it'll be a bit slower but it's still within margin of error for an mmo if you have to delay an event a tick
rektbyfaith
01-12-2023, 01:14 PM #10

Archived author: Foe • Posted: 2023-01-12T13:14:50.442000+00:00
Original source

It wouldn't, you'd have to assume the data in the store is current when you process it per map, it'll be a bit slower but it's still within margin of error for an mmo if you have to delay an event a tick

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