Software Documentation MQ2EmuBotMan » Deprecated
Reply
MQ2EmuBotMan » Deprecated
Deprecated
This plugin was bulky and didn't behave the best. It has been mostly replaced. MQ2EmuTiler replaces the window tiling, MQ2EmuWindowTitles replaces the window title editing functions, and MQ2EmuClipper replaces the clipping.





Overview
This plugin has 3 managers in it. Clipping, Title, and Layout. It is available to all active gold members. You can sign up here

  ● The Clipping manager lets you set the foreground and background viewing distance to help resource consumption.
  ● The Title manager lets you change your window titles to macroquest variables.
  ● The Layout manager lets you tile your windows on the screen




Clipping Manager
This is enabled(1), and disabled(0) using the Settings->ClipManEnabled setting in the MQ2EmuBotMan.ini file.

INI
More +
[Settings]
FGClip=900
BGClip=100


The previous example will set the foreground(active window) clipping to 900, and the background(all inactive windows) clipping to 100. Valid values are 1 to 3000. This will effect every character with the plugin loaded unless they have a character value set like follows.

INI
More +
[Maudigan]
FGClip=900
BGClip=100


This will set only the clipping of the character "Maudigan"




Title Manager
This is enabled(1), and disabled(0) using the Settings->TitleManEnabled setting in the MQ2EmuBotMan.ini file.

INI
More +
[Settings]
TitleManEnabled=1
Title=${Me.Name}


This will make all windows display the characters name. The title will only be effected while in game.

INI
More +
[Maudigan]
Title=MYTANK - ${Me.Name} - ${Me.PctHPs}


This would override the default under [Settings] and give "maudigan" a unique window title.




Layout Manager
This is enabled(1), and disabled(0) using the Settings->LayoutManEnabled setting in the MQ2EmuBotMan.ini file.


Static/Dynamic
A layout is considered dynamic if the layout record in the INI file includes a "FG" value. This FG value will define typically the large window area that the smaller side windows will pop to when active.
When the "FG" value is omitted the layout is considered static. Windows will stay in their location regardless of active/inactive state.

Static Example
INI
More +
[S4]
1=0:0:50:50
2=50:0:50:50
3=0:50:50:50
4=50:50:50:50


Dynamic Example
INI
More +
[D5]
FG=33:33:67:67
1=0:66:33:34
2=0:33:33:33
3=0:0:33:33
4=33:0:33:33
5=66:0:34:33



Creating your own layouts
You can create your own layouts using any name you desire in the []'s. If you want a dynamic layout, with a slot for active windows to pop to, you will specify that active location using the "FG" (or foreground) identifier. All other slots will use other names. While a slot can have any arbitrary name, it is best to name them starting at 1, and counting up to ensure compatibility with other layouts.

Each slot, foreground(FG) or background, have the same syntax of <x>:<y>:<cx>:<cy> or <left>:<top>:<width>:<height>. These values must all be expressed in percentages since all our monitors have different resolutions. When creating these values you can ignore your taskbars location. The program will automatically account for its location, and even automatically resize windows if you move the taskbar with the plugin loaded.

As an example if you would like three slots all next to each other, you would first name it, "Example", and then calculate each slot in percentages. The top left corner of the left most window would be at 0:0, it would be 33% wide, and 100% tall. Its record would look like this "1=0:0:33:100". Your center window would be 33% over, at 33:0, but would have the same size, "2=33:0:33:100". Two windows at 33% takes up 66% of the screen. That means our last slot will need to start at 66%, but be 34% wide (no harm would be done if you left it 33 wide). It would look like this "3=66:0:34:100".

The final result would look like this:
INI
More +
[Example]
1=0:0:33:100
2=33:0:33:100
3=66:0:34:100


Select your layout
Once you've built your layout, or selected a preexisting one from the INI file, you can set it in the INI file using the "Layout" option as follows:

INI
More +
[Settings]
LayoutManEnabled=1
Layout=S4


This would select the layout S4(static 4). Alternatively you could type


/ebmlayout S4
This can be done in game, and will effect all characters on the computer instantly. This will let your rapidly change layouts to add/remove characters.


Select your slot
Each character has to be told what slot he is in. The slot name will correspond the the slots listed under the layout. If the layout has slot 1-4, and you tell a character to take slot 5, the characters window will automatically resize to full screen and assuming he has no assigned slot. To reassign set the character as follows

INI
More +
[MyCharNameHere]
LayoutSlot=4


Alternatively to quickly toggle, you can do the following from in game:


/ebmslot 4
This will instantly adjust his assigned location.




Limitations
This has displayed very slightly different behavior between Windows XP,and Windows 7. Efforts have been made to minimize this effect but some bargaining took place.

