[Pogamut-list] Add original epic bot

jakub.gemrot pogamut-forum at artemis.ms.mff.cuni.cz
Sat Apr 4 13:45:03 CEST 2009


Re: Add original epic bot

Author: jakub.gemrot

Hi!

You can't use the agent - you have to instantiate an UTServer, check out the package server and
class UTServer (also present in the NetBeans library).

public UTServer() {
        init();
    }
    
    public static UTServer createLocalhostServer() {
        UTServer s = new UTServer();
        s.setGamebotsBotURI(URI.create("ut://localhost"));
        s.setGamebotsControlConnectionURI(URI.create("ut://localhost"));
        return s;
    }

The static method is giving hints how to create server and connect it into different URI.

Cheers! Jakub





More information about the Pogamut-list mailing list