[Cs4800] Tips for running local tournaments

David Richards dirich at ccs.neu.edu
Thu Nov 3 19:28:34 EDT 2011


I think I found my problem.

It's useful to note that it seems you need javacc in your path when you run the server/avatars
as well as when you generate the templates.

-Dave

On Nov 3, 2011, at 6:49 PM, Dennis Zografos wrote:

> Yes.
> 
> To totally rule out something with your avatar, 
> 
> what happens if you use two baby avatars instead?
> 
> 
> ----- "David Richards" <dirich at ccs.neu.edu> wrote:
> 
>> Were you (or anyone else) able to actually run a tournament?  As soon
>> as my tournament started, I got a whole slew of
>> null pointer exceptions from both the server and clients in places
>> that didn't seem to touch my avatar code directly.
>> 
>> -Dave Richards
>> 
>> On Nov 3, 2011, at 5:59 PM, Dennis Zografos wrote:
>> 
>>> Some tips for getting local SCG tournaments up and running, from my
>> experiences:
>>> 
>>> * You might need to install a copy of javacc (in all major repos,
>> including MacPorts)
>>> 
>>> * At the "Generate Java files using Demeterf" step, <outputfolder>
>> should be set to `/GenericSCG/gen'
>>> 
>>> * The `PlayerMainHSR' class (as referenced in Step 3) does not
>> exist; use `PlayerMainBabyHSR' instead. (`PlayerMainBabyHSR' is no way
>> specific to the Baby avatar; this is just a naming thing)
>>> 
>>> * This will be obvious to most, but, the documentation lists a
>> constant "8020" for your avatar port (note: this is a
>> listening/"server" socket, NOT a connect/"client" socket); if you are
>> running multiple avatars locally, you will have to assign different
>> ports to each of them
>>> 
>>> --Dennis
>>> 
>>> 
>>> (note: information herein not authorized by course staff)
>>> 
>>> (note2: I may conduct a tournament tonight if the official warm-up
>> fails to materialize; details perhaps forthcoming)
>>> 
>>> _______________________________________________
>>> Cs4800 mailing list
>>> Cs4800 at lists.ccs.neu.edu
>>> https://lists.ccs.neu.edu/bin/listinfo/cs4800




More information about the Cs4800 mailing list