harfang3d / dogfight-sandbox-hg1

Air to air combat game, created in Python 3 using HARFANG 3D.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crash after launch

Hadrien45 opened this issue · comments

Hi,

I try to launch this game but errors occurred when I launch main.py.

System : Windows 10 64bit
Python 3.5.4 (v3.5.4:3f56838, Aug 8 2017, 02:17:05) [MSC v.1900 64 bit (AMD64)] on win32.
Harfang3d was installed with pip.

(0:002:385:182) Harfang core 1.0.0 (build 9735874620aad2c6c44ff01433eec6fd183d186f Mar 26 2018 11:48:43)
(0:015:706:016) See http://harfang3d.com/license for licensing terms
(0:222:431:854) Load plugins from 7 default paths
(0:228:652:856) Scanning for plugin in 'c:/Users/movida-user/Desktop/dogfight/source/'...
(0:240:310:455) 0 plugin(s) loaded
(0:244:495:813) Scanning for plugin in 'c:/Users/movida-user/Desktop/dogfight/source/harfang/'...
(0:256:022:629) 0 plugin(s) loaded
(0:260:613:239) Scanning for plugin in 'c:/Users/movida-user/AppData/Local/Programs/Python/Python35/python35.zip/harfang/'...
(0:275:764:159) 0 plugin(s) loaded
(0:279:670:649) Scanning for plugin in 'c:/Users/movida-user/AppData/Local/Programs/Python/Python35/DLLs/harfang/'...
(0:294:260:022) 0 plugin(s) loaded
(0:298:480:862) Scanning for plugin in 'c:/Users/movida-user/AppData/Local/Programs/Python/Python35/lib/harfang/'...
(0:312:530:680) 0 plugin(s) loaded
(0:316:413:419) Scanning for plugin in 'c:/Users/movida-user/AppData/Local/Programs/Python/Python35/harfang/'...
(0:331:166:417) 0 plugin(s) loaded
(0:335:213:074) Scanning for plugin in 'c:/Users/movida-user/AppData/Local/Programs/Python/Python35/lib/site-packages/harfang/'...
(0:360:462:750)  - Plugin OpenAL [OpenAL mixer] version 1.0
(0:376:956:691)  - Plugin Bullet Dynamics [Bullet Dynamics physic system] version 2.83
(0:397:097:022)  - Plugin OpenGL [OpenGL renderer] version 1.0
(0:414:307:632)  - Plugin IJG [jpeg decoder (jpeglib)] version 9.1
(0:434:145:930)  - Plugin OpenVR [OpenVR frame renderer] version 0.9.2
(0:452:394:009)  - Plugin stb_audio [Ogg Vorbis decoder (stb_vorbis.h)] version 1.04
(0:471:997:718)  - Plugin stb_image [jpeg/png/tga/PSD decoder (stb_image.h)] version 2.16
(0:491:077:121)  - Plugin WAV [WAV decoder] version 1.0.0
(0:505:920:143)  - Plugin WebM [WebM movie] version 1.0.0
(0:523:334:845)  - Plugin XInput [XInput input system] version 1.0
(0:540:173:045)  - Plugin XMP [IT/XM/MOD/S3M decoder (libxmp-lite)] version 4.3.4
(0:549:453:086) 11 plugin(s) loaded
(0:555:150:662) 11 plugin(s) loaded
(0:559:514:014) Mount root driver 000001D9AB36B540 (relative to '')
(0:916:971:095) Mount driver 000001D9AC502AB0 on prefix @core/ (relative to '')
(1:563:159:232) OnWindowFocus(handle: 00000000001B03C0) focus_in: 1
Traceback (most recent call last):
  File "C:\Users\movida-user\Desktop\dogfight\source\main.py", line 1357, in <module>
    init_game(plus)
  File "C:\Users\movida-user\Desktop\dogfight\source\main.py", line 110, in init_game
    init_scene(plus)
  File "C:\Users\movida-user\Desktop\dogfight\source\main.py", line 263, in init_scene
    Main.clouds = Clouds(plus, Main.scene, Main.resolution, clouds_parameters)
  File "C:\Users\movida-user\Desktop\dogfight\source\Clouds.py", line 450, in __init__
    self.layers.append(CloudsLayer(plus, scene, layer_params))
  File "C:\Users\movida-user\Desktop\dogfight\source\Clouds.py", line 220, in __init__
    self.name + "." + str(i))
  File "C:\Users\movida-user\Desktop\dogfight\source\Clouds.py", line 255, in create_particles
    node, geo = load_object(plus, file_name, name + "." + str(i), True)
  File "C:\Users\movida-user\Desktop\dogfight\source\data_converter.py", line 79, in load_object
    hg.LoadGeometry(geo,geometry_file_name)
RuntimeError: incorrect number of arguments to function LoadGeometry

Thanks

Good catch !
This was due to a call of LoadGeometry() using an obsolete syntax.