Pogamut 3 Labs 2016

We welcome you our student/s :-) or anybody who has ventured up to this point while gathering info about the Pogamut 3 platform, welcome!

This page contains materials for the practice lessons of the Human-like Artificial Agents (NAIL068) course that is/has been taught during summer semester of 2015/2016 at Charles University in Prague, Czech Republic. The course is/was lead by Cyril Brom and Jakub Gemrot. Labs are/were (mainly) backed up by Jakub Gemrot.

Lecture slides can be found at Lecture webpage.

Dates

Tuesday's lectures, 15:40, SW1, Jakub Gemrot: jakub.gemrot@gmail.com Tuesday's lectures, 17:20, SW1, Jakub Gemrot: jakub.gemrot@gmail.com

How to pass the practice

First, you should see hours-dotation (XLSX) for the whole course.

Then you should study scoring-system (XLSX) for the practice that gives you hints how you can obtain points and how many you need them to pass the practice (+strategy guidelines). You know, life is a game :-)

Long story short, you have to get at least 160 points to be admitted to Practice Final Test. If you obtain 190 points or more you automatically pass the practice (you don't have to go to Practice Final Test). You can get points for the attendance (2 for class), short tests (done during the lesson, 6 max, if you fill them later, you will get -2 points penalization), doing your homework assignments (typically 10 points) or by having high-quality tournament bots (up to 28 points per tournament).
If you obtain at least 135 points and want to pass, we will give you an extra assignment and based on your performance we will then admit you to Workshop Final Test.

Test scoring details: you get 2 points if you will fill the test at the beginning of the class (in class ~ just by attending, this means you get 4 points for free only by attending classes!), you can get extra 4 points by answering questions correctly.

In order to get to the Final Exam of the Course you have to:

Exam

Tournaments

Always send your bots to jakub.gemrot@gmail.com !

Workshops

Workshop 13 - (PPTX) (PDF) (19.5.2015)

Workshop 12 - (PPTX) (PDF) (17.5.2016) Test links included

Workshop 11 - (PPTX) (PDF) (10.5.2016) Test links included

Workshop 10 - (PPTX) (PDF) (3.5.2016) Test links included

Workshop 9 - (PPTX), (PDF) (26.4.2016) Test links included

Workshop 8 - (PPTX), (PDF) (19.4.2016) Test links included

Collects weapons, ammo and armor on the map

Workshop 7 - (PPTX), (PDF) (12.4.2016) Test links included

Workshop 6 - (PPTX), (PDF) (5.4.2016) Test links included

Workshop 5 (PPTX), (PDF) (29.3.2016) Test links included

Workshop 4 (PPTX), (PDF) (22.3.2016) Test links included

Workshop 3 (PPTX), (PDF) (15.3.2016) Test links included

Workshop 02 (PPTX), (PDF) (8.3.2016) Test links included

Workshop 01 (PPTX), (PDF) (1.3.2016) Test links included

Promo (PPTX), (PDF)

Score tracking

Pogamut 3 platform

Installers:

Alternatively

FAQ

Q: Which version of Pogamut are we using?
A: 3.7.0, always check your pom.xml after you download bot templates or materialize Maven archetypes to check whether you're using correct version.


Q: I am missing help on all methods, attributes and classes (Javadoc is not working). :-/
A: In NetBeans open your project and right click the Dependencies folder, click Download Javadoc, NetBeans should now download Javadoc and the help should be working. If it is not, click also Download Sources and after it is done (watch lower right progress bar) restart NetBeans. Sometimes NetBeans refuse to show help - it can be usually resolved by trying to Download Javadoc several times.


Q: How to get account in our computer laboratory for non-MFF students?
A:


Q: How do I create PogamutUT2004 Bot project in NetNeans from archetype?
A: Its easy. Simply click New Project, from categories choose Maven. From projects choose Maven project. Click on Next. Click on Add… button and the NetBeans will ask you about archetype details. That is :

Full list of available archetypes can be found here. (always use repository above)

Also be sure that NetBeans is using Maven v3.0.4+! You can always obtain Maven from here: Maven 3.0.4. After unpacking, go to NetBeans→Tools→Options→Miscellaneous→sheet Maven→set Maven home directory.


Q: I have a problem with imports - the NetBeans help doesn't work. :-/
A: Two solutions, either add PogamutUT2004.jar and PogamutCore.jar to libraries to your project (the help should be working), or add imports to your class manually. Some useful imports:

import cz.cuni.amis.pogamut.base3d.worldview.object.*; //for Location, Velocity..
import cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.*; //GB commands
import cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.*; //GB messages

Q: I am a student and want to use Pogamut, but I don't have UT2004.
A: Unfortunately school cannot provide you with UT2004 - however you are free to use Pogamut in SW1 laboratory (when it is free) and there is one Pogamut computer in MS lab (far end against the entrance) where we can create an account for you. Second solution is to use UnrealEngine2RuntimeDemo exclusively, which is free for educational purposes and which is installed with Pogamut Emohawk installer.


Q: How to disable master server authentication in UT2004?
A: In UT2004/System/UT2004.ini find [IpDrv.MasterServerUplink] and set the following:

[IpDrv.MasterServerUplink]
DoUplink=False
UplinkToGamespy=False
SendStats=False

Q: I'm trying to setup @EventListener or @ObjectClassEventListener in POSH actions (or senses) and they are not working, why?
A: These listeners works only in XxxContext classes. You have to declare them there and then access them from actions or senses.


Q: How can I tell what version of Unreal Tournament 2004 I am running (v. 3369 required)?
A: Just start Unreal Tournament 2004 GUI, open the Join Game tab and the news page will have the number in the upper right corner.

Acknowledgement

Creation of this course was partially supported by the project Integration of IT Tools into Education of Humanities, which is financed by the European Social Fund, the state budget of the Czech Republic, and by the budget of Municipal House Prague.

Inovace kurzu v letech 2011/2 a 2012/3 byly podpořeny projektem CZ.2.17/3.1.00/33274 financovaným Evropským sociálním fondem a rozpočtem hlavního města Prahy.

Evropský sociální fond
Praha & EU: Investujeme do vaší budoucnosti