Page 2 of 5

Re: Patch 3.0.8 broke something...

Posted: Wed Jan 26, 2011 4:33 pm
by Rom Botter
so i changed the 4 sets fobsauce advised and put table offset to 0x0 and now i get an error i havnt seen ont he topic before so i thought i'd post it :)

it was half way loading the item tables when i got:

Code: Select all

....classes\memorytable.lua:395: attempt to perform arithmetic on local 'dataPointer' (a nil value)

Re: Patch 3.0.8 broke something...

Posted: Wed Jan 26, 2011 6:27 pm
by rock5
fobsauce wrote:Ya, I'm having trouble with finding that table. What worked before was probably luck.
Voidmains instruction used to work but I think they didn't last major patch. I think we just got lucky. So I'm not surprised the instructions still don't work.

Re: Patch 3.0.8 broke something...

Posted: Wed Jan 26, 2011 6:50 pm
by botje
well, works for me, except it doesnt detect potions etc.

but atleast it runs and fights again ^^

Botje

PS, you should not change that offset...

Re: Patch 3.0.8 broke something...

Posted: Wed Jan 26, 2011 7:07 pm
by fobsauce
here we go
castingBarPtr = 0xA103B4,
inventoryBagIds = 0x9D18FC,
pawnId_offset = 0x14,
tablesBase = 0x9DEC74,
tablesBaseOffset = 0x28, -- in case you changed it from before

Re: Patch 3.0.8 broke something...

Posted: Wed Jan 26, 2011 7:26 pm
by botje
that still doesnt find any potions im afraid, but works fine for the rest of it ^^

Botje

Re: Patch 3.0.8 broke something...

Posted: Wed Jan 26, 2011 8:00 pm
by fobsauce
botje wrote:that still doesnt find any potions im afraid, but works fine for the rest of it ^^

Botje
You can try using potions by ID instead of by name. That may work.

Re: Patch 3.0.8 broke something...

Posted: Wed Jan 26, 2011 8:10 pm
by botje
nah, its the bot itself that doesnt find it.

says it doesnt finds any usable potions in bag, oh well, il just do that part myself for the time being ^^

Botje

Re: Patch 3.0.8 broke something...

Posted: Wed Jan 26, 2011 10:16 pm
by leahcim2468
just curious any fixes yet?

Re: Patch 3.0.8 broke something...

Posted: Wed Jan 26, 2011 10:29 pm
by lisa
After a patch that changes things this much it is usually posted when a new revision is available.

Re: Patch 3.0.8 broke something...

Posted: Wed Jan 26, 2011 10:34 pm
by jduartedj
have you not been reading??

anyway pet crafting (and other pet stuff I assume) aren't working also!

EDIT:
Doesn't Detect Foods either so i'm assuming doesn't read the bag at all, because itemCount returns 0 for items.

Re: Patch 3.0.8 broke something...

Posted: Wed Jan 26, 2011 10:55 pm
by lisa
If you do rom/update.lua and then change the values posted by fobsauce, the bot will run WP and kill/loot mobs.
fobsauce wrote:here we go
castingBarPtr = 0xA103B4,
inventoryBagIds = 0x9D18FC,
pawnId_offset = 0x14,
tablesBase = 0x9DEC74,
tablesBaseOffset = 0x28, -- in case you changed it from before
These are in the rom/addresses.lua file

As for inventory and items, will have to wait on those until those addresses are discovered. So it won't use potions at this stage.

Re: Patch 3.0.8 broke something...

Posted: Wed Jan 26, 2011 11:19 pm
by s018mes
I updated and changed the address.lua with the ones mention in this post. However I keep getting:

"scripts/rom/macros.lua:68: No valid action keys available for the command macro. Please supply an empty action key with a hotkey and no modifier."

I have DELETED all the macros. And I DO know how to put in an empty macro and place it on slot 0. I have been doing that successfully for months. But since today, it gives me this error. Any ideas?

Re: Patch 3.0.8 broke something...

Posted: Wed Jan 26, 2011 11:24 pm
by lisa
You shouldn't need to add an empty macro anymore, it was changed a little while back where rombot adds the MACRO key in itself. Try with nothing in the 0 action bar slot and run rom/bot.lua

Re: Patch 3.0.8 broke something...

Posted: Thu Jan 27, 2011 12:35 am
by rock5
I think I got the last addresses (rentbagbase, eggpetbassaddress and static inventory).

Looks like everything is working so I committed it to rev 568.

Remember to delete 'addresses.lua' before updating to avoid conflicts.

Enjoy!

Re: Patch 3.0.8 broke something...

Posted: Thu Jan 27, 2011 1:06 am
by silentz
seems like everything works except golden egg farming.
it just runs around without doing anything.

Re: Patch 3.0.8 broke something...

Posted: Thu Jan 27, 2011 2:02 am
by lisa
rock5 wrote:I think I got the last addresses (rentbagbase, eggpetbassaddress and static inventory).

Looks like everything is working so I committed it to rev 568.

Remember to delete 'addresses.lua' before updating to avoid conflicts.

Enjoy!
After SVN update my pawnId_offset shows as 0x24 and wasn't working, I changed it to 0x14 and it works fine now.

Re: Patch 3.0.8 broke something...

Posted: Thu Jan 27, 2011 2:03 am
by rock5
silentz wrote:seems like everything works except golden egg farming.
it just runs around without doing anything.
I'll check it out.

Re: Patch 3.0.8 broke something...

Posted: Thu Jan 27, 2011 2:18 am
by silentz
silentz wrote:seems like everything works except golden egg farming.
it just runs around without doing anything.
I found the problem. As posted by lisa, when you update through svn, your pawnId_offset is 0x24 instead of 0x14.

I changed the address and everything works normal again.

Thanks guy

Re: Patch 3.0.8 broke something...

Posted: Thu Jan 27, 2011 2:38 am
by JackBlonder
After SVN update my pawnId_offset shows as 0x24 and wasn't working, I changed it to 0x14 and it works fine now.
This also works for me

Re: Patch 3.0.8 broke something...

Posted: Thu Jan 27, 2011 4:12 am
by rock5
That was one of the addresses updated by update.lua. There were only 2 offsets updated and both of them were wrong. That's something Administrator needs to fix. I've restored them in rev 569.

This means you can't use update.lua until Administrator fixes the patterns or it will break them again.