Malatina's survival

Additional botting resources. Addons may be either for the game itself or for the RoM bot.
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Message
Author
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Malatina's survival

#261 Post by rock5 » Sat Nov 17, 2012 11:45 am

Yeah, I was thinking maybe you were using your own reload code and forgot to do a loadProfile and that's why it didn't attack, because it had no attack skills for that class in the currently loaded profile. But it sounds like you do load the profile. What profile do you use?
  • 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

Rickster
Posts: 291
Joined: Sun Oct 24, 2010 4:23 pm

Re: Malatina's survival

#262 Post by Rickster » Sat Nov 17, 2012 4:59 pm

ok, without testing the changes, i figured out that i changed your original survivalR5.xml to reload profile options, because i make many changes to profile options on previous wp files.

so the error i discovered is only a personal issue.
Adding

Code: Select all

loadProfile();
in my wp file before loading survivalR5.xml solved the problem.

[edit] removed some confusing stuff and attached file ;)

Ric
Last edited by Rickster on Sun Nov 18, 2012 4:49 pm, edited 4 times in total.

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

Re: Malatina's survival

#263 Post by rock5 » Sat Nov 17, 2012 11:42 pm

I can't see what the purpose of this file is. When you do a loadProfile() it only loads the skills that are available for the current class combo. If you want to use a specific set of skills just for survival you could always make a survival profile and use that

Code: Select all

loadProfile("survivalprofile")
  • 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

Rickster
Posts: 291
Joined: Sun Oct 24, 2010 4:23 pm

Re: Malatina's survival

#264 Post by Rickster » Sun Nov 18, 2012 3:54 am

hm, of course you are right ;)

i dont know exatly what came to my mind, when i thought about it last night :D

maybe this way i don´t have to create a profile for each char, instead make a skill file for each waypointfile i don´t need the default profile settings, but special skills for many char classes ... hm.

i better remove my previous idea and the file, not to confuse people, do i?

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

Re: Malatina's survival

#265 Post by rock5 » Sun Nov 18, 2012 8:53 am

I think maybe it would confuse people. They might think there is some need for this when there isn't.
  • 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

Statesider
Posts: 14
Joined: Tue Aug 21, 2012 3:05 pm

Re: Malatina's survival

#266 Post by Statesider » Fri Nov 23, 2012 3:24 pm

Hey, I got a crashing problem with that script.

Error = c:/micromacro/scripts/rom/classes/pawn.lua:229: bad argument #1 to `readfunc`((null))

Happens after random time as my bot started open the fields.
Anyone got an idea why this error always occurs and what could be the reason?? :|

Thx for your help,

regards
Attachments
error.JPG

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

Re: Malatina's survival

#267 Post by rock5 » Fri Nov 23, 2012 11:01 pm

That error doesn't make sense. If "argument #1" (proc) were nil then this check would have been triggered.

Code: Select all

	if( type(proc) ~= "userdata" ) then
		error("Invalid proc", 2);
	end
and you would have gotten an "Invalid proc" error. I can't see how proc became nil between that check and line 229. Did the game crash?
  • 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

Statesider
Posts: 14
Joined: Tue Aug 21, 2012 3:05 pm

Re: Malatina's survival

#268 Post by Statesider » Sat Nov 24, 2012 4:06 am

Yes, thats why i said i have a crashing problem :l
I´m playing on window mode if that has to do something with it...no idea. Only on Malatinas Survival random crashes appear, on all other minis I can bot without any problems...

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

Re: Malatina's survival

#269 Post by rock5 » Sat Nov 24, 2012 9:53 am

There are at least some things that don't work in fullscreen mode so it should always be in window mode for botting.

Are you using the very latest version of the survival script?
  • 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

Statesider
Posts: 14
Joined: Tue Aug 21, 2012 3:05 pm

Re: Malatina's survival

#270 Post by Statesider » Sun Nov 25, 2012 1:22 pm

I´m always using window mode and I´m pretty sure it is the latest version as I downloaded it before couple days... :roll:

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

Re: Malatina's survival

