1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PlayerSense get Seed

Discussion in 'Developer Support' started by Exia, Mar 1, 2016.

  1. Exia

    Joined:
    Nov 3, 2013
    Messages:
    609
    Likes Received:
    259
    Can you add a function to PlayerSense called getSeed that will generate the same seed for a forum user xor with the currently logged in RS username?
     
  2. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    Can you be a bit more specific? We don't actually use a seed in the form of a long currently iirc.
     
  3. Exia

    Joined:
    Nov 3, 2013
    Messages:
    609
    Likes Received:
    259
    Essentially, I want some sort of hash that will be unique for each player, ideally one based on forum user name, and on based on RSN. Actually, I can probably just do it myself.
     
  4. Arbiter

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,938
    Likes Received:
    1,266
    Players.getLocal().getName().hashCode()
     

Share This Page

Loading...