Skip to content

JanTie/dota2-java-game-coordiator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

    public static void main(String[] args) throws Exception {
        // logback
        // System.setProperty(ContextInitializer.CONFIG_FILE_PROPERTY, "src/main/resources/dota-gc-logback.xml");

        SteamClientConfig config = new SteamClientConfig();
        config.setPass("pass");
        config.setUser("user");
        // optional
        // config.setSteamWebApi("webapi");
        // optional to remember user
        config.setLoginKey("loginkey.txt");
        config.setSentry("sentry.bin");
        // after first failed login because of TwoFactor or SteamGuard set one of this property
        // config.setAuthCode("authCode");
        // config.setTwoFactorAuth("factorAuth");
        Dota2Client client = new Dota2Client(config);
        client.connect();
        // wait till connected or when client.isReady()
        Thread.sleep(10000);

        // Print notail profile card
        System.out.println(client.getPlayerHandler().requestProfileCard(19672354));
    }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%