Do guildbank support the other pages than the first?
Do guildbank support the other pages than the first?
Question in the subject line.
How to get to other pages guild vault?
Sorry for my english. My english is from google translator
How to get to other pages guild vault?
Sorry for my english. My english is from google translator
Re: Do guildbank support the other pages than the first?
Try and set
for a 2 page guild vault.
Code: Select all
guildbank.MaxSlots = 200
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Do guildbank support the other pages than the first?
Not work. Why?
Code: Select all
Command> guildbank.MaxSlots = 200;for i = 101,200 do guildbank.BagSlot[i]:moveTo("bag"); end;
onLoad error: [string "guildbank.MaxSlots = 200;for i = 101,200 do..."]:1: attempt to index field '?' (a nil value)
Re: Do guildbank support the other pages than the first?
I'd say you would need to do a "guildbank:update()" after changing the MaxSlots but I don't think it would work. I'll have to add some code to make it work. Try replacing this file in the "classes" folder.Let me know how it goes.
Then try
Code: Select all
guildbank.MaxSlots = 200;guildbank:update();for i = 101,200 do guildbank.BagSlot[i]:moveTo("bag"); end;
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Do guildbank support the other pages than the first?
With the new guildbank.lua. First call guildbank:update() returns
Works only for the first slot second page (101).
In other words
work
not work
Code: Select all
Id 1 not found
Wrong value returned in update of item id: 1
Id 5048 not found
Wrong value returned in update of item id: 5048
Id 1314869074 not found
Wrong value returned in update of item id: 1314869074
Id 16777215 not found
Wrong value returned in update of item id: 16777215
Id 33554431 not found
Wrong value returned in update of item id: 33554431
Id 50331647 not found
Wrong value returned in update of item id: 50331647
Id 50331647 not found
Wrong value returned in update of item id: 50331647
Id 67108863 not found
Wrong value returned in update of item id: 67108863
Id 83886079 not found
Wrong value returned in update of item id: 83886079
Id 83886079 not found
Wrong value returned in update of item id: 83886079
Id 100663295 not found
Wrong value returned in update of item id: 100663295
Id 117440511 not found
Wrong value returned in update of item id: 117440511
Id 117440511 not found
Wrong value returned in update of item id: 117440511
Id 134217727 not found
Wrong value returned in update of item id: 134217727
Id 150994943 not found
Wrong value returned in update of item id: 150994943
Id 167772159 not found
Wrong value returned in update of item id: 167772159
Id 167772159 not found
Wrong value returned in update of item id: 167772159
Id 184549375 not found
Wrong value returned in update of item id: 184549375
Id 201326591 not found
Wrong value returned in update of item id: 201326591
Id 201326591 not found
Wrong value returned in update of item id: 201326591
Id 218103807 not found
Wrong value returned in update of item id: 218103807
Id 234881023 not found
Wrong value returned in update of item id: 234881023
Id 251658239 not found
Wrong value returned in update of item id: 251658239
Id 251658239 not found
Wrong value returned in update of item id: 251658239
Id 268435455 not found
Wrong value returned in update of item id: 268435455
Id 285212671 not found
Wrong value returned in update of item id: 285212671
Id 285212671 not found
Wrong value returned in update of item id: 285212671
Id 301989887 not found
Wrong value returned in update of item id: 301989887
Id 318767103 not found
Wrong value returned in update of item id: 318767103
Id 335544319 not found
Wrong value returned in update of item id: 335544319
Id 335544319 not found
Wrong value returned in update of item id: 335544319
Id 352321535 not found
Wrong value returned in update of item id: 352321535
Id 369098751 not found
Wrong value returned in update of item id: 369098751
Id 369098751 not found
Wrong value returned in update of item id: 369098751
Id 385875967 not found
Wrong value returned in update of item id: 385875967
Id 402653183 not found
Wrong value returned in update of item id: 402653183
Id 402653183 not found
Wrong value returned in update of item id: 402653183
Id 419430399 not found
Wrong value returned in update of item id: 419430399
Id 436207615 not found
Wrong value returned in update of item id: 436207615
Id 452984831 not found
Wrong value returned in update of item id: 452984831
Id 452984831 not found
Wrong value returned in update of item id: 452984831
Id 469762047 not found
Wrong value returned in update of item id: 469762047
Id 486539263 not found
Wrong value returned in update of item id: 486539263
Id 486539263 not found
Wrong value returned in update of item id: 486539263
Id 503316479 not found
Wrong value returned in update of item id: 503316479
Id 520093695 not found
Wrong value returned in update of item id: 520093695
Id 536870911 not found
Wrong value returned in update of item id: 536870911
Id 536870911 not found
Wrong value returned in update of item id: 536870911
Id 553648127 not found
Wrong value returned in update of item id: 553648127
Id 570425343 not found
Wrong value returned in update of item id: 570425343
Id 570425343 not found
Wrong value returned in update of item id: 570425343
Id 587202559 not found
Wrong value returned in update of item id: 587202559
Id 603979775 not found
Wrong value returned in update of item id: 603979775
Id 620756991 not found
Wrong value returned in update of item id: 620756991
Id 620756991 not found
Wrong value returned in update of item id: 620756991
Id 637534207 not found
Wrong value returned in update of item id: 637534207
Id 654311423 not found
Wrong value returned in update of item id: 654311423
Id 654311423 not found
Wrong value returned in update of item id: 654311423
Id 671088639 not found
Wrong value returned in update of item id: 671088639
Id 687865855 not found
Wrong value returned in update of item id: 687865855
Id 687865855 not found
Wrong value returned in update of item id: 687865855
Id 704643071 not found
Wrong value returned in update of item id: 704643071
Id 721420287 not found
Wrong value returned in update of item id: 721420287
Id 738197503 not found
Wrong value returned in update of item id: 738197503
Id 738197503 not found
Wrong value returned in update of item id: 738197503
Id 754974719 not found
Wrong value returned in update of item id: 754974719
Id 771751935 not found
Wrong value returned in update of item id: 771751935
Id 771751935 not found
Wrong value returned in update of item id: 771751935
Id 788529151 not found
Wrong value returned in update of item id: 788529151
Id 805306367 not found
Wrong value returned in update of item id: 805306367
Id 822083583 not found
Wrong value returned in update of item id: 822083583
Id 822083583 not found
Wrong value returned in update of item id: 822083583
Id 838860799 not found
Wrong value returned in update of item id: 838860799
Id 855638015 not found
Wrong value returned in update of item id: 855638015
Id 855638015 not found
Wrong value returned in update of item id: 855638015
Id 872415231 not found
Wrong value returned in update of item id: 872415231
Id 889192447 not found
Wrong value returned in update of item id: 889192447
Id 905969663 not found
Wrong value returned in update of item id: 905969663
Id 905969663 not found
Wrong value returned in update of item id: 905969663
Id 922746879 not found
Wrong value returned in update of item id: 922746879
Id 939524095 not found
Wrong value returned in update of item id: 939524095
Id 939524095 not found
Wrong value returned in update of item id: 939524095
Id 956301311 not found
Wrong value returned in update of item id: 956301311
Id 973078527 not found
Wrong value returned in update of item id: 973078527
Id 973078527 not found
Wrong value returned in update of item id: 973078527
Id 989855743 not found
Wrong value returned in update of item id: 989855743
Id 1006632959 not found
Wrong value returned in update of item id: 1006632959
Id 1023410175 not found
Wrong value returned in update of item id: 1023410175
Id 1023410175 not found
Wrong value returned in update of item id: 1023410175
Id 1040187391 not found
Wrong value returned in update of item id: 1040187391
Id 1056964607 not found
Wrong value returned in update of item id: 1056964607
Id 1056964607 not found
Wrong value returned in update of item id: 1056964607
Id 1073741823 not found
Wrong value returned in update of item id: 1073741823
Id 1090519039 not found
Wrong value returned in update of item id: 1090519039
Id 1107296255 not found
Wrong value returned in update of item id: 1107296255
Id 1107296255 not found
Wrong value returned in update of item id: 1107296255
Id 1124073471 not found
Wrong value returned in update of item id: 1124073471
Code: Select all
guildbank.MaxSlots = 200;guildbank:update();for i = 101,200 do guildbank.BagSlot[i]:moveTo("bag"); end;
In other words
Code: Select all
guildbank.BagSlot[101]:moveTo("bag");
Code: Select all
guildbank.BagSlot[102]:moveTo("bag");
Re: Do guildbank support the other pages than the first?
That's what it prints for me but I assumed it was because I didn't have a second page. Maybe the second page data does not immediately follow the page 1 data. Seems unlikely. But you said the first item worked. That might mean the the size of each item might be different.
Do you have any experience using Cheat Engine?
Do you have any experience using Cheat Engine?
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Do guildbank support the other pages than the first?
I never did not use Cheat Engine. Formerly I used gamewiz32. From what I can see something like that.
I do not know if it's for something useful but according Cheat Engine addresses where it is stored, the amount in the stack are the following
101 - 1EEAA820
102 - 1EEAA864
103 - 1EEAA8A8
104 - 1EEAA8EC
etc.
I do not know if it's for something useful but according Cheat Engine addresses where it is stored, the amount in the stack are the following
101 - 1EEAA820
102 - 1EEAA864
103 - 1EEAA8A8
104 - 1EEAA8EC
etc.
Re: Do guildbank support the other pages than the first?
That will probably do. If you want to help me you can follow these instructions. I'm after the address of the id of the 2nd slot of the second guild vault page.
First we need a couple of items and their ids. You can get their ids a number of ways but because we'll need the commandline in a bit, I'll use that.
Then start again and repeat steps 4 and 5 for slot 3 of the second page of the vault.
Lastly, for comparison, type the following at the commandlineAnd tell me what it writes.
I hope that was clear enough.
First we need a couple of items and their ids. You can get their ids a number of ways but because we'll need the commandline in a bit, I'll use that.
- 1. Put a couple of different items in slot 1 and 2 of your bag. We are going to move them to the vault so they can't be bound. Any items will do.
2. Start the commandline. Easiest way is to run "StartCommandLine.bat" in your rom folder.
3. Type the following at the prompt. Check the link in my signature if you don't know how to paste into Micromacro.Code: Select all
inventory:update() for s=61,62 do print(inventory.BagSlot[s].Name,inventory.BagSlot[s].Id) end
- You should end up with 2 item names and their ids.
5. Now put the other item in that slot and refine the search results with it's id.
Then start again and repeat steps 4 and 5 for slot 3 of the second page of the vault.
Lastly, for comparison, type the following at the commandline
Code: Select all
printf("%X\n",guildbank.BagSlot[100].Address)
I hope that was clear enough.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Do guildbank support the other pages than the first?
Results are as follows
Slot - Adress
101 - 02C3A810
102 - 02C3A854
103 - 02C3A898
104 - 02C3A8DC
....
201 - 36E98C10
202 - 36E98C54
2C3A65C
It worked that slot 101 it was an accident. Now it does not work for any slot.
Slot - Adress
101 - 02C3A810
102 - 02C3A854
103 - 02C3A898
104 - 02C3A8DC
....
201 - 36E98C10
202 - 36E98C54
Code: Select all
printf("%X\n",guildbank.BagSlot[100].Address)
Code: Select all
guildbank.MaxSlots = 200;guildbank:update();for i = 101,200 do guildbank.BagSlot[i]:moveTo("bag"); end;
Re: Do guildbank support the other pages than the first?
Good job.
It looks like each page is in it's own separate memory area. That means there would have to be a list somewhere. Looking at the pointer for the GuildBankBase I think I know where it is.
I decided I could afford to buy a page so I bought one to find the pointer. Just as I thought, if you change the 0x0 in the pointer to an 8 it takes you to the second page.
I'm not 100 % sure about the pattern though. Seeing as you have 3 pages could you test the following at the commandline prompt? Set 'pages' to the number of pages you have.
It looks like each page is in it's own separate memory area. That means there would have to be a list somewhere. Looking at the pointer for the GuildBankBase I think I know where it is.
I decided I could afford to buy a page so I bought one to find the pointer. Just as I thought, if you change the 0x0 in the pointer to an 8 it takes you to the second page.
I'm not 100 % sure about the pattern though. Seeing as you have 3 pages could you test the following at the commandline prompt? Set 'pages' to the number of pages you have.
Code: Select all
pages=3 for i=0,pages*2 do printf("%X\n",memoryReadUIntPtr(getProc(),addresses.staticGuildBankBase,{0xC4, i*4})) end
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Do guildbank support the other pages than the first?
I suspect the above command wont work. I think you will end up with only 3 addresses. Do it anyway to confirm my suspicions.
I see another pattern. Could you try the following as wellIt should print the base address of each page and the name of the item in the first slot of the page. Make sure there is an item in the first slot of each page. Then check that the names match.
I see another pattern. Could you try the following as well
Code: Select all
pagelist=memoryReadUIntPtr(getProc(),addresses.staticGuildBankBase,{0xC4}) pageaddress=memoryReadUInt(getProc(),pagelist) while pageaddress~=pagelist do firstid=memoryReadInt(getProc(),pageaddress+0x10) printf("%08X %s\n",pageaddress,GetIdName(firstid)) pageaddress=memoryReadUInt(getProc(),pageaddress+0x8) end
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Do guildbank support the other pages than the first?
if you log onto aus server my guild has 4 guild bank tabs now.
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Do guildbank support the other pages than the first?
Thanks. I didn't know that. How long has it been like that?
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Do guildbank support the other pages than the first?
since about 2 minutes before that postrock5 wrote:Thanks. I didn't know that. How long has it been like that?
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Do guildbank support the other pages than the first?
It didn't work the way I expected. This is the data I got.
The 'page list' is the pointer that points to the pages. There are 3 addresses there. At each page address there are also 3 addresses. In the data above, the first column is the address of that page (or page list) and the 3 addresses following are the addresses located there before where the item data is listed. The 'L,1,2,3,4' is just an abbreviation of where those addresses point, L = page list and 1,2,3,4 = pages.
I thought maybe 1 of the columns would point to the previous page and one would point to the next page but I see no such pattern. I see no pattern actually. The only way I can see it working is if I remember the address of each page as I visit it and then check for the new address amongst those 3 addresses. It looks like the new address would always be the next page.
I'll see what I can do with that.
Code: Select all
4 PAGE DATA
-----------
page list 02C9C400 229EC400 2958C400 3021C400 1 2 4
page 1 229EC400 02C9C400 2958C400 02C9C400 L 2 L
page 2 2958C400 229EC400 02C9C400 3021E000 1 L 3
page 3 3021E000 02C9C400 2958C400 3021C400 L 2 4
page 4 3021C400 02C9C400 3021E000 02C9C400 L 3 L
2 PAGE DATA
-----------
page list 0294C400 03E9C400 03E9C400 03E9E000 1 1 2
page 1 03E9C400 0294C400 0294C400 03E9E000 L L 2
page 2 03E9E000 0294C400 03E9C400 0294C400 L 1 L
I thought maybe 1 of the columns would point to the previous page and one would point to the next page but I see no such pattern. I see no pattern actually. The only way I can see it working is if I remember the address of each page as I visit it and then check for the new address amongst those 3 addresses. It looks like the new address would always be the next page.
I'll see what I can do with that.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Do guildbank support the other pages than the first?
Hi there!!
I´m workin on a new waypoint, to sabe t5 items into the guildbank,
I use this code:
guildbank.MaxSlots = 600; inventory:update(); guildbank:update(); for i = 61,150 do item = inventory.BagSlot item:moveTo("guildbank"); end;
It Works perfect on the first and the second page, but can´t make it work on the other pages it doesn´t, we have 6 pages open on the guild.
For example this code is whatI use to test it:
guildbank.MaxSlots = 300; guildbank:update(); guildbank.BagSlot[300]:moveTo("bag"); (doesn´t work, it seems that page 3 doesn´t work)
guildbank.MaxSlots = 400; guildbank:update(); guildbank.BagSlot[400]:moveTo("bag"); (it does work)
Why does this happen?
Thanks in advance,
I´m workin on a new waypoint, to sabe t5 items into the guildbank,
I use this code:
guildbank.MaxSlots = 600; inventory:update(); guildbank:update(); for i = 61,150 do item = inventory.BagSlot item:moveTo("guildbank"); end;
It Works perfect on the first and the second page, but can´t make it work on the other pages it doesn´t, we have 6 pages open on the guild.
For example this code is whatI use to test it:
guildbank.MaxSlots = 300; guildbank:update(); guildbank.BagSlot[300]:moveTo("bag"); (doesn´t work, it seems that page 3 doesn´t work)
guildbank.MaxSlots = 400; guildbank:update(); guildbank.BagSlot[400]:moveTo("bag"); (it does work)
Why does this happen?
Thanks in advance,
Re: Do guildbank support the other pages than the first?
Firstly, there is no "guildbank.MaxSlots". The guildbank is automatically filled with all available pages.
I tested adding items items to page 2, 3 and 4. They all worked.I don't have access to remove items from page 3 and 4 so I couldn't test that fully but it looked like it did everything correctly up to picking up the item from the guild bank but then failed to put it in the bag. So it looked like it would have worked.
Which bring up another point, do you have access to add and remove from those pages? Do you have a limit on how many you can remove?
Lastly, in regards to removing items from the 3rd and 4th page, make sure you are not getting the first and last slot of a page mixed up. 300 and 400 are the last slots of page 3 and 4, not the first.
I tested adding items items to page 2, 3 and 4. They all worked.
Code: Select all
Command> inventory:update(); guildbank:update(); for i = 61,62 do item = invento
ry.BagSlot[i] item:moveTo("guildbank2"); end;
Command> inventory:update(); guildbank:update(); for i = 63,64 do item = invento
ry.BagSlot[i] item:moveTo("guildbank3"); end;
Command> inventory:update(); guildbank:update(); for i = 65,66 do item = invento
ry.BagSlot[i] item:moveTo("guildbank4"); end;
Which bring up another point, do you have access to add and remove from those pages? Do you have a limit on how many you can remove?
Lastly, in regards to removing items from the 3rd and 4th page, make sure you are not getting the first and last slot of a page mixed up. 300 and 400 are the last slots of page 3 and 4, not the first.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Do guildbank support the other pages than the first?
fixedrock5 wrote:I don't have access to remove items from page 3 and 4
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Do guildbank support the other pages than the first?
I have the same issue, bot keeps trying to put items in the first four slots of the third tab regardless of if there are any items in there or not.
In fact when trying to print the names of all the items present in the bank slots 1 to 200 work fine and give out the name of the item, from 201 to 300 it says slots are emtpy and from 301 to 400 seem to work fine and pages 5 & 6 are not getting updated at all.
EDIT:
I tried the same code in a guild with just 5 pages and it seemed to work fine.
This printed the names of the items for all the first four pages without any kind of issue, the fifth page however didn't work at all like in the guild with 6 pages.
In fact when trying to print the names of all the items present in the bank slots 1 to 200 work fine and give out the name of the item, from 201 to 300 it says slots are emtpy and from 301 to 400 seem to work fine and pages 5 & 6 are not getting updated at all.
EDIT:
I tried the same code in a guild with just 5 pages and it seemed to work fine.
Code: Select all
guildbank:updatePageAddresses(); guildbank:update(); for i, item in pairs(guildbank.BagSlot) do printf(i.." "..item.Name.."\n") end
Re: Do guildbank support the other pages than the first?
This is going to be difficult to work out.
Maybe it's a lag issue. What's your ping? Try adding a pause in the following 'for' loop found at line 27 of guildbank.lua by adding a "yrest(200)".
Maybe it's a lag issue. What's your ping? Try adding a pause in the following 'for' loop found at line 27 of guildbank.lua by adding a "yrest(200)".
Code: Select all
-- Flick though pages to initialize items
for i = 1, #self.PageAddresses do
RoMScript("GuildBank_PageRequest("..i..")")
yrest(200)
end
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 2 guests