drakensang Posted May 2, 2022 Share Posted May 2, 2022 Hey, I am trying to build a script which requires that all widgets in the friends chat is loaded, how would i go on for creating something like this? I would need it to update every X time and preferably be invinsible but is not needed, would I have to make modifications to a client myself or is there a way to achieve this in OSBOT, anyone who has the knowledge for this please respond. Quote Link to comment Share on other sites More sharing options...
Gunman Posted May 2, 2022 Share Posted May 2, 2022 10 hours ago, drakensang said: Hey, I am trying to build a script which requires that all widgets in the friends chat is loaded, how would i go on for creating something like this? I would need it to update every X time and preferably be invinsible but is not needed, would I have to make modifications to a client myself or is there a way to achieve this in OSBOT, anyone who has the knowledge for this please respond. Shouldn't having the friends only part of the chat selected and using the chat box api with maybe message listener work? Quote Link to comment Share on other sites More sharing options...
Khaleesi Posted May 3, 2022 Share Posted May 3, 2022 17 hours ago, drakensang said: Hey, I am trying to build a script which requires that all widgets in the friends chat is loaded, how would i go on for creating something like this? I would need it to update every X time and preferably be invinsible but is not needed, would I have to make modifications to a client myself or is there a way to achieve this in OSBOT, anyone who has the knowledge for this please respond. Well with this info we know nothing tbh... If you tell us what you need for what reason we can tell you how to solve it or give you a better solution than the direction you are going Quote Link to comment Share on other sites More sharing options...
drakensang Posted May 3, 2022 Author Share Posted May 3, 2022 3 hours ago, Khaleesi said: Well with this info we know nothing tbh... If you tell us what you need for what reason we can tell you how to solve it or give you a better solution than the direction you are going Hey, I need it to see when a name changes, so let's say a name changes once it will be displayed in the previous name, I want to load all previous names in the friendlist without having to hover over them, e.g if you dont hover over the previous name, it will not be visible for the widget selector, I want to load all of the previous names and do it all the time in the loop so it updates in real time. Quote Link to comment Share on other sites More sharing options...
Khaleesi Posted May 3, 2022 Share Posted May 3, 2022 4 hours ago, drakensang said: Hey, I need it to see when a name changes, so let's say a name changes once it will be displayed in the previous name, I want to load all previous names in the friendlist without having to hover over them, e.g if you dont hover over the previous name, it will not be visible for the widget selector, I want to load all of the previous names and do it all the time in the loop so it updates in real time. or you can just cache all the names and refresh the list every few sec and check the diffrences. What is the chance that multiple people changed their name within the same few seconds Quote Link to comment Share on other sites More sharing options...
Chris Posted May 3, 2022 Share Posted May 3, 2022 9 hours ago, drakensang said: Hey, I need it to see when a name changes, so let's say a name changes once it will be displayed in the previous name, I want to load all previous names in the friendlist without having to hover over them, e.g if you dont hover over the previous name, it will not be visible for the widget selector, I want to load all of the previous names and do it all the time in the loop so it updates in real time. get the parent id of the friends list and loop the children. as long as its loaded you can still get the data from the widgets Quote Link to comment Share on other sites More sharing options...
drakensang Posted May 4, 2022 Author Share Posted May 4, 2022 (edited) 15 hours ago, Chris said: get the parent id of the friends list and loop the children. as long as its loaded you can still get the data from the widgets Tried this however this does not work, I did som debugging via the ignored list, the parent id of ignored list is 432, Let's say we hover over the name to see the previous name, the previous name will then proceed to be visible, if we hover away from it it will ofcourse stop being visible, the problem is that it cannot get the data from the widget, it just returns with that the child widget i entered does not exist. If you want to try this for yourself, add a account to your ignored list that has changed it's name within the past 30 days so you can hover it and see the previous name, try debugging it first and enter the root id of 432, first child id of 16 and second child id of 2, you will see that you cannot get any data from it, now hover your mouse over the username to have the previous name shown and then click the name to delete it, the previous name will be visible and you can now get data from it. I am in need of a solution that is dynamic and therefore should be able to see these previous names and update them every X seconds even though the mouse is not hovered over the names to display their previous names. I was thinking if there was some way to load these widgets, I assume it's a clientsided thing and not something server sided therefore somehow the client maybe can send a packet to show these widgets? I am not sure of how it works but any help in the right direction would be very appreciated. To add on: The widget children are invinsible for 432, 16 which is the widget for previous names, if someone has a previous name it would be 432, 16, 2 as an example and I cannot get it to loop through a widget that returns false on if it has any widget children incase nothing is visible Edited May 4, 2022 by drakensang important Quote Link to comment Share on other sites More sharing options...
drakensang Posted May 4, 2022 Author Share Posted May 4, 2022 20 hours ago, Khaleesi said: or you can just cache all the names and refresh the list every few sec and check the diffrences. What is the chance that multiple people changed their name within the same few seconds I think you forgot the fact that a name is stored in the previous name incase the user wants to change back, I need my script to account for that and be dynamic. Quote Link to comment Share on other sites More sharing options...
Khaleesi Posted May 4, 2022 Share Posted May 4, 2022 2 hours ago, drakensang said: I think you forgot the fact that a name is stored in the previous name incase the user wants to change back, I need my script to account for that and be dynamic. then you will have to hover the names Quote Link to comment Share on other sites More sharing options...
drakensang Posted May 5, 2022 Author Share Posted May 5, 2022 19 hours ago, Khaleesi said: then you will have to hover the names Once again this will not work which is why I asked if there's a way to automatically reload them every X seconds without hovering or if there's a way to hover all names at once. Quote Link to comment Share on other sites More sharing options...
Khaleesi Posted May 5, 2022 Share Posted May 5, 2022 2 hours ago, drakensang said: Once again this will not work which is why I asked if there's a way to automatically reload them every X seconds without hovering or if there's a way to hover all names at once. probably not if they are not loaded Quote Link to comment Share on other sites More sharing options...