Search found 210 matches

by Mushroomstamp
Sun Sep 04, 2011 9:49 pm
Forum: Runes of Magic
Topic: How to trigger if-statement when in combat
Replies: 15
Views: 3833

Re: How to trigger if-statement when in combat

my range of my skills is 50 but the distance is always bigger so my character always moves in. The bot moves to whatever range it needs to, in order to attack. If none of your skills have a farther range than 50, the bot HAS to move within a range of 50 to attack. Did you try the code I posted abov...
by Mushroomstamp
Sat Sep 03, 2011 8:20 pm
Forum: Runes of Magic
Topic: How to trigger if-statement when in combat
Replies: 15
Views: 3833

Re: How to trigger if-statement when in combat

You left your character name in the waypoint you posted... you'll want to change that. If I'm understanding your post, your talking about the wasted time from when you cast your buffs to when you're actually close enough to attack. You could go with something like this to pull him; lf = player:findN...
by Mushroomstamp
Fri Aug 26, 2011 6:41 pm
Forum: Runes of Magic
Topic: Knight Range Pulling with Shock
Replies: 11
Views: 2502

Re: Knight Range Pulling with Shock

I can't say for sure one way or another, but while waiting for a definite answer, you can try this in your profile onLoad to reduce Shock's range and see if it helps; for k,v in pairs(settings.profile.skills) do if v.Name == "KNIGHT_SHOCK" then v.Range = 50 end end If that doesn't work, yo...
by Mushroomstamp
Fri Aug 26, 2011 3:32 pm
Forum: Runes of Magic
Topic: How can I decrease MM CPU usage when looting?
Replies: 7
Views: 2121

Re: How can I decrease MM CPU usage when looting?

Administrator wrote:Does that help?
That actually made it a little worse. :?
by Mushroomstamp
Fri Aug 26, 2011 1:37 pm
Forum: Runes of Magic
Topic: login next char and profile
Replies: 8
Views: 1958

Re: login next char and profile

lisa wrote:3.
Warriors seem to need the normal attack skill added to profile skill, they don't seem to attack unless they have the rage for an attack.
I've always thought it was something to do with the minimum distance requirement of surprise attack when combat is set to ranged, or ranged pull is true.
by Mushroomstamp
Fri Aug 26, 2011 1:02 pm
Forum: Runes of Magic
Topic: How can I decrease MM CPU usage when looting?
Replies: 7
Views: 2121

Re: How can I decrease MM CPU usage when looting?

Manual game play is at least 4 times faster, and looting is done in the blink of an eye. Game client spikes above 50 CPU usage at it's highest.
by Mushroomstamp
Fri Aug 26, 2011 7:48 am
Forum: Runes of Magic
Topic: How can I decrease MM CPU usage when looting?
Replies: 7
Views: 2121

Re: How can I decrease MM CPU usage when looting?

It helped a little, but not as much as I had hoped. It had been hitting 98, now it's more like 92. Anything else I could try?
by Mushroomstamp
Thu Aug 25, 2011 10:44 pm
Forum: Runes of Magic
Topic: How can I decrease MM CPU usage when looting?
Replies: 7
Views: 2121

How can I decrease MM CPU usage when looting?

MM CPU usage hits above 90 when looting a mob, which slows things WAY down. Is there anything I can do to lower the CPU usage when looting? I have quoted out everything I had in onLeaveCombat to be sure there wasn't an issue there, and my loot options are as follows; <option name="LOOT" va...
by Mushroomstamp
Thu Aug 25, 2011 8:09 pm
Forum: Runes of Magic
Topic: Interrupting casts
Replies: 18
Views: 3258

Re: Interrupting casts

Yes it is, and everything is right except for the name, which should be Terror... skilltab 4, skill 13.
by Mushroomstamp
Thu Aug 25, 2011 7:43 pm
Forum: Runes of Magic
Topic: Lootfilter addon - can it filter whites/greens
Replies: 19
Views: 5772

Re: Lootfilter addon - can it filter whites/greens

There have been a lot of userfunctions posted to handle many different scenarios... you should be able to modify one to suit your needs.
The search function is your friend. ;)
by Mushroomstamp
Thu Aug 25, 2011 7:34 pm
Forum: Runes of Magic
Topic: Interrupting casts
Replies: 18
Views: 3258

