CONTROL modificator hanging up or a boot on keyboard

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Message
Author
Restler
Posts: 12
Joined: Tue Jun 22, 2010 11:14 am

CONTROL modificator hanging up or a boot on keyboard

#1 Post by Restler » Tue Jun 22, 2010 12:07 pm

Hi there )

in couple words - after increasing of quantites of skills to be used for farming catch such problem

after starting the macros - self buffs are coming -
first - PRIEST_MAGIC_BARRIER
next - MAGE_ESSENCE_OF_MAGIC (in VERY rare case it repeated 2 times, much more frequently the bot repeat it 3-5 times.
but the bot record only 1 cast. - 1 screen) ... it was when essence ws at ctrl+0... when i shift it to ctrl+8 - self buff start constant 2 time cast

after that the fun is coming - first mob targeted, bot reporting commands on screenshot - flame, fireboll, bla bla bla .
but casting healing, essence, regen ans so on (from the CONTROL modificator line)
(1 and 2 screen shots - fight with 4 mobs - only self healing, regen, catalist NOT the stated skills)

ok. after 3-4 fail casts the fight time out coming, next target choosed.

In VERY rare case (say never) second target attack coming normal,

In 100% cases after pausing/resuming the macros - bot become normal and work as it must.
BUT till next CONTROL+ key to be pressed(screen 3 - cast CATALIST (control+4).

It is 100% not any key were pressed on keyboard,
100% no any background programms started (make it clear for experiment)

Before i had couple times problem with unrecognised BAGid message .. sometimes - just for 1-2 items,
sometimes for entire 60 bag cells... but it was couple times and after clearing the macrosses it disappear, so i forgot it.

here my files...
profiles

Code: Select all

<profile>
	<options>
		<!-- Try the bot with a new char mage                   -->
		<!-- At the pioneer village. Use demo.xml waypoint file -->
		<option name="HP_LOW"			value="70" />
		<option name="MP_LOW_POTION"	value="30" />
		<option name="HP_LOW_POTION"	value="30" />
		<option name="USE_HP_POTION"	value="best" />	<!-- potion select strategy: best|minstack -->
		<option name="USE_MANA_POTION"	value="best" />	<!-- potion select strategy: best|minstack -->

		<!-- Rest if HP or Mana is below that level -->
		<option name="HP_REST" value="40" />
		<option name="MP_REST" value="40" />
		<option name="resttype" value="full" />	
		<option name="SIT_WHILE_RESTING" value="true" />	

		<!-- Shopping options, how many of what do you want to keep in your inventory -->
		<option name="HEALING_POTION" value="40" />
		<option name="MANA_POTION" value="40" />
		<option name="ARROW_QUIVER" value="0" />
		<option name="THROWN_BAG" value="0" />
		<option name="POISON" value="0" />

		<option name="INV_AUTOSELL_ENABLE"	value="true" />
		<option name="INV_AUTOSELL_FROMSLOT"	value="6" />
		<option name="INV_AUTOSELL_TOSLOT"	value="60" />
		<option name="INV_AUTOSELL_QUALITY"	value="white,green" />
		<option name="INV_AUTOSELL_IGNORE"	value="Pfeil,Potion" />
		<option name="INV_AUTOSELL_NOSELL_DURA"      value="105" />
		<option name="INV_AUTOSELL_STATS_NOSELL " 	value="nil" />
		<option name="INV_AUTOSELL_STATS_SELL" 	value="nil" />
		<option name="DEBUG_AUTOSELL"     	 value="true" />

		<!-- either false or arrow or thrown -->
		<option name="RELOAD_AMMUNITION" value="false" />	<!-- false|arrow|thrown -->

		<!-- Combat options -->
		<option name="COMBAT_TYPE"        value="" />	<!-- leave empty or choose ranged/melee if not using class default -->
		<option name="COMBAT_RANGED_PULL" value="true" /> <!-- only important for melees -->
		<option name="COMBAT_DISTANCE"    value="220" />
		<option name="MAX_FIGHT_TIME"     value="15" />	<!-- Max time without damage before break -->
		<option name="DOT_PERCENT"        value="80" />
		<option name="ANTI_KS"            value="true" />

		<!-- Attack monsters 3 levels above or 10 below your level -->
		<option name="TARGET_LEVELDIF_ABOVE" value="3" />
		<option name="TARGET_LEVELDIF_BELOW" value="10" />

		<!-- Waypoint and movement settings -->
		<option name="WAYPOINTS"		value=""/>    <!-- leave empty to show a list -->
		<option name="RETURNPATH"		value="" />
		<option name="PATH_TYPE"		value="waypoints" />	<!-- waypoints | wander -->
		<option name="WANDER_RADIUS"		value="500" />
		<option name="WAYPOINT_DEVIATION"	value="0" />
		<option name="QUICK_TURN" 		value="false" />

		<!-- Loot settings -->
		<option name="LOOT"               value="true" />
		<option name="LOOT_IN_COMBAT"     value="true" />
		<option name="LOOT_DISTANCE"      value="220" />
		<option name="LOOT_PAUSE_AFTER"   value="0" />		<!-- probability in % for a short rest -->

		<!-- Log out and resurrect settings -->
		<option name="LOGOUT_TIME" 			value="0" />	<!-- in minutes, 0 = timer disabled -->
		<option name="LOGOUT_SHUTDOWN"		value="false" />
		<option name="LOGOUT_WHEN_STUCK"	value="true" />
		<option name="RES_AUTOMATIC_AFTER_DEATH" value="true" />
		<option name="MAX_DEATHS" value="10" /> <!-- Log out after this many deaths -->

		<!-- For more options and documentation see the RoM Bot Wiki:  -->
		<!-- http://www.solarstrike.net/wiki/index.php5?title=RoM_Bot  -->
	<option name="HARVEST_SCAN_WIDTH" value="70" />      -- steps horizontal
   	<option name="HARVEST_SCAN_HEIGHT" value="20" />     -- steps vertical
   	<option name="HARVEST_SCAN_STEPSIZE" value="10" />   -- wide of every step
   	<option name="HARVEST_SCAN_TOPDOWN" value="false" />   -- true = top->down  false = botton->up
   	<option name="HARVEST_SCAN_YREST" value="1" />      -- scanspeed
  	<option name="HARVEST_SCAN_YMOVE" value="0.9" />   -- move scan area top/down ( 1 middle of screen )




	</options>

	<friends>
		--<!-- names of friends we help fighting or enemys we don't want to attack -->
		--<!-- for umlauts use \129 (ue),\132 (ae),\148 (oe) e.g. K\132fer         -->
		--<friend name="MyOtherCharacter1" />
		--<friend name="MyOtherCharacter2" />
		--<friend name="Elite_Mob_Name1" />
		--<friend name="Elite_Mob_Name2" />
	</friends>

	<mobs>
		<!-- names of mobs we want to attack 				-->
		<!-- if no names defined we will attack all mobs	-->
		--<mob name="" />
		--<mob name="" />
		--<mob name="" />
	</mobs>

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

	<!-- define your skills depending from your actual primary class -->
	<!-- delete skills you don't have or don't want to use.          -->
	<!-- For more skills to use see /database/skills.xml             -->
	<skills_priest>
		<skill name="PRIEST_RISING_TIDE"   hotkey="VK_2" priority="80" />
		<skill name="PRIEST_BONE_CHILL"    hotkey="VK_3" priority="100" maxuse="2" />
		<skill name="MAGE_FIREBALL"        hotkey="VK_4" priority="70" />
		<skill name="MAGE_LIGHTNING"       hotkey="VK_5" priority="90" />

		<skill name="PRIEST_SOUL_SOURCE"   modifier="VK_CONTROL" hotkey="VK_1" priority="105" inbattle="true" hpper="15" />
		<skill name="PRIEST_URGENT_HEAL"   modifier="VK_CONTROL" hotkey="VK_2" priority="70" hpper="30"  />
		<skill name="PRIEST_REGENERATE"    modifier="VK_CONTROL" hotkey="VK_3" priority="90" hpper="70" />

		<skill name="PRIEST_HOLY_AURA"     modifier="VK_CONTROL" hotkey="VK_5" priority="110" inbattle="true" hpper="24" />
		<skill name="PRIEST_WAVE_ARMOR"    modifier="VK_CONTROL" hotkey="VK_6" priority="40"  inbattle="true" />

		<skill name="PRIEST_MAGIC_BARRIER" modifier="VK_CONTROL" hotkey="VK_8" priority="20" rebuffcut="60" inbattle="false" />
		<skill name="PRIEST_GRACE_OF_LIFE" modifier="VK_CONTROL" hotkey="VK_9" priority="20" rebuffcut="60" inbattle="false" />
		<skill name="PRIEST_SOUL_BOND"     modifier="VK_CONTROL" hotkey="VK_0" priority="90" />
	</skills_priest>


		

	<skills_mage>
		<skill name="MAGE_FLAME"           hotkey="VK_2" priority="100" />
		<skill name="MAGE_FIREBALL"        hotkey="VK_3" priority="80" />
		<skill name="MAGE_LIGHTNING"       hotkey="VK_4" priority="90" />
		<skill name="PRIEST_RISING_TIDE"   hotkey="VK_5" priority="70" />
		<skill name="MAGE_DISCHARGE"   	   hotkey="VK_6" priority="60" />
		<skill name="MAGE_ELECTRIC_BOLT"   hotkey="VK_7" priority="85" />

		<skill name="PRIEST_HOLY_AURA"     modifier="VK_CONTROL" hotkey="VK_1" priority="110" inbattle="true" hpper="24" />
		<skill name="PRIEST_URGENT_HEAL"   modifier="VK_CONTROL" hotkey="VK_2" priority="100" hpper="30"  />
		<skill name="PRIEST_REGENERATE"    modifier="VK_CONTROL" hotkey="VK_3" priority="105" hpper="70" />
		<skill name="MAGE_ELEMENTAL_CATALYST" modifier="VK_CONTROL" hotkey="VK_4" priority="30" inbattle="true" />

		<skill name="PRIEST_MAGIC_BARRIER" modifier="VK_CONTROL" hotkey="VK_9" priority="20" rebuffcut="60" inbattle="false" /> -->
		<skill name="MAGE_ESSENCE_OF_MAGIC" modifier="VK_CONTROL" hotkey="VK_8" priority="20" rebuffcut="60" inbattle="false" /> -->
	</skills_mage>


	<onLoad><![CDATA[
		-- Additional Lua code to execute after loading the profile
		-- and before the bot starts. e.g. You could overwrite profile settings here
		-- like: changeProfileOption("HP_REST", 60);
	]]></onLoad>

	<onDeath><![CDATA[
		-- Additional Lua code to execute on death
		-- pauseOnDeath(); -- Stop the script
		-- player:logout();	-- logout
	]]></onDeath>

	<onLeaveCombat><![CDATA[
		-- Additional Lua code to execute after killing an enemy
		--if( 40 > player.MP/player.MaxMP*100 ) then
		--player:rest(90, 130, "full")
	]]></onLeaveCombat>

	<onLevelup><![CDATA[
		-- Additional Lua code to execute after having a levelup
		-- and levelup the skills for a new character (mage or priest recommended)
		-- e.g. sendMacro("SetSpellPoint(_tabnr, _skillnr);"); would levelup a skill
	]]></onLevelup>

	<onSkillCast><![CDATA[
		-- Additional Lua code to execute when casting a skill
		-- Note: arg1 contains the skill being used.
		-- i.e. arg1.Name will be the name of the skill being cast
		-- e.g.:
		--if( 15 > player.HP/player.MaxHP*100 ) then
		
		--    player:cast("PRIEST_SOUL_SOURCE");
		--elseif( 25 > player.HP/player.MaxHP*100 ) then
		--    player:cast("PRIEST_HOLY_AURA");
		--    player:cast("PRIEST_URGENT_HEAL");
		--    player:cast("PRIEST_URGENT_HEAL");
	]]></onSkillCast>
</profile>
waypoint

Code: Select all

<waypoints>
	<!-- #  1 --><waypoint x="2267" z="1857">	</waypoint>
....
<!-- # 64 --><waypoint x="3910" z="5052">player:harvest();</waypoint>
	<!-- # 65 --><waypoint x="3745" z="5247">player:harvest();</waypoint>
	<!-- # 66 --><waypoint x="3800" z="5230">	</waypoint>
	<!-- # 67 --><waypoint x="3869" z="5162">	</waypoint>
	<!-- # 68 --><waypoint x="3944" z="5110">	</waypoint>
	<!-- # 69 --><waypoint x="4039" z="5093">	</waypoint>
	<!-- # 70 --><waypoint x="4138" z="5085">	</waypoint>
	<!-- # 71 --><waypoint x="4395" z="4760">player:harvest();</waypoint>
	<!-- # 72 --><waypoint x="4415" z="4764">	</waypoint>
	<!-- # 73 --><waypoint x="4495" z="4877">	</waypoint>
	<!-- # 74 --><waypoint x="4497" z="4989">	</waypoint>
	<!-- # 75 --><waypoint x="4496" z="5112">	</waypoint>
....
	<!-- #139 --><waypoint x="1288" z="5133">	</waypoint>
	<!-- #140 --><waypoint x="1106" z="5096">player:harvest();</waypoint>
	<!-- #141 --><waypoint x="1041" z="5027">	</waypoint>
	<!-- #142 --><waypoint x="1033" z="4823">	</waypoint>
	<!-- #143 --><waypoint x="1282" z="4644">	</waypoint>
	<!-- #144 --><waypoint x="1394" z="4532">	</waypoint>
	<!-- #145 --><waypoint x="1398" z="4463">	</waypoint>
	<!-- #146 --><waypoint x="1387" z="4298">	</waypoint>
	<!-- #147 --><waypoint x="1311" z="4167">player:harvest();</waypoint>
	<!-- #148 --><waypoint x="1371" z="4065">	</waypoint>
	<!-- #149 --><waypoint x="1421" z="3960">	</waypoint>
...
log

Code: Select all

Tue Jun 22 20:22:55 2010 : MicroMacro v1.0
Tue Jun 22 20:22:55 2010 : Processor Type: 2X 586, OS: Windows 7 
Tue Jun 22 20:22:55 2010 : LuaCoco is available.
Tue Jun 22 20:22:55 2010 : Lua glues exported.
Tue Jun 22 20:22:55 2010 : Keyboard layout: US English
Tue Jun 22 20:22:55 2010 : Executing script 'bot.lua'
--------------------------------------------------------------------------------

Tue Jun 22 20:22:55 2010 : Language: english
Tue Jun 22 20:22:59 2010 : Using static char address 0x9A116C, player address 0x36F87800
Tue Jun 22 20:22:59 2010 : QUICK_TURN = false
Tue Jun 22 20:22:59 2010 : Keyboard settings are from bindings.txt:
Tue Jun 22 20:22:59 2010 : STRAFF_LEFT                   A
Tue Jun 22 20:22:59 2010 : TARGET                        Tab
Tue Jun 22 20:22:59 2010 : PRIEST_RISING_TIDE            5
Tue Jun 22 20:22:59 2010 : ROTATE_RIGHT                  E
Tue Jun 22 20:22:59 2010 : TARGET_FRIEND                 J
Tue Jun 22 20:22:59 2010 : MAGE_ELECTRIC_BOLT            7
Tue Jun 22 20:22:59 2010 : MACRO                         0
Tue Jun 22 20:22:59 2010 : MAGE_FIREBALL                 3
Tue Jun 22 20:22:59 2010 : MOVE_FORWARD                  W
Tue Jun 22 20:22:59 2010 : MOVE_BACKWARD                 S
Tue Jun 22 20:22:59 2010 : MAGE_ESSENCE_OF_MAGIC         Ctrl+8
Tue Jun 22 20:22:59 2010 : PRIEST_MAGIC_BARRIER          Ctrl+9
Tue Jun 22 20:22:59 2010 : MAGE_ELEMENTAL_CATALYST       Ctrl+4
Tue Jun 22 20:22:59 2010 : ROTATE_LEFT                   Q
Tue Jun 22 20:22:59 2010 : STRAFF_RIGHT                  D
Tue Jun 22 20:22:59 2010 : MAGE_DISCHARGE                6
Tue Jun 22 20:22:59 2010 : PRIEST_REGENERATE             Ctrl+3
Tue Jun 22 20:22:59 2010 : MAGE_LIGHTNING                4
Tue Jun 22 20:22:59 2010 : PRIEST_HOLY_AURA              Ctrl+1
Tue Jun 22 20:22:59 2010 : MAGE_FLAME                    2
Tue Jun 22 20:22:59 2010 : JUMP                          Space
Tue Jun 22 20:22:59 2010 : PRIEST_URGENT_HEAL            Ctrl+2
Tue Jun 22 20:24:33 2010 : Failed to detach from process (1908f4).
Tue Jun 22 20:37:28 2010 : Failed to detach from process (1908f4).
Tue Jun 22 20:37:36 2010 : Failed to detach from process (1908f4).

settings

Code: Select all

<settings>
	<hotkeys>
		<!-- Cannot use modifiers -->
		<hotkey description="MOVE_FORWARD" key="VK_W" modifier="" />
		<hotkey description="MOVE_BACKWARD" key="VK_S" modifier="" />
		<hotkey description="ROTATE_LEFT" key="VK_Q" modifier="" />
		<hotkey description="ROTATE_RIGHT" key="VK_E" modifier="" />
		<hotkey description="STRAFF_LEFT" key="VK_A" modifier="" />
		<hotkey description="STRAFF_RIGHT" key="VK_D" modifier="" />
		<hotkey description="JUMP" key="VK_SPACE" modifier="" />

		<hotkey description="TARGET" key="VK_TAB" modifier="" />
		<hotkey description="TARGET_FRIEND" key="VK_J" modifier="" />
	</hotkeys>

	<options>
		<option name="ENABLE_FIGHT_SLOW_TURN" value="false" />
		<option name="MELEE_DISTANCE" value="45" />
		<option name="LANGUAGE" value="english" />	<!-- english|deutsch|french|russian -->
		<option name="USE_CLIENT_LANGUAGE" value="true" />
		<option name="DEBUGGING" value="false" />

		<!--
			Leave ROMDATA_PATH blank to use automatic settings.
			If it cannot find your bindings.txt automatically,
			place the FULL PATH to the "Runes of Magic"
			directory here.
		-->
		<option name="ROMDATA_PATH" value="c:\Users\censored\Documents\Runes of Magic\" />
	</options>
</sett
bindings

Code: Select all

MOVEFORWARD W UP
MOVEBACKWARD S DOWN
STRAFELEFT A LEFT
STRAFERIGHT D RIGHT
TURNLEFT Q 
TURNRIGHT E 
JUMP SPACE 
SITORSTAND X 
TOGGLEAUTORUN Z 
TOGGLERUN  
TOGGLESHEATH INSERT 
FOLLOWTARGET \ 
SCREENSHOT PRTSCR 
PUSHTOTALK  
TOGGLEBACKPACK B 
TOGGLECHARACTER0 C 
TOGGLECHARACTER1 V 
TOGGLECHARACTER2 Y 
TOGGLECHARACTER3 T 
TOGGLECHARACTER4 H 
TOGGLECHARACTER5  
TOGGLESPELLBOOK K 
TOGGLEQUESTBOOK L 
TOGGLEGUILD G 
TOGGLEINSTANCERECORD  
TOGGLESOCIALFRAME O 
TOGGLEBLACKLISTFRAME N 
TOGGLEHATEFRIEND MULTIPLY 
TOGGLESEARCHGROUP U 
TOGGLECHARTBOOK P 
TOGGLEBEAUTYSTUDIO . 
TOGGLEITEMMALL / 
TOGGLEBULLETINBOARD , 
TOGGLEWORLDMAP M 
TOGGLEAREAMAP SHIFT+M 
TOGGLENPCTRACK BACKSPACE 
TOGGLETEACHING F10 
TOGGLEGAMEHELP F11 
TOGGLESKILLSUIT  
TOGGLETUTORIALEXPLAIN F12 
TOGGLEFPSTEXT CTRL+X 
TOGGLEUI CTRL+Z 
TOGGLEGAMEMENU ESCAPE 
TOGGLENPCNAME F7 
TOGGLEHEALTH F8 
TOGGLEPLATES F9 
OPENCHAT ENTER 
REPLY R 
REPEAT SHIFT+R 
CHATPAGEUP PAGEUP 
CHATPAGEDOWN PAGEDOWN 
CHATTOP HOME 
CHATBOTTOM END 
CHAT_PARTY  
CHAT_GUILD  
CHAT_SAY  
CHAT_YELL  
MINIMAPZOOMIN SUBTRACT 
MINIMAPZOOMOUT ADD 
TARGETNEARESTENEMY TAB 
TARGETPREVIOUSENEMY SHIFT+TAB 
TARGETNEARESTFRIEND J 
TARGETPREVIOUSFRIEND  
TARGETSELF F1 
TARGETPARTY1 F2 
TARGETPARTY2 F3 
TARGETPARTY3 F4 
TARGETPARTY4 F5 
TARGETPARTY5 F6 
TARGETPLAYERPET SHIFT+F1 
TARGETPARTY1PET SHIFT+F2 
TARGETPARTY2PET SHIFT+F3 
TARGETPARTY3PET SHIFT+F4 
TARGETPARTY4PET SHIFT+F5 
TARGETPARTY5PET SHIFT+F6 
ASSISTTARGET F 
RAIDTARGET1 NUMPAD1 
RAIDTARGET2 NUMPAD2 
RAIDTARGET3 NUMPAD3 
RAIDTARGET4 NUMPAD4 
RAIDTARGET5 NUMPAD5 
RAIDTARGET6 NUMPAD6 
RAIDTARGET7 NUMPAD7 
RAIDTARGET8 NUMPAD8 
ACTIONBAR1BUTTON1 1 
ACTIONBAR1BUTTON2 2 
ACTIONBAR1BUTTON3 3 
ACTIONBAR1BUTTON4 4 
ACTIONBAR1BUTTON5 5 
ACTIONBAR1BUTTON6 6 
ACTIONBAR1BUTTON7 7 
ACTIONBAR1BUTTON8 8 
ACTIONBAR1BUTTON9 9 
ACTIONBAR1BUTTON10 0 
ACTIONBAR1BUTTON11 - 
ACTIONBAR1BUTTON12 = 
ACTIONBAR1BUTTON13  
ACTIONBAR1BUTTON14  
ACTIONBAR1BUTTON15  
ACTIONBAR1BUTTON16  
ACTIONBAR1BUTTON17  
ACTIONBAR1BUTTON18  
ACTIONBAR1BUTTON19  
ACTIONBAR1BUTTON20  
ACTIONBAR2BUTTON1 CTRL+1 
ACTIONBAR2BUTTON2 CTRL+2 
ACTIONBAR2BUTTON3 CTRL+3 
ACTIONBAR2BUTTON4 CTRL+4 
ACTIONBAR2BUTTON5 CTRL+5 
ACTIONBAR2BUTTON6 CTRL+6 
ACTIONBAR2BUTTON7 CTRL+7 
ACTIONBAR2BUTTON8 CTRL+8 
ACTIONBAR2BUTTON9 CTRL+9 
ACTIONBAR2BUTTON10 CTRL+0 
ACTIONBAR2BUTTON11 CTRL+- 
ACTIONBAR2BUTTON12 CTRL+= 
ACTIONBAR2BUTTON13  
ACTIONBAR2BUTTON14  
ACTIONBAR2BUTTON15  
ACTIONBAR2BUTTON16  
ACTIONBAR2BUTTON17  
ACTIONBAR2BUTTON18  
ACTIONBAR2BUTTON19  
ACTIONBAR2BUTTON20  
ACTIONBAR3BUTTON1  
ACTIONBAR3BUTTON2  
ACTIONBAR3BUTTON3  
ACTIONBAR3BUTTON4  
ACTIONBAR3BUTTON5  
ACTIONBAR3BUTTON6  
ACTIONBAR3BUTTON7  
ACTIONBAR3BUTTON8  
ACTIONBAR3BUTTON9  
ACTIONBAR3BUTTON10  
ACTIONBAR3BUTTON11  
ACTIONBAR3BUTTON12  
ACTIONBAR3BUTTON13  
ACTIONBAR3BUTTON14  
ACTIONBAR3BUTTON15  
ACTIONBAR3BUTTON16  
ACTIONBAR3BUTTON17  
ACTIONBAR3BUTTON18  
ACTIONBAR3BUTTON19  
ACTIONBAR3BUTTON20  
ACTIONBAR4BUTTON1  
ACTIONBAR4BUTTON2  
ACTIONBAR4BUTTON3  
ACTIONBAR4BUTTON4  
ACTIONBAR4BUTTON5  
ACTIONBAR4BUTTON6  
ACTIONBAR4BUTTON7  
ACTIONBAR4BUTTON8  
ACTIONBAR4BUTTON9  
ACTIONBAR4BUTTON10  
ACTIONBAR4BUTTON11  
ACTIONBAR4BUTTON12  
ACTIONBAR4BUTTON13  
ACTIONBAR4BUTTON14  
ACTIONBAR4BUTTON15  
ACTIONBAR4BUTTON16  
ACTIONBAR4BUTTON17  
ACTIONBAR4BUTTON18  
ACTIONBAR4BUTTON19  
ACTIONBAR4BUTTON20  
PETACTIONBARBUTTON1  
PETACTIONBARBUTTON2  
PETACTIONBARBUTTON3  
PETACTIONBARBUTTON4  
PETACTIONBARBUTTON5  
PETACTIONBARBUTTON6  
PETACTIONBARBUTTON7  
PETACTIONBARBUTTON8  
PETACTIONBARBUTTON9  
PETACTIONBARBUTTON10  
EXTRAACTIONBUTTON1 ALT+1 
EXTRAACTIONBUTTON2 ALT+2 
EXTRAACTIONBUTTON3 ALT+3 
EXTRAACTIONBUTTON4 ALT+4 
EXTRAACTIONBUTTON5 ALT+5 
EXTRAACTIONBUTTON6 ALT+6 
EXTRAACTIONBUTTON7 ALT+7 
EXTRAACTIONBUTTON8 ALT+8 
EXTRAACTIONBUTTON9 ALT+9 
EXTRAACTIONBUTTON10 ALT+0 

ImageImageImage

PS Micromacro script up to date by TortoiseSVN.
adresses updated by START ../../micromacro.exe scripts/rom/update.lua

the solution i can see now - to change shortkeys for all above used skills to somthing else, not CTRL+ combination.
PPS couple times it start to SAY in local chat - so i cut off CTRL+S command from game binds
but this is solution not solvation .....

thanks in advance

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: CONTROL modificator hanging up or a boot on keyboard

#2 Post by Administrator » Tue Jun 22, 2010 1:19 pm

Try using SVN to revert the scripts to revision 460 and try that. Let me know if that works, first of all.

Restler
Posts: 12
Joined: Tue Jun 22, 2010 11:14 am

Re: CONTROL modificator hanging up or a boot on keyboard

#3 Post by Restler » Tue Jun 22, 2010 2:39 pm

Thank you for prompt answer.

so. 1) tried to reverse to build 460
result - same (was not sure that reverse was succes Bcze of some mistake reverse report, so tried other way to reach 460)
2) tried to update to revision 460 from 439
result same
3) tried clean downloaded revision 439
result same


