From 2b7fcb3c6fb92a6ef959c85dff57078c6dddeb94 Mon Sep 17 00:00:00 2001 From: Nightfirecat Date: Sat, 20 Jul 2013 22:47:37 -0700 Subject: [PATCH] fixes #2 fixes #6 fixes #7 fixes #8 v0.95 BETA Various, but extensive fixes. Slot swaps work regardless of mouse speed while swapping (input is disabled during the swap), you can switch your cursor while playing (but you can also disable it if you don't want to), code is cleaner by using functions rather than go-to statements, slot swaps and interact functionality should work in all browsers/clients regardless of screen stretching, etc. (NOTE: will not work in browsers with a non-100% zoom level) --- img/cursors/Thumbs.db | Bin 0 -> 10240 bytes img/cursors/bmj_precision.cur | Bin 0 -> 16958 bytes img/cursors/bmj_precision.png | Bin 0 -> 433 bytes img/cursors/rotmg_pro_cursor.cur | Bin 0 -> 16958 bytes img/cursors/rotmg_pro_cursor.png | Bin 0 -> 616 bytes includes/SetSystemCursor.ahk | 89 ++++++ realm.ahk | 464 ++++++++++++++++++------------- 7 files changed, 365 insertions(+), 188 deletions(-) create mode 100644 img/cursors/Thumbs.db create mode 100644 img/cursors/bmj_precision.cur create mode 100644 img/cursors/bmj_precision.png create mode 100644 img/cursors/rotmg_pro_cursor.cur create mode 100644 img/cursors/rotmg_pro_cursor.png create mode 100644 includes/SetSystemCursor.ahk diff --git a/img/cursors/Thumbs.db b/img/cursors/Thumbs.db new file mode 100644 index 0000000000000000000000000000000000000000..de9430b8668913abce0ed7c5602504b79f498735 GIT binary patch literal 10240 zcmeI2cU%-n_Q0DQ6o(*DBnS!;m5jiQfgm6tD4^sZk|bvdgSsY?0s?{vB7y-BS;EMG z3+`YSh_HK*McdEL(y1HJ!SFh?7-PX$SA*V#( zBlMeugy(4v41YNZL7@0o`V+l@P0&}CuR5d$IRk*I zb0z>YfE7U1?-r161+W3O0T2LS0uTp)6F{x=SNik40W-)4`~^ZHkPhSxa(^fcX!G|c z9$+!wq^A4MZR{r+Pq$req4``-=u74O-?`^|m+2u|ns3ji=HILT?fL-K*g-l1IRdF2 zp>yCZxPCeHhkn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QV2K#i~#g9};zKQ0(-f~K)4qCV9iO}-# z+R~9$k3~*4Wh7q}e=%G-Q6>D(#Vz0B7zOa}b#3sq!eQ{$f-Ly@Kpm9SK}iXm-3PvG jkOjx8AX1@TRRCW!sC_=(56)48oC-VOR{o4`- literal 0 HcmV?d00001 diff --git a/img/cursors/bmj_precision.cur b/img/cursors/bmj_precision.cur new file mode 100644 index 0000000000000000000000000000000000000000..0125ea00ab7b9d3b27785f211b905d6599227e17 GIT binary patch literal 16958 zcmeHLL2|+{3^eos+&a?}J@O2uAESrf`5X`ELpqc08rx%H9I%CF;za5s3bG_?S9UNp zW@|R)cr@k%e}^w)-i}+UyzE`t^Y0;?F)-$&)IkT$$2;0gTj`JRur^@g4G zqV{AR$2PiL-H6i4qSik-$O+M6Ea1=iE!7VA$=X;dR>hSvu=f7z{@3>(*MO65&v@z1 zR*N#A3@8K2fHI&A^vVFvCI0tWw`UUx2A<2%J1Xif#noPgK@vL`vLqNJvCrT~e!sss zRg*m?!61o!5`Xjme@QS%VyEyUZ|FPx!aIiZL0-BJn2>WgJyljR7RTBI>8+|(pVwoL zwHr%nd1OFb;B;Ij^Vj5cF=36yb=Kx2j;Xvgbw0{jTPteGa>_a(wf&#U+ahOGtrlU! zn>iu*?`|0Dy`A$sJgcp{?6z~^IqkEL#(%bZJCf7G$ls?)>^Z*>Q1Y<1&Ug94Jl5{? O-y1)h6SVEat^Nl;w6fj+ literal 0 HcmV?d00001 diff --git a/img/cursors/bmj_precision.png b/img/cursors/bmj_precision.png new file mode 100644 index 0000000000000000000000000000000000000000..85641ccceab376c4d221d3098e359fed4cdc7fa0 GIT binary patch literal 433 zcmV;i0Z#sjP)c6WnxIIIlZt)p+l%FI)KCR5YvXbM{MNOGGAT z!O>*-4tdM^mGHUx9r#YFP3BBH<_hziZH!K!n+N~QPM5372CltG-yAs`fHma)2!qpM zB0a_~OYzF20si zS!W5awh?l#N*};bm!eRrzU&l%Rh7b6boRt!zj6#k^)kzkr2xi#_^~D!O0iI?_oez= zWlxl$9z`J~%`Pqi9`tb#1>9I~U`T9%_!L7D(v1HQWE-M@kVD1_KmY_l0JH(JS_KS+ zLX53`3f|a_weP3k00ck}0`iI0jQa8HH=5%veW-c?@ClVWGuP3u_u6s^+Le4nAz3WW b^(VjpB@r|ftqf0-00000NkvXXu0mjfhq1E| literal 0 HcmV?d00001 diff --git a/img/cursors/rotmg_pro_cursor.cur b/img/cursors/rotmg_pro_cursor.cur new file mode 100644 index 0000000000000000000000000000000000000000..26fed1147f99f61cb2dcd6d55484d77f885c4c50 GIT binary patch literal 16958 zcmeHLL2lbH5Tu)fd()}yp$GMtexfn@g8oSUNxtG=^y()B2w*rx0G3O6jMat|Y0s3$GK2na+O+AJY>Gall!IcZZJQnM~Md$v@c$N=Pz+6_F$s+YV?raAcUKkkDP4>HcW!Ct4m-ImK;#NiqqOwnGG{+I`;%5+`#Yb=MJCvJYw z;CXHOLmrH2%bbg9uR%X);PnW2Fe=m4|9Lcl)t>L;hRK&|F3wGOP|DHQKY(9~d-e4J zj>#Ii`loXI`O2}cPW+01oG0~T(0|?cm$z76E?#W?662h6Xn(Go_d~fUtk9Yo#=two zg=^;hQ0^E`D8H65@W%5U=RDo-Tr=+zcbo^v2Tm=za(I9<#ZW%i%=@9-6jo@>l4G22 zOh57Cx~U)IoQoG*f6MUz*Ql-wc-_VGFQPrEANTu+AB0i02P4{(`bTtQ%ImMygM{{^ zew_0V8;EE9HG07H6F=Tgzg+{8@`vu__b=B?ed5iVe7~`I{cfq@{g<5QYsWmucXFOg zs(-2W5)bB4brI@7zpR_AE3Z4R|5OhyVmeRqS%0o}cmO)kjwn5oxNhBfPhczJ!Q8y` zalP;3!>*63Z6BQ@K2Jv5_2UkL=C`(6QQTSkKyh!oHN}_rr-tJ3*tQhkkL{C>f4=yL napdi-_3L)F^Eg{;J+2Y^QK1OuLj-T=SnvBh=sfABwFTFITDL2u literal 0 HcmV?d00001 diff --git a/img/cursors/rotmg_pro_cursor.png b/img/cursors/rotmg_pro_cursor.png new file mode 100644 index 0000000000000000000000000000000000000000..1c70ea080a80fcf201d0395101d10114cb8efbd2 GIT binary patch literal 616 zcmV-u0+;=XP)J5QhIHC`3`vA_^h|Ek$a2M9rnlP114#YA!&Xf)<2AfmjhmNkp_X*=Ri(+v7)Q z@Yn2PyfgoJ?6nPKGMP-~KU26Gtd_mHxxYI5)NDVmcL0D{XNtjkh_~Y>r#}EF=cBs) zd~*J**_a>t7((;1+zz3BRcW@>vgiCyyI3uIwM~4#s?x0ku1atyrN%aUXwNr@ zdaqptV5bsM6+r7JLB+dz9}rf6I`ZiyrId4Z=6p)T1D?HSs6=!HLd6FKXOduj)R<`P z3XIrxQhz4ACb2XC6>oYM;+x`~01c#+y4hUEo2yl5W2b+o5b;37_-#th1vd3IH;in4 zBm`A}j@uN3`t(jf5{T<*(+H&7U9Y+xUvF`jevSPYPQbS0!AC69^H{-E(bYk`N^j zBi{5bRT9nwQiwO%QY7Iu2V%sV+PIR)WHOmd#>Ov@lVW}`wa%yj0000