#271 Post by rock5 » Sun Nov 25, 2012 9:45 pm

It seems to be having trouble opening the tiles as it tried 3 times before crashing. Maybe there is a game/bot version mismatch. What version of the game and bot are you using?
  • 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

Statesider
Posts: 14
Joined: Tue Aug 21, 2012 3:05 pm

Re: Malatina's survival

#272 Post by Statesider » Mon Nov 26, 2012 3:01 pm

Should be both the newest versions... Strange thing :(

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

Re: Malatina's survival

#273 Post by rock5 » Mon Nov 26, 2012 11:42 pm

Not all servers run the latest version of the game. You should be able to see the version number of the game on the game launcher.
  • 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

Statesider
Posts: 14
Joined: Tue Aug 21, 2012 3:05 pm

Re: Malatina's survival

#274 Post by Statesider » Tue Nov 27, 2012 1:29 pm

version is 5.0.5.2592.en

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

Re: Malatina's survival

#275 Post by rock5 » Wed Nov 28, 2012 6:13 am

Does the latest revision (currently 743) of the bot help?
  • 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

kuripot
Posts: 493
Joined: Mon Nov 07, 2011 9:14 pm

Re: Malatina's survival

#276 Post by kuripot » Wed Nov 28, 2012 7:11 pm

i have a problem in "bizarremechanism"... my 7 characters lvl 80 m/p will not auto cast purgatory in lvl 15 trash "bizarremechanism" so i always manual purgatory everytime they teleport to next position.. if all "bizarremechanism" was gone my character will cast purgatory to "guardianrockspirit" and in other mobs spawn


i use this waypoint...

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<onLoad>
	--=== Rock5's version ===--
	--===  R5Version 2.71 ===--

	--=== User Options ===--
	When_Finished = "cot_tele"
		-- "end" to end script, "relog" to log next character, "charlist" to log next in 'charlist' and "waypointfilename" to load that waypointfile.
	Too_Many_Shells = "pause"
		-- "pause" to wait for user to use some shells, "skip" to skip the game or "continue" to play the game anyway.
	Bag_Space_Limit = 20
		-- If bag space is less than this value then the 'Not_Enough_Bag_Space' action is triggered.
	Not_Enough_Bag_Space = "pause"
		-- "pause" to wait for user to clear some bag space, "skip" to skip the game or "continue" to play the game anyway.


	function CleanBag()
	   for i, item in pairs(inventory.BagSlot) do
		if item.SlotNumber >= settings.profile.options.INV_AUTOSELL_FROMSLOT + 60 and
 	        settings.profile.options.INV_AUTOSELL_TOSLOT + 60 >= item.SlotNumber then

	         if item:isType("Materials") then
	            item:delete()
	         end
	         if item:isType("Arrows") then
	            item:delete()
	         end
	         if item:isType("Recipes") then
	            item:delete()
	         end
	         if item:isType("Projectiles") then
	            item:delete()
	         end
	         if ( item:isType("Weapons") or item:isType("Armor") ) and 3 > item.Quality then
	            item:delete()
	         end
		if item:isType("Runes") then
	            item:delete()
	         end
		if item:isType("Refining Gems") then
	            item:delete()
	         end
		if item.Name  == "Wild Boar Meat" then
	            item:delete()
	         end 
		if item:isType("Potions") then
	            item:delete()
	         end
		if item.Name  == "Vanquisher's Loot" then
	            item:delete()
	         end
		if item.Name  == "Fusion Stone" then
	            item:delete()
	         end
		if item.Name  == "Craftsman's Recipe Coupon" then
	            item:delete()
	         end
		if item.Name  == "Horse Rental Ticket" then
	            item:delete()
	         end
		if item.Name  == "Curse Scroll (Instant Transport)" then
	            item:delete()
	         end 
		if item.Name  == "Royal Furniture Recipe Collection Box" then
	            item:delete()
	         end 
		if item.Name  == "Material Package for Magical Instruments" then
	            item:delete()
	         end         
	      end
	   end
	end 

	CharList = {}
		-- Character list to use when using the "charlist" option above. Requires my "userfunction_LoginNextChar" userfunction.
		-- Find it here. http://www.solarstrike.net/phpBB3/viewtopic.php?p=10350
		--		eg.
		--		CharList = {
		--			{account=4,chars={}},
		--			{account=8,chars={1}},
		--			{account=7,chars={1,2,5}},
		--		}

	AllowSkillCastTime = 2
		-- Ignore skills with cast times longer than this value when attacking the 'trash' mobs at the beginning.
	--====================--

	aoeskills = {
		"MAGE_PURGATORY_FIRE", -- Thunderstorm is better but this will be available first
		"WARDEN_POWER_OF_THE_WOOD_SPIRIT", -- Best for warden since Frantic Briar changed
		--"MAGE_DISCHARGE", -- Cooldown, not really viable.
		--"WARRIOR_BLASTING_CYCLONE", -- Cooldown, not really viable.
		--"WARRIOR_MOON_CLEAVE", -- Cooldown, not really viable.
		--"WARRIOR_WHIRLWIND", -- Cooldown, not really viable.
		--"KNIGHT_WHIRLWIND_SHIELD", -- Cooldown, not really viable.
	}

	aoeskillsbig = {
		--"WARDEN_FRANTIC_BRIAR", -- Cooldown, not really viable.
		"MAGE_THUNDERSTORM", -- Best for mage.
		"SCOUT_IGNITE", -- Best for scout/mage.
	}

	include("waypoints/survivalR5onload.lua",true)

</onLoad>
	<!--    In the survival game    -->
	<!-- #  1 --><waypoint x="2519" z="2593" y="9">
		player:target_NPC(joker);
		sendMacro("ChoiceOption(2);");
	</waypoint>
	<!-- #  2 --><waypoint x="2546" z="2681" y="9">	</waypoint>
	<!-- #  3 --><waypoint x="2586" z="2789" y="9">	</waypoint>
	<!-- #  4 --><waypoint x="2606" z="2843" y="9">
		logentry = "Ran out of time" -- default
		checkskills()
		createTileTable() -- do it here as you can't see the pawns until you start the event.
		local trash = player:findNearestNameOrId({bizarremechanism,guardianrockspirit},nil, function(addr) return CPawn(addr).HP > 4 end) -- check for spawns
		local tiles =  player:findNearestNameOrId(treasuretile, nil, clicktile) -- check if any tiles need opening

		if trash then -- add in options for aoe and ranged here
			trashmelee() -- clears trash
		elseif trash == nil and spawns == nil and tiles ~= nil then
			breaktiles() -- start breaking tiles
		elseif tiles == nil then
			chests() -- open chests
		end

		if 1 > player.HP or not player.Alive then
			RoMScript("UseSelfRevive();");	-- first try self revive
			yrest(500);
			RoMScript("BrithRevive();");
			if waitForLoadingScreen(30) then
				-- Give chance to run back from rez point.
				yrest(5000)
				__WPL:setWaypointIndex(__WPL:getNearestWaypoint(player.X, player.Z, player.Y))
				return
			end
		else
			waitForLoadingScreen(10)
		end

		checkRelog()
	</waypoint>

	<!--    Return from res point    -->
	<!-- #  1 --><waypoint x="2273" z="1801" y="53">	</waypoint>
	<!-- #  2 --><waypoint x="2376" z="1697" y="33">	</waypoint>
	<!-- #  3 --><waypoint x="2433" z="1618" y="19">	</waypoint>
	<!-- #  4 --><waypoint x="2481" z="1524" y="0">	</waypoint>
	<!-- #  5 --><waypoint x="2507" z="1432" y="-2">	</waypoint>
	<!-- #  6 --><waypoint x="2535" z="1297" y="12">	</waypoint>
	<!-- #  7 --><waypoint x="2582" z="1204" y="24">	</waypoint>
	<!-- #  8 --><waypoint x="2674" z="1071" y="44">	</waypoint>
	<!-- #  9 --><waypoint x="2762" z="970" y="53">
		player:target_NPC("Lieve"); yrest(1000)
		sendMacro("ChoiceOption(2);"); yrest(500)
		sendMacro("ChoiceOption(2);");
		waitForLoadingScreen(10)
	</waypoint>
	<!-- # 12 --><waypoint x="4765" z="-1955" y="115">	</waypoint>
	<!-- # 13 --><waypoint x="4798" z="-1919" y="109">	</waypoint>
	<!-- # 14 --><waypoint x="4857" z="-1914" y="109">
		if logentry ~= nil then
			checkRelog()
			return
		end

		local Malatina = GetIdName(111813)
		if 50 > player.Level and (player.Level2 >= 50 or player.Level3 >= 50) then
			-- Wait for user to change class
			cprintf(cli.yellow,"If you want to earn Phirius Shells, change to your 50+ class before continuing.\n")
			player:sleep()
		end
		if inventory:itemTotalCount(240181) > 970 then
			if Too_Many_Shells == "pause" then
				-- Wait for user to use some shells.
				cprintf(cli.yellow,"Reaching the maximum number of Phirius Shells (1000). Please spend some before continuing.\n")
				player:sleep()
				numshells = inventory:getItemCount(240181)
			elseif Too_Many_Shells == "skip" then
				print("Too many Phirius Shells.")
				logentry = "Too many Phirius Shells."
				checkRelog()
				return
			elseif Too_Many_Shells == "continue" then
				-- Do nothing and continue.
			else
				error("Wrong value used for 'Too_Many_Shells' option.")
			end
		end
		local empties = inventory:itemTotalCount(0)
		local emptylimit = tonumber(Bag_Space_Limit) or 20

		if emptylimit > empties then
			if Not_Enough_Bag_Space == "pause" then
				-- Wait for user to make some space in inventory.
				cprintf(cli.yellow,"Not much space left in inventory. Are you sure you want to continue with only %d spaces left?\n",empties)
				CleanBag()
			elseif Not_Enough_Bag_Space == "skip" then
				print("Not enough bag space.")
				logentry = "Not enough bag space."
				checkRelog()
				return
			elseif Not_Enough_Bag_Space == "continue" then
				-- Do nothing and continue.
			else
				error("Wrong value used for 'Not_Enough_Bag_Space' option.")
			end
		end

		if player.Class1 == CLASS_SCOUT and settings.profile.options.RELOAD_AMMUNITION == "arrow" then
			local arrows = inventory:getAmmunitionCount()

			local item
			for slot = 1, 240 do
				item = inventory.BagSlot[slot]
				if item.Available and not item.Empty then
					if item:isType("Arrows") then
						arrows = arrows + item.ItemCount
					elseif string.find(item.Name,"Quiver") then
						arrows = arrows + 999
					end
				end;
			end;

			if 200 > arrows then
				-- Wait for user to get more arrows
				cprintf(cli.yellow,"Low on arrows. Only %d left?\n",arrows)
				player:sleep()
			end
		end
		if 30 > inventory:itemTotalCount(203038) then
			print("Not enough Phirius Token Coins.")
			logentry = "Not enough Phirius Token Coins."
			checkRelog()
			return
		end

		player:target_NPC(Malatina) yrest(1000)

		if 2 > RoMScript("GetNumSpeakOption()") then -- try again
			player:target_NPC(Malatina) yrest(1000)
		end

		sendMacro("ChoiceOption(1);");
		yrest(2000)

		if RoMScript("GetNumSpeakOption()") > 0 then -- enter game
			sendMacro("ChoiceOption(1);");
			if not waitForLoadingScreen(30) then
				print("Failed to teleport into Survival")
				logentry = "Failed to teleport into Survival."
				checkRelog()
			end
		else
			print("This character already did Survival.")
			logentry = "Already did Survival."
			checkRelog()
		end
	</waypoint>
</waypoints>
this is my profile

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<profile>
	<options>
		<!-- Try the bot with a new char mage                   -->
		<!-- At the pioneer village. Use demo.xml waypoint file -->

		<!-- GM detection options -->
		<option name="GMDETECT"			value="true" /> -- enables the GM detection userfunction
		<option name="GMnearbylogout"		value="true" /> -- If a GM is close to the character it will log out.
		<option name="PAUSEONGM"		value="600" />  -- Pauses when GM whispers for value in seconds. ie 300 = 5 minutes
		<option name="RECALL"			value="true" /> -- if in combat while pausing it will use recall and whisper/logout

		<option name="HP_LOW"			value="85" />
		<option name="MP_LOW_POTION"		value="50" />
		<option name="HP_LOW_POTION"		value="50" />
		<option name="USE_HP_POTION"		value="best" />			<!-- potion select strategy: best|minstack -->
		<option name="USE_MANA_POTION"		value="best" />			<!-- potion select strategy: best|minstack -->
		<option name="USE_PHIRIUS_POTION"	value="true" /> 		<!-- false | true if you want to use the Phirus Potions -->
		<option name="PHIRIUS_MP_LOW"		value="40" />
		<option name="PHIRIUS_HP_LOW"		value="40" />

		<!-- Rest if HP or Mana is below that level -->
		<option name="HP_REST" 			value="15" />
		<option name="MP_REST" 			value="15" />

		<!-- Shopping options, how many of what do you want to keep in your inventory -->
		<option name="HEALING_POTION" 		value="99" />
		<option name="MANA_POTION" 		value="99" />			<!-- set to "0" if not required to buy -->
		<option name="ARROW_QUIVER" 		value="2" /> 			<!-- set to "0" if not required to buy -->
		<option name="THROWN_BAG" 		value="2" />			<!-- set to "0" if not required to buy -->
		<option name="POISON" 			value="30" />			<!-- set to "0" if not required to buy -->

		<!-- 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="false" /> 		<!-- only important for melees -->
		<option name="COMBAT_DISTANCE"    	value="200" />
		<option name="MAX_FIGHT_TIME"     	value="15" />			<!-- Max time without damage before break -->
		<option name="DOT_PERCENT"        	value="90" />
		<option name="ANTI_KS"            	value="true" />
		<option name="MAX_TARGET_DIST"    	value="225" />

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

		<!-- 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="true" />

		<!-- Loot settings -->
		<option name="LOOT"               	value="true" />
		<option name="LOOT_ALL"			value="true" />  		<!-- Loot all nearby dead mobs after combat -->
		<option name="LOOT_IN_COMBAT"     	value="true" />
		<option name="LOOT_DISTANCE"      	value="300" />
		<option name="LOOT_PAUSE_AFTER"   	value="0" />			<!-- probability in % for a short rest -->

		<!-- Auto selling options when used with player:merchant -->
		<option name="INV_AUTOSELL_ENABLE"	value="false" />		<!-- true | false -->
		<option name="INV_AUTOSELL_FROMSLOT" 	value="1" /> 			<!-- 1 = bag 1 slot 1 -->
		<option name="INV_AUTOSELL_TOSLOT"	value="60" /> 			<!-- 30 = last slot bag 1 -->
		<option name="INV_AUTOSELL_QUALITY"	value="white,green" /> 	<!-- white,green,blue,purple  -->

		<!-- Harvest options -->
		<option name="HARVEST_DISTANCE"		value="120" />
		<option name="HARVEST_WOOD"		value="true" /> 		<!-- Choose which types to harvest. -->
		<option name="HARVEST_HERB"		value="true" /> 		<!-- "true" = harvest, "false" = do not harvest -->
		<option name="HARVEST_ORE"		value="true" />

		<!-- Eggpet options -->
		<option name="EGGPET_ENABLE_CRAFT"	value="false" />		<!-- If using same slot for assist and craft, onlt 1 can be enabled. -->
		<option name="EGGPET_CRAFT_SLOT"	value="1" />
		<option name="EGGPET_ENABLE_ASSIST"	value="false" />
		<option name="EGGPET_ASSIST_SLOT"	value="1" />
		<option name="EGGPET_CRAFT_RATIO"	value="1:1:1" /> 		<!-- mining:woodworking:herbalism ratio to produce. -->
		<option name="EGGPET_CRAFT_INDEXES"	value="" /> 	 		<!-- override auto craft index for mining,woodworking,herbalism eg. "2,,"-->


		<!-- 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="CLOSE_WHEN_STUCK"		value="true" />
		<option name="RES_AFTER_DEATH" 		value="true" />
		<option name="MAX_DEATHS" 		value="1" /> 			<!-- Log out after this many deaths -->

		<!-- Party Bot options  -->
		<option name="PARTY"			value="false" />
		<option name="PARTY_ICONS"		value="false" />
		<option name="PARTY_INSTANCE"		value="true" />

		<!-- Healing options -->
		<!-- <option name="HEALER_FIGHT"	value="true" /> --> 	<!-- Not implemented yet, coming soon -->


		<!-- For more options and documentation see the RoM Bot Wiki:  -->
		<!-- http://www.solarstrike.net/wiki/index.php5?title=RoM_Bot  -->

	</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="Mutated Wolf" />
		<friend name="Dark Rite Warlock" /> <!-- Elite, avoid him -->
		<friend name="Dark Rite Instructor" /> <!-- Elite, avoid him -->
		<friend name="Dark Rite Mage" /> <!-- Elite, avoid him -->
		<friend name="Dark Rite Acolyte" /> <!-- Elite, avoid him -->
		<friend name="Spirit Core" /> <!-- Elite, avoid him -->
		<friend name="Misty Rotwrom" />
		<friend name="Iron Teeth Sentry" />
		<friend name="Puppet Shaman" />
		<friend name="Hindiakopinoy" />
		<friend name="Drifting Javias" />
		<friend name="Hare" />
		<friend name="Foul Maggot" />
	</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"          key="VK_0" />
	</hotkeys>

	<!-- define your skills depending from your actual primary class -->
	<!-- see the example for a priest/mage                           -->
	<!-- delete skills you don't have or don't want to use.          -->
	<!-- For more skills to use see /database/skills.xml             -->
	<!-- demo skills for LvL 1 character for all classes             -->
	<!-- to use a specific key instead of MACRO then use hotkey="VK_1" this example is for hotkey 1 -->
	<skills_priest>
		<skill name="PRIEST_SOUL_SOURCE"     			hotkey="MACRO" priority="110" inbattle="true" hpper="15" />
		<skill name="PRIEST_URGENT_HEAL"     			hotkey="MACRO" priority="100" hpper="50"  />
		<skill name="PRIEST_REGENERATE"      			hotkey="MACRO" priority="90"  hpper="80" />
		<skill name="PRIEST_RISING_TIDE"     			hotkey="MACRO" priority="80" />
		<skill name="PRIEST_WAVE_ARMOR"      			hotkey="MACRO" priority="40"  inbattle="true" />
		<skill name="PRIEST_AMPLIFIED_ATTACK" 			hotkey="MACRO" priority="20" rebuffcut="60" inbattle="false" />
		<skill name="PRIEST_GRACE_OF_LIFE" 			hotkey="MACRO" priority="20" rebuffcut="60" inbattle="false" />
		<skill name="PRIEST_EMBRACE_OF_THE_WATER_SPIRIT" 	hotkey="MACRO" priority="100" rebuffcut="60" />
		<skill name="PRIEST_HOLY_AURA"       			hotkey="MACRO" priority="100" inbattle="true" hpper="24" />
		<!--skill name="PRIEST_SOUL_BOND"     			hotkey="MACRO" priority="30" /> -->
		<!--skill name="PRIEST_MAGIC_BARRIER" 			hotkey="MACRO" priority="20" rebuffcut="60" inbattle="false" /> -->
	</skills_priest>

	<skills_warrior>
		<skill name="WARRIOR_SLASH"          	hotkey="MACRO" priority="90" />
		<skill name="WARRIOR_TACTICAL_ATTACK"   hotkey="MACRO" priority="70" />
		<skill name="WARRIOR_PROBING_ATTACK" 	hotkey="MACRO" priority="80" />
		<skill name="WARRIOR_OPEN_FLANK"      	hotkey="MACRO" priority="70" />
		<skill name="WARRIOR_SURPRISE_ATTACK"   hotkey="MACRO" priority="70" pullonly="true" />
		<skill name="WARRIOR_FRENZY"  			hotkey="MACRO" priority="30" inbattle="true" />
		<skill name="WARRIOR_THUNDER"     	  	hotkey="MACRO" priority="70" />
		<skill name="WARRIOR_MOON_CLEAVE"     	hotkey="MACRO" priority="70" />
		<skill name="WARRIOR_BLASTING_CYCLONE"  hotkey="MACRO" priority="70" />
	</skills_warrior>

	<skills_scout>
		<skill name="PRIEST_URGENT_HEAL"     			hotkey="MACRO" priority="100" hpper="50"  />
		<skill name="PRIEST_REGENERATE"      			hotkey="MACRO" priority="90"  hpper="80" />
		<skill name="PRIEST_RISING_TIDE"     			hotkey="MACRO" priority="80" />
		<skill name="SCOUT_SHOT"          		hotkey="MACRO" priority="90" />
		<skill name="SCOUT_AUTOSHOT"      		hotkey="MACRO" priority="80" />
		<skill name="SCOUT_WIND_ARROWS"   		hotkey="MACRO" priority="70" />
		<skill name="SCOUT_VAMPIRE_ARROWS" 		hotkey="MACRO" priority="70" />
		<skill name="SCOUT_COMBO_SHOT"        	hotkey="MACRO" priority="95" />
		<skill name="SCOUT_ARROW_OF_ESSENCE"    hotkey="MACRO" priority="90" maxhpper="60" inbattle="true"/>
	</skills_scout>

	<skills_rogue>
		<skill name="ROGUE_SHADOWSTAB"    		hotkey="MACRO" priority="90" />
		<skill name="ROGUE_LOW_BLOW"      		hotkey="MACRO" priority="80" />
		<skill name="ROGUE_HIDE"    			hotkey="MACRO" priority="10" autouse="false" />
		<skill name="ROGUE_INFORMER"    		hotkey="MACRO" priority="80" />
		<skill name="ROGUE_ASSASSINS_RAGE"    	hotkey="MACRO" priority="60" />
		<skill name="ROGUE_WOUND_ATTACK"    	hotkey="MACRO" priority="80" />
	</skills_rogue>

	<skills_mage>
		<skill name="MAGE_PURGATORY_FIRE"    	hotkey="MACRO" priority="100" />
		<skill name="MAGE_FLAME"                hotkey="MACRO" priority="80" />
		<skill name="MAGE_FIREBALL"          	hotkey="MACRO" priority="70" />
		<skill name="MAGE_LIGHTNING"         	hotkey="MACRO" priority="80" />
		<skill name="MAGE_ENERGY_INFLUX" 	  	hotkey="MACRO" priority="30" inbattle="true" />
		<skill name="MAGE_ELEMENTAL_CATALYSIS"   hotkey="MACRO" priority="30" inbattle="true" />
		<skill name="MAGE_ENERGY_WELL" 		  	hotkey="MACRO" priority="30" inbattle="true" />
	</skills_mage>

	<skills_knight>
		<skill name="KNIGHT_HOLY_STRIKE"    	hotkey="MACRO" priority="90" />
		<skill name="KNIGHT_HOLY_SHIELD"    	hotkey="MACRO" priority="80" inbattle="true" hpper="15" />
		<skill name="KNIGHT_HOLY_SEAL"      	hotkey="MACRO" priority="70" />
		<skill name="KNIGHT_PUNISHMENT"     	hotkey="MACRO" priority="60" />
		<skill name="KNIGHT_ENHANCED_ARMOR"   	hotkey="MACRO" priority="90" />
		<skill name="KNIGHT_MANA_RETURN"   	  	hotkey="MACRO" priority="60" />
		<skill name="KNIGHT_RESOLUTION"   	  	hotkey="MACRO" priority="60" />
		<skill name="KNIGHT_DISARMAMENT"   	  	hotkey="MACRO" priority="70" />
	</skills_knight>

	<skills_warden>
		<skill name="WARDEN_CHARGED_CHOP"	  	hotkey="MACRO" priority="90" />
		<skill name="WARDEN_ENERGY_ABSORB"	  	hotkey="MACRO" priority="80" inbattle="true" hpper="25" />
	</skills_warden>

	<skills_druid>
		<skill name="DRUID_RECOVER"          	hotkey="MACRO" priority="90" hpper="30" />
		<skill name="DRUID_EARTH_ARROW"      	hotkey="MACRO" priority="80" />
	</skills_druid>

	<onLoad><![CDATA[

	]]></onLoad>

	<onDeath><![CDATA[

	]]></onDeath>

	<onLeaveCombat><![CDATA[

	]]></onLeaveCombat>

	<onLevelup><![CDATA[

	]]></onLevelup>

	<onSkillCast><![CDATA[
	]]></onSkillCast>

	<onPreSkillCast>
	</onPreSkillCast>

	<onHarvest><![CDATA[

	]]></onHarvest>

	<onUnstickFailure><![CDATA[

	]]></onUnstickFailure>
</profile>
it name as "userdefault.xml" that use to load automatically when my characters don't have own profile

i already change

Code: Select all

		<!-- Attack monsters 3 levels above or 10 below your level -->
		<option name="TARGET_LEVELDIF_ABOVE" value="75" />
		<option name="TARGET_LEVELDIF_BELOW" value="75" />
oopsss i forgot.. i tried yesterday my character lvl 75 m/p and no problem in "bizarremechanism" @_$

as of now in nexon server 5.0.4.2589.en version and i use RoM Bot Version 3.29, Revision 740...


1 more question... i never been using thunderstorm in bot... how can i use that>> i only put in my profile skill...??? no need other userfunction or onload onskill needed??

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

Re: Malatina's survival

#277 Post by lisa » Wed Nov 28, 2012 7:49 pm

kuripot wrote:1 more question... i never been using thunderstorm in bot... how can i use that>> i only put in my profile skill...??? no need other userfunction or onload onskill needed??
I have this in my profile and it works fine, no other userfunctions required.

Code: Select all

<skill name="MAGE_THUNDERSTORM"             hotkey="MACRO" priority="100" inbattle="false" mobcount="3"/>	
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

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

Re: Malatina's survival

#278 Post by rock5 » Thu Nov 29, 2012 12:17 pm

Well the script should tell you which AOE skill it will use, if any. If it identified Purgatory Fire as the AOE skill then after the trash mobs have been cleared it would disable it. So the fact that it uses it makes me think it found another AOE to use. Is it possible you had Thunderstorm in your profile but you don't have it available but it still tried to use it? But if that was true then it would have teleported to positions that are too far from each other for Purgatory Fire to reach all the mobs. Did you have to move to finish off the corner mechanisms?

If you weren't aware, to enable Thunderstorm Lighting needs to be level 15. If you have both AOE in your profile I believe survival will use Purgatory Fire because it checks for short range AOEs before the long range ones (which invalidates my above theory).

Now I'm not sure. I'll try my mage with your files and see what happens.

Edit: Turns out my highest mage is level 75 so I'm not going to test it at the moment.

Note also that you can update to 744. It works with 5.0.4.
  • 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: Malatina's survival

#279 Post by lisa » Thu Nov 29, 2012 5:51 pm

if you haven't "unlocked" thunderstorm the bot will still try to use the skill but fail, as rock said you need lvl 15+ of lightning to make thunderstorm active.
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

kuripot
Posts: 493
Joined: Mon Nov 07, 2011 9:14 pm

Re: Malatina's survival

#280 Post by kuripot » Thu Nov 29, 2012 9:05 pm

i already have thuderstorm and im using in manual but not in bot... .. now i will try to put in my profile

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest