Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

DUGA

A retro first person shooter with roguelike elements · By MaxwellSalmon

not working

A topic by poppybless created Jan 22, 2020 Views: 234 Replies: 1
Viewing posts 1 to 2

downloaded on mac and its saying there are errors on some lines .

WARNING:root:DUGA has crashed. Please send this report to MaxwellSalmon, so he can fix it.
ERROR:root:Error message: 
Traceback (most recent call last):
  File "/Users/Grant/Desktop/DUGA-master/MAIN.py", line 466, in main_loop
    update_game()
  File "/Users/Grant/Desktop/DUGA-master/MAIN.py", line 321, in update_game
    gameLoad.load_new_level()
  File "/Users/Grant/Desktop/DUGA-master/MAIN.py", line 118, in load_new_level
    self.get_canvas_size()
  File "/Users/Grant/Desktop/DUGA-master/MAIN.py", line 82, in get_canvas_size
    SETTINGS.player_pos[0] = int((SETTINGS.levels_list[SETTINGS.current_level].player_pos[0] * SETTINGS.tile_size) + SETTINGS.tile_size/2)
TypeError: 'NoneType' object is not subscriptable
WARNING:root:DUGA has crashed. Please send this report to MaxwellSalmon, so he can fix it.
ERROR:root:Error message: 
Traceback (most recent call last):
  File "/Users/Grant/Desktop/DUGA-master/MAIN.py", line 466, in main_loop
    update_game()
  File "/Users/Grant/Desktop/DUGA-master/MAIN.py", line 321, in update_game
    gameLoad.load_new_level()
  File "/Users/Grant/Desktop/DUGA-master/MAIN.py", line 118, in load_new_level
    self.get_canvas_size()
  File "/Users/Grant/Desktop/DUGA-master/MAIN.py", line 82, in get_canvas_size
    SETTINGS.player_pos[0] = int((SETTINGS.levels_list[SETTINGS.current_level].player_pos[0] * SETTINGS.tile_size) + SETTINGS.tile_size/2)
TypeError: 'NoneType' object is not subscriptable

Developer

Thank you for reporting this. Does the game crash immediately after starting a new level or later on?

I am doubt I can fix this, due to it being the Mac version. I did not compile the version myself, as I do not have access to a Mac computer. However, if you are able to run the source code (requires Python 3.x and Pygame) please let me know if the error occurs again.