Download
(746 b)
Download
Updated: 10-24-10 10:39 AM
Pictures
File Info
Updated:10-24-10 10:39 AM
Created:01-23-09 06:46 PM
Downloads:4,345
Favorites:27
MD5:

XyAfkSpin

Version: 40000.2
by: Nightspirit [More]

When you are AFK, the camera begins to rotate very slowly around your character. Pretty useless eh?

You must have "Auto Clear AFK" enabled or it won't work. I could make it work, but it's just annoying when you're trying to walk/fly and the screen is spinning.

Made after seeing SpartanUI do the same thing.

40000.2
It now actually works for 4.0

40000.1
- TOC update
Post A Reply Comment Options
Unread 06-17-09, 01:24 AM  
Nightspirit
A Cyclonian
 
Nightspirit's Avatar
AddOn Author - Click to view AddOns

Forum posts: 44
File comments: 126
Uploads: 1
Originally posted by N10do
would this override SpartanUI's afkspin?
I never tried Spartan and I suggest you don't install this along with Spartan either.
Report comment to moderator  
Reply With Quote
Unread 06-14-09, 06:34 PM  
N10do
A Murloc Raider

Forum posts: 8
File comments: 50
Uploads: 1
would this override SpartanUI's afkspin?
Report comment to moderator  
Reply With Quote
Unread 05-21-09, 05:15 AM  
Nightspirit
A Cyclonian
 
Nightspirit's Avatar
AddOn Author - Click to view AddOns

Forum posts: 44
File comments: 126
Uploads: 1
Originally posted by Lord Crypto
what part should i edit to make it spin slightly faster?
--Lord
SetCVar("cameraYawMoveSpeed","8")
Report comment to moderator  
Reply With Quote
Unread 05-20-09, 10:21 PM  
N10do
A Murloc Raider

Forum posts: 8
File comments: 50
Uploads: 1
what part should i edit to make it spin slightly faster?
--Lord
Report comment to moderator  
Reply With Quote
Unread 05-04-09, 08:45 PM  
Nightspirit
A Cyclonian
 
Nightspirit's Avatar
AddOn Author - Click to view AddOns

Forum posts: 44
File comments: 126
Uploads: 1
Originally posted by Bornabe
I typed '/script SaveView(5)' and things work great, but when I reload the game, I seem to have to do it again and again on each character. Is there a way to 'Default' it to '/script SaveView(5)'?
http://www.wowwiki.com/API_SaveView

Saved views ARE preserved across sessions, but a bug in 3.0-patches causes it not to load first time you load a character after entering the game. Reloading the UI, or reloading the character from character selection screen, will fix this bug.
Report comment to moderator  
Reply With Quote
Unread 05-04-09, 06:11 AM  
Bornabe
A Flamescale Wyrmkin
 
Bornabe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 133
File comments: 264
Uploads: 6
I typed '/script SaveView(5)' and things work great, but when I reload the game, I seem to have to do it again and again on each character. Is there a way to 'Default' it to '/script SaveView(5)'?
Report comment to moderator  
Reply With Quote
Unread 02-10-09, 01:07 PM  
Nightspirit
A Cyclonian
 
Nightspirit's Avatar
AddOn Author - Click to view AddOns

Forum posts: 44
File comments: 126
Uploads: 1
Originally posted by Fonjask
You packed your .zip wrong again, you should make a folder to put those files in, and put that in a .zip file, not the entire thing. wow.curse does this automatically, wowinterface doesn't.
Re-uploaded. Thanks
Report comment to moderator  
Reply With Quote
Unread 02-10-09, 11:23 AM  
Fonjask
A Fallenroot Satyr
 
Fonjask's Avatar
AddOn Author - Click to view AddOns

Forum posts: 25
File comments: 266
Uploads: 2
You packed your .zip wrong again, you should make a folder to put those files in, and put that in a .zip file, not the entire thing. wow.curse does this automatically, wowinterface doesn't.
__________________
~~~~~~~~~~~~
Report comment to moderator  
Reply With Quote
Unread 02-09-09, 10:10 PM  
Nightspirit
A Cyclonian
 
Nightspirit's Avatar
AddOn Author - Click to view AddOns

Forum posts: 44
File comments: 126
Uploads: 1
Originally posted by l.s
Nice little addon. The only optimisation I would long for would be the recovery of the camera distance (to the character) after leaving 'afk'. That would spare my mouse wheel some kilometers.

Regards, Lars
The best way I can think of is this: Set your camera distance and angle to your favorite position and save this with /script SaveView(5). The addon automaticly returns to view 5 after afk which you just set to your personal preferences.
Report comment to moderator  
Reply With Quote
Unread 02-09-09, 08:58 PM  
Nightspirit
A Cyclonian
 
Nightspirit's Avatar
AddOn Author - Click to view AddOns

Forum posts: 44
File comments: 126
Uploads: 1
Originally posted by Beladona
you are setting the cvar for cameraDistanceMax to the same value it was, which is a waste of time.