in all tried revisions every time, when used modificator "control", all other (follow by that) commands become repeated with this modificator. untill the END pressed for pause and DEL pressed for continue.. but same- untill next CONTROL+x command
the only improve - in rev 460 and 439 self buffs casted as it should be - one time each skill
screenshots below.
sry - i will not post the code as all files are same (except of updated SVR)
Image Image Image

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: CONTROL modificator hanging up or a boot on keyboard

#4 Post by Administrator » Tue Jun 22, 2010 2:50 pm

Ah, ok. That might be due to a bug in MicroMacro itself which has since been fixed. Try downloading the main executable from here and replace it with your current micromacro.exe. Let me know if that works.

Restler
Posts: 12
Joined: Tue Jun 22, 2010 11:14 am

Re: CONTROL modificator hanging up or a boot on keyboard

#5 Post by Restler » Tue Jun 22, 2010 5:19 pm

Thank You for reply...

download 1.01 experimental micromacro.exe ...

in my case with 1.01 opposite situation. looks like modifier CONTROL do not recognised
i tried to change the profile (swap modifier and hotkey places) but no succes... so

in attempt to cast self buff (Control+8 and Ctrl+9) the bot did not do anything. later i will try to put some skills at cells 8 and 9 to check is it modifier not recognised or entire line ignored .... for now... all "fight" casts are working ok. but noe the additional action bars skills (Ctrl_)

