AYA Map help please
The map that we use in AYAUI is currently working fine, but the open bags feature only accomidates up to 20 slots. Are there any coders who can help me to modify this file to fit 32 slot bags? Please?
Thanks for your time: HTML Code:
|
I'm by no means a seasoned coder (have intermediate working knowledge of HTML, so I know basic structure/tag usage/etc), but have taken a look anyway.
Just for the record, the only section of your code I really looked at was the part dealing with the bags (roughly around line numbers 4400 - 4700). Any line numbers referenced are from copy/pasting the supplied code into Notepadd++. The biggest chunk of code that stood out for me was lines 4522 to 4558. Three things within this section jumped out at me.
Not sure if they are merely 'structural' things or if they may actually be factoring in on the issue at hand. Another thing I noticed (which may ultimately be the cause) is that all of your "<Pieces>IW_BagX_SlotXX</Pieces>" lines only go up to Slot20 - instead of Slot32. |
I can fix it for you. I assume the window will just allow you to stretch it to fit the extra slots?
|
By the way, I would also suggest the use of TileLayerBoxes to cut down on the need to actually use the location tag for each slot.
|
4 Attachment(s)
OK, I made a few different ones for you. First is the fixed version with 32 slots. I then made 3 using the TileLayerBox command, one has 5 point spacing, one has 2 point spacing (my preference) and the last is 0 point spacing between the horizontal bag slots.
If you want to play with it find the following code and change the red hilighted numbers. The first set of numbers indicates the size of the box container including spaces, the second sets indicate the size of the space between each box, either horizontal or vertical (vertical is secondary). Code:
I don't have any 32 slot bags but I'm sure you can fix it as needed. Enjoy. |
Wow The 32 slot bag functionality is this is perfect! Thank you very much!
|
Glad you like it. Can you just move the 32 slot bag into each bag slot to check the code is right in every spot?
|
Quote:
Just did its perfect! Thanks again! |
Quote:
Considering that it the map window already holds 32 slot bags too I tend to agree. :D |
And now that needs to increase to 40 :)
|
when will 40 be live?
|
Quote:
The stupid TS only bag has 40 now it went live with the last patch. I wonder how many folks make that bag and then find out they cant use if for most of the items in the game. :( |
hmmm my player made tradeskill bags only 32 slot....I GOT RIPPED OFF
|
Quote:
your right. I misspoke it is the one in marketplace that is 40 slots |
ahhh i see it now
|
All times are GMT -5. The time now is 04:03 PM. |
vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.