======Welcome====== our student/s :-) and everybody else who is interested in these lectures. ======Pogamut Deathmatch Competition====== There was unofficial Pogamut Deathmatch competition with following setting: * **Map:** DM-1on1-Albatross * **Deadline:** End of May * **Prizes:** Honour, pride, unknown (there may be a small financial prize for the winner if we get some sponsors :-) ) Four contestants entered: * Petr Hlista * Jan Peprnik * Marek Vlk * Simon Kvasnicka * Knight hunter bot (as reference bot) ====Results:==== The best scoring bots were from **Petr Hlista** and **Jan Peprnik** - congratulations to you both. ======Pogamut library versions====== **New library released:** * version: [[http://diana.ms.mff.cuni.cz:8081/artifactory/libs-release-local/cz/cuni/amis/pogamut/pogamut-ut2004/3.2.3/pogamut-ut2004-3.2.3.jar|3.2.3]] * date: 27.4.2011 ======Lectures history====== **Note:** When sending a homework through email use this subject: **Pogamut homework 2011**. **Lecture 1** [[http://diana.ms.mff.cuni.cz/pogamut_files/lectures/2010-2011/Pogamut3_Lecture_01.pdf|(PDF)]] * Pogamut installation notes * Explore [[http://diana.ms.mff.cuni.cz/pogamut_files/latest/doc/tutorials/EmptyBotTutorial.html|EmptyBot]] * Explore [[http://diana.ms.mff.cuni.cz/pogamut_files/latest/doc/tutorials/ResponsiveBotTutorial.html|ResponsiveBot]] * Extend responsive bot to follow nearest players / shoot players / turn around * Do your homework :-) * Downloads: [[http://artemis.ms.mff.cuni.cz/pogamut_files/AB2011/00-EmptyBot.zip|EmptyBot project]], [[http://artemis.ms.mff.cuni.cz/pogamut_files/AB2011/01-ResponsiveBot.zip|ResponsiveBot project]] **Lecture 2** [[http://diana.ms.mff.cuni.cz/pogamut_files/lectures/2010-2011/Pogamut3_Lecture_02.pdf|(PDF)]] * Navigation inside UT2004 using Pogamut platform * navigation graphs, NavPoint, Item * listeners, annotations * PathExecutor, PathPlanner * Explore [[http://diana.ms.mff.cuni.cz/pogamut_files/latest/doc/tutorials/ResponsiveBotTutorial.html|ResponsiveBot]] * see how you may listen for events from UT2004 * Explore [[http://diana.ms.mff.cuni.cz/pogamut_files/latest/doc/tutorials/02-navigationBot.html|NavigationBot]] * see how you can use PathExecutor and PathPlanner * **Homework**: * Collector+Retaliator bot behavior * Do your homework :-) * Downloads: [[http://artemis.ms.mff.cuni.cz/pogamut_files/AB2011/02-NavigationBot.zip|NavigationBot project]] **Lecture 3** [[http://diana.ms.mff.cuni.cz/pogamut_files/lectures/2010-2011/Pogamut3_Lecture_03.pdf|(PDF)]] * Advanced weapon handling and shooting in Pogamut * Tips and tricks + helper objects (Cooldown, Heatup) * ItemType, Category + item/weapons descriptors * **Homework**: * Basic hunter bot * bot is picking up items + shooting at players * Downloads: [[http://artemis.ms.mff.cuni.cz/pogamut_files/AB2011/04-HunterBot.zip|HunterBot project]] **Lecture 4** [[http://diana.ms.mff.cuni.cz/pogamut_files/lectures/2010-2011/Pogamut3_Lecture_04.pdf|(PDF)]] * Advanced path finding - approaching and fleeing * We have looked how to make your own ControlConnection ([[http://diana.ms.mff.cuni.cz/pogamut_files/latest/doc/tutorials/06-ControlConnection.html|see tutorial]]) * DeathMatch1vs1 class [[http://diana:8081/artifactory/libs-release-local/archetype-catalog.xml|get archetype here]] (does not work ... and probably won't be working, so just keep working on your bots) * **Homework**: * Make your own bot tournament using DeathMatch1vs1 or DeathMatch1vsnative archetypes and send us results (does not work ... and probably won't be working, so just keep working on your bots) * Downloads: [[http://artemis.ms.mff.cuni.cz/pogamut_files/AB2011/05-DeathMatch1v1.zip|DeathMatch-1v1 project]], [[http://artemis.ms.mff.cuni.cz/pogamut_files/AB2011/06-DeathMatch1vNative.zip|DeathMatch-1vNative project]] **Lecture 5** [[http://diana.ms.mff.cuni.cz/pogamut_files/lectures/2010-2011/Pogamut3_Lecture_05.pdf|(PDF)]] * A gentle introduction to POSH * POSH basics and primitives * Using POSH to code a bot * see [[http://diana.ms.mff.cuni.cz/pogamut_files/latest/doc/tutorials/ch11.html|POSH tutorial]] * **Homework**: * Create simple hunter bot with POSH * Add basic item collection behavior * Add basic combat behavior * Downloads: [[http://artemis.ms.mff.cuni.cz/pogamut_files/AB2011/07-SPOSH-Prey.zip|SPOSH Bot project]] **Lecture 6** [[http://diana.ms.mff.cuni.cz/pogamut_files/lectures/2010-2011/Pogamut3_Lecture_06.pdf|(PDF)]] (LAST lecture) * We have looked onto CTF game type * Pogamut CTF game type support * Using POSH to code a CTF bot. * **Homework**: * Create your own CTF botin POSH (use map CTF-FaceClassic) * Provide item collector behavior + simple combat behavior * Provide CTF game type behavior * Can you make the botso good, he will beat you? (with highest skill level set) * Downloads: [[http://artemis.ms.mff.cuni.cz/pogamut_files/AB2011/09-CTFBot.zip|CTF Bot project]] ======FAQ====== **Q:** How to get account in our computer laboratory for non-MFF students? \\ **A:** \\ * **a)** Print and fill up this form: http://www.ms.mff.cuni.cz/students/externisti.html.cs * **b)** Get the network administrator of students school to sign the form above (if you are unable to get the signature, then ask Cyril Brom) * **c)** Go to the SISAL, Mala Strana, fourth floor - in the corridor in the back and there they will create an account for you\\ ---- **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 : * **Group Id:** cz.cuni.amis.pogamut.ut2004.examples * **Artifact Id:** 00-empty-bot-archetype * **Version:** 3.2.3 * **Repository:** http://diana.ms.mff.cuni.cz:8081/artifactory/repo Full list of available archetypes can be found [[http://diana.ms.mff.cuni.cz:8081/artifactory/libs-snapshot-local/archetype-catalog.xml|here]]. (always use repository above) Also be sure that NetBeans is using Maven 3.0.2! Obtain Maven from here: [[http://archive.apache.org/dist/maven/binaries/|Maven 3.0.2]]. 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. ---- **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 ======Acknowledgement====== 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. {{:lectures:loga.png|}} **Evropský sociální fond** \\ **Praha & EU: Investujeme do vaší budoucnosti**