RoM server Patch 4.0.3. - The Mighty Shield.

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: RoM server Patch 4.0.3. - The Mighty Shield.

#121 Post by lisa » Wed Oct 05, 2011 9:15 pm

Sabrinajewel wrote:Hi Guys,

Thank you for all your work you do on this program.

I have a little problem with this update

the error
"THE ATTACK SKILL NEEDS TO BE IN THE ACTIONBAR AND HAVE A VALID HOTKEY"

In the macro's folder line 65
in game press k, now go to tab 1, skill top left of screen is attack. hold left click on it and drag it to the action bar.
Also make sure that where you put the skill it has a hotkey for it.
any of these are concidered valid.
1 2 3 4 5 6 7 8 9 0 - =
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

FireWire
Posts: 43
Joined: Tue Oct 04, 2011 2:25 pm

Re: RoM server Patch 4.0.3. - The Mighty Shield.

#122 Post by FireWire » Wed Oct 05, 2011 9:18 pm

Sabrinajewel wrote:Hi Guys,

Thank you for all your work you do on this program.

I have a little problem with this update

the error
"THE ATTACK SKILL NEEDS TO BE IN THE ACTIONBAR AND HAVE A VALID HOTKEY"

In the macro's folder line 65
Did you go into your profile and edit the keys? I just explained it and so have others... If so then make sure that skill is in the same exact slot on ure action bar that u specified :D

BillDoorNZ
Posts: 446
Joined: Wed Aug 03, 2011 7:37 pm

Re: RoM server Patch 4.0.3. - The Mighty Shield.

#123 Post by BillDoorNZ » Wed Oct 05, 2011 9:29 pm

I installed Extended Action Bar, and put the RB Command macro on that and bound the key to that slot. This pretty much removes the necessity to bind directly to keys. I also ended up having to move my Attack skill to the bar as well to fix an issue with the player:target_NPC function (it obviously needs to use the skill to open the npc dialog).

Only other change I had to make was to the macros.lua file to stop it scanning for the command macro, but rather use the key specified in my characters profile:

Code: Select all

function setupMacroHotkey()
	if (settings.profile.options.SETMACRO == true) then
		--just use the maco key as defined in profile.xml options.
		return;
	end;
	
	-- Find the action key that points to the command macro.
	local actionKey, hotkey = findActionKeyForMacro(commandMacro)
	if not actionKey then
		actionKey, hotkey = findUsableActionKey()
		if actionKey then
			setActionKeyToMacro(actionKey, commandMacro)
		else
			error("No valid action keys available for the command macro. Please supply an empty action key with a hotkey and no modifier.")
		end
	end

	if( settings.options.DEBUGGING_MACRO ) then
		printf("actionKey set to " .. actionKey .. ".\n")
		printf("The macro hotkey is ".. string.char(hotkey) .. ".\n")
	end

	-- Set settings.profile.hotkeys.MACRO.key
	settings.profile.hotkeys.MACRO.key = hotkey
end
All very hacky and temporary, but saves me having to modify my profiles extensively (rather I just add the following):

Code: Select all

		<option name="SETMACRO"        value="true" />
and have my macro hotkey specified - I use F10:

Code: Select all

	<hotkeys>
    	<!-- to communicate with the RoM API / define ingame dummy macro at place 1 -->
		<hotkey name="MACRO"        modifier="" key="VK_F10" />
	</hotkeys>

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: RoM server Patch 4.0.3. - The Mighty Shield.

#124 Post by lisa » Wed Oct 05, 2011 9:43 pm

Yes as I said it can be done but a little tricky, I also said not to rush out and get the addon just yet.

Been looking into the addon and why it is monitoring whispers.
Only thing it is doing when your whispered is saving the character name of who whispered you to a global variable. I couldn't find anything in any of the files that uses the global for anything. Seems very odd, perhaps it is set up to work with other addons and eventually it collects more information for usage in one of the addons.
Here is the dodgy part of the code, arg4 is name of person whispering. lastRepeat and lastReply arn't used anywhere else in this addon but they are made global which means other addons can use that information.

Code: Select all

		if(event=="CHAT_MSG_WHISPER_INFORM" and type(arg4)=="string")then
			lastRepeat=arg4;
		elseif(event=="CHAT_MSG_WHISPER" and type(arg4)=="string")then
			lastReply=arg4;
		end

So like I said don't rush out and get the addon just yet.

--=== Edit ===--

Actually they are made local at the begining of the file. Still I don't understand why it is monitoring whispers.

Code: Select all

local lastReply="";
local lastRepeat="";
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

