Page 1 of 2

--=== Official patch 4.0.7.2482 topic ===--

Posted: Tue Jan 17, 2012 11:28 am
by rock5
I was in a good mood today so I decided to update the addresses instead of waiting for Lisa to do most of it. Just as well, Lisa seems to be MIA.

They are updated in revision 691.

It's pretty rough and fast but I think hoprfully all of them are correct.
Here is a summary of what I updated.

Couldn't find a neat way to show them so took a pic.

Re: --=== Official patch 4.0.7.2482 topic ===--

Posted: Tue Jan 17, 2012 11:31 am
by IronWolf
you rock.

Re: --=== Official patch 4.0.7.2482 topic ===--

Posted: Tue Jan 17, 2012 11:44 am
by rock5
I forgot to say. The one I'm most worried about is partyMemberList_address as it is right next to the address with the unusual difference of 344. That's an annoying one to work out and test so I just left it as a guess of a difference of 28. I suppose partiers will let us know soon enough if it doesn't work.

Also I didn't update swimAddress because I could find no reference to it in my rom folder.

Re: --=== Official patch 4.0.7.2482 topic ===--

Posted: Tue Jan 17, 2012 12:08 pm
by gloover
Swimhack pointer: 0x44E190

Re: --=== Official patch 4.0.7.2482 topic ===--

Posted: Tue Jan 17, 2012 12:09 pm
by Alleexx
I had a party of 2 chars in ks. First one I operate manually and second one is healer and uses the partyheal script.
The problem is that the second char won't heal the first one, instead it just get alot of "id not found"

Re: --=== Official patch 4.0.7.2482 topic ===--

Posted: Tue Jan 17, 2012 12:41 pm
by rock5
Updated the swimAddress in rev 692.

Re: --=== Official patch 4.0.7.2482 topic ===--

Posted: Tue Jan 17, 2012 1:03 pm
by alkirah
I can confirm that party does not work, at least checkparty() function isn't working :)

tables was 0x28, tested here before posting that question earlier.

I just don't know how to find that partyMemberList_address =)

Re: --=== Official patch 4.0.7.2482 topic ===--

Posted: Tue Jan 17, 2012 1:23 pm
by alkirah
update, you are right on that picture, but the svn haven't been updated

partyMemberList_address = 0x9EEBE8, works

Re: --=== Official patch 4.0.7.2482 topic ===--

Posted: Tue Jan 17, 2012 1:35 pm
by rock5
Strange. How did that happen? Probably just didn't copy the values over properly. Also rentBagBase wasn't updated.

Updated rev 693.

Edit: oops commited all my current changes. Not necessarily a bad thing but there was one mistack in getid.lua. I'll have to revert it in my next commit.

Re: --=== Official patch 4.0.7.2482 topic ===--

Posted: Tue Jan 17, 2012 3:45 pm
by Germangold
I am getting various errors

Code: Select all

