Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Loot UI 2.0
#8
(02-17-2019, 10:50 AM)Tombi Wrote:
(02-16-2019, 03:49 PM)kyle2143 Wrote: - I'm fairly sure that your updateLootUI proc is unnecessary. You're basically re-implementing one of the key features of chui, which is displaying the same page to all subscribed clients to that window. Might have to ask Somepotato to be sure.

How would a chui window trigger an update on external actions?
For example a player unequips their hat.
How does the window know to update the UI?

It wouldn't. I meant the part of how it tries to keep the screen snyched for all people viewing the html page. You have a for loop of viewers of the mob in question. Chui has a list of clients that view the window and updates them all. With the chui subscribe/unsubscribe procs you can do what it looks like you're trying to do(updating the page for all users). It's just that that's handled for you with the chui stuff.

But also, I guess I'm not sure why those calls are added in the action_controllers and whatnot when they weren't there before too. Unless, is that supposed to be a new feature? Even so, you're remaking the entire html file on any update and sending the whole thing to the client, instead of just sending what information has been changed.
Reply


Messages In This Thread
Loot UI 2.0 - by Tombi - 02-16-2019, 02:47 PM
RE: Loot UI 2.0 - by kyle2143 - 02-16-2019, 03:49 PM
RE: Loot UI 2.0 - by Tombi - 02-17-2019, 10:50 AM
RE: Loot UI 2.0 - by kyle2143 - 02-17-2019, 01:16 PM
RE: Loot UI 2.0 - by qwertyquerty - 02-16-2019, 07:07 PM
RE: Loot UI 2.0 - by Frank_Stein - 02-16-2019, 07:52 PM
RE: Loot UI 2.0 - by Spoodle - 02-17-2019, 11:27 AM
RE: Loot UI 2.0 - by Tombi - 02-17-2019, 11:37 AM
RE: Loot UI 2.0 - by qwertyquerty - 02-18-2019, 08:06 AM
RE: Loot UI 2.0 - by The Grim Sleeper - 02-19-2019, 06:13 AM
RE: Loot UI 2.0 - by ZeWaka - 03-11-2019, 11:47 AM
RE: Loot UI 2.0 - by Tombi - 03-15-2019, 02:08 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)