Sabrinajewel
Posts: 7
Joined: Sun Jul 17, 2011 5:56 pm

Re: RoM server Patch 4.0.3. - The Mighty Shield.

#125 Post by Sabrinajewel » Wed Oct 05, 2011 9:56 pm

Hi Guys

I did have the attack skill in slot 1 when the error came up. I removed it and put it back in slot 1 but that didnt fix the problem. In the scripts/rom/macro folder on line 65 is where the error is comming from. I did update all my folders and ran rom/update in the program.

Im not sure why it is not reconizing the attack skill. any ideas?

thanks

xplar
Posts: 28
Joined: Thu Sep 08, 2011 2:46 am

Re: RoM server Patch 4.0.3. - The Mighty Shield.

#126 Post by xplar » Wed Oct 05, 2011 10:07 pm

Administrator wrote:The current SVN revision is unstable. You can expect that the game might crash. We're working on it.
It is recommended that if you have trouble with the SVN update, you should try an SVN revert (to current revision).

After you update via SVN, you should not use rom/update. In fact, that is probably a bad idea. It might have some broken patterns yet.
check your profile and make sure you have your hotkeys set correctly.you could also try deleting your rom folder and redownloading from the svn. don't forget to save your profiles, waypoints, userfunctions and any other files you may have added.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: RoM server Patch 4.0.3. - The Mighty Shield.

#127 Post by rock5 » Wed Oct 05, 2011 10:09 pm

For starters, as the bot stands now, it's not as stable as it used to be, as Administrator has already said. So expect that you wont be able to run as many clients without it crashing. The main problem targeting objects probably takes more resources now. I you have a script that mainly just kills stuff, for example, I'd expect that not to be affected. So if running the eggs script, try running fewer clients until we improve the stability.

Second, DON'T USE UPDATE.LUA. Never use update.lua after a big patch that changes addresses. It usually needs to be updated before it works again and it's usually not the highest priority. Getting the new addesses is. If you've already used "update.lua" and some of the addresses changed then do a "TortoiseSVN/Revert" on it, to restore it.

I don't think UseBagItem works at the moment so player:mount(), potion use, etc. wont work. The stuff we are working on now might eventually fix 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

ako ito
Posts: 61
Joined: Sat Sep 17, 2011 8:34 am

Re: RoM server Patch 4.0.3. - The Mighty Shield.

#128 Post by ako ito » Wed Oct 05, 2011 10:24 pm

ok an hour ago i run 5 client and 3/5 crashing... so i will try 2 client..

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: RoM server Patch 4.0.3. - The Mighty Shield.

#129 Post by lisa » Wed Oct 05, 2011 11:35 pm

Just an update on that addon,
I removed the monitoring whispers and it still works, So I really have no idea why it was monitoring whispers.

I am currently looking at stripping it down and getting rid of other code which isn't needed.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

rooster1620
Posts: 23
Joined: Wed Oct 05, 2011 11:44 pm

Re: RoM server Patch 4.0.3. - The Mighty Shield.

#130 Post by rooster1620 » Wed Oct 05, 2011 11:54 pm

hello all, i am new at this so pls pardon my nabishness. i think i have all the files how they are supposed to be but i keep crashing while botting wood dailies. only have 1 client going it harvests the first node then crash report. any hints as to what i am doing wrong?.....pls help AH prices are retarded....eggs help!

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: RoM server Patch 4.0.3. - The Mighty Shield.

#131 Post by lisa » Thu Oct 06, 2011 12:05 am

rooster1620 wrote:hello all, i am new at this so pls pardon my nabishness. i think i have all the files how they are supposed to be but i keep crashing while botting wood dailies. only have 1 client going it harvests the first node then crash report. any hints as to what i am doing wrong?.....pls help AH prices are retarded....eggs help!
Still working on the crash issue with gather/harvesting.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

rooster1620
Posts: 23
Joined: Wed Oct 05, 2011 11:44 pm

Re: RoM server Patch 4.0.3. - The Mighty Shield.

#132 Post by rooster1620 » Thu Oct 06, 2011 12:07 am

lisa wrote:
rooster1620 wrote:hello all, i am new at this so pls pardon my nabishness. i think i have all the files how they are supposed to be but i keep crashing while botting wood dailies. only have 1 client going it harvests the first node then crash report. any hints as to what i am doing wrong?.....pls help AH prices are retarded....eggs help!
Still working on the crash issue with gather/harvesting.
ok thanks, sometimes its hard to track down the good info through all the crap on forums...thnx again and keep up the good work

emmanuel04
Posts: 30
Joined: Wed Jun 01, 2011 6:07 am