Wir gehen zum Wegpunkt #4, (-29499, 1240)
Wir gehen zum Wegpunkt #5, (-29498, 1190)
Wir gehen zum Wegpunkt #6, (-29497, 1121)
Wir gehen zum Wegpunkt #7, (-29498, 1061)
Wir versuchen den NPC Kulade zu finden:
Der NPC 'Kulade' wurde erfolgreich ausgewählt. Wir öffnen das Dialogfenster.
Spieleradresse geändert: 0x389E0F00
Fernkampffähigkeit gefunden: MAGE_FLAME
target_NPC(): Bitte geben Sie den Namen des NPC an, der gesucht werden soll.
Drücke MACRO: RoMScript ausführen "SpeakFrame_ListDialogOption(1, 6)".
Drücke MACRO: RoMScript ausführen "SpeakFrame_ListDialogOption(1, 6)".
Drücke MACRO: RoMScript ausführen "SpeakFrame_ListDialogOption(1, 6)".
Drücke MACRO: RoMScript ausführen "SpeakFrame_ListDialogOption(1, 6)".
Drücke MACRO: RoMScript ausführen "SpeakFrame_ListDialogOption(1, 6)".
target_NPC(): Bitte geben Sie den Namen des NPC an, der gesucht werden soll.
Drücke MACRO: RoMScript ausführen "SpeakFrame_ListDialogOption(1, 6)".
Drücke MACRO: RoMScript ausführen "SpeakFrame_ListDialogOption(1, 6)".
Drücke MACRO: RoMScript ausführen "SpeakFrame_ListDialogOption(1, 6)".
Drücke MACRO: RoMScript ausführen "SpeakFrame_ListDialogOption(1, 6)".
Drücke MACRO: RoMScript ausführen "SpeakFrame_ListDialogOption(1, 6)".
target_NPC(): Bitte geben Sie den Namen des NPC an, der gesucht werden soll.
Drücke MACRO: RoMScript ausführen "SpeakFrame_ListDialogOption(1, 6)".
Drücke MACRO: RoMScript ausführen "SpeakFrame_ListDialogOption(1, 6)".
Drücke MACRO: RoMScript ausführen "SpeakFrame_ListDialogOption(1, 6)".
Drücke MACRO: RoMScript ausführen "SpeakFrame_ListDialogOption(1, 6)".
Drücke MACRO: RoMScript ausführen "SpeakFrame_ListDialogOption(1, 6)".
Wir versuchen den NPC Hausm.dchen zu finden:
Wir können den NPC Hausm.dchen nicht finden!
Bot pausiert. (ENTF) drücken um weiterzumachen, (CTRL+L) beendet den Bot, (CTRL
C) schließt das Micromacro Fenster

this is a big error...

This is my Onload section. I have 10 KS Chars. Each char has 3 Housekeepers to get the neccessary buffs for doing KS.
Each Maid has a differnt name, to be able to click on them I prepared a special onload section

Code: Select all

if	(player.Name == _secondChar) then
			maidone = "Dhaunae Wiliams"; maidtwo = "Kate Kenafin"; maidtre = "Gelress Wamor";
end
This is the code in the Waypoint file "in the house" it worked for over 6 month just fine but now i have a error message
"target_NPC(): Bitte geben Sie den Namen des NPC an, der gesucht werden soll." Even leaving the house wont work anymore
sometime it freeze after entering the home. i tried various things with waitForLoadingScreen and yrest's.

Any Ideas?

Code: Select all

player:target_NPC(maidone);
			sendMacro("SpeakFrame_ListDialogOption(1, 6)");yrest(300);
			sendMacro("SpeakFrame_ListDialogOption(1, 6)");yrest(300);
			sendMacro("SpeakFrame_ListDialogOption(1, 6)");yrest(300);
			sendMacro("SpeakFrame_ListDialogOption(1, 6)");yrest(300);
			sendMacro("SpeakFrame_ListDialogOption(1, 6)");
	
		player:target_NPC(maidtwo);
			sendMacro("SpeakFrame_ListDialogOption(1, 6)");yrest(300);
			sendMacro("SpeakFrame_ListDialogOption(1, 6)");yrest(300);
			sendMacro("SpeakFrame_ListDialogOption(1, 6)");yrest(300);
			sendMacro("SpeakFrame_ListDialogOption(1, 6)");yrest(300);
			sendMacro("SpeakFrame_ListDialogOption(1, 6)");
			
		player:target_NPC(maidtre);
			sendMacro("SpeakFrame_ListDialogOption(1, 6)");yrest(300);
			sendMacro("SpeakFrame_ListDialogOption(1, 6)");yrest(300);
			sendMacro("SpeakFrame_ListDialogOption(1, 6)");yrest(300);
			sendMacro("SpeakFrame_ListDialogOption(1, 6)");yrest(300);
			sendMacro("SpeakFrame_ListDialogOption(1, 6)");

player:target_NPC("Hausm.dchen"); --leave the house
			RoMScript("SpeakFrame_ListDialogOption(1, 1)");

Re: --=== Official patch 4.0.7.2482 topic ===--

Posted: Tue Jan 17, 2012 4:45 pm
by Germangold
it seems that i cant target npc in the house any more

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1--> <waypoint x="4" z="7" y="0" tag="thehouse">	
	
player:target_NPC("Louis Bodin");
sendMacro("SpeakFrame_ListDialogOption(1, 6)"); -- for lucky powder dust
yrest(300);

