[Pogamut-list] Add original epic bot

Vince15 pogamut-forum at artemis.ms.mff.cuni.cz
Sat Apr 4 14:00:06 CEST 2009


Re: Re: Add original epic bot

Author: Vince15

That's the answer, THANKS!

> 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