lib/hackers.rb
##
# Sets new player name in tutorial mode:
#   id        = Player ID
#   name      = Player name
#   tutorial  = Tutorial ID
#
# Returns the string "ok" if the request is successful
Sets new player name in tutorial mode:
id        = Player ID
name      = Player name
tutorial  = Tutorial ID

Returns the string "ok" if the request is successful
Sets new player name in tutorial mode : id = Player ID name = Player name tutorial = Tutorial ID Returns the string " ok " if the request is successful
def cmdTutorialPlayerSetName(id, name, tutorial)
        params = {
          "tutorial_player_set_name"  => "",
          "id_player"                 => id,
          "name"                      => name,
          "tutorial"                  => tutorial,
          "app_version"               => @config["version"],
        }
        response = @client.request(params, @sid)
        return response
      end
def cmdTutorialPlayerSetName ( id , name , tutorial ) params = { "tutorial_player_set_name" => "" , "id_player" => id , "name" => name , "tutorial" => tutorial , "app_version" => @config [ "version" ] , } response = @client . request ( params , @sid ) return response end
Sets new player name in tutorial mode:
id        = Player ID
name      = Player name
tutorial  = Tutorial ID
Sets new player name in tutorial mode : id = Player ID name = Player name tutorial = Tutorial ID
id
name
tutorial