Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] so i would hook into all of these right ?

[DiscordArchive] so i would hook into all of these right ?

[DiscordArchive] so i would hook into all of these right ?

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
07-18-2023, 07:44 AM
#11
Archived author: robinsch • Posted: 2023-07-18T07:44:43.666000+00:00
Original source

I would just get the position based on your chosen precision, wouldn't matter for me if the boss moved or not.
rektbyfaith
07-18-2023, 07:44 AM #11

Archived author: robinsch • Posted: 2023-07-18T07:44:43.666000+00:00
Original source

I would just get the position based on your chosen precision, wouldn't matter for me if the boss moved or not.

rektbyfaith
Administrator
0
07-18-2023, 07:46 AM
#12
Archived author: Rymercyble • Posted: 2023-07-18T07:46:12.855000+00:00
Original source

so something like `OnAllCreatureUpdate` and every lets say 500ms retrieving current position ?
rektbyfaith
07-18-2023, 07:46 AM #12

Archived author: Rymercyble • Posted: 2023-07-18T07:46:12.855000+00:00
Original source

so something like `OnAllCreatureUpdate` and every lets say 500ms retrieving current position ?

rektbyfaith
Administrator
0
07-18-2023, 07:47 AM
#13
Archived author: robinsch • Posted: 2023-07-18T07:47:50.844000+00:00
Original source

Well if you want to collect encounter statistics it should be something tied to either InstanceScript or boss AI
rektbyfaith
07-18-2023, 07:47 AM #13

Archived author: robinsch • Posted: 2023-07-18T07:47:50.844000+00:00
Original source

Well if you want to collect encounter statistics it should be something tied to either InstanceScript or boss AI

rektbyfaith
Administrator
0
07-18-2023, 07:51 AM
#14
Archived author: Rymercyble • Posted: 2023-07-18T07:51:15.289000+00:00
Original source

but then i would have to call it in lot of places so instead im using general hooks like `OnUnitDeath` and checking if its in tracked instance if its in combat with player etc
rektbyfaith
07-18-2023, 07:51 AM #14

Archived author: Rymercyble • Posted: 2023-07-18T07:51:15.289000+00:00
Original source

but then i would have to call it in lot of places so instead im using general hooks like `OnUnitDeath` and checking if its in tracked instance if its in combat with player etc

rektbyfaith
Administrator
0
07-18-2023, 07:51 AM
#15
Archived author: robinsch • Posted: 2023-07-18T07:51:43.441000+00:00
Original source

No not really, your solution might fit your needs. But you definitely don't want to implement it that way if you care about performance.
rektbyfaith
07-18-2023, 07:51 AM #15

Archived author: robinsch • Posted: 2023-07-18T07:51:43.441000+00:00
Original source

No not really, your solution might fit your needs. But you definitely don't want to implement it that way if you care about performance.

rektbyfaith
Administrator
0
07-18-2023, 07:52 AM
#16
Archived author: Rymercyble • Posted: 2023-07-18T07:52:44.434000+00:00
Original source

do u think that few ifs cost that much performance ?
rektbyfaith
07-18-2023, 07:52 AM #16

Archived author: Rymercyble • Posted: 2023-07-18T07:52:44.434000+00:00
Original source

do u think that few ifs cost that much performance ?

rektbyfaith
Administrator
0
07-18-2023, 07:53 AM
#17
Archived author: robinsch • Posted: 2023-07-18T07:53:37.884000+00:00
Original source

Well it just scales terribly if 50K creature call your hook.
rektbyfaith
07-18-2023, 07:53 AM #17

Archived author: robinsch • Posted: 2023-07-18T07:53:37.884000+00:00
Original source

Well it just scales terribly if 50K creature call your hook.

rektbyfaith
Administrator
0
07-18-2023, 07:53 AM
#18
Archived author: robinsch • Posted: 2023-07-18T07:53:50.650000+00:00
Original source

(instead of 1)
rektbyfaith
07-18-2023, 07:53 AM #18

Archived author: robinsch • Posted: 2023-07-18T07:53:50.650000+00:00
Original source

(instead of 1)

rektbyfaith
Administrator
0
07-18-2023, 07:58 AM
#19
Archived author: Rymercyble • Posted: 2023-07-18T07:58:57.851000+00:00
Original source

i was thinking about it but i didnt know how else to do it since this module is supposed to be configurable to track any combination of dungs/raids/specific creatures in open world so while currently yes im running it for thousands of creatures in open world which are not tracked only way i can think of to fix it is to write custom script for that creature and call it there which would make this module not configurable
rektbyfaith
07-18-2023, 07:58 AM #19

Archived author: Rymercyble • Posted: 2023-07-18T07:58:57.851000+00:00
Original source

i was thinking about it but i didnt know how else to do it since this module is supposed to be configurable to track any combination of dungs/raids/specific creatures in open world so while currently yes im running it for thousands of creatures in open world which are not tracked only way i can think of to fix it is to write custom script for that creature and call it there which would make this module not configurable

rektbyfaith
Administrator
0
07-18-2023, 08:22 AM
#20
Archived author: Rymercyble • Posted: 2023-07-18T08:22:06.455000+00:00
Original source

anyway it can always be optimized if needed in future
rektbyfaith
07-18-2023, 08:22 AM #20

Archived author: Rymercyble • Posted: 2023-07-18T08:22:06.455000+00:00
Original source

anyway it can always be optimized if needed in future

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