Page 1 of 1

Small question related to bags.

Posted: Wed Jul 27, 2011 5:16 am
by botje

Code: Select all

function Return()
			printf("Bag spaces free:  "..inventory:itemTotalCount(0).."\n");
			printf("Weapon Durbility: "..inventory:getMainHandDurability().."\n");
			if 5 > inventory:itemTotalCount(0) or 50 > inventory:getMainHandDurability() then
				printf("Going to shop, loading new waypoint...\n");
				sendMacro("LeaveParty();");
				waitForLoadingScreen();
				 
				loadPaths("Dragonfang/CyclopsShop");
			end
		end
this works fine, BUT, i bought a third bag for 30 days, and now i have the problem it doesnt detect it, it still reports like, 5 spaces left, when that bag is not even full >.<

i thought there was something in settings.lua, but i dont see it anymore, i thought we could set how many bags we had somewhere?

Botje

Re: Small question related to bags.

Posted: Wed Jul 27, 2011 5:30 am
by lisa
rentbagbase address is wrong.
it should be
0x9DDA44

Re: Small question related to bags.

Posted: Wed Jul 27, 2011 5:34 am
by botje
ah, let me try that :)

Botje

Re: Small question related to bags.

Posted: Wed Jul 27, 2011 5:34 am
by rock5
Are you saying it is reporting 5 spaces left when there is 5 spaces left in the 1st and 2nd bag and the third bag is empty?

Re: Small question related to bags.

Posted: Wed Jul 27, 2011 5:35 am
by botje
yes, thats exactly what i mean :)

Re: Small question related to bags.

Posted: Wed Jul 27, 2011 5:38 am
by rock5
Looks like Lisa is right. Did you try the new address?

Re: Small question related to bags.

Posted: Wed Jul 27, 2011 5:41 am
by botje
testing as we speak, be patient young padawan xd

Botje

EDIT: yes, its fine now, detects that i have 55 spaces left, and first bag is full :)