will return tommorow and add promosed info.

PS Win 7 (x64)

Restler
Posts: 12
Joined: Tue Jun 22, 2010 11:14 am

Re: CONTROL modificator hanging up or a boot on keyboard

#6 Post by Restler » Wed Jun 23, 2010 2:25 am

Result of 20 runs.(windows was not restarted long time, b4 old versions of mm were used many times, so as you will see from following, mb a bug or overflow or hell know what

1) in difference with MM 1.0 - self buffs casted not before fist fight... smtimes after 1st fight, smtms after second fight
2) modifier="VK_CONTROL" not detected by bot , the entire line with command to cast (self buff) is working, so option modifier="VK_CONTROL" do not rise an error...just ignored
3) (not sure, but looks like) bot became smart - i tried to put @cells 2 - flame, cells Ctrl+2 - magic barrier buff - result - no cast at all (mob was targeted by hand)... but when i put @cells 2 - regenerate,@ cells Ctrl+2 - magic barrier ... regen was casted - bot report that "cell ctrl+2" skill casted.

PS in all above - bot report cast of all skills as it should be (i mean self buffs, atack skills), but casts were as i wrote above.
if need screens.pls let me know
after above experiments restat game client and most funny started - bot stop recognised my person HP or MP - after each fight start to sit down (my set of rest) for 1-3 seconds (HP/MP was actually full or 99%)... so i roll back to mm 1.0, roll back all my scripts to yestarday, to l1-10 ...no chance - bugged.... so i restart windows...
pps.
after restart..
experiment a little more... MM 1.01 b2 (last DL version in given link)

