MSPA Forums
Results 1 to 11 of 11

Thread: Automatically swapping avatars

  1. #1
    Thinker of Thoughts WillyDeWulfe's Avatar
    Join Date
    Jan 2011
    Location
    Ye olde College Dorme
    Posts
    1,153

    Automatically swapping avatars

    I was working on a little java program that changes my avatar every 30 seconds, and it doesn't work.

    It was supposed to function by overwriting the .gif file that the forum gets my avatar from. I know the image gets overwritten fine and everything, but the forum doesn't grab it again.

    Basically my questions are these:
    1) Does the forum save all avatars on its own server(even the ones from a url) instead of just getting them from whatever server the original image is on?

    2) Is there a way I can change my avatar besides Settings>Edit Avatar>Copy/Paste URL? (Like some sort of backdoor way I could get my program to do?)

  2. #2
    Party Captain AdminGorg Drillgorg's Avatar
    Join Date
    Apr 2009
    Location
    UM to the BC!
    Pronouns
    he/him/his
    Posts
    15,383

    Re: Automatically swapping avatars

    No sorry, avatars are hosted by the forum and are only changed when you manually upload a new one.

  3. #3
    Thinker of Thoughts WillyDeWulfe's Avatar
    Join Date
    Jan 2011
    Location
    Ye olde College Dorme
    Posts
    1,153

    Re: Automatically swapping avatars

    I may still be able to rig something, though this poses problems...

    Thanks anyway.

  4. #4
    Large Ham unbridledExüberance's Avatar
    Join Date
    Feb 2011
    Location
    Land of Ones and Zeroes
    Pronouns
    he/him/his
    Posts
    1,607

    Re: Automatically swapping avatars

    I might be possible to figure out what command to send to the server, then call that from your program, but I imagine that automated programs like that are frowned upon. Plus the session key would expire if you logged out.

  5. #5
    Now with 200% More Corn orngjce223's Avatar
    Join Date
    Dec 2009
    Location
    Full-time internet
    Posts
    4,010

    Re: Automatically swapping avatars

    I believe an accepted way to do this is to have an avatar that is an animated GIF with a ludicrously long cycle time (ie 60 seconds). Mind the size restrictions though.


    |

  6. #6
    Large Ham unbridledExüberance's Avatar
    Join Date
    Feb 2011
    Location
    Land of Ones and Zeroes
    Pronouns
    he/him/his
    Posts
    1,607

    Re: Automatically swapping avatars

    That's true. So long as all the avatars you want are static (non-animated) images, you could just put them as frames in a gif with a delay of 30000 ms. The problem with that, though, is it would start back at avatar #1 every time you load a page, so most people would only see the first few avatars.

  7. #7
    Human of Alfandra simon.clarkstone's Avatar
    Join Date
    Feb 2010
    Location
    Oxford, UK
    Pronouns
    he/him/his
    Posts
    4,550

    Re: Automatically swapping avatars

    Restarting GIFs depends on the browser, though I expect most will do so. OTOH, some pages can take minutes to read.
    [U4G] OREG (A space adventure)
    Starring Opabiniataurs, because humanoids are boring.

  8. #8
    Thinker of Thoughts WillyDeWulfe's Avatar
    Join Date
    Jan 2011
    Location
    Ye olde College Dorme
    Posts
    1,153

    Re: Automatically swapping avatars

    I don't think the long gif thing will work to my satisfaction. I'll probably just have to give up. Thanks anyway.

  9. #9
    Mage of Void Derp Strider's Avatar
    Join Date
    May 2012
    Location
    Land of Lines and Circles
    Pronouns
    he/him/his
    Posts
    218

    Re: Automatically swapping avatars

    I have an idea
    If you host something via drtopbox, the link will be the same even if you change/replace the file.
    Perhaps rigging something to periodically change the file the dropbox link directs to?

  10. #10
    Human of Alfandra simon.clarkstone's Avatar
    Join Date
    Feb 2010
    Location
    Oxford, UK
    Pronouns
    he/him/his
    Posts
    4,550

    Re: Automatically swapping avatars

    The forum still won't re-fetch the file though.
    [U4G] OREG (A space adventure)
    Starring Opabiniataurs, because humanoids are boring.

  11. #11
    Mage of Void Derp Strider's Avatar
    Join Date
    May 2012
    Location
    Land of Lines and Circles
    Pronouns
    he/him/his
    Posts
    218

    Re: Automatically swapping avatars

    Quote Originally Posted by simon.clarkstone View Post
    The forum still won't re-fetch the file though.
    FUCK

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •