Mouse wheel button

04/28/2007 01:34 evanxxxm#16
i didnt use it yet, cuz i dont have CO anymore. however, i decompile your program. it looks perfectly fine to me =)


lol, doesnt it looks much simpler than your autoit script =)
Code:
Mbutton::
{
 IfWinActive , [Conquer2.0]
 {
 if wheelset=0
 {
 Send, {Control down}
 Click
 Send, {Control up}
 return
 }
 else if wheelset=1
 {
 MouseGetPos, coordx, coordy
 Click
 Sleep, 250
 MouseMove, 550, 30, 0
 Sleep, 150
 Click
 MouseMove, %coordx%, %coordy%, 0
 return
 }
 else
 {
 send, {F10}
 return
 }
 }
 Else
 {
 send, {Mbutton}
 return
 }
}
04/28/2007 02:21 hieitk#17
Quote:
Originally posted by evanxxxm@Apr 28 2007, 01:34
i didnt use it yet, cuz i dont have CO anymore. however, i decompile your program. it looks perfectly fine to me =)


lol, doesnt it looks much simpler than your autoit script =)
Code:
Mbutton::
{
 IfWinActive , [Conquer2.0]
 {
 if wheelset=0
 {
 Send, {Control down}
 Click
 Send, {Control up}
 return
 }
 else if wheelset=1
 {
 MouseGetPos, coordx, coordy
 Click
 Sleep, 250
 MouseMove, 550, 30, 0
 Sleep, 150
 Click
 MouseMove, %coordx%, %coordy%, 0
 return
 }
 else
 {
 send, {F10}
 return
 }
 }
 Else
 {
 send, {Mbutton}
 return
 }
}
wow man! that code you just posted is almost exactly the same code on the MButton part of the new version I posted like 2 days ago =P
I agree, autohotkey language is much easier than Autoit, thats why this new version was made on autohotkey ^^ I think u forgot to take a look on the first page again before posting lol I even gave u credit for letting me know about Autohotkey =P

btw, here is the code if anyone wanna take a look at it
Quote:

wheelset := 0
MsgBox, 0, Wheel Mouse button, - Keys - `n WHEELUP/WHEELDOWN *to change between modes `n SHIFT+ESC *to exit `n`n - Modes - `n (1) JUMP: jump using wheel button`n(2) DROP: press wheel button over an item to drop it `n(3) F10: press wheel button to activate F10
MsgBox, Jump mode selected by default

WheelUp::
{
*IfWinActive , [Conquer2.0]
*{
* if wheelset = 0
* {
* MsgBox , 48, Wheel mode, Jump mode selected, 0.6
* return
* }
* else if wheelset = 1
* *{
* wheelset := 0
* MsgBox , 48, Wheel mode, Jump mode selected, 0.6
* return
* }
* else
* {
* wheelset := 1
* MsgBox , 48, Wheel mode, Drop mode selected, 0.6
* return
* } *
}
Else
{
send, {WheelUp}
return
}
}

WheelDown::
{
IfWinActive , [Conquer2.0]
{
* if wheelset = 2
* {
* MsgBox , 48, Wheel mode, F10 mode selected, 0.6
* return
* }
* else if wheelset = 1
* *{
* wheelset := 2
* MsgBox , 48, Wheel mode, F10 mode selected, 0.6
* return
* }
* else
* {
* wheelset := 1
* MsgBox , 48, Wheel mode, Drop mode selected, 0.6
* return
* } *
}
Else
{
send, {WheelDown}
return
}
}

Mbutton::
{
IfWinActive , [Conquer2.0]
{
if wheelset=0
{
Send, {Control down}
Click
Send, {Control up}
return
}
else if wheelset=1
{
MouseGetPos, coordx, coordy
Click
Sleep, 250
MouseMove, 550, 30, 0
Sleep, 150
Click
MouseMove, %coordx%, %coordy%, 0
return
}
else
{
send, {F10}
return
}
}
Else
{
send, {Mbutton}
return
}
}

+ESC::
{
ExitApp *
}
04/29/2007 02:00 evanxxxm#18
.........i said i decompile from ur bot
yes thats correct, of course they are the same. those codes are from your bot, just that i open it up to see how its done.
04/29/2007 03:03 hieitk#19
Quote:
Originally posted by evanxxxm@Apr 29 2007, 02:00
.........i said i decompile from ur bot
yes thats correct, of course they are the same. those codes are from your bot, just that i open it up to see how its done.
rofl, i just understood what u were saying lol

u are damn right man, I prefer autohotkey over AutoIt, thx again for letting me know about it ^^

my bad =P
04/29/2007 07:51 evanxxxm#20
when u compile ur bot, u can set a password to it
i usually dont, cuz i post out the script right away anyways
besides, i like encouraging people to learn the idea of programming
04/30/2007 22:34 Legito#21
OMG been looking for a working dropper like this for soooo long ty ty ty :)
05/02/2007 20:44 wl3a#22
thanks s s s s s s,-
06/02/2007 02:28 mooney1990#23
lol i cant +k alreadt added 1 for Kira2 Bot :( i do it tomorrow
06/03/2007 05:26 grishathebest#24
@Hieitk, any luck with the scroll wheel function?
06/14/2007 09:01 executive#25
Doesnt work for me... I click down on the wheel and i make sure it on Jump function, yet it doesnt jump

Like wtf...
06/14/2007 10:50 bossdude#26
ow cool
06/16/2007 18:49 andrew_latif#27
thx alot
06/20/2007 04:16 gonewitdawind#28
Quote:
Originally posted by hieitk@Apr 21 2007, 23:43
*uptaded*
Added SELL option (tested on 1024*768)

This mini program will allow your wheel mouse button to make 4 different actions:
(1) Jump: press wheel mouse button and u'll jump
(is like doing CTRL+left click)
(2) Drop: press the wheel button over an item on your inventory to drop it
(3) F10: press wheel button to activate some actions or pots on F10 key
(4) Sell: press the wheel button over an item on your inventory to sell it to an NPC

To change between modes use:
Wheel Up / Wheel down

Is really easy to use and after pressing "OK" will go to the system tray, while in [Conquer2.0] window, mouse wheel will respond to Mode selected, but in any other window mouse wheel will have normal functions like scroll down/up (on internet explorer) so u can just leave it on system tray.
[Only registered and activated users can see links. Click Here To Register...]
v1.0 made on AutoIt: 56 downloads
v1.1 made on AHK: 417 downloads
v1.2 made on AHK: last version updated 19/06/07
oh thanks so much! i will give as much karma as i possibly can for using my idea! you are the best +kkkkkkkkkk
06/20/2007 04:24 hieitk#29
@gonewitdawind
thx for the idea :)
06/20/2007 14:44 pitchounne2#30
nice thx :)
drop is easy now ;)
+k