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
    26
    Posts
    185
    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
    29
    Posts
    579
    Thanks given
    89
    Thanks received
    270
    Rep Power
    351
    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.
     

  3. #3  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    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  
    Contributor


    Join Date
    Jul 2010
    Posts
    450
    Thanks given
    256
    Thanks received
    268
    Rep Power
    1305
    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.
     

  5. #5  
    Registered Member
    Lantern Web's Avatar
    Join Date
    Apr 2018
    Posts
    187
    Thanks given
    73
    Thanks received
    101
    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.
    Attached image


    Attached image
     

  6. #6  
    Developer

    Join Date
    May 2015
    Age
    26
    Posts
    185
    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,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    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
    26
    Posts
    185
    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
    73
    Thanks received
    101
    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.
    Attached image


    Attached image
     

  10. #10  
    Registered Member
    Join Date
    Jan 2017
    Posts
    195
    Thanks given
    13
    Thanks received
    27
    Rep Power
    13
    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
  •