- Jul 7, 2004
- 220
- 0
- 43
Hya, just a quick guide I wrote in case anybody is interested.
This guide shows you how to disable the auto-target trick on your server (I personaly think it helps maintain class balance). If you are not familiar with the Auto-Target trick, it's where a wizard (or tao for that matter) moves inventory screen to the side of a mob, moves over the mobs name and into the inventory, and the mobs name remains highlighted.
Open "mir.exe" in ResHack, hit CTRL+F3 and search for "ItemBag" It should be located in the "TFRMDLG" sub-folder.
You should come across this:
object DItemBag: TDWindow
Left = 208
Top = 136
Width = 125
Height = 115
OnDirectPaint = DItemBagDirectPaint
Caption = 'DItemBag'
DParent = DBackground
Visible = False
EnableFocus = False
ClickCount = csNone
Floating = True
This refers to your inventory. In order to change it from "floating" to "docked" (non-moveable), change the "Floating = True" statement to "Floating = False". Simple enough!
Now for Stats window. Just above "DItemBag" you should see "DStateWin". This is your character status window. Change the Floating statement to "False", as you did before with the inventory, Compile Script and save.
What you have done is told the client that both stats window and inventory window cannot be dragged around screen anymore.
Now the auto-target trick will be disabled in-game.
This guide shows you how to disable the auto-target trick on your server (I personaly think it helps maintain class balance). If you are not familiar with the Auto-Target trick, it's where a wizard (or tao for that matter) moves inventory screen to the side of a mob, moves over the mobs name and into the inventory, and the mobs name remains highlighted.
Open "mir.exe" in ResHack, hit CTRL+F3 and search for "ItemBag" It should be located in the "TFRMDLG" sub-folder.
You should come across this:
object DItemBag: TDWindow
Left = 208
Top = 136
Width = 125
Height = 115
OnDirectPaint = DItemBagDirectPaint
Caption = 'DItemBag'
DParent = DBackground
Visible = False
EnableFocus = False
ClickCount = csNone
Floating = True
This refers to your inventory. In order to change it from "floating" to "docked" (non-moveable), change the "Floating = True" statement to "Floating = False". Simple enough!
Now for Stats window. Just above "DItemBag" you should see "DStateWin". This is your character status window. Change the Floating statement to "False", as you did before with the inventory, Compile Script and save.
What you have done is told the client that both stats window and inventory window cannot be dragged around screen anymore.
Now the auto-target trick will be disabled in-game.
