[Pogamut-list] Multiple UCC instances

jacob.schrum pogamut-forum at diana.ms.mff.cuni.cz
Tue Dec 14 04:11:29 CET 2010


Re: Multiple UCC instances

Author: jacob.schrum

Thank you for all of your help. I've managed to cobble together my own solution using Java thread pools and the ExecutorService class. I think my solution works, but I can't be sure. Although I can see multiple copies of UCC running, and I see text output indicating multiple running bots/servers, I am not able to log into the separate servers with the UT2004 client. I only see/log into one of the servers.

I think this problem is due to the fact that all of the servers have the same name. My initial idea was to simply run each server with a separate name, but this is harder than I thought. It seems that when starting UCC, the server name is not one of the options that can be set. It has to be set in the INI file. So I figured I'd just make multiple copies of the INI file, each with a different file name and different server name setting. The only problem now is that I don't know how to use the UCCWrapper, UCCWrapperConf, UT2004Server, or Process to launch my servers using different INI files. The setOptions method of UCCWrapperConf doesn't quite do what I want, since it only sets server options. However, the command line parameter that sets the INI file is not a "?" delimited option.

How do I set the INI file?

-- 
Reply Link: <http://diana.ms.mff.cuni.cz/main/tiki-view_forum_thread.php?forumId=3&comments_reply_threadId=3&comments_parentId=461&post_reply=1#form>





More information about the Pogamut-list mailing list