remance / Masendor

Open source educational and historical battle action game, All helps accepted
MIT License
143 stars 32 forks source link

Question? #30

Closed Hamster-lord closed 1 year ago

Hamster-lord commented 1 year ago

why does this happen in the run: [Errno 2] No such file or directory: '/Users/Emma/Documents/GitHub/HamsterBattleGame/data/map/weather/matter/Wet Fog' [Errno 2] No such file or directory: '/Users/Emma/Documents/GitHub/HamsterBattleGame/data/map/weather/matter/Sandstorm' [Errno 2] No such file or directory: '/Users/Emma/Documents/GitHub/HamsterBattleGame/data/map/weather/effect/Sandstorm' [Errno 2] No such file or directory: '/Users/Emma/Documents/GitHub/HamsterBattleGame/data/map/weather/matter/Wet Fog' [Errno 2] No such file or directory: '/Users/Emma/Documents/GitHub/HamsterBattleGame/data/map/weather/matter/Sandstorm' [Errno 2] No such file or directory: '/Users/Emma/Documents/GitHub/HamsterBattleGame/data/map/weather/effect/Sandstorm'

remance commented 1 year ago

I set the file reader to print error message when it can not find input folder for error checking and bugs fix. You can ignore these ones since it just something that haven't been implemented yet.

Hamster-lord commented 1 year ago

ok

Hamster-lord commented 1 year ago

WHat works in the historical projeect?

Hamster-lord commented 1 year ago

Is it just me or the arrows that the archers are shooting in tactical going backwards?

remance commented 1 year ago

Hmm I remember already fixing that issue but maybe there is still bug on that. I will have a look again. Any chance you can describe when that happen? like when you zoom in/out or something. What do you mean historical project?

remance commented 1 year ago

Ok, nevermind manage to see it now. Seem to be an issue with angle rotation.

remance commented 1 year ago

Thanks for mentioning the bug. The newest update should fix it.

Hamster-lord commented 1 year ago

it's okay

Hamster-lord commented 1 year ago

I got this in the tactical thing

Hamster-lord commented 1 year ago