Re: Interrupting casts

Now I'd like to add interrupts for my warrior. I'm choosing Shout and Terror since Thunder requires a 1h weapon (would it be possible to use Thunder instead if I had a 1h weapon equipped?). -- Check cooldown local cd = deltaTime(getTime(), settings.profile.skills[ShoutIndex].LastCastTime)/1000 if c...
by Mushroomstamp
Thu Aug 25, 2011 7:08 pm
Forum: Runes of Magic
Topic: Condensing code
Replies: 9
Views: 1779

Re: Condensing code

You could flip it if 2 > CountAggroTargets() then if (arg1.Type == STYPE_DAMAGE or arg1.Type == STYPE_DOT) and arg1.Name ~= "WARRIOR_AOENAME" then return false end end It's nearly as long but this way it doesn't matter how many attack skills you have, it will work. Your way you would have...
by Mushroomstamp
Thu Aug 25, 2011 9:12 am
Forum: Runes of Magic
Topic: Condensing code
Replies: 9
Views: 1779

Condensing code

if arg1.Name == "WARRIOR_MOON_CLEAVE" or arg1.Name == "WARRIOR_BLASTING_CYCLONE" or arg1.Name == "WARRIOR_WHIRLWIND" or arg1.Name == "WARRIOR_SHOUT" then if 2 > CountAggroTargets() then return false end end Can I bracket all the skills in some way, or do I ha...
by Mushroomstamp
Thu Aug 25, 2011 8:58 am
Forum: Runes of Magic
Topic: Rogue Poison
Replies: 3
Views: 1320

Re: Rogue Poison

I have two questions about this;
Bot should only attempt to cast Poison if the character is a Rogue, so why bother with the class check?
And
Why the "return true" at the end when I thought it automatically returns true?
by Mushroomstamp
Thu Aug 25, 2011 6:41 am
Forum: Runes of Magic
Topic: Your POST has been ignored because it may contain spam. If y
Replies: 4
Views: 1453

Re: Your POST has been ignored because it may contain spam.

To the speed... 130mil gold for $13.52? :lol:
by Mushroomstamp
Tue Aug 23, 2011 7:52 pm
Forum: Runes of Magic
Topic: Need to auto-zoom the camera to first person
Replies: 8
Views: 2536

Re: Need to auto-zoom the camera to first person

kanta wrote:Run MM with rom\getpos to have it show coordinates.
I found that in an old post after my last post, but it's not right... camera zooms far away.
by Mushroomstamp
Tue Aug 23, 2011 11:55 am
Forum: Runes of Magic
Topic: Need to auto-zoom the camera to first person
Replies: 8
Views: 2536

Re: How can auto-zoom the camera to first person?

Is there code I can put in command line to get the current position? Now it's dying fine, but not rez'ing right. :x
by Mushroomstamp
Tue Aug 23, 2011 10:30 am
Forum: Runes of Magic
Topic: How to mark a waypoint to not be skipped
Replies: 22
Views: 4177

Re: How to mark a waypoint to not be skipped

Saw this in the posted code;

Code: Select all

settings.profile.options.WAYPOINT_PASS_DEGR ) then   -- default 90
Couldn't we do something like;

Code: Select all

<option name="WAYPOINT_PASS_DEGR"	value="180" />
in a profile to double the distance required for it to skip a WP?
by Mushroomstamp
Tue Aug 23, 2011 9:36 am
Forum: Runes of Magic
Topic: Need to auto-zoom the camera to first person
Replies: 8
Views: 2536

Re: How can auto-zoom the camera to first person?

That number puts it underground.
by Mushroomstamp
Tue Aug 23, 2011 9:05 am
Forum: Runes of Magic
Topic: Need to auto-zoom the camera to first person
Replies: 8
Views: 2536

Need to auto-zoom the camera to first person

I play with the camera zoomed out, but this seems to interfere with the death script. When the camera is zoomed out, the script doesn't work. If I zoom the camera all the way in manually, the script works. So how do I get the bot to zoom the camera to first person so I can then have it call the deat...