Let Players Who Have Prestiged Buy Max/Comp Capes

Discussion in 'SoulPlay Suggestions' started by jabukufo, Oct 10, 2019.

Thread Status:
Not open for further replies.
  1. jabukufo

    jabukufo Programming Is My #1 Hobby          

    Joined:
    Jan 16, 2017
    Messages:
    65
    Likes Received:
    15
    Trophy Points:
    183
    Gender:
    Male
    Occupation:
    Certified 1G, 2G, 5G & 6G Pipe-welder
    Location:
    Texas
    Currently players have to buy any Max or Comp capes before they prestige, or max their stats again after prestiging. It seems like if a player is able to own and wear an item, they should be able to obtain it. Any player who is not Prestige-0, has already achieved all stats needed for a Max/Comp cape. Obviously only allow purchasing a Comp cape if they also have 100 achievements.

    Seems like a no-brainer that this should be a thing. I would like to hear any reason this shouldn't be allowed.
     
    Lock and SUPREME WARS like this.
  2. trs

    trs Guest

  3. SUPREME WARS

    SUPREME WARS Master              

    Joined:
    Jul 28, 2019
    Messages:
    112
    Likes Received:
    87
    Trophy Points:
    153
    Gender:
    Male
    Support.
    Next time please make a suggestion regarding the closure of this server,
    will support that one too.
     
    Yuuzu, Last River and Ex Cookie like this.
  4. Ex Cookie

    Ex Cookie Master      

    Joined:
    Nov 7, 2015
    Messages:
    53
    Likes Received:
    39
    Trophy Points:
    193
    Gender:
    Male
    Occupation:
    Boxing
    Location:
    Planet Earth
    l0l
     
  5. Lock

    Lock Master    

    Joined:
    Sep 22, 2015
    Messages:
    20
    Likes Received:
    5
    Trophy Points:
    228
    Gender:
    Male
    Location:
    ::cw
    would be cool!
     
  6. KaZik

    KaZik Master      

    Joined:
    Oct 23, 2016
    Messages:
    88
    Likes Received:
    55
    Trophy Points:
    193
    Gender:
    Male
    Location:
    Belgium
    What you want from us then? like, what you expect? , i kinda agree with you :) But i wanna hear ur solution for it :)
     
  7. jabukufo

    jabukufo Programming Is My #1 Hobby          

    Joined:
    Jan 16, 2017
    Messages:
    65
    Likes Received:
    15
    Trophy Points:
    183
    Gender:
    Male
    Occupation:
    Certified 1G, 2G, 5G & 6G Pipe-welder
    Location:
    Texas
    Was I not clear?

    Basically if someone has already prestiged their account and they go talk to Max, change it to where he will sell them a max-cape. And if they also have 100 achievements, have him sell them a comp-cape.

    Change the code from something like:
    if (player.TotalLevel >= 2475) {
    Max.AllowMaxCape(player);
    if (player.Achievements.Count() >= 100 && player.TotalLevel >= 2496) {

    Max.AllowCompCape(player);
    }
    }
    To something like:
    if (player.TotalLevel >= 2475 || player.Prestige > 0) {
    Max.AllowMaxCape(player);
    if (player.Achievements.Count() >= 100 && ) {

    if (player.TotalLevel >= 2496 || player.Prestige > 0) {
    Max.AllowCompCape(player);
    }
    }
    }
    There's a better way to code it using a flag on the player's .json, but that doesn't illustrate as well.
     
    Last edited: Oct 22, 2019
    Yuuzu and Sukiru like this.
  8. Liquids

    Liquids Veni Vidi Vici                  

    Joined:
    Aug 25, 2017
    Messages:
    757
    Likes Received:
    703
    Trophy Points:
    445
    Gender:
    Male
    Comp cape you can purchase at prestige 1 or higher without being maxed, as long as you have 100 achievements btw
     
  9. Sukiru

    Sukiru 自殺                    

    Joined:
    Mar 1, 2017
    Messages:
    486
    Likes Received:
    436
    Trophy Points:
    303
    Gender:
    Male
    there's plenty of ways I.E if you know Kotlin it could be done this way:
    Code:
    if (player.TotalLevel >= 2475 || player.Prestige > 0)
    {
      Max.AllowMaxCape(player)
      if (player.Achievements.Count() >= 100 && )
      {
        if (player.TotalLevel >= 2496 || player.Prestige > 0)
        {
          Max.AllowCompCape(player)
        }
      }
    }
     
    Last edited: Oct 25, 2019
    Anunnaki likes this.
  10. Aussieyobbo

    Aussieyobbo Cunt                          

    Joined:
    Sep 11, 2015
    Messages:
    3,754
    Likes Received:
    3,418
    Trophy Points:
    810
    Gender:
    Male
    You were.
     
  11. Anunnaki

    Anunnaki ♕ Forum Moderator Staff Member                      

    Joined:
    Sep 18, 2015
    Messages:
    1,594
    Likes Received:
    2,130
    Trophy Points:
    700
    Gender:
    Male
    Yeah like that is going to happen
    but
    Support.
     
    Last edited: Nov 3, 2019
Thread Status:
Not open for further replies.

Share This Page