|
Post by Songzee on Mar 22, 2016 9:21:40 GMT -5
Brought this up here as Stone suggested to hear your opinions on this.
As a pacifist I've removed absolutely all the harmful spells on my bars, however the auto attack by right clicking something low level has probably been the end of pacifists in the past. You can mistakingly right click a critter next to the herb you're about to pick and that's the end of that toon.
I know that you can disable your right mouse button all togehter if you have a more expensive mouse, so I've been doign some digging and I have found a script that you can run in wow that replaces your right click keybind (since you can only change mouse button 3,4,5+ binding directly from the keybind settings, but not mouse button 2)
This is the script I'm talking about. First run:
/run local f=CreateFrame("button","mlook")f:RegisterForClicks("AnyDown","AnyUp")f:SetScript("OnClick",function(s,b,d)if d then MouselookStart()else MouselookStop()end end)SecureStateDriverManager:RegisterEvent("UPDATE_MOUSEOVER_UNIT") And then run:
/run local f=CreateFrame("frame",nil,nil,"SecureHandlerStateTemplate")RegisterStateDriver(f,"mov","[@mouseover,exists]1;0")f:SetAttribute("_onstate-mov","if newstate==1 then self:SetBindingClick(1,'BUTTON2','mlook')else self:ClearBindings()end") I have tested it and it works, and you are able to still use the Left Click to mine/herb/loot. But is it alright to use it?
|
|
|
Post by Lyssan on Mar 22, 2016 9:29:34 GMT -5
Yes, I also use it on my pacifists
|
|
|
Post by fiveiron on Mar 22, 2016 11:42:53 GMT -5
I've learned to only use LMB, except for RMB when steering or interacting with vendors. It's only difficult to adjust to at first.
This script, does it still allow you to steer or interact with vendors by RMB? Looks very useful.
Scripts are allowed, just like macros.
|
|
|
Post by Songzee on Mar 22, 2016 11:53:51 GMT -5
I've learned to only use LMB, except for RMB when steering or interacting with vendors. It's only difficult to adjust to at first. This script, does it still allow you to steer or interact with vendors by RMB? Looks very useful. Scripts are allowed, just like macros. You can't interact with vendors either with RMB, but you can with LMB. And yeah, you can still steer your character, and right click in UI.
|
|
|
Post by fiveiron on Mar 22, 2016 16:36:57 GMT -5
By interacting with vendors, what I meant was right-clicking on items in vendor or my inventory to buy/sell. Left-clicking an item in inventory picks it up to move it.
Cool that steering works. I'll have to try it out. Thanks!
|
|
Xaya
Community Moderators
Posts: 1,726
|
Post by Xaya on Mar 22, 2016 18:26:45 GMT -5
it is in force only for the current character, or is it account wide?
Is the first script to 'disable' the right mouse button and the second one to enable it again? If not how do you enable it back again?
Xayaforsi lvl 100 pandaren hunter (alive) Wyrmrest Accord Xayamonk lvl 15 pandaren monk(alive) Wyrmrest Accord Xayablood lvl 43 bloodthirsty night elf monk(alive) Wyrmrest Accord Xayahorde lvl 12 bloodelf rogue (alive) Wyrmrest Accord Xayapaci lvl 25 pacifist rogue gnome (alive) Wyrmrest Accord
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Mar 22, 2016 18:27:48 GMT -5
I wouldn't mind putting this up for FAQ / Tips & Tricks for everyone... there have been quite a few people struck by the accidental green-equip right-click syndrome.
Will wait a bit more to see if anyone else has an opinion before putting it up.
|
|
|
Post by Songzee on Mar 22, 2016 19:21:42 GMT -5
fiveiron Yes it only disables the Auto-Attack/Target NPC's command, it works normally with UI elements, like bags/bars/chat etc. Xaya It only works for your current character login session, so the moment you log off the RMB will function normally. It's 2 scripts because you can't fit all the text in one macro (I didn't write it in the first place, just found it on the wow forum). Best use is, make 2 macros with those two commands that you run when you log in on your character. Or get an addon that runs custom scripts on startup (there is one, forgot the name) @stone Right click will still work with equipping stuff from your bags, I think you'd need to change the script or write a completely new script to disable right clicking bag items. Or as far as I know, addons that delete items / auto vendor items based on rules you define are permitted.
|
|
tanee
Iron Veterans
Posts: 396
|
Post by tanee on Mar 23, 2016 8:26:30 GMT -5
I want to thank you for the macro. I have made it, & it works beautifully. I'll continue the habit of left clicking in case I ever forget to load it, but it sure gives me peace of mind & added protection.
|
|
|
Post by ironissa on Apr 2, 2016 11:50:22 GMT -5
I love using this macro!! Thank you very much. One thing though...sometimes my mouse cursor will just randomly freak out. It doesn't freeze but gets stuck on one side of my monitor and I can only move the cursor up and down. It stops doing it after a minute or so but still concerning if I'm in a sketchy area. It only happens on my paci while using the macro. Not sure if anyone else has experienced this?
|
|
Dranina
Iron Veterans
MotherOwl is Draninas old alias
Posts: 1,065
|
Post by Dranina on Apr 2, 2016 12:42:15 GMT -5
Sometimes my toons start spinnig, or not wanting to turn left, or cursor arrow diappears or are stuck somewhere. I heal it by having Num pad "0" held down while clicking mouse buttons or up, down, rigth, left arrow. This normally realigns my cursor and other strange mouse button/movement button related issues. I don't know why, don't know how, but try it.
|
|
|
Post by Songzee on Apr 8, 2016 4:12:48 GMT -5
Never happened to me, it's possible that the script is interfering with an addon that you use. I currently only have Bartender,Shadowed Unit Frames and Sexy map.
|
|
Dranina
Iron Veterans
MotherOwl is Draninas old alias
Posts: 1,065
|
Post by Dranina on Apr 11, 2016 16:04:52 GMT -5
It happens (happened as it's long time since last) even with no addons whatsoever, we could not run the game with any due to connexion issues. Maybe it was a bug of some kind in our PC ... ?
|
|