Ruleset: Historical, Mode: tactical Map: Testmap, Source: Modern Historians, Character: None 2023-01-06 14:02 -- Empty method is called /Users/Emma/Documents/GitHub/HamsterBattleGame/gamescript/common/battle/generate_unit.pyAt Line35:generate_unit2023-01-06 14:02 -- Empty method is called /Users/Emma/Documents/GitHub/HamsterBattleGame/gamescript/common/battle/generate_unit.pyAt Line35:generate_unit2023-01-06 14:02 -- Empty method is called /Users/Emma/Documents/GitHub/HamsterBattleGame/gamescript/common/battle/generate_unit.pyAt Line35:generate_unit2023-01-06 14:02 -- Empty method is called /Users/Emma/Documents/GitHub/HamsterBattleGame/gamescript/common/battle/generate_unit.pyAt Line35:generate_unit2023-01-06 14:02 -- Empty method is called /Users/Emma/Documents/GitHub/HamsterBattleGame/gamescript/common/battle/generate_unit.pyAt Line35:generate_unit2023-01-06 14:02 -- Empty method is called /Users/Emma/Documents/GitHub/HamsterBattleGame/gamescript/common/battle/generate_unit.pyAt Line35:generate_unit2023-01-06 14:02 -- Empty method is called /Users/Emma/Documents/GitHub/HamsterBattleGame/gamescript/common/battle/generate_unit.pyAt Line35:generate_unit2023-01-06 14:02 -- Empty method is called /Users/Emma/Documents/GitHub/HamsterBattleGame/gamescript/common/battle/generate_unit.pyAt Line35:generate_unit2023-01-06 14:02 -- Empty method is called /Users/Emma/Documents/GitHub/HamsterBattleGame/gamescript/common/battle/generate_unit.pyAt Line35:generate_unit2023-01-06 14:02 -- Empty method is called /Users/Emma/Documents/GitHub/HamsterBattleGame/gamescript/common/battle/generate_unit.pyAt Line35:generate_unit2023-01-06 14:02 -- Empty method is called /Users/Emma/Documents/GitHub/HamsterBattleGame/gamescript/common/battle/generate_unit.pyAt Line35:generate_unit2023-01-06 14:02 -- Empty method is called /Users/Emma/Documents/GitHub/HamsterBattleGame/gamescript/common/battle/generate_unit.pyAt Line35:generate_unit2023-01-06 14:02 -- Empty method is called /Users/Emma/Documents/GitHub/HamsterBattleGame/gamescript/common/battle/generate_unit.pyAt Line35:generate_unit2023-01-06 14:02 -- Empty method is called /Users/Emma/Documents/GitHub/HamsterBattleGame/gamescript/common/battle/generate_unit.pyAt Line35:generate_unit2023-01-06 14:02 -- Empty method is called /Users/Emma/Documents/GitHub/HamsterBattleGame/gamescript/common/battle/generate_unit.pyAt Line35:generate_unit2023-01-06 14:02 -- Empty method is called /Users/Emma/Documents/GitHub/HamsterBattleGame/gamescript/common/battle/generate_unit.pyAt Line35:generate_unit2023-01-06 14:02 -- Empty method is called /Users/Emma/Documents/GitHub/HamsterBattleGame/gamescript/common/battle/generate_unit.pyAt Line35:generate_unit2023-01-06 14:02 -- Empty method is called /Users/Emma/Documents/GitHub/HamsterBattleGame/gamescript/common/battle/generate_unit.pyAt Line35:generate_unit2023-01-06 14:02 -- Empty method is called /Users/Emma/Documents/GitHub/HamsterBattleGame/gamescript/common/battle/generate_unit.pyAt Line35:generate_unit2023-01-06 14:02 -- Empty method is called /Users/Emma/Documents/GitHub/HamsterBattleGame/gamescript/common/battle/generate_unit.pyAt Line35:generate_unit!! Traceback (most recent call last): !! File "/Users/Emma/Documents/GitHub/HamsterBattleGame/main.py", line 12, in game.Game(main_dir, error_log) !! File "/Users/Emma/Documents/GitHub/HamsterBattleGame/gamescript/game.py", line 744, in init self.run() !! File "/Users/Emma/Documents/GitHub/HamsterBattleGame/gamescript/game.py", line 1151, in run self.menu_team_select(mouse_left_up, mouse_left_down, mouse_scroll_up, mouse_scroll_down, esc_press) !! File "/Users/Emma/Documents/GitHub/HamsterBattleGame/gamescript/common/game/menu_team_select.py", line 78, in menu_team_select self.start_battle() !! File "/Users/Emma/Documents/GitHub/HamsterBattleGame/gamescript/common/game/start_battle.py", line 13, in start_battle self.battle_game.run_game() !! File "/Users/Emma/Documents/GitHub/HamsterBattleGame/gamescript/battle.py", line 944, in run_game self.subunit_updater.update(self.current_weather, self.dt, self.camera_zoom, !! File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pygame/sprite.py", line 539, in update sprite.update(*args, **kwargs) !! File "/Users/Emma/Documents/GitHub/HamsterBattleGame/gamescript/subunit.py", line 691, in update self.attack("range") !! File "/Users/Emma/Documents/GitHub/HamsterBattleGame/gamescript/common/subunit/attack.py", line 27, in attack damagesprite.DamageSprite(self, weapon, self.weapon_dmg[weapon], !! File "/Users/Emma/Documents/GitHub/HamsterBattleGame/gamescript/damagesprite.py", line 111, in init target_now = self.attacker.attack_target.base_pos !! AttributeError: 'NoneType' object has no attribute 'base_pos'

remance commented 1 year ago

Can't seem to replicate this error but the newest update should fix it hopefully.

Hamster-lord commented 1 year ago

ok thx