Thread: Foxtrot Highscores

Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1 Foxtrot Highscores 
    Developer

    Join Date
    May 2015
    Age
    24
    Posts
    186
    Thanks given
    0
    Thanks received
    9
    Rep Power
    1
    Hi everyone i am using foxtrot highscores for anguish source but i cannot hide the admins or owners on the highscores (website sided) can anyone help?
     

  2. #2  
    Donator

    .css's Avatar
    Join Date
    Dec 2018
    Age
    26
    Posts
    291
    Thanks given
    46
    Thanks received
    93
    Discord
    View profile
    Rep Power
    114
    You shouldn't be doing this web sided. Go to the part where you send the query task and add an exception for player rights.

    [Only registered and activated users can see links. ] - [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]

    Zed#3343
     

  3. #3  
    Community Veteran


    arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,833
    Thanks given
    187
    Thanks received
    306
    Discord
    View profile
    Rep Power
    770
    Quote Originally Posted by .css View Post
    You shouldn't be doing this web sided. Go to the part where you send the query task and add an exception for player rights.
    Why should you never do this website sided? Because if it is being shown on website, it would be wise to have it check on the website.


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
     

  4. #4  
    Be the change you wanna see!

    Nozemi's Avatar
    Join Date
    Jul 2010
    Posts
    378
    Thanks given
    166
    Thanks received
    182
    Discord
    View profile
    Rep Power
    852
    Quote Originally Posted by .css View Post
    You shouldn't be doing this web sided. Go to the part where you send the query task and add an exception for player rights.


    Ideally you'd have the highscores on the same stat data as you have in game, rather than duplicate the information. In which case you have the check on the website.

    If that's not the case here, it would probably be fine to add a condition to the server not to push stats to the highscores table for admins.
    [Only registered and activated users can see links. ]
     

  5. #5  
    Registered Member
    Lantern Web's Avatar
    Join Date
    Apr 2018
    Posts
    187
    Thanks given
    72
    Thanks received
    100
    Rep Power
    257
    Quote Originally Posted by arch337 View Post
    Why should you never do this website sided? Because if it is being shown on website, it would be wise to have it check on the website.
    Out of interest, why would that be wise? Considering it's sent from the server, it's easier to straight-up send the correct data/ information rather than checking it after.
    [Only registered and activated users can see links. ]

    [Only registered and activated users can see links. ]
     

  6. #6  
    Developer

    Join Date
    May 2015
    Age
    24
    Posts
    186
    Thanks given
    0
    Thanks received
    9
    Rep Power
    1
    can anyone help with me this? i am more than happy to pay for the help
     

  7. #7  
    Community Veteran


    arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,833
    Thanks given
    187
    Thanks received
    306
    Discord
    View profile
    Rep Power
    770
    Quote Originally Posted by Lantern Web View Post
    Out of interest, why would that be wise? Considering it's sent from the server, it's easier to straight-up send the correct data/ information rather than checking it after.
    Because the site display the data and if there is a check for rights in the data column to begin with, you can then choose to display or not display the data of set rights.


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
     

  8. #8  
    Developer

    Join Date
    May 2015
    Age
    24
    Posts
    186
    Thanks given
    0
    Thanks received
    9
    Rep Power
    1
    Quote Originally Posted by arch337 View Post
    Because the site display the data and if there is a check for rights in the data row to begin with, you can then choose to display or not display the data of set rights.

    if i pay you will you be able to do it for me?
     

  9. #9  
    Registered Member
    Lantern Web's Avatar
    Join Date
    Apr 2018
    Posts
    187
    Thanks given
    72
    Thanks received
    100
    Rep Power
    257
    Quote Originally Posted by arch337 View Post
    Because the site display the data and if there is a check for rights in the data column to begin with, you can then choose to display or not display the data of set rights.
    But what you're failing to understand is there's no need to check the data on the website if you sent the correct data in the first place. That would just be unnecessary; hope you understand.
    [Only registered and activated users can see links. ]

    [Only registered and activated users can see links. ]
     

  10. #10  
    Registered Member
    Join Date
    Jan 2017
    Posts
    119
    Thanks given
    7
    Thanks received
    19
    Discord
    View profile
    Rep Power
    9
    Code:
    
    			if (this.getRights().getPrimary().getValue() <= 2) {
    				new Thread(new Hiscores(this)).start();
    		        }

    in logout()
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Foxtrot highscores for 317
    By Bubz in forum Help
    Replies: 5
    Last Post: 04-27-2020, 01:42 PM
  2. Replies: 0
    Last Post: 01-31-2019, 02:17 AM
  3. Real HighScores Page
    By wildy in forum Tutorials
    Replies: 100
    Last Post: 01-07-2009, 08:55 PM
  4. Replies: 206
    Last Post: 09-13-2008, 02:19 PM
  5. Replies: 34
    Last Post: 10-31-2007, 09:09 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •