EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 04-05-2005, 09:59 PM
Jaxel Jaxel is offline
A Dragoon Sith
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Guk
Posts: 96
Default Having problems with bag resizing...

For 7th slot...
OnShow="Parent.MinimumSize=263,111 Parent.MaximumSize=263,11 Parent.Size=263,111"
+43 for each 6 bags...

But I am having a problem where if I start out with a 12 slot, (or any slot bag for that matter... then I place a bigger slot bag in the same spot... then place the smaller bag back in the original spot... the size will not reset for the smaller bag... See the attached image for details.
Attached Thumbnails
Click image for larger version

Name:	bagproblem.gif
Views:	269
Size:	89.5 KB
ID:	2260  
__________________
Jaxel, Dirge of Risen, on The Bazaar.
My OCD Interface Mods
Reply With Quote
  #2  
Unread 04-05-2005, 10:20 PM
depechenode's Avatar
depechenode depechenode is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Toxxulia
Posts: 584
Default

Look at a version of the bag mod where each slot had an actual onshow event that determined sizing of the frame and the overall bag. Use the mod by ger or My depechenode's Advanced 3/4 Bag w/titles (which I used ger's mod for MY bag as well, I just changed a few things to my liking). Either one will show you how to use the sizing part.

Basically each slot will look to see if it is being shown if so resize the bag frame to fit. If not, resize ridding the dead space. But all is tied to onshow events.

Last edited by depechenode : 04-05-2005 at 10:22 PM.
Reply With Quote
  #3  
Unread 04-05-2005, 10:23 PM
Talyns's Avatar
Talyns Talyns is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Everfrost
Posts: 604
Default

Hmm.. Try:

OnShow="Parent.Size=263,111 Parent.MinimumSize=263,111 Parent.MaximumSize=263,11"

Reason being when using spaces inbetween script commands it is read from right to left..

You have to set the max size then the min size then set the actual size..
__________________
Talyns
Reply With Quote
  #4  
Unread 04-06-2005, 12:21 AM
Jaxel Jaxel is offline
A Dragoon Sith
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Guk
Posts: 96
Default

Talyns that didnt fix it... I dont think that would make a difference anyways as the size will be configured anyways as soon as you set the maximum and minimum sizes.

Depechenode, I think you missed the point of my post... I have added actual onshow events that determine the size of my bag. However, the onshow event only makes the bag bigger... once you close the bag it doesnt run an onhide event. So the bag doesnt get smaller.

Look at the image.

Once the big bag is open, it onshows slot 6, 12, 18, and 24 which sets the size to 240. When I close the bag, it does not hide slots 6, 12, 18 and 24. So the next time a bag is opened, it doesnt onshow any slots, it just assumes that 24 is open.

I tested both the mods you reocmmended above Depechnode... they BOTH have the same exact problem I am having... the only difference is you cant tell they are having the problem because they have no background.

Last edited by Jaxel : 04-06-2005 at 12:32 AM.
Reply With Quote
  #5  
Unread 04-06-2005, 01:00 AM
Talyns's Avatar
Talyns Talyns is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Everfrost
Posts: 604
Default

Ok I thought that fixed it for me but I tested my mod again and it didn't work.. That was to fix another bug with resizing to larger sizes

Ok to fix the bug change the OnHide of the Bag Window Page to:
'slot 0.visible'=false
'slot 1.visible'=false
'slot 2.visible'=false
'slot 3.visible'=false
'slot 4.visible'=false
'slot 5.visible'=false
'slot 6.visible'=false
'slot 7.visible'=false
'slot 8.visible'=false
'slot 9.visible'=false
'slot 10.visible'=false
'slot 11.visible'=false
'slot 12.visible'=false
'slot 13.visible'=false
'slot 14.visible'=false
'slot 15.visible'=false
'slot 16.visible'=false
'slot 17.visible'=false
'slot 18.visible'=false
'slot 19.visible'=false
'slot 20.visible'=false
'slot 21.visible'=false
'slot 22.visible'=false
'slot 23.visible'=false
'slot 24.visible'=false
'slot 25.visible'=false
'slot 26.visible'=false
'slot 27.visible'=false
'slot 28.visible'=false
'slot 29.visible'=false
'slot 30.visible'=false
'slot 31.visible'=false
'slot 32.visible'=false
'slot 33.visible'=false
'slot 34.visible'=false
'slot 35.visible'=false

addeum: Tested briefly seemed to fix it..
__________________
Talyns
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 02:15 PM.


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