TWICE HAPPENED THIS---
after start the script... bot cast selfbuffs.
only one of two - first in a list of (barrier, not the essence)
after buffs- first target choosed, all fight casts substituted by heals/buffs (from Ctrl line)
then report error bagid slot 1
after which bot wonder alittle, and start attack normal....
till next buff time)... after which full stuck on heals/regens/buffs not atack... i wait for 3-5 targets - same - not a fight but healings.

ON THIRD RESTRT OF BOT-(NOT CLIENT)
after start the script... bot cast selfbuffs.
only one of two - first in a list of (barrier, not the essence)
after buffs- first target choosed, all fight casts substituted by heals/buffs (from Ctrl line) ....
and continue to spam heals///i wait for 2 minutes(around 4-5 mobs) .. no effect - Ctrl was not depressed (((...

really do not want to experiment with change modifier to Alt ... but if u request - then will try.
hope above will help...

wondering is any command to log all bot commands (to debug)
and one more question (not about bug) - for now rest sequence starting after fight, after chhoosing next target (bot walk sometime around)..but is any chance to change it - bot will start to rest right after looting, not after targeting next mob.

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: CONTROL modificator hanging up or a boot on keyboard

#7 Post by Administrator » Wed Jun 23, 2010 3:45 pm

There is currently no way (simple way) to log all debugging messages, no. Are you asking specifically about debug messages, or all messages printed in the MicroMacro console window to also be dumped to the log file?


Test the attached executable. It *might* fix the modifier problem, but might also bring new bugs.
Attachments
micromacro1.01.experimental.zip
(161.67 KiB) Downloaded 170 times

Restler
Posts: 12
Joined: Tue Jun 22, 2010 11:14 am

Re: CONTROL modificator hanging up or a boot on keyboard

#8 Post by Restler » Thu Jun 24, 2010 5:59 am

Reporting about the progress.

The problem with modifier almost solved - at Win7x64 ... buff casts done
after buffs, or after heals the normal atack skills casts carried out as they must be.

Another part of parblem - the fix,given by you work only at Win7x64.... on second computer - Win XP SP3 x32 ... modifier ignored as not existed )).....


Regarding the debug request - the idea was to monitor what exactly bot command to client - to see is Ctrl command given or not... and not only this...

Restler
Posts: 12
Joined: Tue Jun 22, 2010 11:14 am

Re: CONTROL modificator hanging up or a boot on keyboard

#9 Post by Restler » Fri Jun 25, 2010 1:57 am

After 5 hrs of run...

@Win 7 x 64

MM 1.01 b2 call en error "atmmpt to call global self.waittillcastingend (a nil value)" at approx 12 minutes after start - twice..so i stop experimnet cause of wipe..after such error script stopped, person died

