lotrointerface.com
Search Downloads


Go Back   LoTROInterface > LotRO Stand-Alone Plugins > Bags, Bank & Inventory


Post A Reply
Author Comments Comment Options
Unread 08-04-2021, 04:39 AM  
Evereus
The Wary

Forum posts: 0
File comments: 31
Uploads: 0
Hi Homeo,

i've got a question concerning your plugins and especially Altholics. I have approximately 10 different ones installed.
Every plugin of you has a separate icon, which i can move to the place i want it to be.
But every time i leave the game and relogg, most of the icons are no more on the place i moved them before.
Sometimes only 1 cm beside the old position.
What can i do to fix them on the position i moved the icon ? Is there a possibility, perhaps something in the options to fix the position/not moving the icons after gamestart/relogg ?
Would be great if you have a suggestion/solution.

Kind regards and many thanks for your patient and work !

Eolath
Evereus is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 07-28-2021, 09:23 PM  
kendaron
The Wary

Forum posts: 0
File comments: 8
Uploads: 0
Re: Re: Re: Re: Re: Re: Re: Re: Re: Some more things

Quote:
to be able to see the right bag at any time
I see you store combined character inventory data in individual settings file. It would perhaps be better to save them individually and have a file with the master list of characters so you know the file names.

Then when a search happens over all characters you load the corresponding files then. Otherwise you only keep the current character inventory data in memory and save on logout.

But that is an optimisation to reduce memory and needing to always save bag data when you are out adventuring. I know refactoring can be a pain.

Thanks for listening to my comments!

Last edited by kendaron : 07-28-2021 at 09:23 PM.
kendaron is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 07-28-2021, 11:47 AM  
homeopatix
The Indomitable
 
homeopatix's Avatar
Interface Author - Click to view interfaces

Forum posts: 14
File comments: 358
Uploads: 32
Re: Re: Re: Re: Re: Re: Re: Re: Some more things

Quote:
I think you can use the GetGameTime and SetWantsUpdates functions to do it. When inventory is changed, if it is not already enabled, you SetWantsUpdates(true) and set a global variable to say, 3 seconds. And using the GetGameTime within the Update function you reduce the global variable by 1 after each second. If inventory changes again before it reaches 0 you increase the global variable back to 3. When the Update function hits 0 you disable SetWantsUpdates and save.

Thats how I think it will work. I dont recall if it actually had a timer event to use.
Hello,

yes i think this is the way a should do it, i will
work on that this week-end and will propose you with an update
on next week

Quote:
EDIT: Actually, why not just save on logout?
to be able to see the right bag at any time

thank you for your time, i really apreciate

Homeo
homeopatix is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 07-27-2021, 07:30 PM  
kendaron
The Wary

Forum posts: 0
File comments: 8
Uploads: 0
Re: Re: Re: Re: Re: Re: Re: Some more things

Quote:
but i will found out a way to do that...
I think you can use the GetGameTime and SetWantsUpdates functions to do it. When inventory is changed, if it is not already enabled, you SetWantsUpdates(true) and set a global variable to say, 3 seconds. And using the GetGameTime within the Update function you reduce the global variable by 1 after each second. If inventory changes again before it reaches 0 you increase the global variable back to 3. When the Update function hits 0 you disable SetWantsUpdates and save.

Thats how I think it will work. I dont recall if it actually had a timer event to use.

EDIT: Actually, why not just save on logout?

Last edited by kendaron : 07-27-2021 at 11:35 PM.
kendaron is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 07-27-2021, 11:44 AM  
homeopatix
The Indomitable
 
homeopatix's Avatar
Interface Author - Click to view interfaces

Forum posts: 14
File comments: 358
Uploads: 32
Re: Re: Re: Re: Re: Re: Some more things

Quote:
I am running 2.56 but am not seeing a difference? When I mine I might get one or two items and AltHolic reports 'BackPack Saved' immediately. And usually multiple times, like previous versions.

Here is a link to my chat window showing it after mining:

https://imgur.com/a/B7GWgL1
Hello,

everything is working fine for me, i will do a few more check and let you know what is happening

thank you for the feed back

Homeo

EDIT :

the think is that when 1 item get in the bag, the function lunched
If you have 3 items getting in the bag, the function is lunching three time

that is how lotro is working,
i will find a way to solve that prob...

