Page 4 of 6

Re: 4.0.4.2456 new patch official update thread.

Posted: Wed Oct 26, 2011 9:32 am
by kiato
Yeah i saw the comment line at the lua after posting, my fault. Sorry :p

Re: 4.0.4.2456 new patch official update thread.

Posted: Wed Oct 26, 2011 9:53 am
by pana
rock5 wrote:
pana wrote:cant get this to work, getting problems all the way.. :/


always get stuck in this, whats going on? help? :/
If it gets stuck at the test for 'ingamefunctions' then you have to copy the 'ingamefunctions' folder from the 'rom/devtools' folder to the "Runes of Magic/interface/addons" folder. Then restart the game.
thank you, works now :)

Re: 4.0.4.2456 new patch official update thread.

Posted: Wed Oct 26, 2011 11:21 am
by SirPacco
I can now run the bot but this function is no longer working:

lootBodies();

It gives me a null string error.

Re: 4.0.4.2456 new patch official update thread.

Posted: Wed Oct 26, 2011 2:15 pm
by ichmagbotsyay
After the last patch, my bot stopped working on the miller ranch and I wrote here and was told to try to harvest ore or wood to try to see if it could do that. I haven't done any botting since then and just started again :P
And my bot is still having the same problem, so I'll explain everything here again:

I completely deleted everything having to do with the bot: "ingamefunctions" folder in rom/addons and also the complete MM folder.
I then downloaded the zip file from Lisa's post.
I pasted the new "ingamefunctions" into rom/addons.
I added profiles to suit my needs.
And I now have the same problem as before...

My cyclops bot is working perfectly: it kills everything, loots everything, mounts correctly, ports correctly, drinks luck potions when they run out, buffs itself, drinks HP/MP potions like it should and sells everything like I told it to. So everything is working fine.

But my miller bot has problems. I have it do 10 dailies in Logar, put his phirius tokens in the bank and then go to the miller ranch. That part still works. But when it comes to the miller ranch, it gets food for the chickens, feeds them all and then walks over to their coop. But then it just stands there... The MM window tells me something along the lines of "Chicken found, harvesting", but it doesn't do so. When I manually click the chicken, it loots it and after that, it doesn't do anything anymore and the MM windows says "Egg found, harvesting". Only when I manually loot all 3 chickens and eggs, it goes back to the food... but gets stuck at the chickens in the coop again after feeding.

For some reason, my bot can't loot anything in the coop and I have no idea why. I've even tried starting RoM without any addons (except "ingamefunctions" of course), but it still always gets stuck at this part. Anyone have ANY ideas what's wrong?^^

edit: ore/wood harvesting works fine, btw :D
the problem only occurs when something is in the coop

