#80 CTD on bomb explosion

Closed
opened 2 months ago by eugeneloza · 2 comments

A goblin bobmer threw a bomb, and when it should have exploded:

###############################################
Traceback (most recent call last):
  File "/home/eugene/rogueboxadventures/main.py", line 13375, in <module>
    main()
  File "/home/eugene/rogueboxadventures/main.py", line 13359, in main
    test = player.user_input()
  File "/home/eugene/rogueboxadventures/main.py", line 9737, in user_input
    time.tick()
  File "/home/eugene/rogueboxadventures/main.py", line 12797, in tick
    if world.maplist[player.pos[2]][player.on_map].npcs[yy][xx].techID == ml.mlist['special'][14].techID: #this is a demonic chest
AttributeError: 'int' object has no attribute 'techID'

P.S. There were no demonic chests around.

A goblin bobmer threw a bomb, and when it should have exploded: ``` ############################################### Traceback (most recent call last): File "/home/eugene/rogueboxadventures/main.py", line 13375, in <module> main() File "/home/eugene/rogueboxadventures/main.py", line 13359, in main test = player.user_input() File "/home/eugene/rogueboxadventures/main.py", line 9737, in user_input time.tick() File "/home/eugene/rogueboxadventures/main.py", line 12797, in tick if world.maplist[player.pos[2]][player.on_map].npcs[yy][xx].techID == ml.mlist['special'][14].techID: #this is a demonic chest AttributeError: 'int' object has no attribute 'techID' ``` P.S. There were no demonic chests around.
themightyglider commented 2 months ago
Owner

This should be fixed now. Please let me know if it works.

EDIT: Fixed typo

This should be fixed now. Please let me know if it works. EDIT: Fixed typo
themightyglider commented 1 month ago
Owner

No new reports for now. I'm going to close this issue.

No new reports for now. I'm going to close this issue.
Sign in to join this conversation.
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.