 |

03-24-2005, 03:56 PM
|
|
A Forest Scavenger
|
|
Join Date: Feb 2005
Server: Kithicor
Posts: 19
|
|
Can someone check this for any "Technical faults"
I had an old bag mod i really liked, we got some new slots and I wanted to be abel to acess them, I'm pretty picky about my bags and the current mods out there are great but all have usually 1 thing that makes them a no go. Anyway I tried to manually edit the xml for the bag mod I was using, it LOOKS like it works in game, but I'm not really all that spectacular with XML or even had a clue what I was doing, I just copied pasted and made changes till it appeared to work.
Can someone better at XML than I go over this code here and let me know if it's technically sound, or if I'll experience some problems, heck if someone with a 24+ slot bag/box can check it out that woudl be great as well...
Link To Zip
Raw code here
Code:
<?xml version="1.0" encoding="utf-8"?>
<Page Activated="true" eq2usescomwndcontrols="true" Location="50,50" MaximumSize="1024,1024" MinimumSize="20,20" Name="Bag" ScrollExtent="162,381" Size="162,381" UserMovable="true">
<Button LocalTooltip="Close" Location="146,2" Name="WC_CloseButton" PackLocation="right,top" PackLocationProp="-016/0001,0002/0001" ScrollExtent="14,14" Size="14,14" Style="/ButtonStyles.close_button" Tooltip="Close" UserMovable="true"></Button>
<Image Activated="true" GetsInput="true" Location="2,2" Name="WC_MoveButton" ScrollExtent="14,14" Size="14,14" SourceRect="122,476,136,490" SourceResource="/images/window_elements_generic.dds" Stretch="false"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" MouseOverColor="#FFFF00" Name="Slot 0" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="40,0" MouseOverColor="#FFFF00" Name="Slot 1" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="80,0" MouseOverColor="#FFFF00" Name="Slot 2" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="120,0" MouseOverColor="#FFFF00" Name="Slot 3" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="0,40" MouseOverColor="#FFFF00" Name="Slot 4" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="40,40" MouseOverColor="#FFFF00" Name="Slot 5" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="80,40" MouseOverColor="#FFFF00" Name="Slot 6" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="120,40" MouseOverColor="#FFFF00" Name="Slot 7" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="0,80" MouseOverColor="#FFFF00" Name="Slot 8" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="40,80" MouseOverColor="#FFFF00" Name="Slot 9" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="80,80" MouseOverColor="#FFFF00" Name="Slot 10" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="120,80" MouseOverColor="#FFFF00" Name="Slot 11" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="0,120" MouseOverColor="#FFFF00" Name="Slot 12" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="40,120" MouseOverColor="#FFFF00" Name="Slot 13" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="80,120" MouseOverColor="#FFFF00" Name="Slot 14" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="120,120" MouseOverColor="#FFFF00" Name="Slot 15" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="0,160" MouseOverColor="#FFFF00" Name="Slot 16" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="40,160" MouseOverColor="#FFFF00" Name="Slot 17" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="80,160" MouseOverColor="#FFFF00" Name="Slot 18" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="120,160" MouseOverColor="#FFFF00" Name="Slot 19" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="0,200" MouseOverColor="#FFFF00" Name="Slot 20" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="40,200" MouseOverColor="#FFFF00" Name="Slot 21" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="80,200" MouseOverColor="#FFFF00" Name="Slot 22" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="120,200" MouseOverColor="#FFFF00" Name="Slot 23" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="0,240" MouseOverColor="#FFFF00" Name="Slot 24" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="40,240" MouseOverColor="#FFFF00" Name="Slot 25" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="80,240" MouseOverColor="#FFFF00" Name="Slot 26" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="120,240" MouseOverColor="#FFFF00" Name="Slot 27" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="0,280" MouseOverColor="#FFFF00" Name="Slot 28" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="40,280" MouseOverColor="#FFFF00" Name="Slot 29" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="80,280" MouseOverColor="#FFFF00" Name="Slot 30" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="120,280" MouseOverColor="#FFFF00" Name="Slot 31" ScrollExtent="42,42" Size="42,42" TreatAsButton="true"/>
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Name="WC_Titlebar" PackLocation="left,top" PackLocationProp="0000/0001,0000/0001" PackSize="absolute" PackSizeProp="0001/0001,xxxx/xxxx" RStyleDefault="/FrameStyles.title_gold" ScrollExtent="161,20" Size="161,20"/>
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Name="WC_Frame" PackLocation="left,top" PackLocationProp="0000/0001,0000/0001" PackSize="absolute,absolute" PackSizeProp="0001/0001,0291/0001" RStyleDefault="/FrameStyles.win_gold" ScrollExtent="161,40" Size="161,40"/>
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Name="WC_Backdrop" PackLocation="left,top" PackLocationProp="0000/0001,0000/0001" PackSize="absolute,absolute" PackSizeProp="0001/0001,0291/0001" RStyleDefault="/FrameStyles.background_gold" ScrollExtent="161,40" Size="161,40"/>
</Page>
|

03-24-2005, 04:05 PM
|
 |
Steward of the Faithful
|
|
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 580
|
|
Hehe, I recognize that code. I'd suggest downloading my full-size bag mod and changing the first instance of AbsorbsInput="false" to AbsorbsInput="true". That should get you the mod you're after without the pesky click-through problem that I've yet to be able to solve fully.
__________________
|

03-24-2005, 04:14 PM
|
|
A Forest Scavenger
|
|
Join Date: Feb 2005
Server: Kithicor
Posts: 19
|
|
Thanks Ger, that was the reason I was not using the bag mod you had officially release, was the one I've edited above your original version of the current bag mods? The zip file I have and the xml offer no clues as to who made it =(
|

03-24-2005, 04:20 PM
|
 |
Steward of the Faithful
|
|
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 580
|
|
Quote:
|
Originally Posted by Elice
Thanks Ger, that was the reason I was not using the bag mod you had officially release, was the one I've edited above your original version of the current bag mods? The zip file I have and the xml offer no clues as to who made it =(
|
That was, I believe, the first version of the bag mod I released. It was certainly before I released the by-request 3/4 version (when I did that I added a bunch of dynamic size verification code that isn't in the version you listed there.)
__________________
|

03-24-2005, 04:59 PM
|
|
A Forest Scavenger
|
|
Join Date: Feb 2005
Server: Kithicor
Posts: 19
|
|
Ahh, I think I learned a little by fiddling around with this one, I may even get brave and try some more stuff now, it's all your fault too!
I'll switch over to the new bags though, the dynamic size verification sounds ... important. 
|

03-24-2005, 05:12 PM
|
 |
Steward of the Faithful
|
|
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 580
|
|
Quote:
|
Originally Posted by Elice
Ahh, I think I learned a little by fiddling around with this one, I may even get brave and try some more stuff now, it's all your fault too!
I'll switch over to the new bags though, the dynamic size verification sounds ... important. 
|
Doesn't it though? It's really not hugely important. All it does is make sure there isn't any extra space when opening various sized bags. The old version (the one you modified) would occasionally have a pixel or two of deadspace outside the actual bag area due to how it was created, this fixes that problem.
__________________
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:11 PM.
|
 |