</waypoint></waypoints>

Re: --=== Official patch 4.0.7.2482 topic ===--

Posted: Tue Jan 17, 2012 4:55 pm
by Gully
speed hack and teleport hack does not work

Re: --=== Official patch 4.0.7.2482 topic ===--

Posted: Tue Jan 17, 2012 7:18 pm
by cufRet8e
Gully wrote:speed hack and teleport hack does not work
Cannot confirm, work excellent for me. Make sure you copy userfunctions files to proper place and update micromacro and rombot to latest SVN, then revert any modified files.

Re: --=== Official patch 4.0.7.2482 topic ===--

Posted: Tue Jan 17, 2012 7:44 pm
by cufRet8e
I discovered strange rombot behaviour when Internet get disconnected.
Bot 9 running bots, 4 of them stop working throwing an errors like those:

Code: Select all

0:26am - X:/Programs/micromacro/scripts/rom/functions.lua:646: bad argument #1 to 'memoryR
eadByte' ((null))

Code: Select all

0:25am - X:/Programs/micromacro/scripts/rom/macros.lua:162: bad argument #1 to 'memoryRead
UInt' ((null))
5 bots continue running, saying all hens are stuck or just keep trying to harvest an object :D All RoM windows were disconnected, on login in screen. I think rombot should detect when RoM gets disconnected and character is offline.

Re: --=== Official patch 4.0.7.2482 topic ===--

Posted: Tue Jan 17, 2012 8:46 pm
by lisa
rock5 wrote: Just as well, Lisa seems to be MIA.
Yeah suddenly felt very ill last night, not sure what it was but I went to bed and got plenty of rest.

So are all the addresses found?

Re: --=== Official patch 4.0.7.2482 topic ===--

Posted: Tue Jan 17, 2012 10:19 pm
by rock5
Germangold wrote:it seems that i cant target npc in the house any more
Not being able to target the npcs in the house is a known issue. I believe it has been reported at least once before the patch and I think I noticed it before too but it wasn't fixed.

Just had another look. Looks like npcs (and objects) have type 0 which is the default 'none' for the bot. So a "Type" of 0 is now a valid value. I'll try changing the default to -1 and see if I can get it working.

Edit: Update to revision 694 and see how that works.
lisa wrote:Yeah suddenly felt very ill last night, not sure what it was but I went to bed and got plenty of rest.

So are all the addresses found?
I hope you're feeling better. Luckily I was in the mood to do some work so it turned out ok.

I think the addresses are all correct. As you can see a lot of them were guesses but I think they are all correct now. Everything seems to be working.

Re: --=== Official patch 4.0.7.2482 topic ===--

Posted: Tue Jan 17, 2012 11:41 pm
by lisa
yeah done some testing, looks good so far =)

Re: --=== Official patch 4.0.7.2482 topic ===--

Posted: Wed Jan 18, 2012 2:44 pm
by cufRet8e
How to completely disable sound support in micromacro.exe?
During investigating very high CPU usage by micromacro in another thread, I discovered, thread called dsound.dll+0x4f9d in every process of micromacro.exe is using often more CPU cycles then main thread itself! And I don't have sound actions in any of my waypoints at the moment. By fixing this (why is sound DLL eating CPU when not using any sound?) we could cut micromacro's CPU usage by half.
dsound.dll is a part of Microsoft DirectX http://www.processlibrary.com/directory ... und/20757/
Screenshots from Process Explorer in attachments.

Re: --=== Official patch 4.0.7.2482 topic ===--

Posted: Wed Jan 18, 2012 7:21 pm
by Germangold
if its a onboard soundcard just deactivate it on mainboards bios
i guess that should work

Re: --=== Official patch 4.0.7.2482 topic ===--

Posted: Wed Jan 18, 2012 11:22 pm
by cufRet8e
Germangold wrote:if its a onboard soundcard just deactivate it on mainboards bios
i guess that should work
Mate, I need sound in my computer, I'm using this luxury feature everyday;) I just want to disable its support in console application, which is not using any sound and just eating CPU.
Currently I am testing custom patched micromacro from Administrator:)