Forums WoW Modding Support Archives WoWModding Threads [DiscordArchive] Is it possible to schedule an event to happen f...

[DiscordArchive] Is it possible to schedule an event to happen f...

[DiscordArchive] Is it possible to schedule an event to happen f...

Pages (10): Previous 1 2 3 4 5 10 Next  
rektbyfaith
Administrator
0
12-18-2024, 07:23 PM
#11
Archived author: stoneharry • Posted: 2024-12-18T19:23:24.424000+00:00
Original source

The server side code should be the same as a GM command
rektbyfaith
12-18-2024, 07:23 PM #11

Archived author: stoneharry • Posted: 2024-12-18T19:23:24.424000+00:00
Original source

The server side code should be the same as a GM command

rektbyfaith
Administrator
0
12-18-2024, 07:24 PM
#12
Archived author: Drikish • Posted: 2024-12-18T19:24:08.649000+00:00
Original source

Yeah its not actually meant to be sent to one player only the goal is to send it to the entire server and the server sends the updated packets to all players
rektbyfaith
12-18-2024, 07:24 PM #12

Archived author: Drikish • Posted: 2024-12-18T19:24:08.649000+00:00
Original source

Yeah its not actually meant to be sent to one player only the goal is to send it to the entire server and the server sends the updated packets to all players

rektbyfaith
Administrator
0
12-18-2024, 07:24 PM
#13
Archived author: Drikish • Posted: 2024-12-18T19:24:33.533000+00:00
Original source

timeout happens after X time to then make time go at normal speed again
rektbyfaith
12-18-2024, 07:24 PM #13

Archived author: Drikish • Posted: 2024-12-18T19:24:33.533000+00:00
Original source

timeout happens after X time to then make time go at normal speed again

rektbyfaith
Administrator
0
12-18-2024, 07:25 PM
#14
Archived author: stoneharry • Posted: 2024-12-18T19:25:11.204000+00:00
Original source

just a case of iterating over all players instead of fetching 1

Is this map wide or server wide?

maps are updated on a different thread to general server stuff, more performant

but you want to check the world update timer -- it constantly checks if X time has passed then do Y -- you basically want the same sort of thing for your event
rektbyfaith
12-18-2024, 07:25 PM #14

Archived author: stoneharry • Posted: 2024-12-18T19:25:11.204000+00:00
Original source

just a case of iterating over all players instead of fetching 1

Is this map wide or server wide?

maps are updated on a different thread to general server stuff, more performant

but you want to check the world update timer -- it constantly checks if X time has passed then do Y -- you basically want the same sort of thing for your event

rektbyfaith
Administrator
0
12-18-2024, 07:25 PM
#15
Archived author: Drikish • Posted: 2024-12-18T19:25:11.419000+00:00
Original source

So I was thinking set an event up in DB thats scheduled to occur at whatever times and then if that can trigger a script that does this, and then again handles setting the time back to normal after its initialised after X seconds
rektbyfaith
12-18-2024, 07:25 PM #15

Archived author: Drikish • Posted: 2024-12-18T19:25:11.419000+00:00
Original source

So I was thinking set an event up in DB thats scheduled to occur at whatever times and then if that can trigger a script that does this, and then again handles setting the time back to normal after its initialised after X seconds

rektbyfaith
Administrator
0
12-18-2024, 07:25 PM
#16
Archived author: Drikish • Posted: 2024-12-18T19:25:33.491000+00:00
Original source

Its map wide
rektbyfaith
12-18-2024, 07:25 PM #16

Archived author: Drikish • Posted: 2024-12-18T19:25:33.491000+00:00
Original source

Its map wide

rektbyfaith
Administrator
0
12-18-2024, 07:25 PM
#17
Archived author: stoneharry • Posted: 2024-12-18T19:25:46.899000+00:00
Original source

add a map::OnUpdate handler
rektbyfaith
12-18-2024, 07:25 PM #17

Archived author: stoneharry • Posted: 2024-12-18T19:25:46.899000+00:00
Original source

add a map::OnUpdate handler

rektbyfaith
Administrator
0
12-18-2024, 07:26 PM
#18
Archived author: stoneharry • Posted: 2024-12-18T19:26:05.122000+00:00
Original source

if (event and timeSinceEvent >= 5000) {
event = false
do stuff
}
rektbyfaith
12-18-2024, 07:26 PM #18

Archived author: stoneharry • Posted: 2024-12-18T19:26:05.122000+00:00
Original source

if (event and timeSinceEvent >= 5000) {
event = false
do stuff
}

rektbyfaith
Administrator
0
12-18-2024, 07:26 PM
#19
Archived author: Drikish • Posted: 2024-12-18T19:26:22.216000+00:00
Original source

But do this in an event script you mean rather than GM Command?
rektbyfaith
12-18-2024, 07:26 PM #19

Archived author: Drikish • Posted: 2024-12-18T19:26:22.216000+00:00
Original source

But do this in an event script you mean rather than GM Command?

rektbyfaith
Administrator
0
12-18-2024, 07:26 PM
#20
Archived author: Drikish • Posted: 2024-12-18T19:26:53.993000+00:00
Original source

So that context is not lost
rektbyfaith
12-18-2024, 07:26 PM #20

Archived author: Drikish • Posted: 2024-12-18T19:26:53.993000+00:00
Original source

So that context is not lost

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