Results 1 to 10 of 56

Thread: Hardware bans

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Quote Originally Posted by guiismiti View Post
    I think those settings are too common.

    But if I could get a cvar from a player I'd just use self setClientCvar and test its value when the player connects.
    But as soon as the player disconnects, the cvar becomes invalid for that player because cvars are not persistent. You need something persistent.

  2. #2
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    Quote Originally Posted by Tally View Post
    But as soon as the player disconnects, the cvar becomes invalid for that player because cvars are not persistent. You need something persistent.
    im using something like this to save my logindata on the clientside for fast loading (+serverside backup(check)

    Code:
    player setClientCvar( "autologin" , "openscriptmenu login Serthy|unsafepass" ); //load this to script
    player setClientCvar( "username" , "Serthy" ); //showed on login menu
    player setClientCvar( "password" , "unsafepass" ); //showed on login menu
    player setClientCvar( "autoexec" , "vstr autologin" ); //autoexec executes on connect
    player execClientCommand( "writeconfig save.cfg" ); //save the config clientside
    however, i first saw this or a similar method on some hungarian server app. 2 years ago
    Last edited by serthy; 30th December 2013 at 19:24. Reason: Sorry, not rly related to hardware bans, but didnt know where ever to post

  3. The Following User Says Thank You to serthy For This Useful Post:

    guiismiti (30th December 2013)

  4. #3
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    The problem with that is that every server-admin can change their fs_game and steal that password. IzNoGod is atm working on a save solution, ready to publish in a week or so
    timescale 0.01

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •