the_dungeon_project issueshttps://gitlab.crans.org/genie_logiciel_2015/the_dungeon_project/-/issues2018-01-24T06:58:09+01:00https://gitlab.crans.org/genie_logiciel_2015/the_dungeon_project/-/issues/49Impossible to play2018-01-24T06:58:09+01:00Yann RamusatImpossible to playI have this error when clicking on the play button :
Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
at graphics.guiSkeleton.mapManagement.MapDrawer.drawMap(MapDrawer.java:30)
at graphics.guiSkeleton.g...I have this error when clicking on the play button :
Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
at graphics.guiSkeleton.mapManagement.MapDrawer.drawMap(MapDrawer.java:30)
at graphics.guiSkeleton.guiPanel.GamePanel.initialise(GamePanel.java:87)
at graphics.guiSkeleton.GraphicsMaster.setGUIStateTo(GraphicsMaster.java:131)
at graphics.guiSkeleton.GraphicsMaster.changeGUIStateTo(GraphicsMaster.java:118)
at graphics.guiSkeleton.guiPanel.menuPanel.SinglePlayer_MenuPanel.oldPlayButtonAction(SinglePlayer_MenuPanel.java:107)
at graphics.graphical_abstraction.panel.menu.SinglePlayer_MenuPanelAbstractionController.oldPlayButtonPressed(SinglePlayer_MenuPanelAbstractionController.java:25)
at graphics.guiSkeleton.guiPanel.menuPanel.SinglePlayer_MenuPanel$3.actionPerformed(SinglePlayer_MenuPanel.java:57)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6535)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6300)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4891)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4713)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
at java.awt.Container.dispatchEventImpl(Container.java:2280)
at java.awt.Window.dispatchEventImpl(Window.java:2750)
at java.awt.Component.dispatchEvent(Component.java:4713)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.NullPointerException
at graphics.guiSkeleton.tileSpriteLinker.TileSprite.checkSprite(TileSprite.java:95)
at graphics.guiSkeleton.tileSpriteLinker.GroundTileSprite.<init>(GroundTileSprite.java:16)
at graphics.guiSkeleton.tileSpriteLinker.TileSpriteLinker.<init>(TileSpriteLinker.java:32)
at graphics.guiSkeleton.tileSpriteLinker.TileSpriteLinker.<clinit>(TileSpriteLinker.java:17)
... 43 morehttps://gitlab.crans.org/genie_logiciel_2015/the_dungeon_project/-/issues/50Split Map Generation and Entities generation - check intial position solution2018-01-24T06:58:09+01:00Arnaud GuerquinSplit Map Generation and Entities generation - check intial position solutionThere's two problem with the current project map generation:
* Map contains a list of entities. It think it should be better if instead there were a function GameState spawnEntities(Map m,List<CharacterSpecies>Players) which spawns enti...There's two problem with the current project map generation:
* Map contains a list of entities. It think it should be better if instead there were a function GameState spawnEntities(Map m,List<CharacterSpecies>Players) which spawns entities on the map m. Players is the list of all player's character's species (to check the initial position).
* Map doesn't check if an entity can spawn at one place.
To solve the second problem, I made one function (as of now returns always true but should change):
* in SpeciesArray: static boolean canSpawn(Point p,String speciesName);
Please use them to check if you can make an entity appears at one part of the map.
Lucas DelcrosLucas Delcroshttps://gitlab.crans.org/genie_logiciel_2015/the_dungeon_project/-/issues/55bug at start2018-01-24T06:58:09+01:00Fardalebug at start```
Exception in thread "main" java.lang.NullPointerException
at graphics.guiSkeleton.guiPanel.menuPanel.GameOverPanel.<init>(GameOverPanel.java:30)
at graphics.guiSkeleton.GraphicsMaster.<init>(GraphicsMaster.java:58)
at graphics...```
Exception in thread "main" java.lang.NullPointerException
at graphics.guiSkeleton.guiPanel.menuPanel.GameOverPanel.<init>(GameOverPanel.java:30)
at graphics.guiSkeleton.GraphicsMaster.<init>(GraphicsMaster.java:58)
at graphics.guiSkeleton.GraphicsMaster.build(GraphicsMaster.java:62)
at graphics.guiSkeleton.Igniter_Main.main(Igniter_Main.java:21)
```Thomas DupriezThomas Dupriezhttps://gitlab.crans.org/genie_logiciel_2015/the_dungeon_project/-/issues/33Can't launch the game2015-12-07T21:42:08+01:00Arnaud GuerquinCan't launch the gameNothing happens when I press play after creating a single player game.Nothing happens when I press play after creating a single player game.Lucas DelcrosLucas Delcros