@Win XP SP3 x32

MM1.01 b2 call en error " player.lua:509: atempt to call global waittillcastingend (a nil value)" (i roll back lst correction in pplayer.lua, so rease "self.")... script work nicely 300 minutes after that crash (sry - screnn only from last case)

Image

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

Re: CONTROL modificator hanging up or a boot on keyboard

#10 Post by rock5 » Fri Jun 25, 2010 5:17 am

Restler wrote: MM1.01 b2 call en error " player.lua:509: atempt to call global waittillcastingend (a nil value)" (i roll back lst correction in pplayer.lua, so rease "self.")... script work nicely 300 minutes after that crash (sry - screnn only from last case)
"player.lua:509: atempt to call global waittillcastingend" is caused by an error in rev 462. Update to 463 and you won't get that error.
  • 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

Restler
Posts: 12
Joined: Tue Jun 22, 2010 11:14 am

Re: CONTROL modificator hanging up or a boot on keyboard

#11 Post by Restler » Fri Jun 25, 2010 1:59 pm

Dear Rock5 )))

Please read my post little bit more carefull and mb you will se that

1) we are speaking about MM 1.01 b2 (not stable MM 1.0)
2) that call en error "atmmpt to call global self.waittillcastingend (a nil value)" - so it mean that i had your patch installed and ...
3) that after above mistake (i roll back lst correction in pplayer.lua, so rease "self.")
4) and even and only after UNpatching i receive the "player.lua:509: atempt to call global waittillcastingend (a nil value)" mistake.