caption bar
Depending on your operating system you may notice a caption bar appear at the top of a characters window the very first time you change his layout. This should disappear after his first trip to the foreground slot.

multiple monitors
Not supported yet


Seeds of Destruction and Underfoot ONLY
This is not on titanium for now. I may add it in the future. It will most likely never be added to SoF.

Blurry screen
There are two different ways to display a window. With, and without resizing the games GUI. When a window is sent into a background slot the GUI is NOT resized. If it were, your chat box would fill up the entire screen. Being that the GUI is not resized it may not be legible while in background mode.

If you are using a static layout, the EQ GUI will ALWAYS be resized no matter how small your windows are set.

On rare occasions this toggling of the EQ GUI wont fire properly for a character when they are in the foreground window. The fastest workaround for this is to hover your mouse over the edge of their screen, on the gray(win xp) or translucent(win 7) border till the double ended arrow shows up. Thin click once. This should trigger a GUI resize.




Dependencies

Gold Membership
This does require a gold membership to use. Because of this you'll need to have MQ2VMQNet Loaded, and have type /login <user> <pass>, or have set your user and pass in the VMQNet INI file for autologin. You can sign up for membership here.




Full INI example

INI
More +
[Settings]
TitleManEnabled=1
Title=${Me.Name}
ClipManEnabled=1
FGClip=900
BGClip=100
LayoutManEnabled=1
Layout=S4
 
[MyCharNameHere]
LayoutSlot=1
 
[MyCharNameHere]
Title=${Me.Name} Mana:${Me.PctMana}%
FGClip=1500
BGClip=1500
LayoutSlot=2
 



[S4]
1=0:0:50:50
2=50:0:50:50
3=0:50:50:50
4=50:50:50:50

[SC2]
1=0:0:100:50
2=0:50:100:50

[SR2]
1=0:0:50:100
2=50:0:50:100

[D3]
FG=20:0:80:100
1=0:0:20:33
2=0:33:20:33
3=0:66:20:34

[D5]
FG=33:33:67:67
1=0:66:33:34
2=0:33:33:33
3=0:0:33:33
4=33:0:33:33
5=66:0:34:33

[D6]
FG=0:0:100:80
1=0:80:17:20
2=17:80:17:20
3=34:80:17:20
4=51:80:17:20
5=68:80:16:20
6=84:80:16:20

[D7]
FG=25:25:75:75
1=0:75:25:25
2=0:50:25:25
3=0:25:25:25
4=0:0:25:25
5=25:0:25:25
6=50:0:25:25
7=75:0:25:25

[DA9]
FG=20:33:60:67
1=0:66:20:34
2=0:33:20:33
3=0:0:20:33
4=20:0:20:33
5=40:0:20:33
6=60:0:20:33
7=80:0:20:33
8=80:33:20:33
9=80:66:20:34

[D9]
FG=20:20:80:80
1=0:80:20:20
2=0:60:20:20
3=0:40:20:20
4=0:20:20:20
5=0:0:20:20
6=20:0:20:20
7=40:0:20:20
8=60:0:20:20
9=80:0:20:20

[D12]
FG=25:25:50:50
1=0:75:25:25
2=0:50:25:25
3=0:25:25:25
4=0:0:25:25
5=25:0:25:25
6=50:0:25:25
7=75:0:25:25
8=75:25:25:25
9=75:50:25:25
10=75:75:25:25
11=75:50:25:25
12=75:25:25:25
Last edited by Maudigan on Fri Jan 27, 2012 2:57 pm; edited 5 times in total
Mon May 31, 2010 10:07 pm
Project Lead
Wow what a great plugin!

I do have some troubles with this though, as it seems that the windows don't always want to go to their correct spots.

After switching a window or two, some windows will fail to be minimized into the background, and instead just linger behind other windows.

I am using Windows 7, SoD, using dynamic layouts. I've tried in many different resolutions in both full screen and windowed modes.
Fri Nov 26, 2010 11:17 pm
Can you email me your mq2emubotman.ini and some screencaps maybe?

Mqemulator@gmail.com
Sat Nov 27, 2010 1:12 am
Project Lead
Title Manager
Maudigan,

Is there any way you could create a small plugin that just has the title manager part of this plugin?

I found the window tile system somewhat hard to make work properly because of the changing aspect ratios, but the title manager was incredibly useful.
Sat Dec 24, 2011 11:59 am
That will be the next thing coming out. I'm breaking the three plugins up into individual ones and rewriting them all.

for now set this in the ini:
LayoutManEnabled=0
Sat Dec 24, 2011 7:19 pm
Project Lead
Software Documentation MQ2EmuBotMan » Deprecated
Reply