Changing Profile Options - Mobs

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
scithen
Posts: 25
Joined: Sun Oct 21, 2012 9:55 pm

Changing Profile Options - Mobs

#1 Post by scithen » Mon Oct 22, 2012 12:08 am

Hi everyone. I recently stumbled across the bot, and have been reading everything I can about waypoints, scripting, etc to be able to set up my own waypoints. However, I'm a complete noob when it comes to scripting and whatnot, and I tend to learn best by example, rather than working my way through it on my own. I can do some of the basic stuff already, though I haven't toyed with merchants and whatnot yet.. I lag too badly in most settlements/cities for that.

With that said, is there a way to change my profile's mob settings at the start of a waypoint? I'm terribly forgetful, and sometimes it takes a bit to realize that I forgot to change/remove the mob names when I switched farming waypoints. Just so we're clear, I mean these:

Code: Select all

	<mobs>
		<!-- names of mobs we want to attack 				-->
		<!-- if no names defined we will attack all mobs	-->
		<mob name="Colorful Ostrich" />
		<mob name="Young Ostrich" />
	</mobs>
Depending on my wife's work schedule, I usually just use a secondary account (paranoid about my main one being banned..) to farm stuff for daily quests, the guild, and runes to sell in the AH. This bot is completely awesome and I love it - lots of stuff to do around the house, so I just let it do the things I need to do but don't have time for. I'll always prefer manually leveling my chars and whatnot, but the help with farming is nice.

Thanks in advance. :)

abron1
Posts: 162
Joined: Wed Feb 22, 2012 12:43 am

Re: Changing Profile Options - Mobs

#2 Post by abron1 » Mon Oct 22, 2012 12:45 am

here is a example

Code: Select all

<onLoad>
	-- Change Profile Option
	changeProfileOption("MAX_TARGET_DIST", 60)
   	changeProfileOption("HP_LOW_POTION", 80)
	RoMScript("MasterVolumeSlider_SetValue(0)")
	settings.profile.mobs = {"Crying Ghost","Wailing Soul","Noxious Blood Wraith"}
	</onLoad>
the mob one is what your looking for....just changed the names of the mobs to the ones ou want to kill

scithen
Posts: 25
Joined: Sun Oct 21, 2012 9:55 pm

Re: Changing Profile Options - Mobs

#3 Post by scithen » Mon Oct 22, 2012 1:11 am

Since all I want to change is the mobs, do I need all of that? Or can I just put the mobs line into the onLoad section of the profile?

ie:

Code: Select all

<onLoad>
   -- Change Profile Option
   settings.profile.mobs = {"Crying Ghost","Wailing Soul","Noxious Blood Wraith"}
</onLoad>

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

Re: Changing Profile Options - Mobs

#4 Post by lisa » Mon Oct 22, 2012 1:20 am

If you want to change the profile you can just do more of this

Code: Select all

  <mobs>
      <!-- names of mobs we want to attack             -->
      <!-- if no names defined we will attack all mobs   -->
      <mob name="Colorful Ostrich" />
      <mob name="Young Ostrich" />
      <mob name="somemobname" />
   </mobs>
Generally if you change the mob names it is for a specific waypoint file and you do that code in the onload of the waypoint.

Code: Select all

<onLoad>
   -- Change Profile Option
   settings.profile.mobs = {"Crying Ghost","Wailing Soul","Noxious Blood Wraith"}
</onLoad>

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

scithen
Posts: 25
Joined: Sun Oct 21, 2012 9:55 pm

Re: Changing Profile Options - Mobs

#5 Post by scithen » Mon Oct 22, 2012 1:23 am