:roll:

so the question not to your patch but to the coming new version of MM .... and the question is open... thank you for attention )

I realy apologise for so many mistypes in my posts )). hope that it was a real reason of your suggestion to install 463 patch )

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

Re: CONTROL modificator hanging up or a boot on keyboard

#12 Post by rock5 » Sat Jun 26, 2010 12:59 am

Yes, I'm not understanding everything you have been talking about. I don't think the version of MM is causing this error and I don't know what you mean by 'i roll back lst correction in pplayer.lua, so rease "self."'. What version did you roll back to? What does 'so rease "self."' mean?

All I know about is waitTillCastingEnds which I added in revision 462.

So I can tell you these things;
1. You can't get that error on a previous revision earlier that 462 because that function didn't exist.
2. There was an error in 462 that when you tried to drink a potion it would cause the error you said.
3. Revision 463 fixed that error so you should not get that error with revision 463.

If you get that error with any other revision than 462 you are probably doing something wrong when changing revisions. When updating to a revision, it sometimes merges with the current version. Sometimes it doesn't merge very well. Try right clicking the rom folder or player.lua and use the "revert" option to make the files exactly like that revision.

Hope that helps.
  • 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

Restler
Posts: 12
Joined: Tue Jun 22, 2010 11:14 am

Re: CONTROL modificator hanging up or a boot on keyboard

