In-memory inventory
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: In-memory inventory
We've been messaging each other back and forth quite a bit. The change has already been committed, but I expect people will be reporting problems.
Re: In-memory inventory
We've been working on that, and about people reporting problems i already had to make a patch for dura check, there was a typo and an offsset missing, is working as expected now.rock5 wrote:Personally I wouldn't make the pause random, I'd make it a set size. If you are the type of person that wants a random sized human looking pause after looting you can always use LOOT_PAUSE_AFTER.
ps. You've been quiet the last couple of days. How's the Inventory changes coming along? Have you been in contact with Administrator? What does he think?
Re: In-memory inventory
Still think there needs to be a carriage return somewhere.
Doesn't look right.
Seeing as the hyphens(----) are part of luaengine.cpp maybe the carriage return should be there? Somewhere around line 452 I think. But it might be easier to just add a carriage return at the beginning of the bot.
Whatever.
Code: Select all
--------------------------------------------------------------------------------Load
ing items tables.
Seeing as the hyphens(----) are part of luaengine.cpp maybe the carriage return should be there? Somewhere around line 452 I think. But it might be easier to just add a carriage return at the beginning of the bot.
Whatever.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: In-memory inventory
I'm actually not sure why it looks like that for you as that line spans the maximum width of the console (80 columns), so it should be going down to the next line. Who knows, I'll change it for the future.
Re: In-memory inventory
Your making the assumption that my console is 80 columns wide. It's never a good idea to make assumptions.Administrator wrote:I'm actually not sure why it looks like that for you as that line spans the maximum width of the console (80 columns), so it should be going down to the next line. Who knows, I'll change it for the future.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: In-memory inventory
Yeah, same here i changed the width, height and the size of the buffer when i started to work with memory tables, abot the carriage return, i really forgot to put it there :Srock5 wrote:Your making the assumption that my console is 80 columns wide. It's never a good idea to make assumptions.Administrator wrote:I'm actually not sure why it looks like that for you as that line spans the maximum width of the console (80 columns), so it should be going down to the next line. Who knows, I'll change it for the future.
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: In-memory inventory
The command-line is 80 columns wide. It's a standard.rock5 wrote:Your making the assumption that my console is 80 columns wide. It's never a good idea to make assumptions.Administrator wrote:I'm actually not sure why it looks like that for you as that line spans the maximum width of the console (80 columns), so it should be going down to the next line. Who knows, I'll change it for the future.
Re: In-memory inventory
You can change that in win to be whatever you want i have it set to 160...Administrator wrote:The command-line is 80 columns wide. It's a standard.rock5 wrote:Your making the assumption that my console is 80 columns wide. It's never a good idea to make assumptions.Administrator wrote:I'm actually not sure why it looks like that for you as that line spans the maximum width of the console (80 columns), so it should be going down to the next line. Who knows, I'll change it for the future.
Re: In-memory inventory
I have an issue with where you put the initial table load.
I've encountered a couple of situations that makes me think "It should be a lot later, like just before selecting the waypointfile".
Here's my logic: because loading the table takes awhile you want to only do it once you are sure everything else has been checked ok. You don't want to wait for it only to fail because you misspelt the profile name or you forgot to add the ingame macro, which is what just happened to me just now.
I'd like the table load to happen after the profile has successfully loaded. That way you wont have wasted your time waiting for the table to load if you make any mistakes loading the profile.
Does that make sense?
I've encountered a couple of situations that makes me think "It should be a lot later, like just before selecting the waypointfile".
Here's my logic: because loading the table takes awhile you want to only do it once you are sure everything else has been checked ok. You don't want to wait for it only to fail because you misspelt the profile name or you forgot to add the ingame macro, which is what just happened to me just now.
I'd like the table load to happen after the profile has successfully loaded. That way you wont have wasted your time waiting for the table to load if you make any mistakes loading the profile.
Does that make sense?
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: In-memory inventory
It does... I also want to put the threshold into an advanced option in the profile because i can use just 10 and works great, that cuts the initial loading time to 1/4 so i was thinking, we should put it with an initial high value (like is now) but allow the user to configure it...rock5 wrote:I have an issue with where you put the initial table load.
I've encountered a couple of situations that makes me think "It should be a lot later, like just before selecting the waypointfile".
Here's my logic: because loading the table takes awhile you want to only do it once you are sure everything else has been checked ok. You don't want to wait for it only to fail because you misspelt the profile name or you forgot to add the ingame macro, which is what just happened to me just now.
I'd like the table load to happen after the profile has successfully loaded. That way you wont have wasted your time waiting for the table to load if you make any mistakes loading the profile.
Does that make sense?
Re: In-memory inventory
It would be good if you could figure out why some computers need a higher value so the bot can work out the best value itself, although I realize that might not be possible.VoidMain wrote:It does... I also want to put the threshold into an advanced option in the profile because i can use just 10 and works great, that cuts the initial loading time to 1/4 so i was thinking, we should put it with an initial high value (like is now) but allow the user to configure it...
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: In-memory inventory
I don't think that to be possible...rock5 wrote:It would be good if you could figure out why some computers need a higher value so the bot can work out the best value itself, although I realize that might not be possible.VoidMain wrote:It does... I also want to put the threshold into an advanced option in the profile because i can use just 10 and works great, that cuts the initial loading time to 1/4 so i was thinking, we should put it with an initial high value (like is now) but allow the user to configure it...
What i did noticed is, when you open your inv, some tables gets "resorted" and then is easier to get the pointers, it might be possible to send a script command to quickly open/close the inv (ToggleUIFrame might do it) just when starting so this works better, dunno might worth to try...
Re: In-memory inventory
I made a small patch to move the initial loading of tables, probably will be available in next rev but in the mean time you can apply it to test, it gets alot better performance when we call it after bot initialization and also allows you to stop the bot if you realize there is something wrong with your parameters, before the tables are loaded.
- Attachments
-
- initialization.patch.txt
- (670 Bytes) Downloaded 147 times
Re: In-memory inventory
Hurray! That's much faster and it's in the right place too.VoidMain wrote:I made a small patch to move the initial loading of tables, probably will be available in next rev but in the mean time you can apply it to test, it gets alot better performance when we call it after bot initialization and also allows you to stop the bot if you realize there is something wrong with your parameters, before the tables are loaded.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: In-memory inventory
Hi @ All,
I think there is a Problem with 64 Bit Systems , my 32 Bit system Works fine with this Bag update , but my 64 Bit Win 7 returnes a 0 Value on Slots with more Values in.
Greez
The DOC
I think there is a Problem with 64 Bit Systems , my 32 Bit system Works fine with this Bag update , but my 64 Bit Win 7 returnes a 0 Value on Slots with more Values in.
Greez
The DOC
Re: In-memory inventory
I just noticed this in the changelog for micromacro 1.01.DOCDBA wrote:Hi @ All,
I think there is a Problem with 64 Bit Systems , my 32 Bit system Works fine with this Bag update , but my 64 Bit Win 7 returnes a 0 Value on Slots with more Values in.
Greez
The DOC
Could it be related? Have you upgraded to the 1.01 version of micromacro?* Fixed a minor bug that caused 64-bit processors to be seen as 32-bit.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: In-memory inventory
Thanks for the Statement can you please Post the Link to Micromacro V1.01 I had alredy downloaded the Software from the original downloadfolder but it seems that is the V1.00.
Greez
The DOC
Greez
The DOC
Re: In-memory inventory
I think this is the latest versionDOCDBA wrote:Thanks for the Statement can you please Post the Link to Micromacro V1.01 I had alredy downloaded the Software from the original downloadfolder but it seems that is the V1.00.
Greez
The DOC
http://www.solarstrike.net/phpBB3/viewt ... 652#p10652
Version 1.01 b2, the one attached to the first post. I think I read somewhere that Administrator considers it release quality now.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: In-memory inventory
I have Updatet to Revision 1.02 beta but the Intemupdate dosn´t is functionable.
it jumps from 0 to 100 Percent but nothing found.
The bot Version 477 runs right with the same Waypoint file.
Here is the Pointer Table
MicroMacro v1.01 beta 2
SolarStrike Software
http://www.solarstrike.net
Opening update.lua...
Starting script execution - Press CTRL+C to exit.
Press CTRL+L to cancel execution and load a new script.
----------------------------------------------------------------------------
Scanning for updated addresses...
Patched addresses.staticbase_char (value: 0x9AA1BC, at: 0x63AC68)
Patched addresses.staticbase_macro (value: 0x9FEE3C, at: 0x743CCD)
Patched addresses.charPtr_offset (value: 0x598, at: 0x5E2502)
Patched addresses.mousePtr_offset (value: 0x73C, at: 0x5FCA19)
Patched addresses.camPtr_offset (value: 0x46C, at: 0x5E4537)
Patched addresses.camXUVec_offset (value: 0x128, at: 0x4428CB)
Patched addresses.camX_offset (value: 0x104, at: 0x4427EE)
Patched addresses.castbar_offset (value: 0x25C, at: 0x8464A6)
Patched addresses.charAlive_offset (value: 0x224, at: 0x5E420B)
Patched addresses.charBattle_offset (value: 0x72A, at: 0x5E4EA2)
Patched addresses.pawnHarvesting_offset (value: 0x124, at: 0x846EC5)
Patched addresses.macro1_offset (value: 0x108, at: 0x7B3A3F)
Patched addresses.staticTablePtr (value: 0xA004C4, at: 0x83B8D2)
Patched addresses.staticTableSize (value: 0xA004C0, at: 0x62631C)
Finished.
Greez The DOC
it jumps from 0 to 100 Percent but nothing found.
The bot Version 477 runs right with the same Waypoint file.
Here is the Pointer Table
MicroMacro v1.01 beta 2
SolarStrike Software
http://www.solarstrike.net
Opening update.lua...
Starting script execution - Press CTRL+C to exit.
Press CTRL+L to cancel execution and load a new script.
----------------------------------------------------------------------------
Scanning for updated addresses...
Patched addresses.staticbase_char (value: 0x9AA1BC, at: 0x63AC68)
Patched addresses.staticbase_macro (value: 0x9FEE3C, at: 0x743CCD)
Patched addresses.charPtr_offset (value: 0x598, at: 0x5E2502)
Patched addresses.mousePtr_offset (value: 0x73C, at: 0x5FCA19)
Patched addresses.camPtr_offset (value: 0x46C, at: 0x5E4537)
Patched addresses.camXUVec_offset (value: 0x128, at: 0x4428CB)
Patched addresses.camX_offset (value: 0x104, at: 0x4427EE)
Patched addresses.castbar_offset (value: 0x25C, at: 0x8464A6)
Patched addresses.charAlive_offset (value: 0x224, at: 0x5E420B)
Patched addresses.charBattle_offset (value: 0x72A, at: 0x5E4EA2)
Patched addresses.pawnHarvesting_offset (value: 0x124, at: 0x846EC5)
Patched addresses.macro1_offset (value: 0x108, at: 0x7B3A3F)
Patched addresses.staticTablePtr (value: 0xA004C4, at: 0x83B8D2)
Patched addresses.staticTableSize (value: 0xA004C0, at: 0x62631C)
Finished.
Greez The DOC
- MiesterMan
- Posts: 543
- Joined: Tue Jul 06, 2010 9:15 pm
- Location: Between the Second and Third Circles of Hell
Re: In-memory inventory
I've also had problems with pots but I don't know if this is really the cause. The bot obviously finds the pots but for some reason it just keeps trying to use them over and over unsuccessfully. Err, I think I already cleared it but here's a description of what I observed from my dead char's bot text.
Fight, fight, fight, needs pot, finds min stack and says using so and so pot (qty 3).
Fight, fight, fight, needs pot, finds min stack and says using so and so pot (qty 3).
Fight, fight, fight, needs pot, finds min stack and says using so and so pot (qty 3).
Fight, fight, fight, needs pot, finds min stack and says using so and so pot (qty 3). dead...
Sorry for the lame description but this really what I saw and I saw it on two different comps with two different characters with the version of the bot that was on the svn site 2 days ago.
Fight, fight, fight, needs pot, finds min stack and says using so and so pot (qty 3).
Fight, fight, fight, needs pot, finds min stack and says using so and so pot (qty 3).
Fight, fight, fight, needs pot, finds min stack and says using so and so pot (qty 3).
Fight, fight, fight, needs pot, finds min stack and says using so and so pot (qty 3). dead...
Sorry for the lame description but this really what I saw and I saw it on two different comps with two different characters with the version of the bot that was on the svn site 2 days ago.
My RoM Bot toys:
- Object Viewer: http://www.solarstrike.net/phpBB3/viewt ... =27&t=2619
Teleporter Functions: http://www.solarstrike.net/phpBB3/viewt ... =27&t=2605
Waypoint Finder: http://www.solarstrike.net/phpBB3/viewt ... =27&t=2616
Mail Functions: http://www.solarstrike.net/phpBB3/viewt ... =27&t=2612
Equipment Swapper(TempFixed): http://www.solarstrike.net/phpBB3/viewt ... =27&t=2571
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 106 guests