but there is not much used of machine ressources to save the bag, even if the bag is almost full

but i will found out a way to do that...

thank you for your help in this

Homeo

Last edited by homeopatix : 07-27-2021 at 01:40 PM.
homeopatix is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 07-27-2021, 10:21 AM  
kendaron
The Wary

Forum posts: 0
File comments: 8
Uploads: 0
Re: Re: Re: Re: Re: Some more things

I am running 2.56 but am not seeing a difference? When I mine I might get one or two items and AltHolic reports 'BackPack Saved' immediately. And usually multiple times, like previous versions.

Here is a link to my chat window showing it after mining:

https://imgur.com/a/B7GWgL1

Last edited by kendaron : 07-27-2021 at 10:31 AM.
kendaron is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 07-27-2021, 10:12 AM  
kendaron
The Wary

Forum posts: 0
File comments: 8
Uploads: 0
Re: Re: Re: Re: Some more things

Quote:
i am saving 30 second after the inventory change only if the inventory change
and only if not in combat
Woo hoo. Looking forward to trying it!
kendaron is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 07-27-2021, 08:16 AM  
homeopatix
The Indomitable
 
homeopatix's Avatar
Interface Author - Click to view interfaces

Forum posts: 14
File comments: 358
Uploads: 32
Re: Re: Re: Some more things

Quote:
Hi, are you actually saving every 30 seconds? or 30 seconds after the last inventory change? Because if it is every 30 seconds that is way overkill and not necessary. A timeout/counter only needs to be set/reset when a change is detected. If nothing has changed, no need to save!

Cheers
Hello,

i am saving 30 second after the inventory change only if the inventory change
and only if not in combat

Homeo
homeopatix is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 07-27-2021, 02:33 AM  
kendaron
The Wary

Forum posts: 0
File comments: 8
Uploads: 0
Re: Re: Some more things

Quote:
I have done all the updated that you asked me
and set a timer to save the datas every 30 sec
added a check to save only if not in combat
Hi, are you actually saving every 30 seconds? or 30 seconds after the last inventory change? Because if it is every 30 seconds that is way overkill and not necessary. A timeout/counter only needs to be set/reset when a change is detected. If nothing has changed, no need to save!

Cheers
kendaron is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 07-25-2021, 11:34 AM  
homeopatix
The Indomitable
 
homeopatix's Avatar
Interface Author - Click to view interfaces

Forum posts: 14
File comments: 358
Uploads: 32
Re: Some more things

Quote:
Hi Again,

1) When you expand your list of characters and hover the mouse of the crafting icon, the popup that displays is often shown off the bottom of the screen. This happens with characters at the bottom of the list (I have a lot of characters across worlds!). Needs to be prevented from being partially off screen.

2) There is some funny things going on with when you save bag data. I have the save and load notifications checked. Sometimes when I logon I immediately see my bags being saved something like 12 times! The only thing I can think of is that the subscriber jug and town services items have disappeared triggering the saves. Not sure why it would be doing it like 12 times!

Also, sometimes when I receive mulitple items (like from mining, looting corpses chest etc) it triggers the save for each item. And sometimes far more times than items received! Similar to the login problem, I might mine and get 2 items and it saves 6 times!

As a suggestion, if you have not already, add a 'debounce' function. This is a countdown/timer that is triggered whenever you need to save bag data. When the timer is reached it saves the bag data. Every time you receive a notification that the bags have changed you reset the timer. So if the timer is set for 2 seconds, and you receive multiple items, you reset the timer each time, and after the final item is received, 2 seconds later the bags will be saved.

Additionally, only save in this function if you are not in combat. The reason I say this is each save (when you have a lot of bag info) can cause a momentary freeze in the game client, and you do not want that in combat! Also implementing the debounce function will help minimise that too.

Cheers!
Hello,

tank you for you comment and your advice, i will work on that asap

Homeo


EDIT:
I have done all the updated that you asked me
and set a timer to save the datas every 30 sec
added a check to save only if not in combat


Homeo

Last edited by homeopatix : 07-26-2021 at 10:32 AM.
homeopatix is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 07-24-2021, 11:44 PM  
kendaron
The Wary

Forum posts: 0
File comments: 8
Uploads: 0
Some more things

Hi Again,