#13 Post by Restler » Sat Jun 26, 2010 4:52 am

rock5 wrote:Yes, I'm not understanding everything you have been talking about.
)) sry..

rock5 wrote:Try right clicking the rom folder or player.lua and use the "revert" option to make the files exactly like that revision.
it is strange but sometimes, after this i manually check the text of files ans saw that the changes did not roll back.. bugs? nwmd ... so i roll back manually...('i roll back lst correction in pplayer.lua, so rease "self."' MEANS .... i roll back last revision in "player.lua", to revise "self." adding ..... in other words - when i saw that first error was about self.waittillcastingend..... i decide that it is a problem, but looks like that MM101b2 do not like that variable at al..


ok. i think if i will roll back to rev 461 ... should be nice.

Thanks for reply.. will continue in search for...)

DrG
Posts: 53
Joined: Tue Oct 13, 2009 8:01 am

Re: CONTROL modificator hanging up or a boot on keyboard

#14 Post by DrG » Mon Jun 28, 2010 5:52 pm

Like Restler i've a lot of "fail to cast.

Image


I'm using micromacro 1.01 beta2 and rev 464

Can you guys help me pls :)

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

Re: CONTROL modificator hanging up or a boot on keyboard

#15 Post by rock5 » Mon Jun 28, 2010 7:29 pm

DrG wrote:Like Restler i've a lot of "fail to cast.


I'm using micromacro 1.01 beta2 and rev 464

Can you guys help me pls :)
Try and change line 71 of settings.lua to:

Code: Select all

			SKILL_USE_PRIOR = 400,
And, please, let me know if it helps. You're the third person I've suggested this to and I still haven't had any feedback about if it helps.
  • 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

DrG
Posts: 53
Joined: Tue Oct 13, 2009 8:01 am

Re: CONTROL modificator hanging up or a boot on keyboard

#16 Post by DrG » Tue Jun 29, 2010 4:31 am

i'm going to test now.

Leave feedback later :)

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: CONTROL modificator hanging up or a boot on keyboard

#17 Post by Administrator » Tue Jun 29, 2010 4:43 am

Just letting you guys know that I'm not ignoring you. It's just a very difficult bug to track down. The code (looks) to be all correct. Although I can prevent it from happening, it also causes it to stop working at all for Windows 7. I'm doing what I can.

DrG
Posts: 53
Joined: Tue Oct 13, 2009 8:01 am

Re: CONTROL modificator hanging up or a boot on keyboard

#18 Post by DrG » Tue Jun 29, 2010 4:47 am

Still having some "fail to cast".

Image

DrG
Posts: 53
Joined: Tue Oct 13, 2009 8:01 am

Re: CONTROL modificator hanging up or a boot on keyboard

#19 Post by DrG » Tue Jun 29, 2010 4:56 am

Administrator wrote:Just letting you guys know that I'm not ignoring you. It's just a very difficult bug to track down. The code (looks) to be all correct. Although I can prevent it from happening, it also causes it to stop working at all for Windows 7. I'm doing what I can.
So to say that I have the windows 7 x64 and MicroMacro never crashed. The only thing that happens and the "failed to cast." I think is not a big problem. I can leave with that :)
Plus, we all have only to thank you and everyone else has done for us.
Tyvm :)

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

Re: CONTROL modificator hanging up or a boot on keyboard

#20 Post by rock5 » Tue Jun 29, 2010 8:45 am

DrG wrote:Still having some "fail to cast".
I'm surprised it's that bad when you set it to 400. It works nearly perfectly for me.

Is it actually failing to cast or does it just think it failed to cast? You'll need to watch it to see if it actually failed to cast.

If it's actually failing to cast maybe you have a buff that increases casting speed? Are you a P/R?

If it's not actually failing to cast you may get those messages if there is a bit of lag. If so there's not really anything to fix.
  • 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

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 8 guests