line 13:
SetCVar("cameraDistanceMax",GetCVar("cameraDistanceMax"))

I would insert a line at the top after line 3:
AfkSpin_CameraDistance = GetCVar("cameraDistanceMax")

Then change line 13 (now 14 after adding the above line) to
SetCVar("cameraDistanceMax",AfkSpin_CameraDistance)

You might also want to add an event for PLAYER_LEAVING_WORLD that stops the spin and sets the CVar back to the default, otherwise if the player logs out while afk, the value you set (50) will remain their default. The next time they log in, 50 will be what gets saved instead of their real default...
Thanks for noticing my screwup(s) and helping the code

I have no idea where you got this code from, but it is very similar to the code used in SpartanUI for the SpinCam functionality. It might pay to look at our code again, as these fixes have been made in the latest 2.6 beta available on spartanui.com/forums

On a side note, this feature has been part of SpartanUI for some time. After looking at your code, I have to say it resembles my own code in 2.5.2 of SpartanUI. If you came up with this on your own (and I honestly don't believe you did) then ignore this. However if you did get the idea and some of the code from SpartanUI, you should probably consider adding a blurb to your description stating that the idea came from there. We don't have a problem with you posting this, its just the reference that matters. SpartanUI is released under this license:
http://creativecommons.org/licenses/by-nc-nd/3.0/us/

-- Not posted as a super moderator of wowinterface, merely an author of SpartanUI [/b]
I came up with the code myself. I don't think there are much ways to do it anyway, so any random addon with this functionality would basicly look the same.
The idea of this addon however might or might not be from SpartanUI. I saw it on someones screen once and never got the chance to ask what addon it was. A short search for an addon with this functionality gave me nothing so I came up with this. But since people say it's from Spartan and noone says a word about any other addon it was probably SpartanUI. I will add a note somewhere
Report comment to moderator  
Reply With Quote
Unread 02-09-09, 06:58 PM  
kilth2
A Warpwood Thunder Caller
 
kilth2's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 93
File comments: 15
Uploads: 3
Re: VNV FTW

hmmm..... this is a rip off of Spartan Uis spin cam.....
Report comment to moderator  
Reply With Quote
Unread 02-09-09, 07:36 AM  
Beladona
A Molten Giant
 
Beladona's Avatar
AddOn Author - Click to view AddOns

Forum posts: 539
File comments: 66
Uploads: 4
you are setting the cvar for cameraDistanceMax to the same value it was, which is a waste of time.

line 13:
SetCVar("cameraDistanceMax",GetCVar("cameraDistanceMax"))

I would insert a line at the top after line 3:
AfkSpin_CameraDistance = GetCVar("cameraDistanceMax")

Then change line 13 (now 14 after adding the above line) to
SetCVar("cameraDistanceMax",AfkSpin_CameraDistance)

You might also want to add an event for PLAYER_LEAVING_WORLD that stops the spin and sets the CVar back to the default, otherwise if the player logs out while afk, the value you set (50) will remain their default. The next time they log in, 50 will be what gets saved instead of their real default...

I have no idea where you got this code from, but it is very similar to the code used in SpartanUI for the SpinCam functionality. It might pay to look at our code again, as these fixes have been made in the latest 2.6 beta available on spartanui.com/forums

On a side note, this feature has been part of SpartanUI for some time. After looking at your code, I have to say it resembles my own code in 2.5.2 of SpartanUI. If you came up with this on your own (and I honestly don't believe you did) then ignore this. However if you did get the idea and some of the code from SpartanUI, you should probably consider adding a blurb to your description stating that the idea came from there. We don't have a problem with you posting this, its just the reference that matters. SpartanUI is released under this license:
http://creativecommons.org/licenses/by-nc-nd/3.0/us/

-- Not posted as a super moderator of wowinterface, merely an author of SpartanUI
Last edited by Beladona : 02-09-09 at 08:13 AM.
Report comment to moderator  
Reply With Quote
Unread 02-08-09, 04:26 AM  
l.s
A Kobold Labourer

Forum posts: 1
File comments: 2
Uploads: 0
Nice little addon. The only optimisation I would long for would be the recovery of the camera distance (to the character) after leaving 'afk'. That would spare my mouse wheel some kilometers.

Regards, Lars
Report comment to moderator  
Reply With Quote
Unread 01-30-09, 04:31 PM  
Banur
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 137
Uploads: 5
Yeah! Elder Scrolls and Fallout 3 afk mode! xD
Report comment to moderator  
Reply With Quote
Unread 01-28-09, 10:12 AM  
Fonjask
A Fallenroot Satyr
 
Fonjask's Avatar
AddOn Author - Click to view AddOns

Forum posts: 25
File comments: 266
Uploads: 2
Nice, low-CPU addon. When you are AFK, the camera begins to rotate very slowly around your character. It's nice if you are an UI-optimizer.
__________________
~~~~~~~~~~~~
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: