-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathFollowBotGui.xaml
More file actions
368 lines (332 loc) · 33.7 KB
/
FollowBotGui.xaml
File metadata and controls
368 lines (332 loc) · 33.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
<UserControl x:Class="FollowBot.FollowBotGui"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:controls="http://metro.mahapps.com/winfx/xaml/controls"
xmlns:settingsPath="clr-namespace:FollowBot"
mc:Ignorable="d"
d:DesignHeight="Auto" d:DesignWidth="Auto">
<Grid DataContext="{x:Static settingsPath:FollowBotSettings.Instance}">
<TabControl>
<TabItem Header="General" HorizontalAlignment="Left" VerticalAlignment="Top">
<ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto">
<StackPanel>
<WrapPanel Margin="0,5,0,0">
<Label Content="Invite Whitelist:"/>
<TextBox Text="{Binding Path=InviteWhiteList, Mode=TwoWay}" MinWidth="100" MaxWidth="200" ToolTip="If the list is empty,the bot will accept any invite, otherwise he will accept invite only from the name in the list."/>
</WrapPanel>
<WrapPanel Margin="0,5,0,0">
<Label Content="Follow Distance:"/>
<Label Content="min"/>
<TextBox Text="{Binding Path=FollowDistance, Mode=TwoWay}" MinWidth="25" MaxWidth="50" ToolTip="Min follow distance. the follower will try to keep a random distance from the leader between min and max follow distance."/>
<Label Content="max"/>
<TextBox Text="{Binding Path=MaxFollowDistance, Mode=TwoWay}" MinWidth="25" MaxWidth="50" ToolTip="Max follow distance. the follower will try to keep a random distance from the leader between min and max follow distance."/>
</WrapPanel>
<Label Content="Party role: "></Label>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<CheckBox Grid.Row="0" Grid.Column="0" Content="Kill Monsters" Margin="10,0,10,0" IsChecked="{Binding Path=ShouldKill, Mode=TwoWay}" VerticalAlignment="Center" ToolTip="Should the Follower use the Routine configured skills to fight?"/>
<Label Grid.Row="0" Grid.Column="1" Content="Max combat Distance:" VerticalAlignment="Center"/>
<TextBox Grid.Row="0" Grid.Column="2" Text="{Binding Path=MaxCombatDistance, Mode=TwoWay}" MinWidth="25" MaxWidth="50" VerticalAlignment="Center" ToolTip="Max distance from the leader, the follower will consider a mob targhetable and so try to fight."/>
<CheckBox Grid.Row="1" Grid.Column="0" Content="Loot Visible Items" Margin="10,0,10,0" IsChecked="{Binding Path=ShouldLoot, Mode=TwoWay}" VerticalAlignment="Center" ToolTip="Should the Follower try to loot ALL visible items? PLS NOTE: you nee to use a ingame item filter to reduce the quantity of visible items."/>
<Label Grid.Row="1" Grid.Column="1" Content="Max loot Distance:" VerticalAlignment="Center"/>
<TextBox Grid.Row="1" Grid.Column="2" Text="{Binding Path=MaxLootDistance, Mode=TwoWay}" MinWidth="25" MaxWidth="50" VerticalAlignment="Center" ToolTip="Max distance from the leader, the follower is allowed to move to loot items. All Items above this distance, will be logged and ignored."/>
<CheckBox Grid.Row="2" Grid.Column="0" Content="Use Stalker Sentinel" Margin="10,0,10,0" IsChecked="{Binding Path=UseStalkerSentinel, Mode=TwoWay}" VerticalAlignment="Center" ToolTip="Use the Stalker Sentinel if equipped and have charged."/>
<CheckBox Grid.Row="3" Grid.Column="0" Content="Don't Port Out of Map" Margin="10,0,10,0" IsChecked="{Binding Path=DontPortOutofMap, Mode=TwoWay}" VerticalAlignment="Center" ToolTip="If Enabled, the follower will not try to exit a map if the Leader die or leave the area, you will need to use chat command to leave the area."/>
<WrapPanel Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="3">
<Label Content="Teleport Out delay: " ToolTip="If the Leader Leave the zone for some reason, the bot will wait this numbr of seconds before to leave the map."/>
<Slider Name="SlPortOutDelay" Minimum="0" Margin="0,5,0,0" Width="160" Value="{Binding Path=PortOutThreshold, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TickFrequency="1" IsSnapToTickEnabled="True" SmallChange="1" LargeChange="1" Maximum="100" AutoToolTipPrecision="1" VerticalAlignment="Center" ToolTip="If the Leader Leave the zone for some reason, the bot will wait this numbr of seconds before to leave the map."/>
<TextBox Name="TbPortOutDelay" Text="{Binding ElementName=SlPortOutDelay, Path=Value}" Width="40" HorizontalAlignment="Left" Margin="0,5,0,0" VerticalAlignment="Center" ToolTip="If the Leader Leave the zone for some reason, the bot will wait this numbr of seconds before to leave the map."/>
<Label Content="Seconds." ToolTip="If the Leader Leave the zone for some reason, the bot will wait this numbr of seconds before to leave the map."/>
</WrapPanel>
</Grid>
</StackPanel>
</ScrollViewer>
</TabItem>
<TabItem Header="Auras" HorizontalAlignment="Left" VerticalAlignment="Top">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<GroupBox Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" BorderThickness="2" Margin="5,5,10,0" Header="Aspects">
<StackPanel>
<CheckBox Content="Use Aspect of the Avian" Margin="10,0,10,0" IsChecked="{Binding Path=EnableAspectsOfTheAvian, Mode=TwoWay}" VerticalAlignment="Center" ToolTip="Should use Aspect of the Avian"></CheckBox>
<CheckBox Content="Use Aspect of the Cat" Margin="10,0,10,0" IsChecked="{Binding Path=EnableAspectsOfTheCat, Mode=TwoWay}" VerticalAlignment="Center" ToolTip="Should use Aspect of the Cat"></CheckBox>
<CheckBox Content="Use Aspect of the Crab" Margin="10,0,10,0" IsChecked="{Binding Path=EnableAspectsOfTheCrab, Mode=TwoWay}" VerticalAlignment="Center" ToolTip="Should use Aspect of the Crab"></CheckBox>
<CheckBox Content="Use Aspect of the Spider" Margin="10,0,10,0" IsChecked="{Binding Path=EnableAspectsOfTheSpider, Mode=TwoWay}" VerticalAlignment="Center" ToolTip="Should use Aspect of the Spider"></CheckBox>
</StackPanel>
</GroupBox>
<Label Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" FontWeight="Bold" Content="The bot will try to cast all available Auras and AurificedCurses automatically."/>
<Label Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" FontWeight="Bold" Content="If you use the Flesh and Stone skill, use this button to select your prefered stance."/>
<Button Grid.Row="3" Grid.Column="0" FontWeight="Bold" Content="Change Stance" Click="ChangeStance_OnClick" Margin="5,1,25,1" ></Button>
<Border BorderThickness="1" BorderBrush="White" CornerRadius="10" Grid.Row="3" Grid.Column="1">
<Label FontWeight="Bold" Content="{Binding Path=BloorOrSand}" HorizontalAlignment="Center" VerticalAlignment="Center"></Label>
</Border>
</Grid>
</TabItem>
<TabItem Header="Flasks" HorizontalAlignment="Left" VerticalAlignment="Top">
<DataGrid CanUserSortColumns="False" ItemsSource="{Binding Path=Flasks, Mode=TwoWay}" AutoGenerateColumns="False" AllowDrop="False" CanUserAddRows="False" VerticalAlignment="Top" Margin="0,5,0,0">
<DataGrid.Columns>
<DataGridTemplateColumn Header="Enabled">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<Grid>
<CheckBox HorizontalAlignment="Center" IsChecked="{Binding Path=Enabled, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" ToolTip="Enabled ?" Width="Auto"/>
</Grid>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<!--<DataGridCheckBoxColumn Header="Enabled" Binding="{Binding Path=Enabled}" Width="Auto"></DataGridCheckBoxColumn>-->
<DataGridTemplateColumn Header="Slot" >
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<Label Content="{Binding Path=Slot, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" VerticalAlignment="Center" HorizontalAlignment="Center"></Label>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<DataGridTemplateColumn Header="UseEs">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<Grid>
<CheckBox HorizontalAlignment="Center" IsChecked="{Binding Path=UseEs, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" ToolTip="Use energy shield as threshold instead of life" Width="Auto"/>
</Grid>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<!--<DataGridCheckBoxColumn Header="UseEs" Binding="{Binding Path=UseEs}" Width="Auto"></DataGridCheckBoxColumn>-->
<DataGridTemplateColumn Header="UseMana">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<Grid>
<CheckBox HorizontalAlignment="Center" IsChecked="{Binding Path=UseMana, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" ToolTip="Use mana as threshold instead of life" Width="Auto"/>
</Grid>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<!--<DataGridCheckBoxColumn Header="UseMana" Binding="{Binding Path=UseMana}" Width="Auto"></DataGridCheckBoxColumn>-->
<DataGridTemplateColumn Header="Threshold" >
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<WrapPanel>
<Slider Name="SlThreshold" Minimum="0" Margin="0,5,0,0" Width="160" Value="{Binding Path=Threshold, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TickFrequency="1" IsSnapToTickEnabled="True" SmallChange="1" LargeChange="1" Maximum="101" AutoToolTipPrecision="1" VerticalAlignment="Center" ToolTip="This flask will be triggered when the selected property (Life, Es, Mana) is under this percent. set to 101 to always trigger."/>
<TextBox Name="TbThreshold" Text="{Binding ElementName=SlThreshold, Path=Value}" Width="40" HorizontalAlignment="Left" Margin="0,5,0,0" VerticalAlignment="Center"/>
</WrapPanel>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<DataGridTemplateColumn Header="IgnoreEffect">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<Grid>
<CheckBox HorizontalAlignment="Center" IsChecked="{Binding Path=IgnoreEffect, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" ToolTip="Ignore the Effect duration when deciding if to use this flask, use it in conjunction with Cooldown to trigger this flask each x ms." Width="Auto"/>
</Grid>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<DataGridTemplateColumn Header="Cooldown (Ms)" >
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<WrapPanel>
<Slider Name="SlCooldown" Minimum="0" Margin="0,5,0,0" Width="160" Value="{Binding Path=Cooldown, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TickFrequency="1" IsSnapToTickEnabled="True" SmallChange="1" LargeChange="1" Maximum="15000" AutoToolTipPrecision="1" VerticalAlignment="Center" ToolTip="Cooldown time for this flask. The flask will be used once every x milliseconds as per delay configuration, Pls note, if the option IgnoreEffect is not selected, the flask will newer be used till the flask effect wear off, regardless for the Cooldown configuration.."/>
<TextBox Name="TbCooldown" Text="{Binding ElementName=SlCooldown, Path=Value}" MinWidth="40" HorizontalAlignment="Left" Margin="0,5,0,0" VerticalAlignment="Center"/>
</WrapPanel>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
</DataGrid.Columns>
</DataGrid>
</TabItem>
<TabItem Header="Defensive Skills" HorizontalAlignment="Left" VerticalAlignment="Top">
<ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" >
<DataGrid CanUserSortColumns="False" ItemsSource="{Binding Path=DefensiveSkills, Mode=TwoWay}" AutoGenerateColumns="False" AllowDrop="False" VerticalAlignment="Top" Margin="0,5,0,0">
<DataGrid.Columns>
<DataGridCheckBoxColumn Header="Enabled" Binding="{Binding Path=Enabled, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Width="Auto" ></DataGridCheckBoxColumn>
<DataGridTextColumn Header="Skill Name" Binding="{Binding Path=Name, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Width="Auto"></DataGridTextColumn>
<DataGridCheckBoxColumn Header="UseEs" Binding="{Binding Path=UseEs, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Width="Auto" ></DataGridCheckBoxColumn>
<DataGridTemplateColumn Header="Threshold">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<WrapPanel>
<Slider Name="SlThreshold" Minimum="0" Margin="0,5,0,0" Width="160" Value="{Binding Path=Threshold, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TickFrequency="1" IsSnapToTickEnabled="True" SmallChange="1" LargeChange="1" Maximum="101" AutoToolTipPrecision="1" VerticalAlignment="Center"/>
<TextBox Name="TbThreshold" Text="{Binding ElementName=SlThreshold, Path=Value}" Width="40" HorizontalAlignment="Left" Margin="0,5,0,0" VerticalAlignment="Center"/>
</WrapPanel>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<DataGridTemplateColumn Header="SleepOnUse (Sec)">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<WrapPanel>
<Slider Name="SlSleep" Minimum="0" Margin="0,5,0,0" Width="100" Value="{Binding Path=SleepSeconds, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TickFrequency="0.1" IsSnapToTickEnabled="True" SmallChange="0.1" LargeChange="1" Maximum="60" AutoToolTipPrecision="1" VerticalAlignment="Center"/>
<TextBox Name="TbSleep" Text="{Binding ElementName=SlSleep, Path=Value}" Width="40" HorizontalAlignment="Left" Margin="0,5,0,0" VerticalAlignment="Center"/>
</WrapPanel>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<DataGridCheckBoxColumn Header="CastOnParty" Binding="{Binding Path=CastOnLeader, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Width="Auto"></DataGridCheckBoxColumn>
<DataGridTemplateColumn Header="Link Whitelist">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<WrapPanel>
<TextBox Name="linkWhitelist" Text="{Binding Path=LinkWhitelist, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" MinWidth="100" MaxWidth="200" Width="auto" HorizontalAlignment="Left" Margin="0,5,0,0" VerticalAlignment="Center" ToolTip="List of names, coma separated, of player that will recieve the Link cast. Ex: name1,name2,name3. PLS NOTE: if this field is empty, the link skill will be used on leader only as usual."/>
</WrapPanel>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<DataGridTemplateColumn Header="Remove">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<Button Click="RemoveDefensiveSkillRule" VerticalAlignment="Center">X</Button>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
</DataGrid.Columns>
</DataGrid>
</ScrollViewer>
</TabItem>
<TabItem Header="Level Gems" HorizontalAlignment="Left" VerticalAlignment="Top">
<StackPanel VerticalAlignment="Top" Margin="0,5,0,0">
<CheckBox Name="DebugStatementsCheckBox"
IsChecked="{Binding Path=GemDebugStatements, Mode=TwoWay}"
ToolTip="If enabled, it will log some debug informations"
Content="Gem Debug Info."></CheckBox>
<CheckBox Name ="LevelOffhandOnly"
IsChecked="{Binding Path=LevelOffhandOnly, Mode=TwoWay}"
ToolTipService.ToolTip="If selected, only skill gem equiped in secondary weapons slot will be leveled. Gems in the ignore list are still ignored."
Content="Level Offhand (all) gems ONLY" Grid.Row="1" Grid.Column="0"></CheckBox>
<CheckBox Name ="LevelAllGems"
IsChecked="{Binding Path=LevelAllGems, Mode=TwoWay}"
ToolTipService.ToolTip="If selected, all skill gem equiped but the one in the ignore list will be leveled."
Content="Level (all) gems" Grid.Row="2" Grid.Column="0"></CheckBox>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Label Grid.Row="0" Grid.Column="0" Content="Gem to Ignore: " Margin="3" ToolTipService.ToolTip="The skillgem name to add/remove from the ignore list."/>
<TextBox x:Name="GlobalNameIgnoreTextBox" Grid.Row="0" Grid.Column="1" Width="160"/>
<Button x:Name="AddGlobalNameIgnoreButton" Grid.Row="0" Grid.Column="2" Content="Add" Margin="3,5,3,1" ToolTipService.ToolTip="Adds the skillgem name to the ignore list. NOTE: you can stop leveling a gem to a specific level separating the name and the target level with a coma Ex. Added Chaos Damage Support,5 " Click="AddGlobalNameIgnoreButton_OnClick"/>
<Button x:Name="RemoveGlobalNameIgnoreButton" Grid.Row="0" Grid.Column="3" Content="Remove" Margin="3,5,3,1" ToolTipService.ToolTip="Removes the skillgem name to the ignore list. Note to fast remove a gem, click on it in the list and the name will appear here." Click="RemoveGlobalNameIgnoreButton_OnClick"/>
<Label Grid.Row="1" Grid.Column="0" Content="Gem to Ignore List: " Margin="3" ToolTipService.ToolTip="A list of skillgem names to ignore from leveling."/>
<ListBox x:Name="GlobalNameIgnoreListListBox" Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="3" ItemsSource="{Binding Path=GlobalNameIgnoreList, Mode=TwoWay}" SelectionChanged="GlobalNameIgnoreListListBox_SelectionChanged" />
</Grid>
</StackPanel>
</TabItem>
<TabItem Header="Chat Commands" HorizontalAlignment="Left" VerticalAlignment="Top">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Label Content="" Grid.Row="0" Grid.Column="0" HorizontalAlignment="Center"></Label>
<Label Content="On" Grid.Row="0" Grid.Column="1" HorizontalAlignment="Center"></Label>
<Label Content="Off" Grid.Row="0" Grid.Column="2" HorizontalAlignment="Center"></Label>
<Label Content="Teleport to Leader: " Grid.Row="1" Grid.Column="0"/>
<TextBox Text="{Binding Path=TeleportToLeaderChatCommand, Mode=TwoWay}" MinWidth="100" Grid.Row="1" Grid.Column="1" ToolTip="The follower will react to this message (if the message come from the party leader in whisper or group chat) by trying to teleport to the leader zone."/>
<Label Content="Follow: " Grid.Row="2" Grid.Column="0"/>
<TextBox Text="{Binding Path=StartFollowChatCommand, Mode=TwoWay}" MinWidth="100" Grid.Row="2" Grid.Column="1" ToolTip="The follower will react to this message (if the message come from the party leader in whisper or group chat) by restart following the leader."/>
<TextBox Text="{Binding Path=StopFollowChatCommand, Mode=TwoWay}" MinWidth="100" Grid.Row="2" Grid.Column="2" ToolTip="The follower will react to this message (if the message come from the party leader in whisper or group chat) by stop following the leader, the follower will still perform common actions like cast auras, use flasks, use skills, loot or fight if enabled."/>
<Label Content="Loot: " Grid.Row="3" Grid.Column="0"/>
<TextBox Text="{Binding Path=StartLootChatCommand, Mode=TwoWay}" MinWidth="100" Grid.Row="3" Grid.Column="1" ToolTip="The follower will react to this message (if the message come from the party leader in whisper or group chat) by turning on the loot feature."/>
<TextBox Text="{Binding Path=StopLootChatCommand, Mode=TwoWay}" MinWidth="100" Grid.Row="3" Grid.Column="2" ToolTip="The follower will react to this message (if the message come from the party leader in whisper or group chat) by turning off the loot feature."/>
<Label Content="Attack: " Grid.Row="4" Grid.Column="0"/>
<TextBox Text="{Binding Path=StartAttackChatCommand, Mode=TwoWay}" MinWidth="100" Grid.Row="4" Grid.Column="1" ToolTip="The follower will react to this message (if the message come from the party leader in whisper or group chat) by turning on the fight feature."/>
<TextBox Text="{Binding Path=StopAttackChatCommand, Mode=TwoWay}" MinWidth="100" Grid.Row="4" Grid.Column="2" ToolTip="The follower will react to this message (if the message come from the party leader in whisper or group chat) by turning off the fight feature."/>
<Label Content="Sentinel: " Grid.Row="5" Grid.Column="0"/>
<TextBox Text="{Binding Path=StartSentinelChatCommand, Mode=TwoWay}" MinWidth="100" Grid.Row="5" Grid.Column="1" ToolTip="The follower will react to this message (if the message come from the party leader in whisper or group chat) by turning on the sentinel feature."/>
<TextBox Text="{Binding Path=StopSentinelChatCommand, Mode=TwoWay}" MinWidth="100" Grid.Row="5" Grid.Column="2" ToolTip="The follower will react to this message (if the message come from the party leader in whisper or group chat) by turning off the sentinel feature."/>
<Label Content="Auto Teleport: " Grid.Row="6" Grid.Column="0"/>
<TextBox Text="{Binding Path=StartAutoTeleportChatCommand, Mode=TwoWay}" MinWidth="100" Grid.Row="6" Grid.Column="1" ToolTip="The follower will react to this message (if the message come from the party leader in whisper or group chat) by turning on the Don't Port Out of Map feature."/>
<TextBox Text="{Binding Path=StopAutoTeleportChatCommand, Mode=TwoWay}" MinWidth="100" Grid.Row="6" Grid.Column="2" ToolTip="The follower will react to this message (if the message come from the party leader in whisper or group chat) by turning off the Don't Port Out of Map feature."/>
</Grid>
</TabItem>
<TabItem Header="Overlay" HorizontalAlignment="Left" VerticalAlignment="Top">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Label Grid.Row="0" Grid.Column="0" Content="Enable Overlay: " Margin="3,5,3,1"/>
<CheckBox Grid.Row="0" Grid.Column="1" Margin="3" IsChecked="{Binding EnableOverlay, Mode=TwoWay}" ToolTipService.ToolTip="Enable and disable the Overlay drawing."/>
<Label Grid.Row="1" Grid.Column="0" Content="DrawInBackground: " Margin="3,5,3,1"/>
<CheckBox Grid.Row="1" Grid.Column="1" Margin="3" IsChecked="{Binding DrawInBackground, Mode=TwoWay}" ToolTipService.ToolTip="If enabled, the Overlay is draw even when the game is not the top most foreground window."/>
<Label Grid.Row="2" Grid.Column="0" Content="Draw Mobs: " Margin="3,5,3,1"/>
<CheckBox Grid.Row="2" Grid.Column="1" Margin="3" IsChecked="{Binding DrawMobs, Mode=TwoWay}" ToolTipService.ToolTip="Draw the mobs around you."/>
<Label Grid.Row="3" Grid.Column="0" Content="Draw Corpses: " Margin="3,5,3,1"/>
<CheckBox Grid.Row="3" Grid.Column="1" Margin="3" IsChecked="{Binding DrawCorpses, Mode=TwoWay}" ToolTipService.ToolTip="Draw the Corpses around you."/>
<Label Content="Overlay Fps: " Grid.Row="4" Grid.Column="0" Margin="3,5,3,1"/>
<WrapPanel Grid.Row="4" Grid.Column="1" Margin="3">
<Slider Name="SlFPS" Minimum="0" Margin="0,5,0,0" Width="160" Value="{Binding Path=FPS, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TickFrequency="1" IsSnapToTickEnabled="True" SmallChange="1" LargeChange="1" Maximum="100" AutoToolTipPrecision="1" VerticalAlignment="Center" ToolTip="Change the Overlay draw frequency, higher number, higher fps and higher resource consumption."/>
<TextBox Name="TbFPS" Text="{Binding ElementName=SlFPS, Path=Value}" MinWidth="40" HorizontalAlignment="Left" Margin="0,5,0,0" VerticalAlignment="Center"/>
</WrapPanel>
<Label Content="Overlay X Position: " Grid.Row="5" Grid.Column="0" Margin="3,5,3,1"/>
<WrapPanel Grid.Row="5" Grid.Column="1" Margin="3">
<Slider Name="SlXPos" Minimum="0" Margin="0,5,0,0" Width="160" Value="{Binding Path=OverlayXCoord, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TickFrequency="1" IsSnapToTickEnabled="True" SmallChange="1" LargeChange="1" Maximum="5000" AutoToolTipPrecision="1" VerticalAlignment="Center" ToolTip="Change the Overlay draw X position."/>
<TextBox Name="TbXPos" Text="{Binding ElementName=SlXPos, Path=Value}" MinWidth="40" HorizontalAlignment="Left" Margin="0,5,0,0" VerticalAlignment="Center"/>
</WrapPanel>
<Label Content="Overlay Y Position: " Grid.Row="6" Grid.Column="0" Margin="3,5,3,1"/>
<WrapPanel Grid.Row="6" Grid.Column="1" Margin="3">
<Slider Name="SlYPos" Minimum="0" Margin="0,5,0,0" Width="160" Value="{Binding Path=OverlayYCoord, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TickFrequency="1" IsSnapToTickEnabled="True" SmallChange="1" LargeChange="1" Maximum="5000" AutoToolTipPrecision="1" VerticalAlignment="Center" ToolTip="Change the Overlay draw Y position."/>
<TextBox Name="TbYPos" Text="{Binding ElementName=SlYPos, Path=Value}" MinWidth="40" HorizontalAlignment="Left" Margin="0,5,0,0" VerticalAlignment="Center"/>
</WrapPanel>
<Label Content="Overlay Transparency: " Grid.Row="7" Grid.Column="0" Margin="3,5,3,1"/>
<WrapPanel Grid.Row="7" Grid.Column="1" Margin="3">
<Slider Name="SlTransparency" Minimum="0" Margin="0,5,0,0" Width="160" Value="{Binding Path=OverlayTransparency, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TickFrequency="1" IsSnapToTickEnabled="True" SmallChange="1" LargeChange="1" Maximum="255" AutoToolTipPrecision="1" VerticalAlignment="Center" ToolTip="Change the Overlay background transparency."/>
<TextBox Name="TbTransparency" Text="{Binding ElementName=SlTransparency, Path=Value}" MinWidth="40" HorizontalAlignment="Left" Margin="0,5,0,0" VerticalAlignment="Center"/>
</WrapPanel>
</Grid>
</TabItem>
</TabControl>
</Grid>
</UserControl>