=(
rev 477 worked though??
Did you get an error saying invalid address for hmm what was it
9:17pm - C:/MM 304 605 test/scripts/rom/classes/item.lua:209: attempt to perform
arithmetic on global 'itemInfoAddress' (a nil value)
If so then it is a known error but only for some people, there is a way to continue botting it just involves a small code change.
classes/item.lua line 201-213 looks like this
Code: Select all
if ( self.Id >= 770000 and self.Id <= 771000 ) then
-- We need to get info from NPC...
tmp = memoryReadInt( proc, self.BaseItemAddress + addresses.idCardNPCOffset );
npcInfoAddress = GetItemAddress( tmp );
nameAddress = memoryReadInt( proc, npcInfoAddress + addresses.nameOffset );
self.Name = "Card - "; -- We should add a string so we can localize this
elseif ( self.Id >= 550000 and self.Id <=552000 ) then
-- We need to get info from item...
tmp = memoryReadInt( proc, self.BaseItemAddress + addresses.idRecipeItemOffset );
itemInfoAddress = GetItemAddress( tmp );
nameAddress = memoryReadInt( proc, itemInfoAddress + addresses.nameOffset );
self.Name = "Recipe - "; -- We should add a string so we can localize this
else
just need to comment out parts so it looks like this
Code: Select all
if ( self.Id >= 770000 and self.Id <= 771000 ) then
-- We need to get info from NPC...
--tmp = memoryReadInt( proc, self.BaseItemAddress + addresses.idCardNPCOffset );
--npcInfoAddress = GetItemAddress( tmp );
--nameAddress = memoryReadInt( proc, npcInfoAddress + addresses.nameOffset );
--self.Name = "Card - "; -- We should add a string so we can localize this
elseif ( self.Id >= 550000 and self.Id <=552000 ) then
-- We need to get info from item...
--tmp = memoryReadInt( proc, self.BaseItemAddress + addresses.idRecipeItemOffset );
--itemInfoAddress = GetItemAddress( tmp );
--nameAddress = memoryReadInt( proc, itemInfoAddress + addresses.nameOffset );
--self.Name = "Recipe - "; -- We should add a string so we can localize this
else
If that doesn't work then you can probably look for the required addresses yourself.
I am in the middle of making up a how to guide for finding the addresses we use in current revision.