edit2 lol: forgot to mention, I also downloaded the newest millerranch script from rock5 and tried it with all options (teleport/speed) off and on but no luck :(
and I also obviously have the correct userfunctions for those options, since they worked fine, just the chickens in the coop don't -.-

Re: 4.0.4.2456 new patch official update thread.

Posted: Wed Oct 26, 2011 2:36 pm
by Nevex
ichmagbotsyay wrote:After the last patch, my bot stopped working on the miller ranch and I wrote here and was told to try to harvest ore or wood to try to see if it could do that. I haven't done any botting since then and just started again :P
And my bot is still having the same problem, so I'll explain everything here again:

I completely deleted everything having to do with the bot: "ingamefunctions" folder in rom/addons and also the complete MM folder.
I then downloaded the zip file from Lisa's post.
I pasted the new "ingamefunctions" into rom/addons.
I added profiles to suit my needs.
And I now have the same problem as before...

My cyclops bot is working perfectly: it kills everything, loots everything, mounts correctly, ports correctly, drinks luck potions when they run out, buffs itself, drinks HP/MP potions like it should and sells everything like I told it to. So everything is working fine.

But my miller bot has problems. I have it do 10 dailies in Logar, put his phirius tokens in the bank and then go to the miller ranch. That part still works. But when it comes to the miller ranch, it gets food for the chickens, feeds them all and then walks over to their coop. But then it just stands there... The MM window tells me something along the lines of "Chicken found, harvesting", but it doesn't do so. When I manually click the chicken, it loots it and after that, it doesn't do anything anymore and the MM windows says "Egg found, harvesting". Only when I manually loot all 3 chickens and eggs, it goes back to the food... but gets stuck at the chickens in the coop again after feeding.

For some reason, my bot can't loot anything in the coop and I have no idea why. I've even tried starting RoM without any addons (except "ingamefunctions" of course), but it still always gets stuck at this part. Anyone have ANY ideas what's wrong?^^

edit: ore/wood harvesting works fine, btw :D
the problem only occurs when something is in the coop
If you are using her latest zip file and Rocks latest millers you should be fine. Mine works flawless.

Re: 4.0.4.2456 new patch official update thread.

Posted: Wed Oct 26, 2011 2:49 pm
by ichmagbotsyay
Nevex wrote:If you are using her latest zip file and Rocks latest millers you should be fine. Mine works flawless.
yea forgot to mention that in my post... I also downloaded the newest version of that and also tried it with all options (speed/teleport) but no luck... And I also obviously have the userfunctions to use those options :D and they worked great too, just the chickens in the coop still can't be harvested -.-

Re: 4.0.4.2456 new patch official update thread.

Posted: Wed Oct 26, 2011 3:03 pm
by Nevex
When you put the addon into your rom folder did you remove the one that was there first?

Re: 4.0.4.2456 new patch official update thread.

Posted: Wed Oct 26, 2011 7:16 pm
by rock5
SirPacco wrote:I can now run the bot but this function is no longer working:

lootBodies();

It gives me a null string error.
'lootbodies()' was the name of the original userfunction from ages ago. It is now obsolete as it's part of the bot. Just use

Code: Select all

player:lootAll()
Of course there is also a 'LOOT_ALL" option in the profile to search for all loot after every battle. So you would only need to use the command above if you want it to search at other times besides after combat.

Re: 4.0.4.2456 new patch official update thread.

Posted: Thu Oct 27, 2011 12:37 am
by Lordnika
Hey all ...bot works perfect :)
But i need to know how to disable "aggro waiting time out"
Every time this appears it screw up my waypoints and loot and all :(

i select a specific mob to kill and when i pass near other mobs "aggro waiting time out" appears !
and i rly dont need it !

PS : were can i find a function tutorial ? it would be nice to know how to use all the function ( important ones )
like something to pause ( or rest ) on 1 waypoint , pause like 10 sec.

Re: 4.0.4.2456 new patch official update thread.

Posted: Thu Oct 27, 2011 12:44 am
by Lordnika
or/and how to reduce looting time ( like no time at all ) ?
in profile xml "LOOT_PAUSE_AFTER" value="0" but still is too long :)
and targeting can i make it faster also ?
like jumping form target to target in no time ?

thnx for u'r patiance!

Re: 4.0.4.2456 new patch official update thread.

Posted: Thu Oct 27, 2011 1:11 am
by gloover
After the last patch this both functions/otions (player = CPlayer.new() and settings.load() ) doesnt work anymore, can it be true? Have try this after relogging and after using a teleport - same isue.

Rock, lisa can you confirm this?

Re: 4.0.4.2456 new patch official update thread.

Posted: Thu Oct 27, 2011 1:16 am
by ichmagbotsyay
Nevex wrote:When you put the addon into your rom folder did you remove the one that was there first?
Hope I don't sound too annoyed now^^ but if you'd everything then you might have noticed this:
ichmagbotsyay wrote:I completely deleted everything having to do with the bot: "ingamefunctions" folder in rom/addons and also the complete MM folder.
I then downloaded the zip file from Lisa's post.
I pasted the new "ingamefunctions" into rom/addons.
I added profiles to suit my needs.
So yeah, I completely removed it and everything else having to do with the bot before putting the new one in.

Re: 4.0.4.2456 new patch official update thread.

Posted: Thu Oct 27, 2011 1:24 am
by Administrator
gloover wrote:After the last patch this both functions/otions (player = CPlayer.new() and settings.load() ) doesnt work anymore, can it be true? Have try this after relogging and after using a teleport - same isue.

Rock, lisa can you confirm this?
Describe "doesn't work." Is there an error, or what? What happens?

Re: 4.0.4.2456 new patch official update thread.

Posted: Thu Oct 27, 2011 2:18 am
by gloover
Hey Admin.

No, there is no error, but the bot doesnt hte thing I want ;-).

e.g:

