Whitelister Ver: 3.0

Discussion in 'Whitelisting' started by Ketting, Dec 8, 2012.

  1. Ketting

    Ketting New Member

    Joined:
    Nov 13, 2012
    Messages:
    24
    Likes Received:
    2
    Hey there, thanks for checking this out, i hope u find what you are looking for :).
    Whitelister is a program that i found online written by DomiStyle, i believe he also wrote Dart.
    I found the source code :rolleyes: and fixed some big bugs and updated it to my needs.
    It's a whitelisting tool for: Arma2, but mainly created for the awesome mod: DayZ.
    Its purpose is to only let players who are registered in a database, on the server.

    So if u are not in the database you will be kicked off right away. (Like a doorman)
    Hopefully you will do so with a friendly message, telling theme where to go for more information.


    How does it works?
    The program a console based program, which means there are no buttons and nice boxes.
    Its just a black window containing text, like the command prompt.
    The program communicates via Battlleye and this way can tell when a player tries to join.
    It reads the players GUID (A unique string created from a Cdkey) and the player name.

    If the information is the same as the stored information in the database it will let the player join. If there is no record of the player the program kicks the player.(in the nuts :eek:)

    Main changes from the original so far:
    1. It now compares the player name and the guid .
      If a player changes his name, the player will be kicked.
      If a unknown player uses a whitelisted key the players name is connected to the guid so the player will be kicked. (for no cd key servers)
    2. If connection is lost with the Database, it no longer kicks everybody out of the game.
      It now locks the server and after a re-connection it unlocks itself.
    3. Console writing is now minimal, and color coded so easy reading.
    4. Removed unnecessary loops and functions, and fixed some big bugs.
      Way more stable now.
    Its also 100% MySql now:
    U need to create a database so follow these steps.
    If u are using PhpMyAdmin you can combine steps 1, 2, and 3 in one move, using = "create user"
    1. Create a user for the whitelist tool.
      Its not recommended to use the root user.
    2. Create a database for the whitelist tool.
    3. Set privileges for the user on the database, so the program can read it.
    4. Import the whitelist.sql file on the database.
      Or copy the text from the file and run a SQL on the database.
    5. Insert a row manual;
      Future plan: a Php web interface is coming.
      id == 'NULL'
      GUID == '12345678901234567890123456789012'

      Name == 'Name here' (No space in front or after the name!)
    6. Edit the config.txt with the right data.
    7. Run Whitelister.exe
    8. View console.log to view the log :D.
    Hope u can use this program, u can download it here
    Please consider to make a donation.

    Ketting.
     
    Last edited: Mar 3, 2015
  2. Grindmetal

    Grindmetal Member

    Joined:
    Nov 25, 2012
    Messages:
    33
    Likes Received:
    0
  3. TheLaughingMan

    TheLaughingMan Well-Known Member

    Joined:
    Nov 8, 2012
    Messages:
    137
    Likes Received:
    13
    Why force people to use the same name all the time?
     
  4. shinkicker

    shinkicker Administrator Staff Member

    Joined:
    Oct 18, 2012
    Messages:
    741
    Likes Received:
    198
    Can you get up some installation steps?

    Is the whitelist an external txt file or do you populate the DB (looks like the later)? So do you have to manually enter each row?

    Please put some instructions up.
     
  5. Ketting

    Ketting New Member

    Joined:
    Nov 13, 2012
    Messages:
    24
    Likes Received:
    2
    You are missing the point:
    guid 1 and name 1 is on the list.
    guid 1 and name 1 = = ok.
    guid 1 and name 2 = = Not on whitelist.
     
  6. Ketting

    Ketting New Member

    Joined:
    Nov 13, 2012
    Messages:
    24
    Likes Received:
    2
    Its self explanatory, the original whitelister don't have one 2, but if u insist i will make a txt.
     
  7. shinkicker

    shinkicker Administrator Staff Member

    Joined:
    Oct 18, 2012
    Messages:
    741
    Likes Received:
    198
    I am not insisting you make anything, if it does not need a list as text file and that's how its designed, that is fine with me. But I honestly can't see how you make whitelist entries?

    I remember before there being a whitelist.txt, should we use the DB instead and make a manual insert? Or is there some process to follow to get the data in to the list. Don't mean to come across as critical, I just honestly can't see how that part works? If it is self explanatory I can't see that bit of information :)

    Maybe its because I am not fluent with the original.
     
  8. Ketting

    Ketting New Member

    Joined:
    Nov 13, 2012
    Messages:
    24
    Likes Received:
    2
    Its 100% MYSQL:Using phpMyAdmin u can do do step 1,2 and 3 in one time = "create user"
    1. Create a user for the whitelist tool.
    2. Create a database for the whitelist tool.
    3. Set privileges for the user on the database.
    4. Import the whitelist.sql file on the database.
      Or copy the text from the file and run a SQL on the database.
    5. Insert a row manual;
      id == 'NULL'
      GUID == '12345678901234567890123456789012'
      Name == 'Name here' (No space in front or after the name!)
      Future plan: a Php web interface is coming.
    6. Edit theconfig.txt
    7. Run Whitelister.exe
    8. View console.log for log xD.
    I have changed the commends in the config file so re-download it please.
    Peace.
     
  9. shinkicker

    shinkicker Administrator Staff Member

    Joined:
    Oct 18, 2012
    Messages:
    741
    Likes Received:
    198
    I got you now. I will just put up a simple PHP form.
     
  10. Ketting

    Ketting New Member

    Joined:
    Nov 13, 2012
    Messages:
    24
    Likes Received:
    2
    Ok enjoy.
     
  11. Finest

    Finest Well-Known Member

    Joined:
    Oct 22, 2012
    Messages:
    176
    Likes Received:
    12
    can i get the sourcecode :) i wanna change some selects :D
     
  12. Stuart Halliday

    Stuart Halliday Member

    Joined:
    Jan 23, 2013
    Messages:
    84
    Likes Received:
    2
    Nice! A whitelist that stops players changing their name.

    This is just what my players have asked for. Too many times have players altered their name to try and hide bad behaviour from other players.
     
  13. Stuart Halliday

    Stuart Halliday Member

    Joined:
    Jan 23, 2013
    Messages:
    84
    Likes Received:
    2
    Ok, how does a player add themselves to the whitelist?

    Can't see myself entering guid after guid manually day after day... I'd like some spare time! :)

    I have a phpBB forum for my players. Can I use that somehow?
     
  14. Murdock

    Murdock New Member

    Joined:
    Nov 29, 2012
    Messages:
    19
    Likes Received:
    2
    Does this one crash/disconnect after restarts? thats been the problem with whitelister and whitelisterpro plus
     
  15. Excelsior

    Excelsior Valued Member!

    Joined:
    Nov 5, 2012
    Messages:
    238
    Likes Received:
    53
    If people can add themselves, what would be the sense of having a whitelist?
     
    UrbanSkaters likes this.
  16. Stuart Halliday

    Stuart Halliday Member

    Joined:
    Jan 23, 2013
    Messages:
    84
    Likes Received:
    2
    Because most people wouldn't be bothered to do so?
    If you have hoops, most people either go through them or they avoid?
     
  17. UrbanSkaters

    UrbanSkaters Valued Member!

    Joined:
    Jan 20, 2013
    Messages:
    473
    Likes Received:
    65
    I've always wondered about this myself. I see people asking all the time, how they can make a web page that automatically adds people to their whitelist and part of me thinks "how the hell do you monitor that?" . The way I do it on my server is I turn off white listing for a few hours a day when I'm online, and I manually add people to the white list myself after I've seen they can be trusted.. Either that or people email me and go through the same process, the whole point of my white list to be sure I can trust the people on it in the first place.

    Whitelister pro was perfect for that, so easy to just turn it off and on and add or remove GUID's. Why can't everything in life be that easy :)
     
  18. georgee

    georgee New Member

    Joined:
    Feb 7, 2013
    Messages:
    2
    Likes Received:
    0
    Pls help

    Run Whitelister.exe error

    Connecting please wait...
    Starting setLoginData...
    Starting connectClient...
    Could not connect to Battleye. (Is Battleye enabled?)

    config.cfg

    // INGAME SETTINGS
    disableVoN = 1;
    vonCodecQuality = 10;
    persistent = 1;
    timeStampFormat = "short";
    BattlEye = 1;

    thx
     
  19. Ketting

    Ketting New Member

    Joined:
    Nov 13, 2012
    Messages:
    24
    Likes Received:
    2
    Set the password in CFGFolder -->Battleye-->BEServer.cfg
    and set the same in the Whitelist config.txt
     
  20. UrbanSkaters

    UrbanSkaters Valued Member!

    Joined:
    Jan 20, 2013
    Messages:
    473
    Likes Received:
    65
    Would be nice to have this working with WhiteLister Pro, so as the senior admin I could use that and my other admins could use this product (due to it's ease of use and transferable config file). Do you think you could allow the user to set the database table in the config? :)
     

Share This Page