Sphere

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 35 total)
  • Author
    Posts
  • in reply to: Guild Wars 2 FPS Scenery Mode #126040
    Sphere
    Participant

    I decided to give Virtual Desktop on Steam a go at playing Guild Wars 2 with this app running. It’s a descent experience. You gotta set the display to curved, and make the screen really huge. I am stating this here as an alternative choice. So if you feel the experience of VorpX isn’t quite doing it for you for Guild Wars 2, you may decide to use that method as well.

    VorpX will give you a more personal experience, relying on you to zoom in and out to see the other features of the game. Virtual Desktop lets you see everything, and you can even turn your head to the side and look at the scenery or battle, without turning your character. Both applications are great, and it will really be up to what preference you have.

    in reply to: Guild Wars 2 FPS Scenery Mode #125965
    Sphere
    Participant

    Well my Razer Deathadder shows mouse 3 and 4 as _IsPressed code 05 and 06, with mouse 3 being towards your palm and 4 towards your index.

    in reply to: Guild Wars 2 FPS Scenery Mode #125823
    Sphere
    Participant

    I wonder if this thread on the official GW2 forums could be useful for getting 3D stereo enabled in the game.

    Stereoscopic Rendering aka 3D

    in reply to: Guild Wars 2 FPS Scenery Mode #125607
    Sphere
    Participant

    I guess you don’t want those buttons. :/

    in reply to: Guild Wars 2 FPS Scenery Mode #125115
    Sphere
    Participant

    Yeah if you are still interested in more buttons, I can help you out. Just let me know what kind of mouse you are dealing with and which buttons to include. I can post up some script here.

    in reply to: Guild Wars 2 FPS Scenery Mode #123343
    Sphere
    Participant

    Would be awesome to see real 3d on the Vive or even Occulus using vorpX. Some people have said that this game in VR is as close to Sword Art Online that you can get today. It’s not bad imo, just that full support would be awesome. I was thinking of however playing around with the Nvidia Inspector settings, as it does have a section pertaining to Stereoscopics.

    in reply to: Guild Wars 2 FPS Scenery Mode #122329
    Sphere
    Participant

    Okay I’m back. And it is still working for me.

    What I do is:

    I run ‘Steam VR’
    I run ‘Start vorpX’
    I then put on my headset
    I pick up my wand, and use the button to bring me to the steam VR menu
    I use the wand’s laser to point at the desktop view and bring the desktop up on screen
    I then from there run Guild Wars 2

    However I find that if there is a mouse cursor on the end of the laser pointer when focused on the ‘Guild Wars 2 patcher’, that means vorpX has not got focus. So from here I close the patcher, and then re-run Guild Wars 2. I find by doing that, the second time around, there will be no mouse cursor on the end of the laser that the wand is showing, when focusing on the patcher. It should work after this.

    Hope you get it fixed. :)

    in reply to: Guild Wars 2 FPS Scenery Mode #122328
    Sphere
    Participant

    Let me try. I have been playing other games lately. I’ll just get my vive out and setup. Brb

    in reply to: Guild Wars 2 FPS Scenery Mode #122254
    Sphere
    Participant

    Have you tried running the vorpX configuration? Run that, then at the left go to General. From there on the right of that, you will see a Device Selection. I had set it to HTC Vive, because that’s what I use. It is a dropdown menu, choose what you are using.

    Enable head tracking
    Enable head tracking roll
    Run vorpX Control as administrator

    The other option you could try is, to download a Guild Wars 2 cloud profile.

    If none of this works, are you sure it’s vorpX at fault?

    in reply to: Guild Wars 2 FPS Scenery Mode #111852
    Sphere
    Participant

    The code is the same as the last post, but the description and usage text is now updated. Hope it helps everybody.

    ===============================================================

    As the title says.

    The intent of this app is for the use of FPS mode, which you can activate normally in the game’s options. When you run this app along side the game, you play in FPS, until you do combat, where the game will zoom out, and after combat, zoom back in.

    This app also supports free camera mode, where you don’t need to hold down the right mouse button to move the camera. It works where you hold down the right mouse button for one second, and then it registers that you wish to free camera mode. Clicking the right mouse button again will free you from this mode. Free camera mode will deactivate while in combat, allowing you to use ground select skills. It will however not reactivate after combat, unless you are holding down the right mouse button, or you toggle on auto free camera mode on battle exit. The numpad minus key will toggle this auto mode on/off. Keep in mind that some classes or skill sets may or may not benefit from auto mode.

    This app is very useful for virtual reality Guild Wars 2. You will need to have installed vorpX to play Guild Wars 2 in VR. Remember while playing this game with virtual reality, for best effect, set in the options of the game the Field of View to maximum, the slider all the way to the right.

    Features:
    * Zoom out for combat, FPS in non-combat.
    * Can use the regular zoom feature of the mouse wheel at anytime.
    * Free camera mode available to use. No need to hold down right mouse click.
    * Added support for vorpX virtual reality. Zoom in and out of the VR experience. Must press the numpad plus key at the start of your VR experience to calibrate screen. Calibration will allow you to more easily see the skill icons, boons, etc… This feature was designed to be run at 1080p. Press numpad plus for use. VorpX also has their own type of zoom feature as well. To use the vorpX zoom feature, press the scroll click on your mouse for effect. Both zooms work in a different way.
    * The wait time before re-entry into FPS is variable, depending on the amount of attack commands you use. There is a limit to how far extended the timer can go to. This feature should help with big battle scenes and boss fights.
    * [NEW] You now have the option to choose if the free camera mode auto enables after combat. This can be toggled with the numpad minus key. You also can choose to default set it in the script itself.

    Key Commands:
    * Insert + Delete = Closes application FPS Scenery Mode
    * Numpad plus = Calibration Zoom
    * Numpad minus = Toggles the Free Camera Auto on Exit Battle

    You will now notice that I include the time it was last updated in the code. I hope that helps.

    Say hello to some mediocre code that runs as advertised.
    You will need AutoIt3

    
    ; Updated Last: 10/10/2016 dmy, 12:36 AM AEST
    #include <Misc.au3>
    $dll = DllOpen("user32.dll")
    Opt("TrayIconHide", 1)
    ToolTip("FPS Scenery", 268, 0)
    
    ;==[Free Camera Auto Exit Battle]========
    $freecam_exitbattle = 0 ; 0 = off, 1 = on
    ; Toggle this to change the default.
    ;========================================
    
    $esc = 0
    $combat = 0
    $combat_plus = 3
    $right = 0
    $right_on = 0
    Dim $cnt[2]
    $combat_on = 0
    $zoom = 0 ; 0 is zoomed in, 1 is zoomed out
    
    Do
    	If _IsPressed("2D", $dll) and _IsPressed("2E", $dll) Then ; escape [Insert + Delete]
    		MouseUp("right")
    		DllClose($dll)
    		Exit
    	EndIf
    	
    	If _IsPressed("6D", $dll) Then ; num- on number pad to toggle Free Camera Exit Battle
    		If($freecam_exitbattle = 0) Then
    			$freecam_exitbattle = 1
    			Beep(200,110)
    			Beep(400,90)
    			Beep(600,70)
    			Beep(800,50)
    		Else
    			$freecam_exitbattle = 0
    			Beep(800,50)
    			Beep(600,70)
    			Beep(400,90)
    			Beep(200,110)
    		EndIf
    	EndIf
    	
    	If _IsPressed("6B", $dll) Then ; num+ on number pad to zoom in and out of VR [vorpX supported]
    		If($zoom = 0) Then
    			$zoom = 1
    			Send("{shiftdown}")
    			Sleep(100)
    			MouseWheel("down",30)
    			Sleep(400)
    			Send("{shiftup}")
    		Else
    			$zoom = 0
    			Send("{shiftdown}")
    			Sleep(100)
    			MouseWheel("up",5)
    			Sleep(400)
    			Send("{shiftup}")
    			Sleep(100)
    			MouseWheel("up",20)
    		EndIf
    	EndIf
    	$cnt[0] = $cnt[0] + 1 ; 1 second code handler
    	If($cnt[0] >= 100) Then
    		$cnt[0] = 0
    		If($combat = 1) and ($combat_plus < 15) Then
    			$combat_plus = $combat_plus + 1
    		EndIf
    		If($combat > 0) Then
    			$combat = $combat + 1
    		EndIf
    		If($right >= 40) and ($combat = 0) Then
    			If($right_on = 0) Then
    				$right_on = 1
    				Sleep(100)
    			Else
    				$right_on = 0
    				$right = 0
    			EndIf
    		Else
    			$right = 0
    		EndIf
    	EndIf
    	
    	If($right_on = 1) and ($right >= 40) and _IsPressed("02", $dll) = False Then ; activate free camera here
    		Sleep(25)
    		MouseDown("right")
    		$right = 0
    	EndIf
    	If($right_on = 1) and ($right < 40) and _IsPressed("02", $dll) = False Then ; cancel free camera mode
    		$right_on = 0
    		$right = 0
    	EndIf
    	
    	; start skill detection
    	If _IsPressed("30", $dll) or _IsPressed("31", $dll) or _IsPressed("32", $dll) or _IsPressed("33", $dll) or _IsPressed("34", $dll) or _IsPressed("35", $dll) or _IsPressed("36", $dll) or _IsPressed("37", $dll) or _IsPressed("38", $dll) or _IsPressed("39", $dll) Then
    		$combat = 1
    	EndIf
    	If _IsPressed("02", $dll) and ($combat = 0) and ($right_on = 0) Then
    		$right = $right + 1
    	EndIf
    	Sleep(2)
    	
    	; zooming
    	If($combat = 1) and ($combat_on = 0) Then
    		$right_on = 0
    		$right = 0
    		MouseClick("right")
    		$cnt[1] = 0
    		Do
    			$cnt[1] = $cnt[1] + 1
    			MouseWheel("down",1)
    			Sleep(1)
    		Until $cnt[1] >= 20
    		$combat_on = 1
    	EndIf
    
    	If($combat = $combat_plus) Then
    		$combat = 0
    		$combat_plus = 3
    		$combat_on = 0
    		$cnt[1] = 0
    		If _IsPressed("02") or ($freecam_exitbattle = 1) Then
    			$right_on = 1
    			$right = 40
    		EndIf
    		Do
    			$cnt[1] = $cnt[1] + 1
    			MouseWheel("up",1)
    			Sleep(1)
    		Until $cnt[1] >= 20
    	EndIf
    	
    Until $esc = 1
    
    in reply to: Guild Wars 2 FPS Scenery Mode #111799
    Sphere
    Participant

    Updated script to include the Free Camera Auto Exit Battle mode.

    =================================================================

    As the title says.

    The intent of this app is for the use of FPS mode, which you can activate normally in the game’s options. When you run this app along side the game, you play in FPS, until you do combat, where the game will zoom out, and after combat, zoom back in.

    This app also supports free camera mode, where you don’t need to hold down the right mouse button to move the camera. It works where you hold down the right mouse button for one second, and then it registers that you wish to free camera mode. Clicking the right mouse button again will free you from this mode. Free camera mode will deactivate while in combat, allowing you to use ground select skills. It will however not reactivate after combat, unless you are holding down the right mouse button.

    This app is very useful for virtual reality Guild Wars 2. You will need to have installed vorpX to play Guild Wars 2 in VR. Remember while playing this game with virtual reality, for best effect, set in the options of the game the Field of View to maximum, the slider all the way to the right.

    Features:
    * Zoom out for combat, FPS in non-combat.
    * Can use the regular zoom feature of the mouse wheel at anytime.
    * Free camera mode available to use. No need to hold down right mouse click.
    * Insert + Delete key closes the application.
    * Added support for vorpX virtual reality. Zoom in and out of the VR experience. Must press the numpad + key at the start of your VR experience to calibrate screen. Calibration will allow you to more easily see the skill icons, boons, etc… This feature was designed to be run at 1080p. Press numpad + for use. VorpX also has their own type of zoom feature as well. To use the vorpX zoom feature, press the scroll click on your mouse for effect. Both zooms work in a different way.
    * The wait time before re-entry into FPS is variable, depending on the amount of attack commands you use. There is a limit to how far extended the timer can go to, but the change should mean that boss battles should be more doable with this application.
    * [NEW] You now have the option to choose if the free camera mode auto enables after combat. This can be toggled with the numpad minus key. You also can choose to default set it in the script itself.

    You will now notice that I include the time it was last updated in the code. I hope that helps.

    Say hello to some mediocre code that runs as advertised.
    You will need AutoIt3

    
    ; Updated Last: 10/10/2016 dmy, 12:36 AM AEST
    #include <Misc.au3>
    $dll = DllOpen("user32.dll")
    Opt("TrayIconHide", 1)
    ToolTip("FPS Scenery", 268, 0)
    
    ;==[Free Camera Auto Exit Battle]========
    $freecam_exitbattle = 0 ; 0 = off, 1 = on
    ; Toggle this to change the default.
    ;========================================
    
    $esc = 0
    $combat = 0
    $combat_plus = 3
    $right = 0
    $right_on = 0
    Dim $cnt[2]
    $combat_on = 0
    $zoom = 0 ; 0 is zoomed in, 1 is zoomed out
    
    Do
    	If _IsPressed("2D", $dll) and _IsPressed("2E", $dll) Then ; escape [Insert + Delete]
    		MouseUp("right")
    		DllClose($dll)
    		Exit
    	EndIf
    	
    	If _IsPressed("6D", $dll) Then ; num- on number pad to toggle Free Camera Exit Battle
    		If($freecam_exitbattle = 0) Then
    			$freecam_exitbattle = 1
    			Beep(200,110)
    			Beep(400,90)
    			Beep(600,70)
    			Beep(800,50)
    		Else
    			$freecam_exitbattle = 0
    			Beep(800,50)
    			Beep(600,70)
    			Beep(400,90)
    			Beep(200,110)
    		EndIf
    	EndIf
    	
    	If _IsPressed("6B", $dll) Then ; num+ on number pad to zoom in and out of VR [vorpX supported]
    		If($zoom = 0) Then
    			$zoom = 1
    			Send("{shiftdown}")
    			Sleep(100)
    			MouseWheel("down",30)
    			Sleep(400)
    			Send("{shiftup}")
    		Else
    			$zoom = 0
    			Send("{shiftdown}")
    			Sleep(100)
    			MouseWheel("up",5)
    			Sleep(400)
    			Send("{shiftup}")
    			Sleep(100)
    			MouseWheel("up",20)
    		EndIf
    	EndIf
    	$cnt[0] = $cnt[0] + 1 ; 1 second code handler
    	If($cnt[0] >= 100) Then
    		$cnt[0] = 0
    		If($combat = 1) and ($combat_plus < 15) Then
    			$combat_plus = $combat_plus + 1
    		EndIf
    		If($combat > 0) Then
    			$combat = $combat + 1
    		EndIf
    		If($right >= 40) and ($combat = 0) Then
    			If($right_on = 0) Then
    				$right_on = 1
    				Sleep(100)
    			Else
    				$right_on = 0
    				$right = 0
    			EndIf
    		Else
    			$right = 0
    		EndIf
    	EndIf
    	
    	If($right_on = 1) and ($right >= 40) and _IsPressed("02", $dll) = False Then ; activate free camera here
    		Sleep(25)
    		MouseDown("right")
    		$right = 0
    	EndIf
    	If($right_on = 1) and ($right < 40) and _IsPressed("02", $dll) = False Then ; cancel free camera mode
    		$right_on = 0
    		$right = 0
    	EndIf
    	
    	; start skill detection
    	If _IsPressed("30", $dll) or _IsPressed("31", $dll) or _IsPressed("32", $dll) or _IsPressed("33", $dll) or _IsPressed("34", $dll) or _IsPressed("35", $dll) or _IsPressed("36", $dll) or _IsPressed("37", $dll) or _IsPressed("38", $dll) or _IsPressed("39", $dll) Then
    		$combat = 1
    	EndIf
    	If _IsPressed("02", $dll) and ($combat = 0) and ($right_on = 0) Then
    		$right = $right + 1
    	EndIf
    	Sleep(2)
    	
    	; zooming
    	If($combat = 1) and ($combat_on = 0) Then
    		$right_on = 0
    		$right = 0
    		MouseClick("right")
    		$cnt[1] = 0
    		Do
    			$cnt[1] = $cnt[1] + 1
    			MouseWheel("down",1)
    			Sleep(1)
    		Until $cnt[1] >= 20
    		$combat_on = 1
    	EndIf
    
    	If($combat = $combat_plus) Then
    		$combat = 0
    		$combat_plus = 3
    		$combat_on = 0
    		$cnt[1] = 0
    		If _IsPressed("02") or ($freecam_exitbattle = 1) Then
    			$right_on = 1
    			$right = 40
    		EndIf
    		Do
    			$cnt[1] = $cnt[1] + 1
    			MouseWheel("up",1)
    			Sleep(1)
    		Until $cnt[1] >= 20
    	EndIf
    	
    Until $esc = 1
    
    in reply to: Guild Wars 2 FPS Scenery Mode #111784
    Sphere
    Participant

    Think I will make a script variable to change what the script starts with, and then a button you can press while in the game to change the mode. Think I will use a sound indication to show which mode you are changing into. But what button combo or single button press should I use to change between modes?

    in reply to: Guild Wars 2 FPS Scenery Mode #111780
    Sphere
    Participant

    Yeah I know, but the problem was, when you played with characters that use target skills on the ground and such. I didn’t want the zoom in to impact on battle. But I suppose I could make a toggle feature to enable/disable auto freecam after zoom.

    in reply to: Guild Wars 2 FPS Scenery Mode #111741
    Sphere
    Participant

    Looks like I got another update. Please feel free to give feedback. :)

    ==================================================================’

    As the title says.

    The intent of this app is for the use of FPS mode, which you can activate normally in the game’s options. When you run this app along side the game, you play in FPS, until you do combat, where the game will zoom out, and after combat, zoom back in.

    This app also supports free camera mode, where you don’t need to hold down the right mouse button to move the camera. It works where you hold down the right mouse button for one second, and then it registers that you wish to free camera mode. Clicking the right mouse button again will free you from this mode. Free camera mode will deactivate while in combat, allowing you to use ground select skills. It will however not reactivate after combat, unless you are holding down the right mouse button.

    This app is very useful for virtual reality Guild Wars 2. You will need to have installed vorpX to play Guild Wars 2 in VR. Remember while playing this game with virtual reality, for best effect, set in the options of the game the Field of View to maximum, the slider all the way to the right.

    Features:
    * Zoom out for combat, FPS in non-combat.
    * Can use the regular zoom feature of the mouse wheel at anytime.
    * Free camera mode available to use. No need to hold down right mouse click.
    * Insert + Delete key closes the application.
    * Added support for vorpX virtual reality. Zoom in and out of the VR experience. Must press the numpad + key at the start of your VR experience to calibrate screen. Calibration will allow you to more easily see the skill icons, boons, etc… This feature was designed to be run at 1080p. Press numpad + for use. VorpX also has their own type of zoom feature as well. To use the vorpX zoom feature, press the scroll click on your mouse for effect. Both zooms work in a different way.
    * [NEW] The wait time before re-entry into FPS is now variable, depending on the amount of attack commands you use. There is a limit to how far extended the timer can go to, but the change should mean that boss battles should be more doable with this application.

    You will now notice that I include the time it was last updated in the code. I hope that helps.

    Say hello to some mediocre code that runs as advertised.
    You will need AutoIt3

    
    ; Updated Last: 07/10/2016 dmy, 09:50 PM AEST
    #include <Misc.au3>
    $dll = DllOpen("user32.dll")
    Opt("TrayIconHide", 1)
    ToolTip("FPS Scenery", 268, 0)
    
    $esc = 0
    $combat = 0
    $combat_plus = 3
    $right = 0
    $right_on = 0
    Dim $cnt[2]
    $combat_on = 0
    $zoom = 0 ; 0 is zoomed in, 1 is zoomed out
    
    Do
    	If _IsPressed("2D", $dll) and _IsPressed("2E", $dll) Then ; escape [Insert + Delete]
    		MouseUp("right")
    		DllClose($dll)
    		Exit
    	EndIf
    	
    	If _IsPressed("6B", $dll) Then ; num+ on number pad to zoom in and out of VR [vorpX supported]
    		If($zoom = 0) Then
    			$zoom = 1
    			Send("{shiftdown}")
    			Sleep(100)
    			MouseWheel("down",30)
    			Sleep(400)
    			Send("{shiftup}")
    		Else
    			$zoom = 0
    			Send("{shiftdown}")
    			Sleep(100)
    			MouseWheel("up",5)
    			Sleep(400)
    			Send("{shiftup}")
    			Sleep(100)
    			MouseWheel("up",20)
    		EndIf
    	EndIf
    	$cnt[0] = $cnt[0] + 1 ; 1 second code handler
    	If($cnt[0] >= 100) Then
    		$cnt[0] = 0
    		If($combat = 1) and ($combat_plus < 15) Then
    			$combat_plus = $combat_plus + 1
    		EndIf
    		If($combat > 0) Then
    			$combat = $combat + 1
    		EndIf
    		If($right >= 40) and ($combat = 0) Then
    			If($right_on = 0) Then
    				$right_on = 1
    				Sleep(100)
    			Else
    				$right_on = 0
    				$right = 0
    			EndIf
    		Else
    			$right = 0
    		EndIf
    	EndIf
    	
    	If($right_on = 1) and ($right >= 40) and _IsPressed("02", $dll) = False Then ; activate free camera here
    		Sleep(25)
    		MouseDown("right")
    		$right = 0
    	EndIf
    	If($right_on = 1) and ($right < 40) and _IsPressed("02", $dll) = False Then ; cancel free camera mode
    		$right_on = 0
    		$right = 0
    	EndIf
    	
    	; start skill detection
    	If _IsPressed("30", $dll) or _IsPressed("31", $dll) or _IsPressed("32", $dll) or _IsPressed("33", $dll) or _IsPressed("34", $dll) or _IsPressed("35", $dll) or _IsPressed("36", $dll) or _IsPressed("37", $dll) or _IsPressed("38", $dll) or _IsPressed("39", $dll) Then
    		$combat = 1
    	EndIf
    	If _IsPressed("02", $dll) and ($combat = 0) and ($right_on = 0) Then
    		$right = $right + 1
    	EndIf
    	Sleep(2)
    	
    	; zooming
    	If($combat = 1) and ($combat_on = 0) Then
    		$right_on = 0
    		$right = 0
    		MouseClick("right")
    		$cnt[1] = 0
    		Do
    			$cnt[1] = $cnt[1] + 1
    			MouseWheel("down",1)
    			Sleep(1)
    		Until $cnt[1] >= 20
    		$combat_on = 1
    	EndIf
    
    	If($combat = $combat_plus) Then
    		$combat = 0
    		$combat_plus = 3
    		$combat_on = 0
    		$cnt[1] = 0
    		If _IsPressed("02") Then
    			$right_on = 1
    			$right = 40
    		EndIf
    		Do
    			$cnt[1] = $cnt[1] + 1
    			MouseWheel("up",1)
    			Sleep(1)
    		Until $cnt[1] >= 20
    	EndIf
    	
    Until $esc = 1
    
    in reply to: Guild Wars 2 FPS Scenery Mode #107089
    Sphere
    Participant

    Updated. I made the code run faster with free camera mode.

    =========================================

    As the title says.

    The intent of this app is for the use of FPS mode, which you can activate normally in the game’s options. When you run this app along side the game, you play in FPS, until you do combat, where the game will zoom out, and after combat, zoom back in.

    This app also supports free camera mode, where you don’t need to hold down the right mouse button to move the camera. It works where you hold down the right mouse button for one second, and then it registers that you wish to free camera mode. Clicking the right mouse button again will free you from this mode. Free camera mode will deactivate while in combat, allowing you to use ground select skills. It will however not reactivate after combat, unless you are holding down the right mouse button.

    This app is very useful for virtual reality Guild Wars 2. You will need to have installed vorpX to play Guild Wars 2 in VR. Remember while playing this game with virtual reality, for best effect, set in the options of the game the Field of View to maximum, the slider all the way to the right.

    Features:
    * Zoom out for combat, FPS in non-combat.
    * Can use the regular zoom feature of the mouse wheel at anytime.
    * Free camera mode available to use. No need to hold down right mouse click.
    * Insert + Delete key closes the application.
    * Added support for vorpX virtual reality. Zoom in and out of the VR experience. Must press the numpad + key at the start of your VR experience to calibrate screen. Calibration will allow you to more easily see the skill icons, boons, etc… This feature was designed to be run at 1080p. Press numpad + for use. VorpX also has their own type of zoom feature as well. To use the vorpX zoom feature, press the scroll click on your mouse for effect. Both zooms work in a different way.

    You will now notice that I include the time it was last updated in the code. I hope that helps.

    Say hello to some mediocre code that runs as advertised.
    You will need AutoIt3

    
    ; Updated Last: 10/08/2016 dmy, 11:26 AM AEST
    #include <Misc.au3>
    $dll = DllOpen("user32.dll")
    Opt("TrayIconHide", 1)
    ToolTip("FPS Scenery", 268, 0)
    
    $esc = 0
    $combat = 0
    $right = 0
    $right_on = 0
    Dim $cnt[2]
    $combat_on = 0
    $zoom = 0 ; 0 is zoomed in, 1 is zoomed out
    
    Do
    	If _IsPressed("2D", $dll) and _IsPressed("2E", $dll) Then ; escape [Insert + Delete]
    		MouseUp("right")
    		DllClose($dll)
    		Exit
    	EndIf
    	
    	If _IsPressed("6B", $dll) Then ; num+ on number pad to zoom in and out of VR [vorpX supported]
    		If($zoom = 0) Then
    			$zoom = 1
    			Send("{shiftdown}")
    			Sleep(100)
    			MouseWheel("down",30)
    			Sleep(400)
    			Send("{shiftup}")
    		Else
    			$zoom = 0
    			Send("{shiftdown}")
    			Sleep(100)
    			MouseWheel("up",5)
    			Sleep(400)
    			Send("{shiftup}")
    			Sleep(100)
    			MouseWheel("up",20)
    		EndIf
    	EndIf
    	$cnt[0] = $cnt[0] + 1 ; 1 second code handler
    	If($cnt[0] >= 100) Then
    		$cnt[0] = 0
    		If($combat > 0) Then
    			$combat = $combat + 1
    		EndIf
    		If($right >= 40) and ($combat = 0) Then
    			If($right_on = 0) Then
    				$right_on = 1
    				Sleep(100)
    			Else
    				$right_on = 0
    				$right = 0
    			EndIf
    		Else
    			$right = 0
    		EndIf
    	EndIf
    	
    	If($right_on = 1) and ($right >= 40) and _IsPressed("02", $dll) = False Then ; activate free camera here
    		Sleep(25)
    		MouseDown("right")
    		$right = 0
    	EndIf
    	If($right_on = 1) and ($right < 40) and _IsPressed("02", $dll) = False Then ; cancel free camera mode
    		$right_on = 0
    		$right = 0
    	EndIf
    	
    	; start skill detection
    	If _IsPressed("30", $dll) or _IsPressed("31", $dll) or _IsPressed("32", $dll) or _IsPressed("33", $dll) or _IsPressed("34", $dll) or _IsPressed("35", $dll) or _IsPressed("36", $dll) or _IsPressed("37", $dll) or _IsPressed("38", $dll) or _IsPressed("39", $dll) Then
    		$combat = 1
    	EndIf
    	If _IsPressed("02", $dll) and ($combat = 0) and ($right_on = 0) Then
    		$right = $right + 1
    	EndIf
    	Sleep(2)
    	
    	; zooming
    	If($combat = 1) and ($combat_on = 0) Then
    		$right_on = 0
    		$right = 0
    		MouseClick("right")
    		$cnt[1] = 0
    		Do
    			$cnt[1] = $cnt[1] + 1
    			MouseWheel("down",1)
    			Sleep(1)
    		Until $cnt[1] >= 20
    		$combat_on = 1
    	EndIf
    	If($combat = 6) Then
    		$combat = 0
    		$combat_on = 0
    		$cnt[1] = 0
    		If _IsPressed("02") Then
    			$right_on = 1
    			$right = 40
    		EndIf
    		Do
    			$cnt[1] = $cnt[1] + 1
    			MouseWheel("up",1)
    			Sleep(1)
    		Until $cnt[1] >= 20
    	EndIf
    	
    Until $esc = 1
    
Viewing 15 posts - 16 through 30 (of 35 total)

Spread the word. Share this post!