toon1 has 20 transmutor charges -> log to next toon2

Code: Select all

sendMacro("}LoginNextToon=true;a={")
				sendMacro("Logout();"); waitForLoadingScreen()
				-- Re-initialize player
				player = CPlayer.new();
				settings.load();
toon2 has no transmutor charges and schould running this wp, containing onload

Code: Select all

<onload>
inventory:update()
local charges = RoMScript("GetMagicBoxEnergy()");
			if charges > 19 then 
				loadPaths("Path1");
			else
				loadPaths("Path2")
			end	
</onload>
So, here is the problem - toon2 has the settings from toon1 and will always run path1 instead of path2!

Re: 4.0.4.2456 new patch official update thread.

Posted: Thu Oct 27, 2011 3:05 am
by lisa
in the code you posted I don't see anything to load a WP. If the WP isn't being loaded again then onload won't do anything.

Code: Select all

sendMacro("}LoginNextToon=true;a={")
sendMacro("Logout();"); 
waitForLoadingScreen();
loadPaths("WPname");

Re: 4.0.4.2456 new patch official update thread.

Posted: Thu Oct 27, 2011 4:06 am
by gloover
hey lisa,

it was an excerpt of my script, of course load by the path and profile:

this is the whole relog sequence

Code: Select all

				sendMacro("}LoginNextToon=true;a={")
				sendMacro("}fastLoginRegSel=math.random(3);a={");
				sendMacro("Logout();"); waitForLoadingScreen()
				-- Re-initialize player
				player = CPlayer.new();
				settings.load();
				cprintf(cli.lightgreen, player.Name.." logged in! \n")
				if( player.Level >= 10 ) then				
					settings.loadProfile("over10");		
				else
					settings.loadProfile("under10");	
profile-file contains the WP e.g "run.xml"

run.xml contains on load

Code: Select all

<onload>
inventory:update()
local charges = RoMScript("GetMagicBoxEnergy()");
         if charges > 19 then
            loadPaths("Path1");
         else
            loadPaths("Path2")
         end   
</onload>
Try it yourself, make a jump/teleport or log next character and try to reload player settings.

Re: 4.0.4.2456 new patch official update thread.

Posted: Thu Oct 27, 2011 4:25 am
by lisa
I would suguest adding in prints so you know exactly what is going on.

Code: Select all

<onload>
inventory:update()
local charges = RoMScript("GetMagicBoxEnergy()");
         if charges > 19 then
            loadPaths("Path1");
print("Load path1\n")
         else
            loadPaths("Path2")
print("Load path1\n")
         end   
</onload>

Code: Select all

           if( player.Level >= 10 ) then            
               settings.loadProfile("over10");
 print("load profile over10\n")     
            else
               settings.loadProfile("under10"); 
print("load profile under10\n")
end
Also do some in your profile onload.
So you get a troubleshooting print as it were to show you exactly what code is being done and what isn't.

Atleast then you will know what is happening as opposed to just saying it doesn't work =)

Re: 4.0.4.2456 new patch official update thread.

Posted: Thu Oct 27, 2011 6:33 pm
by Mostikos
Well i havent been botting because of this since the update i get that error all the time it ried everything no idea what might be, any one can help?

The stuck is:

Re: 4.0.4.2456 new patch official update thread.

Posted: Thu Oct 27, 2011 7:34 pm
by BillDoorNZ
When you get this error do you get the yellow text in your rom client that says:

1234
MACRO test: send value 1234 to macro place 2

???

Re: 4.0.4.2456 new patch official update thread.

Posted: Fri Oct 28, 2011 2:20 am
by gloover
LISA!

Homer sometimes nodes! Of course I've tried to print the actions to see, what happens, before asking this here.

I think I found my mistake (may offtopic), but to feel certain, what exactly do this functions/otions: player = CPlayer.new(); and settings.load()

by loging next character in the waypoint

Code: Select all

 
			sendMacro("}LoginNextToon=true;a={")
			sendMacro("Logout();"); waitForLoadingScreen()
			-- Re-initialize player
			player = CPlayer.new();
			settings.load(); yrest(4000);
if toon2 has another wp in his profile (profile2.mxl <option name="WAYPOINTS" value="way2" />), so what should/will happen? Should the waypoint from toon1 be resumed, or will it ignored and the wp from profile2 loaded?