Page 1 of 1

disable Interface by Macro/Bot Code

Posted: Sat Nov 13, 2010 2:20 pm
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?

Re: disable Interface by Macro/Bot Code

Posted: Mon Nov 15, 2010 2:56 am
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?

Re: disable Interface by Macro/Bot Code

Posted: Mon Nov 15, 2010 4:54 am
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.

Re: disable Interface by Macro/Bot Code

Posted: Mon Nov 15, 2010 4:59 am
by swietlowka
and what will u gain when u disable it?

Re: disable Interface by Macro/Bot Code

Posted: Mon Nov 15, 2010 7:24 am
by jduartedj
swietlowka wrote:and what will u gain when u disable it?
I think the answer is resources....

Re: disable Interface by Macro/Bot Code

Posted: Mon Nov 15, 2010 8:31 am
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.

Re: disable Interface by Macro/Bot Code

Posted: Mon Nov 15, 2010 3:56 pm
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.

Re: disable Interface by Macro/Bot Code

Posted: Tue Nov 16, 2010 9:06 am
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.....?

Re: disable Interface by Macro/Bot Code

Posted: Tue Nov 16, 2010 10:16 am
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.