Re: RoM server Patch 4.0.3. - The Mighty Shield.

#133 Post by emmanuel04 » Thu Oct 06, 2011 12:19 am

I have this problem when i start rom\bot. I see that it only happens with my characters over lvl 62.
I did run both SVN update on the rom folder and the "TortoiseSVN/Revert" and have also deleted my profile (and tired it using the userdefault.xml )and yet i still get the same message.

Code: Select all

The macro is currently not running. Press the start key (Delete) to begin.
You may use (End) key to stop/pause the script.
Resumed.
RoM windows size is 1920x1054, upper left corner at 8,30
Loading profile userdefault.xml
...manSr/Desktop/RomBot 2011/scripts/rom/macros.lua:65: The "Attack" skill n
eeds to be in the actionbar and have a valid hotkey. Usually one of the first 12
action keys in the bottom actionbar.


Please enter the script name to run.
Type in 'exit' (without quotes) to exit.
Script>

ako ito
Posts: 61
Joined: Sat Sep 17, 2011 8:34 am

Re: RoM server Patch 4.0.3. - The Mighty Shield.

#134 Post by ako ito » Thu Oct 06, 2011 1:04 am

in game press k, now go to tab 1, skill top left of screen is attack. hold left click on it and drag it to the action bar.
Also make sure that where you put the skill it has a hotkey for it.
any of these are concidered valid.
1 2 3 4 5 6 7 8 9 0 - =

emmanuel04
Posts: 30
Joined: Wed Jun 01, 2011 6:07 am

Re: RoM server Patch 4.0.3. - The Mighty Shield.

#135 Post by emmanuel04 » Thu Oct 06, 2011 1:22 am

O TY that worked great.
Now I wish I could use

Code: Select all

 <onSkillCast><![CDATA[


target = player:getTarget();
   if target.Id == 103169 then
      if sendMacro("madman.Time") >= 1 then
         player:clearTarget();
         printf("Running\n")
         yrest(6000)
      end
   end  
 
player:updateBuffs()
if arg1.Name =="WARDEN_SUMMON_OAK_WALKER" then
player:rest(2);
player:cast("WARDEN_POWER_OF_THE_OAK");
player:rest(2);
player:cast("WARDEN_SUMMON_CHIRON_THE_CENTAUR");
player:rest(8);
end


player:updateBuffs()
if arg1.Name =="WARDEN_SUMMON_SPIRIT_OF_THE_OAK" then
player:rest(2);
player:cast("WARDEN_HEART_OF_THE_OAK");
player:rest(2);
player:cast("WARDEN_SUMMON_CHIRON_THE_CENTAUR");
player:rest(8);
end
   ]]></onSkillCast>

Doggybag
Posts: 7
Joined: Wed Oct 05, 2011 4:21 am

Re: RoM server Patch 4.0.3. - The Mighty Shield.

#136 Post by Doggybag » Thu Oct 06, 2011 2:03 am

After running Rev. 647 the gold-egg bot starts farming without any problems.
Only (as you already announced) trying to run more than one client, crashes the game.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: RoM server Patch 4.0.3. - The Mighty Shield.

#137 Post by rock5 » Thu Oct 06, 2011 2:07 am

They should work if you've added them to your actionbar and profile and setup the profile skills hotkeys correctly.
  • 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

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: RoM server Patch 4.0.3. - The Mighty Shield.

#138 Post by lisa » Thu Oct 06, 2011 2:23 am

Ok update to latest revision, 648 and also do a svn revert to make sure.

The crash issue should be fixed now, with the way they changed how harvesting objects works though it will still have more load on PC then it used to. So if you used to run 20 miller bots then you will probably only get 15 odd with stability. Can't do much about that.

We also missed an address if someone wants to find it.

partyMemberList_address =

Just post on here when you find it, I'll test and then update it.
I am a little tired so I might leave it for someone else to do ;)

Obviously with that address missing party bot won't function, also just comment out the party settings in profile, or set to false.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

ako ito
Posts: 61
Joined: Sat Sep 17, 2011 8:34 am

Re: RoM server Patch 4.0.3. - The Mighty Shield.

#139 Post by ako ito » Thu Oct 06, 2011 2:30 am

great job.. .....
thank you so much rock lisa n admin

ako ito
Posts: 61
Joined: Sat Sep 17, 2011 8:34 am

Re: RoM server Patch 4.0.3. - The Mighty Shield.

#140 Post by ako ito » Thu Oct 06, 2011 2:37 am

thank you so much to your time, your effort... you have a great job... :D

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 51 guests