1) When you expand your list of characters and hover the mouse of the crafting icon, the popup that displays is often shown off the bottom of the screen. This happens with characters at the bottom of the list (I have a lot of characters across worlds!). Needs to be prevented from being partially off screen.

2) There is some funny things going on with when you save bag data. I have the save and load notifications checked. Sometimes when I logon I immediately see my bags being saved something like 12 times! The only thing I can think of is that the subscriber jug and town services items have disappeared triggering the saves. Not sure why it would be doing it like 12 times!

Also, sometimes when I receive mulitple items (like from mining, looting corpses chest etc) it triggers the save for each item. And sometimes far more times than items received! Similar to the login problem, I might mine and get 2 items and it saves 6 times!

As a suggestion, if you have not already, add a 'debounce' function. This is a countdown/timer that is triggered whenever you need to save bag data. When the timer is reached it saves the bag data. Every time you receive a notification that the bags have changed you reset the timer. So if the timer is set for 2 seconds, and you receive multiple items, you reset the timer each time, and after the final item is received, 2 seconds later the bags will be saved.

Additionally, only save in this function if you are not in combat. The reason I say this is each save (when you have a lot of bag info) can cause a momentary freeze in the game client, and you do not want that in combat! Also implementing the debounce function will help minimise that too.

Cheers!
kendaron is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 07-19-2021, 10:26 AM  
homeopatix
The Indomitable
 
homeopatix's Avatar
Interface Author - Click to view interfaces

Forum posts: 14
File comments: 358
Uploads: 32
Quote:
I updated to 2.54 and everything is fine now !
For me, it works !
Thanks for your fantastic work !!
Thank you,
i really appreciate this

Homeo
homeopatix is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 07-19-2021, 10:03 AM  
Evereus
The Wary

Forum posts: 0
File comments: 31
Uploads: 0
I updated to 2.54 and everything is fine now !
For me, it works !
Thanks for your fantastic work !!
Evereus is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 07-19-2021, 08:46 AM  
homeopatix
The Indomitable
 
homeopatix's Avatar
Interface Author - Click to view interfaces

Forum posts: 14
File comments: 358
Uploads: 32
Quote:
Hi Homeo,

i checked it again as you wrote - behaviour still the same...
I filmed it with my camera to show you how it looks like - it's a bit difficult to describe...

https://www.directupload.net/file/d/...kk9d8g_mp4.htm

Perhaps you can imagine, what's wrong...

Many thanks !
Hello, i did a few test and could reproduce the probleme when in 800x600

i did some update please let me know what happends, the probleme should be solved in the V2.54

By the way thank you for the time you took to help me found out the probleme

Homeo

Quote:
I get the same behavior without using any skin after a fresh install - never used the plugin before.
When i uncomment the line that sets the background to red, its easier to see whats happening. The control holding the books actually does not grow with the addition of more books, after adding 7 books, they simply stop being shown and the scroll bar moves the whole control to the top and not just the content.

Another thing i noticed is the however for money is displaying in the middle of the screen, however i had quite small resolution and it happened that the icon was in the middle of the screen, so it was flickering - as it was in a loop (hovering over icon - than the however window drew over the icon which canceled the hover)

Also switching to icon mode for shared storage makes the window too tall, so i dont see all items and cant switch back. I dont seem to be able to resize the window, luckily found workaround since the setting is shared with bags to change the setting back there.
FOR DRONO

i did some updates but not yet in the money window, have a check that should solved your probleme

Homeo

Last edited by homeopatix : 07-19-2021 at 08:50 AM.
homeopatix is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 07-19-2021, 08:25 AM  
Evereus
The Wary

Forum posts: 0
File comments: 31
Uploads: 0
Hi Homeo,

i checked it again as you wrote - behaviour still the same...
I filmed it with my camera to show you how it looks like - it's a bit difficult to describe...

https://www.directupload.net/file/d/...kk9d8g_mp4.htm

Perhaps you can imagine, what's wrong...

Many thanks !
Evereus is offline Report comment to moderator   Reply With Quote Reply With Quote
Post A Reply

 
Category Jump:
Search this Category:
 

All times are GMT -5. The time now is 04:21 PM.


Our Network
EQInterface | EQ2Interface | Minion | WoWInterface | ESOUI | LoTROInterface | MMOUI | Swtorui