Page 3 of 6

Re: SVN r544 for game version 3.0.7.2322

Posted: Sun Dec 19, 2010 6:19 am
by rock5
I was just about to release a complete fix for the inventory problems when I suddenly started getting this 67% problem. Up until now it has been working with the latest 547 revision. Even installing a new copy of the bot doesn't fix it.

Re: SVN r544 for game version 3.0.7.2322

Posted: Sun Dec 19, 2010 6:29 am
by botje
yeah, welcome to my hell ^^

Re: SVN r544 for game version 3.0.7.2322

Posted: Sun Dec 19, 2010 7:41 am
by ratzuk
But strangely it seems a reboot sometimes fixes it. I think one of the memory search patterns must be slightly amiss

Re: SVN r544 for game version 3.0.7.2322

Posted: Sun Dec 19, 2010 7:46 am
by botje
yes i noticed that too, doesnt work 5 times, then bam

works again xd

Botje

Re: SVN r544 for game version 3.0.7.2322

Posted: Sun Dec 19, 2010 8:03 am
by Sumdumguy
deleting macro.bsd got rid of the 67% problem, but Bot doesn't sell from inventory at all, or doesn't try to sell from itemshop bag or anything. just stands there at the vendor.

edit:
But I can run around and kill stuff. At least for now..I don't dare to do anything else...need to stockpile for dailies for 1 week vacation ;)

Re: SVN r544 for game version 3.0.7.2322

Posted: Sun Dec 19, 2010 11:17 am
by botje
seems bot has a good day today, no errors even when i restarted rom a few times.

weird thing...

how the hell can it work the 1, and error the next?

code always stays the same O.o

Botje

Re: SVN r544 for game version 3.0.7.2322

Posted: Sun Dec 19, 2010 11:22 am
by rock5
The only thing that worked for me was to delete the whole 'My Documents/Runes of Magic' folder. But then it only works the first time. The next time I start it, it gets the 67% error again. It's looking like there may be a bug in the game that doesn't save the data properly.

I think I'll have to try reinstalling the game.

Re: SVN r544 for game version 3.0.7.2322

Posted: Sun Dec 19, 2010 11:53 am
by Mushroomstamp
Only problems I've had are the bagid issues and Warden summons do not work.

Re: SVN r544 for game version 3.0.7.2322

Posted: Sun Dec 19, 2010 12:28 pm
by rock5
I completely re-installed the game and it still does it.

I'm just wondering now whether I should release the inventory fix anyway. It looks like it was all working properly before I started getting this error.

Re: SVN r544 for game version 3.0.7.2322

Posted: Sun Dec 19, 2010 12:30 pm
by jduartedj
I Have already PM'd Admin about it but i found that using:

Code: Select all

   inventoryBagIds = 0x9CD908,
Helps a lot! Specially for those experiencing inventory issues! As for the 67% stuck issues I cannot confirm it it makes any difference because I cannot reproduce it, I do urge some free spirit who does experience such stuck problem to test this address and report back to see if it makes any difference.

Aye, Aye!

Re: SVN r544 for game version 3.0.7.2322

Posted: Sun Dec 19, 2010 12:34 pm
by botje
sure, do it , its not like it can get worse xd

Botje

Re: SVN r544 for game version 3.0.7.2322

Posted: Sun Dec 19, 2010 12:49 pm
by jduartedj
Unfortunately I Just saw Admin posted this same thing in the thread regarding this problem. people have already replied saying it didn't help the stuck problem... :s At least I hope it helps those with inventory issues.

Re: SVN r544 for game version 3.0.7.2322

Posted: Sun Dec 19, 2010 1:08 pm
by rock5
Inventory issues should be fixed in rev 548. That includes correct number counts, autosell and using items. Please note that because it includes the Item Shop and Transmutor, the slot numbers for the bags now start at 61 instead of 1. I don't foresee this causing any issues.

It was working well for me until I started getting the 67% error but I didn't get the chance to test it thoroughly but i decided to release anyway as I'm not sure how long it will take to resolve this problem and this fix is sorely needed.

Please report any issues.

To repeat, this is not a fix for the 67% error. I believe that error has nothing to do with the bot but with the game itself.

Re: SVN r544 for game version 3.0.7.2322

Posted: Sun Dec 19, 2010 1:20 pm
by jduartedj
rock5 wrote:with the game itself.
WOOT, Then we must figure out what is causing this to happen to some people and others not.

EDIT: Will test the new version.

Re: SVN r544 for game version 3.0.7.2322

Posted: Sun Dec 19, 2010 2:31 pm
by rambo66
Hello to all
autosell works again... ;) after SVN update

thanks alot.. ;) great work... ;)

Re: SVN r544 for game version 3.0.7.2322

Posted: Sun Dec 19, 2010 2:32 pm
by checkii
Does that mean inventory updates and counts can go up to the 6th bag? Or are we still stuck at the 4th?

Can anyone confirm this? I am interested in buying 5th and 6th bag.

Re: SVN r544 for game version 3.0.7.2322

Posted: Sun Dec 19, 2010 3:10 pm
by rambo66
checkii wrote:Does that mean inventory updates and counts can go up to the 6th bag? Or are we still stuck at the 4th?

Can anyone confirm this? I am interested in buying 5th and 6th bag.

I'm just using the common 2 bags, and it selling now again only the 2nd bag

Re: SVN r544 for game version 3.0.7.2322

Posted: Sun Dec 19, 2010 3:27 pm
by botje
the slot numbers for the bags now start at 61 instead of 1. I don't foresee this causing any issues.
fix that in options and profile and voila ^^

Botje

Re: SVN r544 for game version 3.0.7.2322

Posted: Sun Dec 19, 2010 3:36 pm
by Alkaiser
Having some problems...

I get this now after starting a waypoint file:

Code: Select all

C:/micromacro/scripts/rom/classes/inventory.lua:799: bad argument #1 to 'lower' (string expected, got nil)
EDIT: Gah! I wasn't passing the 'range' parameter in my script.

Code: Select all

local bagspace = inventory:itemTotalCount(0,"bag2")
And this when starting the bot:

Code: Select all

INV_MAX_SLOTS (60) is lower then INV_AUTOSELL_TOSLOT (120). You can only sell items, that are within the inventory update range. Please adjust the option INV_MAX_SLOTS.
I was under the impression that I needed to set my bot's sell slots to 91-120 for bag2... Am I misunderstanding?

EDIT:

Okay, I've changed INV_MAX_SLOTS to 120 in settings.lua

And one more thing... just a minor annoyance really in inventory.lua.

Code: Select all

function CInventory:update()
	local timeStart = getTime();

	self.Money = memoryReadInt( proc, addresses.moneyPtr );

	for slotNumber = 1, self.MaxSlots, 1 do
		self.BagSlot[slotNumber]:update();
	end

--	if( settings.profile.options.DEBUG_INV ) then
		printf( "Inventory update took: %d\n", deltaTime( getTime(), timeStart ) );
		printf( "You have: %d gold.\n", self.Money );
--	end;
end;
Shouldn't the "Inventory update took" be commented out? Strangely, the "You have gold" part never appears.

Re: SVN r544 for game version 3.0.7.2322

Posted: Sun Dec 19, 2010 3:45 pm
by botje
yes, but there is a setting in settings.lua too :)

Botje