Oops, yeah, that's what I meant - the waypoint, not the profile. I know I can use a third (or more?) mob lines in the options, but I don't want my warlock running off attacking the Zuridon disciples (or whatever they're called.. exact name eludes me) while I'm farming the ostriches.

Thanks. Still trying to fumble my way through all of this.

Edit: Stuck in obsidian stronghold while my recall's on cooldown, so one more quick question. The onLoad code goes inside the <waypoints> tag?

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
<onLoad>
settings.profile.mobs = {"Young Ostrich","Colorful Ostrich",""}
</onLoad>
	<!-- #  1 --><waypoint x="5901" z="9736" y="-60">	</waypoint>
...

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

Re: Changing Profile Options - Mobs

#6 Post by lisa » Mon Oct 22, 2012 1:29 am

There is a userfunction which I found to make life easier for mob names.

http://www.solarstrike.net/phpBB3/viewt ... =27&t=3626
scithen wrote:but I don't want my warlock running off attacking the Zuridon disciples
Add the mob you don't want to attack to friend list, easier than adding multiple things to mob list.

If something is in the friend list the bot won't attack it, bot will just defend itself from it.
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

scithen
Posts: 25
Joined: Sun Oct 21, 2012 9:55 pm

Re: Changing Profile Options - Mobs

#7 Post by scithen » Mon Oct 22, 2012 1:32 am

lisa wrote: Add the mob you don't want to attack to friend list, easier than adding multiple things to mob list.

If something is in the friend list the bot won't attack it, bot will just defend itself from it.
I'd considered that, but it goes back to my being forgetful and all. I figured just changing the mobs
at the beginning of the waypoint would probably be easiest, though if I'm mistaken I'm certainly
open to suggestions.

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

Re: Changing Profile Options - Mobs

#8 Post by lisa » Mon Oct 22, 2012 1:38 am

scithen wrote:
lisa wrote: Add the mob you don't want to attack to friend list, easier than adding multiple things to mob list.

If something is in the friend list the bot won't attack it, bot will just defend itself from it.
I'd considered that, but it goes back to my being forgetful and all. I figured just changing the mobs
at the beginning of the waypoint would probably be easiest, though if I'm mistaken I'm certainly
open to suggestions.
Yup changing them in the WP is the way to go.

If you chain WP together you also need to remember to change it again though, so if yu do a loadpaths() in the new WP you need to remember that there might be mob names already and if so then it will still only attack those mobs. With adding friend list you are just adding an ignore list as such and it still will attack anything else.
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

scithen
Posts: 25
Joined: Sun Oct 21, 2012 9:55 pm

Re: Changing Profile Options - Mobs

#9 Post by scithen » Mon Oct 22, 2012 1:40 am

Alright. Thanks again. :) I don't do a lot of chaining WPs right now, though I'll certainly keep that in mind.

scithen
Posts: 25
Joined: Sun Oct 21, 2012 9:55 pm

Re: Changing Profile Options - Mobs

#10 Post by scithen » Mon Oct 22, 2012 2:18 am

Well, the settings.profile thing wasn't working for some reason, but that userfuction did the
trick. Just had to stop typoing the mobs' names, lol.

On a side note, every time I run the bot, I get some ID not found messages.. I can only
assume they're related to userfunctions or something, as they didn't start showing up
until I added some new ones and shifted some waypoints into different folders. Short of
taking everything apart and adding it in one piece at a time, is there a way to tell what
I'm being yelled at for?

Code: Select all

Id 556783 not found
Id 538088 not found
Id 555492 not found
Id 538093 not found
Id 557613 not found
Id 538174 not found
Id 559745 not found
Id 538088 not found
Id 559490 not found
Id 538093 not found
I've checked everything I can think of, but I'm not really finding anything.

Edit: Just to clarify, the bot still runs without a hitch, I'm just not sure what the IDs
not found is about.

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

Re: Changing Profile Options - Mobs

#11 Post by lisa » Mon Oct 22, 2012 2:31 am

That is from memorytable.lua, probably just a coincidence it is happening now that you have some userfunctions, ID's will probably be for some items you have now.

Rock did a lot of work on that a while back, maybe he can think of why the ID not found print.
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

scithen
Posts: 25
Joined: Sun Oct 21, 2012 9:55 pm

Re: Changing Profile Options - Mobs

#12 Post by scithen » Mon Oct 22, 2012 2:36 am

Alright.. I guess I'll just ignore them for now, since they don't seem to be hurting
anything. Thanks again, and sorry for being such a nub. >.<

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

Re: Changing Profile Options - Mobs

#13 Post by rock5 » Mon Oct 22, 2012 3:21 am

I figured out what they were just recently in another post. It's when it tries to get stats from certain items that don't have stats. Basically the bot reads a number from memory, adds 500000 which results in the id of the stat. Certain items that don't have stats have numbers at that offset that isn't for a stat. So when it adds 500000 to it it ends up with an invalid id.

Which reminds me, I need to add a fix for this. Probably only have it look for stats on items with valid item types, eg. weapons, armor, maybe mana stones.
  • 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: No registered users and 4 guests