Page 2 of 6

Re: SVN r544 for game version 3.0.7.2322

Posted: Fri Dec 17, 2010 12:37 pm
by Darkside
Big Thx, it´s work.

to agree with the prophecy

Darkside

Re: SVN r544 for game version 3.0.7.2322

Posted: Fri Dec 17, 2010 12:42 pm
by Rickster
Batwy901 wrote:Well...the only problem i found so far is that if the waypoit is set to travel, the bot doesn;t fight back.
Waypoint type Travel,we don't stop and don't fight back
keeps poping up.
My char is a melee fighter with no ranged, he just keeps walking.
Deleted the whole folder and updated after, my waypoints are just the same as this morning, when the old modified version worked somehow.

Edit: I got around it by making the waypoints avoid the mobs, no biggy.Will wait for the bigger problems to be solved first.Great work so far, cheers! ;)
hm, this is the usual behavior of the bot.

TRAVEL = dont stop to fight back when atackt (as you already quoted)
RUN = run as long as nobody gets into your way, but fight back, when getting aggro

or did i got anything wrong?

Ric

Re: SVN r544 for game version 3.0.7.2322

Posted: Fri Dec 17, 2010 12:47 pm
by firedice
nvm... i fixed it, so weird...


All i had to do was remove the file, and re-install the ROm file that was from this post...

thanks to the ppl that tried to help.

Re: SVN r544 for game version 3.0.7.2322

Posted: Fri Dec 17, 2010 1:43 pm
by Batwy901
Rickster wrote:
Batwy901 wrote:Well...the only problem i found so far is that if the waypoit is set to travel, the bot doesn;t fight back.
Waypoint type Travel,we don't stop and don't fight back
keeps poping up.
My char is a melee fighter with no ranged, he just keeps walking.
Deleted the whole folder and updated after, my waypoints are just the same as this morning, when the old modified version worked somehow.

Edit: I got around it by making the waypoints avoid the mobs, no biggy.Will wait for the bigger problems to be solved first.Great work so far, cheers! ;)
hm, this is the usual behavior of the bot.

TRAVEL = dont stop to fight back when atackt (as you already quoted)
RUN = run as long as nobody gets into your way, but fight back, when getting aggro

or did i got anything wrong?

Ric
Good point...cheers, I stand corrected. /bonks noggin "duh!"

Re: SVN r544 for game version 3.0.7.2322

Posted: Fri Dec 17, 2010 2:56 pm
by kanta
I don't know if this will be helpful but I'll post what I've done.

Upon reading that there was an official fix svn release I deleted my rom folder and updated with tortise. I've only used MM for the egg and pet food collection and those are working perfectly.

The only thing I have noticed that may be off is the bag slot tables. Not sure how it's supposed to be but I turned on the inventory debugging option and this is what I see:

Slots 1 - 50: My item shop bag.
Slots 51 - 60: I am not sure what these are but are empty
Slots 61 - 90: Bag 1
Slots 91 - 120: Bag 2
Slots 121 - 150: Bag 3
Slots 151 - 180: Bag 4

Bags 5 and 6 aren't seen it seems.

Re: SVN r544 for game version 3.0.7.2322

Posted: Fri Dec 17, 2010 3:49 pm
by Administrator
Thanks for the input. You guys are probably right; the inventory is off-set by 4148 bytes. Of course, this also means that the checks for bagIds < 61 in classes.lua needs to be removed as well. This is a relatively minor change, but I don't have the time to do it now.

On the other hand, this means that the itemshop and arcane transmuter are now being accounted for. Maybe, we should instead leave it as-is and instead work to get it fully operational?

Re: SVN r544 for game version 3.0.7.2322

Posted: Fri Dec 17, 2010 5:41 pm
by kanta
If I had the time and was able to wrap my brain around coding, I'd try to help out more. I'm limited to basic easy fixes when it comes to this kind of thing, but I'll give as much input as I can. I wanna help in some way and not be a leech. Last time I did any serious programming was on my Commodore 64 :?

Re: SVN r544 for game version 3.0.7.2322

Posted: Fri Dec 17, 2010 10:52 pm
by Rickster
Hi out there,

sorry for cross posting, but I opened another thread before I saw probs diskussed already here.

Thanks for the so far fixed adresses.
Main things work fine, but I run into some problems.

1. The space of my bag is not calculated correct with "inventory:itemTotalCount(0)"
e.g. my bag is 45/60 the functions returns 48. After having one item more in the bag, 46/60 it returns 34.
As I have some waypointfiles watching the free slots in the bag and go to postbox or merchant, this doesnt work anymore.

2. When at the merchant with my char, it doesnt sell any items any more. I didnt change the waypoint scripts in no way and they ware running fine before.

3. Same when sending posts. No items are selected from the bag with rocks umm version.
Postbox is opend, nothing is selected and therefore not send.

All things seem to mess up with the bag slots.
Maybe you can find a solution for this.
Administrator wrote:On the other hand, this means that the itemshop and arcane transmuter are now being accounted for. Maybe, we should instead leave it as-is and instead work to get it fully operational?
As pointed above adresses for the bag slots are not correct. As there are functions not working correctly anymore, I would be glad seeing some fixes for that.

But there are also funny things happening :D
Working with a waypointfile, wich I forgot to disable, my char ended up at a merchant trying to sell something. But instead of selling, my char tried to use an item ... which i am realy realy sure for 70% :D, was not in my bag slots, neither itemshop bag, nor normal bag ... some kind of rabbit transformation thing.
And further on I tried to hunt mobs as a rabbit *g* ... the mobs seemed to be scared ;)

So far
Ric

Re: SVN r544 for game version 3.0.7.2322

Posted: Fri Dec 17, 2010 11:51 pm
by djgizmo
I'm removed RoM script completely, reinstalled it, updated it again via SVN, and I still get the stall at 67%

Re: SVN r544 for game version 3.0.7.2322

Posted: Sat Dec 18, 2010 12:09 am
by rock5
rambo66 wrote:i would like to sell everything that is on the second page in the bag.
Also when i start the bot, there is a warning that i should install the ingamefunctions, but they are still in the (Game)rom/interface folder
Should be (Game)rom/interface/addons folder.
rambo66 wrote:it is just me, who has the problem with the selling ?

my options are the following:

<option name="INV_AUTOSELL_ENABLE" value="true" />
<option name="INV_AUTOSELL_FROMSLOT" value="31" />
<option name="INV_AUTOSELL_TOSLOT" value="120" />
<option name="INV_AUTOSELL_QUALITY" value="white,green" />
I believe there is an issue with the slotnumbers and bagids since the last addresses update. I'll look into it as soon as I've finished reading the posts.

Re: SVN r544 for game version 3.0.7.2322

Posted: Sat Dec 18, 2010 12:54 am
by Administrator
I've emailed VoidMain about the issue and waiting to hear his input on it. I figure he probably has a good idea, as he's the one that wrote the memory inventory code, isn't he?

Re: SVN r544 for game version 3.0.7.2322

Posted: Sat Dec 18, 2010 5:51 pm
by botje
thanx for fixing the issues with rev547 ^^

all seems to work fine again :)

edit: well,almost all, auto sell doest work yet, seems it tries to sell from giftshop bag ^^

Botje

Re: SVN r544 for game version 3.0.7.2322

Posted: Sat Dec 18, 2010 6:34 pm
by Administrator
botje: can you elaborate exactly what was fixed for you in r547? Was it the freezing at 67%?

Re: SVN r544 for game version 3.0.7.2322

Posted: Sat Dec 18, 2010 6:40 pm
by botje
yes, it was fixed indeed :)

no more freezes at 67%, no more errors, just the autosell seems left ^^

great job man

Botje

Re: SVN r544 for game version 3.0.7.2322

Posted: Sat Dec 18, 2010 6:47 pm
by raff
for me it's still freezing at 67%, I have made a new windows profil and for the first bot start it worked, but after restarting rom, it is freezing at 67% again. Btw same effect, when I restart my pc.

Re: SVN r544 for game version 3.0.7.2322

Posted: Sat Dec 18, 2010 6:50 pm
by Administrator
raff wrote:for me it's still freezing at 67%, I have made a new windows profil and for the first bot start it worked, but after restarting rom, it is freezing at 67% again. Btw same effect, when I restart my pc.
Can you try deleting your whole rom folder (minus profiles and waypoints), then redo an SVN update to see if that helps? If that doesn't help, can you try the recommendation made here?

Re: SVN r544 for game version 3.0.7.2322

Posted: Sat Dec 18, 2010 7:21 pm
by Sumdumguy
Did a complete new install, did the checkout,
ran the bot, stopped at 67%
ran update, then the bot, stopped at 67%
changed the adress manually to inventoryBagIds = 0x9CD908, still stopping at 67%.
Generally, updating the inventory is now considerably slower than before.

Re: SVN r544 for game version 3.0.7.2322

Posted: Sat Dec 18, 2010 8:13 pm
by kanta
Only other thing I can think to suggest is you have a corrupted macro file interfering with the loading. I had that problem and it kept crashing MM when I tried to load it. What I had to do was load the game, turn off the server save option, exit the game and delete your characters info folder or possibly just the Macro.bsd file within it.

Re: SVN r544 for game version 3.0.7.2322

Posted: Sat Dec 18, 2010 9:48 pm
by djgizmo
Well, I'm no longer getting the 67% stall, but now I get

Code: Select all

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 even ran the macrofix.lua script, but still same results. :(

Re: SVN r544 for game version 3.0.7.2322

Posted: Sun Dec 19, 2010 6:07 am
by botje
weird, today after waking up, bot starts normally again xd

guess when i restart rom its back to erroring O.o

Botje