disable Interface by Macro/Bot Code

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Starrider
Posts: 164
Joined: Sat May 01, 2010 7:04 am
Location: Germany

disable Interface by Macro/Bot Code

#1 Post by Starrider »

Hello, here a question: how could it be possible to disable the Interface (Strg-Z) by rom bot at the beginning of a script?
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: disable Interface by Macro/Bot Code

#2 Post by rock5 »

Starrider wrote:Hello, here a question: how could it be possible to disable the Interface (Strg-Z) by rom bot at the beginning of a script?
What Interface are you talking about? What is Strg-Z?
  • 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
Starrider
Posts: 164
Joined: Sat May 01, 2010 7:04 am
Location: Germany

Re: disable Interface by Macro/Bot Code

#3 Post by Starrider »

sory its german keyboard setting, for you its Ctrl-Y or Z (Position from Y and Z is different from german keyboard). Try it. Then press Ctrl-X an you will se FPS etc.
swietlowka
Posts: 316
Joined: Wed Jun 16, 2010 8:16 am

Re: disable Interface by Macro/Bot Code

#4 Post by swietlowka »

and what will u gain when u disable it?
User avatar
jduartedj
Posts: 599
Joined: Sat Dec 19, 2009 12:18 am
Location: Lisbon
Contact:

Re: disable Interface by Macro/Bot Code

#5 Post by jduartedj »

swietlowka wrote:and what will u gain when u disable it?
I think the answer is resources....
Thanks for reading! :D

Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: disable Interface by Macro/Bot Code

#6 Post by rock5 »

jduartedj wrote:
swietlowka wrote:and what will u gain when u disable it?
I think the answer is resources....
Disabling my display saves me 10kk of ram. Not that much but still...

This should work,

Code: Select all

keyboardPress(key.VK_Z,key.VK_CONTROL)
Be careful, though, maybe having the interface disabled might interfere with some functions.
http://www.solarstrike.net/wiki/index.p ... boardPress

Edit: Looks like the modifier doesn't work. Sorry.
  • 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
Starrider
Posts: 164
Joined: Sat May 01, 2010 7:04 am
Location: Germany

Re: disable Interface by Macro/Bot Code

#7 Post by Starrider »

its better for the CPU, the most ressources are used by Interface, if you disable it you'll se ist saves a bit, When you switch off the interface lootfilter doesnt work, but still for egg farming its nice not to do it every time again.
If you resume interface the filter works again.
User avatar
jduartedj
Posts: 599
Joined: Sat Dec 19, 2009 12:18 am
Location: Lisbon
Contact:

Re: disable Interface by Macro/Bot Code

#8 Post by jduartedj »

rock5 wrote: Edit: Looks like the modifier doesn't work. Sorry.
maybe if you run the script on rom-bot load just after attach or something.....?
Thanks for reading! :D

Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates
User avatar
Giram
Posts: 191
Joined: Thu Aug 26, 2010 3:34 pm
Location: Finland

Re: disable Interface by Macro/Bot Code

#9 Post by Giram »

You can change hide interface key from key bindings ingame.

So would it work like this:

Code: Select all

keyboardPress(key.VK_Z)
If its set to z.
Post Reply