MatinAfzal / OpenUniverse

3D Infinite Computer Universe
MIT License
38 stars 6 forks source link

مشکل در اجرای بازی #5

Open amirhoseini1385 opened 1 month ago

amirhoseini1385 commented 1 month ago

من بعد از اجرای موتور با cmd این خطا رو دریافت میکنم

C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main>python OpenUniverse.py pygame 2.5.2 (SDL 2.28.3, Python 3.11.4) Hello from the pygame community. https://www.pygame.org/contribute.html

 ___ ___ ___

////| ////|| /// /|/| | | | | /|| |__|||/|/| | | | | /|| ||||/|/ | | | | / |||___|/ OpenUniverse V1.8.8-beta

Project repo: https://github.com/MatinAfzal/OpenUniverse Starting Engine... Starting at:2024-08-26 02:20:03.086770

OpenUniverse Control Guide:
    movement: w - a - s - d
    yaw & pitch: mouse
    world main axes: x  (0.3 second interrupt)
    face culling: c     (0.3 second interrupt)
    view mode: v        (GL_POINTS, GL_LINES, GL_TRIANGLES) (0.3 second interrupt)
    camera info: z      (1 second interrupt)
    light control: l    (Pause, Grab, PLace, Continue) (0.3 second interrupt)
    memory info: m      (1 second interrupt)
    live debugger: F3   (UNAVAILABLE V1.2.3-beta)
    builder mode: b     (0.3 second interrupt)
        - Change block: MouseRightClick
        - Place Block: MouseLeftClick
        - Distance: MouseScroll

---Begin of ENGINE_STATUS_PRINT (ESP) logs--- Attaching Objects... Attaching Objects... Building Trees (Multiple Level.Trees Callings) at 2024-08-26 02:20:03.823286... Building Chunks (Multiple Level.Chunk Callings) at 2024-08-26 02:20:03.823286... Building Trees ended at 2024-08-26 02:20:05.315899... Building Chunks ended at 2024-08-26 02:20:13.413446... Loading Screen... Loading Files... Loading Shaders... creating Program... Compile Program... Compile Program... Program Created, program_id: 3 creating Program... Compile Program... Compile Program... Program Created, program_id: 6 Loading Entities... Loading Axes... Building Mesh... Loading light... Loading Camera... Loading Objects... Building Mesh... Traceback (most recent call last): File "C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\OpenUniverse.py", line 431, in MultiShaders().mainloop() ^^^^^^^^^^^^^^ File "C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\OpenUniverse.py", line 128, in init self.cube0 = LoadObject( ^^^^^^^^^^^ File "C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\Engine2\LoadObject.py", line 40, in init super().init(vertices, File "C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\Engine2\Mesh.py", line 55, in init colors.create_variable(self.material.program_id, "vertex_color") File "C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\Engine2\DataHandler.py", line 22, in create_variable glVertexAttribPointer(variable_id, 3, GL_FLOAT, False, 0, None) File "C:\Users\amirh\AppData\Local\Programs\Python\Python311\Lib\site-packages\OpenGL\latebind.py", line 63, in call return self.wrapperFunction( self.baseFunction, *args, *named ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\amirh\AppData\Local\Programs\Python\Python311\Lib\site-packages\OpenGL\GL\VERSION\GL_2_0.py", line 470, in glVertexAttribPointer return baseOperation( ^^^^^^^^^^^^^^ File "C:\Users\amirh\AppData\Local\Programs\Python\Python311\Lib\site-packages\OpenGL\latebind.py", line 43, in call return self._finalCall( args, *named ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\amirh\AppData\Local\Programs\Python\Python311\Lib\site-packages\OpenGL\wrapper.py", line 700, in wrapperCall raise err File "C:\Users\amirh\AppData\Local\Programs\Python\Python311\Lib\site-packages\OpenGL\wrapper.py", line 693, in wrapperCall result = wrappedOperation( cArguments ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\amirh\AppData\Local\Programs\Python\Python311\Lib\site-packages\OpenGL\error.py", line 230, in glCheckError raise self._errorClass( OpenGL.error.GLError: GLError( err = 1281, description = b'invalid value', baseOperation = glVertexAttribPointer, pyArgs = ( -1, 3, GL_FLOAT, False, 0, c_void_p(None), ), cArgs = ( -1, 3, GL_FLOAT, False, 0, c_void_p(None), ), cArguments = ( -1, 3, GL_FLOAT, False, 0, c_void_p(None), ) )

MatinAfzal commented 1 month ago

من بعد از اجرای موتور با cmd این خطا رو دریافت میکنم

C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main>python OpenUniverse.py

pygame 2.5.2 (SDL 2.28.3, Python 3.11.4) Hello from the pygame community. https://www.pygame.org/contribute.html

 ___ ___ ___

////| ////|| ///_ /|/| | | | | /|| ||||/|/| | | | | /|| ||||/|/ | | | | / ||_|___|/ OpenUniverse V1.8.8-beta

Project repo: https://github.com/MatinAfzal/OpenUniverse Starting Engine... Starting at:2024-08-26 02:20:03.086770

OpenUniverse Control Guide:
    movement: w - a - s - d
    yaw & pitch: mouse
    world main axes: x  (0.3 second interrupt)
    face culling: c     (0.3 second interrupt)
    view mode: v        (GL_POINTS, GL_LINES, GL_TRIANGLES) (0.3 second interrupt)
    camera info: z      (1 second interrupt)
    light control: l    (Pause, Grab, PLace, Continue) (0.3 second interrupt)
    memory info: m      (1 second interrupt)
    live debugger: F3   (UNAVAILABLE V1.2.3-beta)
    builder mode: b     (0.3 second interrupt)
        - Change block: MouseRightClick
        - Place Block: MouseLeftClick
        - Distance: MouseScroll

---Begin of ENGINE_STATUS_PRINT (ESP) logs--- Attaching Objects... Attaching Objects... Building Trees (Multiple Level.Trees Callings) at 2024-08-26 02:20:03.823286... Building Chunks (Multiple Level.Chunk Callings) at 2024-08-26 02:20:03.823286... Building Trees ended at 2024-08-26 02:20:05.315899... Building Chunks ended at 2024-08-26 02:20:13.413446... Loading Screen... Loading Files... Loading Shaders... creating Program... Compile Program... Compile Program... Program Created, program_id: 3 creating Program... Compile Program... Compile Program... Program Created, program_id: 6 Loading Entities... Loading Axes... Building Mesh... Loading light... Loading Camera... Loading Objects... Building Mesh... Traceback (most recent call last): File "C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\OpenUniverse.py", line 431, in MultiShaders().mainloop() ^^^^^^^^^^^^^^ File "C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\OpenUniverse.py", line 128, in init self.cube0 = LoadObject( ^^^^^^^^^^^ File "C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\Engine2\LoadObject.py", line 40, in init super().init(vertices, File "C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\Engine2\Mesh.py", line 55, in init colors.create_variable(self.material.program_id, "vertex_color") File "C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\Engine2\DataHandler.py", line 22, in create_variable glVertexAttribPointer(variable_id, 3, GL_FLOAT, False, 0, None) File "C:\Users\amirh\AppData\Local\Programs\Python\Python311\Lib\site-packages\OpenGL\latebind.py", line 63, in call return self.wrapperFunction( self.baseFunction, *args, named ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\amirh\AppData\Local\Programs\Python\Python311\Lib\site-packages\OpenGL\GL\VERSION\GL_2_0.py", line 470, in glVertexAttribPointer return baseOperation( ^^^^^^^^^^^^^^ File "C:\Users\amirh\AppData\Local\Programs\Python\Python311\Lib\site-packages\OpenGL\latebind.py", line 43, in call* return self._finalCall( args, *named ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\amirh\AppData\Local\Programs\Python\Python311\Lib\site-packages\OpenGL\wrapper.py", line 700, in wrapperCall raise err File "C:\Users\amirh\AppData\Local\Programs\Python\Python311\Lib\site-packages\OpenGL\wrapper.py", line 693, in wrapperCall result = wrappedOperation( cArguments ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\amirh\AppData\Local\Programs\Python\Python311\Lib\site-packages\OpenGL\error.py", line 230, in glCheckError raise self._errorClass( OpenGL.error.GLError: GLError( err = 1281, description = b'invalid value', baseOperation = glVertexAttribPointer, pyArgs = ( -1, 3, GL_FLOAT, False, 0, c_void_p(None), ), cArgs = ( -1, 3, GL_FLOAT, False, 0, c_void_p(None), ), cArguments = ( -1, 3, GL_FLOAT, False, 0, c_void_p(None), ) )

Dear Amir Hossein, thank you for your presence in the project and for opening this issue. I will try to solve your problem.

First, before my answer, you may have come across two comments from two other users on GitHub that invite you to install the program from a link to solve the problem. Still, according to the information in this link, it may be important information. May you be dangerous! If you install this app, please visit our Discord immediately! 🛑

In the next step, I would like you to send the specifications of your system (CPU model, amount of RAM, operating system, graphics card model) along with ESP Logs so that I can guide you better.


امیر حسین عزیز ممنون از حضور شما در پروژه و افتتاح این شماره. من سعی می کنم مشکل شما را حل کنم.

در مرحله اول، قبل از پاسخ من، ممکن است با دو نظر از دو کاربر دیگر در GitHub مواجه شده باشید که شما را به نصب برنامه از یک لینک برای حل مشکل دعوت می کند، اما با توجه به اطلاعات این لینک ممکن است اطلاعات مهم شما تحت خطر باشد ! اگر این برنامه را نصب کردید، لطفاً فوراً به Discord ما مراجعه کنید! 🛑

در مرحله بعد از شما می خواهم مشخصات سیستم خود (مدل سی پی یو، میزان رم، سیستم عامل، مدل کارت گرافیک) را به همراه ESP Logs بفرستید تا بهتر راهنماییتان کنم.

MatinAfzal commented 1 month ago

من در ادامه لیست کاملی از راه حل ها را برای برطرف کردن مشکلتون ارائه میدم.

در نظر داشته باشید که طبق اطلاعات داده شده در صفحه readme پروژه، OpenUniverse یک بازی نیست!

در صورت برطرف نشدن مشکل، اطلاعات سخت افزار ماشینتون رو به همراه ESP Logs در اختیار ما بگذارید ❤️


I am providing a complete list of solutions to address your issue:

Please note that according to the project’s README, OpenUniverse is not a game! If the issue persists, please provide your hardware specifications along with ESP logs. ❤️

amirhoseini1385 commented 1 month ago

سلام مشخصات سیستم من به این صورت هست Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz 2.11 GHz 8GB ddr4 گرافیک انبرد و تا 6 گیگ شیر میشه

amirhoseini1385 commented 1 month ago

یعنی واقعا برای اجرای این انجین من باید انقدر سیستمم قوی باشه یا خدا

MatinAfzal commented 1 month ago

سلام مشخصات سیستم من به این صورت هست Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz 2.11 GHz 8GB ddr4 گرافیک انبرد و تا 6 گیگ شیر میشه

مشخصات سیستمتون برای اجرا کردن موتور کافیه، در نظر داشته باشید که با هر مشخصاتی باید بتونید موتور رو اجرا کنید و فقط در صورت نداشتن سخت افزار لازم ممکنه با کمی افت FPS مواجه بشید، ایا تمامی راه های توضیح داده شده رو امتحان کردید؟

MatinAfzal commented 1 month ago

یعنی واقعا برای اجرای این انجین من باید انقدر سیستمم قوی باشه یا خدا

دقت کنید که این پروژه در وضعیت beta قرار داره و قطعا نباز به تغییرات زیادی داره اما 2GB مقدار VRAM نیاز به سیستم قدرتمندی نداره، میتونید از داخل فایل Settings2.py مقدار TREE و CHUNK ها رو کمتر کنید.

amirhoseini1385 commented 1 month ago

سلام من از محیط استفاده کردم و تمام نیازمندی هارو با فایل requirements.txt نصب کردم اما مشکل من هنوز برطرف نشده و هنوز پابرجا هست من فایل رو به درستی اکسترکت کردم و دلیل مسیر فایل این هست که با دانلود منیجر دانلود کردم و فایل فشرده داخل پوشه compressed ذخیره شده (openu) C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\openu>python OpenUniverse.py pygame 2.5.2 (SDL 2.28.3, Python 3.11.4) Hello from the pygame community. https://www.pygame.org/contribute.html

 ___ ___ ___

////| ////|| /// /|/| | | | | /|| |__|||/|/| | | | | /|| ||||/|/ | | | | / |||___|/ OpenUniverse V1.8.8-beta

Project repo: https://github.com/MatinAfzal/OpenUniverse Starting Engine... Starting at:2024-08-28 01:41:23.142926

OpenUniverse Control Guide:
    movement: w - a - s - d
    yaw & pitch: mouse
    world main axes: x  (0.3 second interrupt)
    face culling: c     (0.3 second interrupt)
    view mode: v        (GL_POINTS, GL_LINES, GL_TRIANGLES) (0.3 second interrupt)
    camera info: z      (1 second interrupt)
    light control: l    (Pause, Grab, PLace, Continue) (0.3 second interrupt)
    memory info: m      (1 second interrupt)
    live debugger: F3   (UNAVAILABLE V1.2.3-beta)
    builder mode: b     (0.3 second interrupt)
        - Change block: MouseRightClick
        - Place Block: MouseLeftClick
        - Distance: MouseScroll

---Begin of ENGINE_STATUS_PRINT (ESP) logs--- Attaching Objects... Attaching Objects... Building Trees (Multiple Level.Trees Callings) at 2024-08-28 01:41:23.681246... Building Trees ended at 2024-08-28 01:41:23.702697... Building Chunks (Multiple Level.Chunk Callings) at 2024-08-28 01:41:23.807416... Building Chunks ended at 2024-08-28 01:41:24.222307... Loading Screen... Loading Files... Loading Shaders... creating Program... Compile Program... Compile Program... Program Created, program_id: 3 creating Program... Compile Program... Compile Program... Program Created, program_id: 6 Loading Entities... Loading Axes... Building Mesh... Loading light... Loading Camera... Loading Objects... Building Mesh... Traceback (most recent call last): File "C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\openu\OpenUniverse.py", line 431, in MultiShaders().mainloop() ^^^^^^^^^^^^^^ File "C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\openu\OpenUniverse.py", line 128, in init self.cube0 = LoadObject( ^^^^^^^^^^^ File "C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\openu\Engine2\LoadObject.py", line 40, in init super().init(vertices, File "C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\openu\Engine2\Mesh.py", line 55, in init colors.create_variable(self.material.program_id, "vertex_color") File "C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\openu\Engine2\DataHandler.py", line 22, in create_variable glVertexAttribPointer(variable_id, 3, GL_FLOAT, False, 0, None) File "C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\openu\Lib\site-packages\OpenGL\latebind.py", line 63, in call return self.wrapperFunction( self.baseFunction, *args, *named ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\openu\Lib\site-packages\OpenGL\GL\VERSION\GL_2_0.py", line 470, in glVertexAttribPointer return baseOperation( ^^^^^^^^^^^^^^ File "C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\openu\Lib\site-packages\OpenGL\latebind.py", line 43, in call return self._finalCall( args, *named ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\openu\Lib\site-packages\OpenGL\wrapper.py", line 700, in wrapperCall raise err File "C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\openu\Lib\site-packages\OpenGL\wrapper.py", line 693, in wrapperCall result = wrappedOperation( cArguments ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\openu\Lib\site-packages\OpenGL\error.py", line 230, in glCheckError raise self._errorClass( OpenGL.error.GLError: GLError( err = 1281, description = b'invalid value', baseOperation = glVertexAttribPointer, pyArgs = ( -1, 3, GL_FLOAT, False, 0, c_void_p(None), ), cArgs = ( -1, 3, GL_FLOAT, False, 0, c_void_p(None), ), cArguments = ( -1, 3, GL_FLOAT, False, 0, c_void_p(None), ) )

(openu) C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\openu>

MatinAfzal commented 1 month ago

سلام من از محیط استفاده کردم و تمام نیازمندی هارو با فایل requirements.txt نصب کردم اما مشکل من هنوز برطرف نشده و هنوز پابرجا هست

من فایل رو به درستی اکسترکت کردم و دلیل مسیر فایل این هست که با دانلود منیجر دانلود کردم و فایل فشرده داخل پوشه compressed ذخیره شده (openu) C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\openu>python OpenUniverse.py pygame 2.5.2 (SDL 2.28.3, Python 3.11.4) Hello from the pygame community. https://www.pygame.org/contribute.html

 ___ ___ ___

////| ////|| ///_ /|/| | | | | /|| ||||/|/| | | | | /|| ||||/|/ | | | | / ||_|___|/ OpenUniverse V1.8.8-beta

Project repo: https://github.com/MatinAfzal/OpenUniverse Starting Engine... Starting at:2024-08-28 01:41:23.142926

OpenUniverse Control Guide:
    movement: w - a - s - d
    yaw & pitch: mouse
    world main axes: x  (0.3 second interrupt)
    face culling: c     (0.3 second interrupt)
    view mode: v        (GL_POINTS, GL_LINES, GL_TRIANGLES) (0.3 second interrupt)
    camera info: z      (1 second interrupt)
    light control: l    (Pause, Grab, PLace, Continue) (0.3 second interrupt)
    memory info: m      (1 second interrupt)
    live debugger: F3   (UNAVAILABLE V1.2.3-beta)
    builder mode: b     (0.3 second interrupt)
        - Change block: MouseRightClick
        - Place Block: MouseLeftClick
        - Distance: MouseScroll

---Begin of ENGINE_STATUS_PRINT (ESP) logs--- Attaching Objects... Attaching Objects... Building Trees (Multiple Level.Trees Callings) at 2024-08-28 01:41:23.681246... Building Trees ended at 2024-08-28 01:41:23.702697... Building Chunks (Multiple Level.Chunk Callings) at 2024-08-28 01:41:23.807416... Building Chunks ended at 2024-08-28 01:41:24.222307... Loading Screen... Loading Files... Loading Shaders... creating Program... Compile Program... Compile Program... Program Created, program_id: 3 creating Program... Compile Program... Compile Program... Program Created, program_id: 6 Loading Entities... Loading Axes... Building Mesh... Loading light... Loading Camera... Loading Objects... Building Mesh... Traceback (most recent call last): File "C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\openu\OpenUniverse.py", line 431, in MultiShaders().mainloop() ^^^^^^^^^^^^^^ File "C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\openu\OpenUniverse.py", line 128, in init self.cube0 = LoadObject( ^^^^^^^^^^^ File "C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\openu\Engine2\LoadObject.py", line 40, in init super().init(vertices, File "C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\openu\Engine2\Mesh.py", line 55, in init colors.create_variable(self.material.program_id, "vertex_color") File "C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\openu\Engine2\DataHandler.py", line 22, in create_variable glVertexAttribPointer(variable_id, 3, GL_FLOAT, False, 0, None) File "C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\openu\Lib\site-packages\OpenGL\latebind.py", line 63, in call return self.wrapperFunction( self.baseFunction, *args, named ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\openu\Lib\site-packages\OpenGL\GL\VERSION\GL_2_0.py", line 470, in glVertexAttribPointer return baseOperation( ^^^^^^^^^^^^^^ File "C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\openu\Lib\site-packages\OpenGL\latebind.py", line 43, in call* return self._finalCall( args, *named ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\openu\Lib\site-packages\OpenGL\wrapper.py", line 700, in wrapperCall raise err File "C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\openu\Lib\site-packages\OpenGL\wrapper.py", line 693, in wrapperCall result = wrappedOperation( cArguments ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\openu\Lib\site-packages\OpenGL\error.py", line 230, in glCheckError raise self._errorClass( OpenGL.error.GLError: GLError( err = 1281, description = b'invalid value', baseOperation = glVertexAttribPointer, pyArgs = ( -1, 3, GL_FLOAT, False, 0, c_void_p(None), ), cArgs = ( -1, 3, GL_FLOAT, False, 0, c_void_p(None), ), cArguments = ( -1, 3, GL_FLOAT, False, 0, c_void_p(None), ) )

(openu) C:\Users\amirh\Downloads\Compressed\OpenUniverse-1.8.8-beta\OpenUniverse-1.8.8-beta\main\openu>

امیر حسین عزیز در اولین مرحله خیلی ممنونیم که با اشتراک گذاری مشکلتون به با کیفیت تر شدن جامعه ما کمک میکنید.

ما با بررسی خروجی برنامه و مشخصات سخت افزاری که برای ما ارسال کردید متوجه شدیم که مشکل (تا حدودی) مربوط به OpenUniverse است، در واقع پیکر بندی هایی که در لایه های عمیق موتور انجام شده است ممکن است ( در بعضی از سخت افزار های خاص ) این خطا را در هنگام اجرای موتور نمایش دهد!

این مشکل میتواند از به روز نبودن درایور های مختلف، استفاده از برنامه هایی که پیکر بندی عادی گرافیک شما را تغییر میدهند و استفاده از ترکیبات سخت افزاری ناهمخوان نشات گرفته باشد.

ما همواره تلاش میکنیم تا در اینده با انتشار نسخه های بروز تر این مشکل را برطرف کنیم و شرایط را به گونه ای تغییر دهیم که OpenUniverse بر روی ترکیبات سخت افزاری بیشتری همپوشانی داشته باشد.

شما میتوانید برای برطرف شدن این مشکل راه های زیر را امتحان کنید:

ما متوجه شدیم که این مشکل بیشتر از لبتاپ ها و یا کارت های گرافیک خاص نشات میگیرد، اگر راه های بالا را امتحان کردید و مشکل برطرف نشد لطفا منتظر بمانید تا ما این مشکل را برطرف کنیم، همچنین ممنون میشیم جهت شفاف تر شدن ریشه ی خطا (نوع و مدل دقیق کارت گرافیک) خود را در اختیار ما بگذارید. ❤️


Amir Hossein, thank you very much for sharing your issue with us. Your contribution helps improve our community’s quality.

After reviewing the program output and the hardware specifications you provided, we’ve identified that the issue (to some extent) is related to OpenUniverse. Specifically, configurations made in the deeper layers of the engine may cause this error during execution, particularly on certain specific hardware setups.

This problem could arise from various factors, including outdated drivers, third-party programs that alter your graphics configuration, or hardware combinations that are incompatible.

Rest assured that we continuously work to address such issues in future updates. Our goal is to make OpenUniverse more compatible with a wider range of hardware configurations.

In the meantime, you can try the following steps to mitigate the problem:

We’ve noticed that this issue occurs more frequently on laptops or specific graphics cards. If you’ve tried the above steps and the problem persists, please stay tuned—we’re actively working on resolving this issue. Additionally, providing more details about the exact type and model of your graphics card would be greatly appreciated! ❤️

amirhoseini1385 commented 1 month ago

در دفعه سوم که تابع create_variable از کلاس DataHandler اجرا میشه متغیر variable_id برابر میشه با -1 و باعث خطا میشه و نمیتونه متغیر vertex_color رو دریافت کنه ، من در opengl تجربه زبادی ندارم و میخواستم ازتون بپرسم ایا دلیل خاصی داره که کد نمیتونه این متغیر رو پیدا کنه؟

BaranSh28 commented 3 weeks ago

salam khaste nabashin.. bebakhshid man vaghti code o run mikonam lib e engine2 ro import nemikone.. tu packageaye pycharm am nistesh , chika konam ?

amirhoseini1385 commented 2 weeks ago

داداش اینجا که نباید بپرسی باید یه issue جدید بسازی

MatinAfzal commented 2 weeks ago

salam khaste nabashin.. bebakhshid man vaghti code o run mikonam lib e engine2 ro import nemikone.. tu packageaye pycharm am nistesh , chika konam ?

وقت بخیر، issue مربوط به خودتون رو با عنوان مناسب ایجاد کنید و مشکلتون رو به زبان (فارسی/انگلیسی) شرح بدید تا راهنمایی صورت بگیره و سایر دوستان نیز بتونن مطالعه کنند.

BaranSh28 commented 2 weeks ago

داداش اینجا که نباید بپرسی باید یه issue جدید بسازی

Albate man dadash nistam , khaharam ..vali merc..moshkel hal shod

BaranSh28 commented 2 weeks ago

salam khaste nabashin.. bebakhshid man vaghti code o run mikonam lib e engine2 ro import nemikone.. tu packageaye pycharm am nistesh , chika konam ?

وقت بخیر، issue مربوط به خودتون رو با عنوان مناسب ایجاد کنید و مشکلتون رو به زبان (فارسی/انگلیسی) شرح بدید تا راهنمایی صورت بگیره و سایر دوستان نیز بتونن مطالعه کنند.

Mamnunam moshkel hal shod

amirhoseini1385 commented 1 week ago

ببخشید نمیتونید پروژه رو به صورت داکرایز شده هم بزارید تا افرادی که مثل من مشکل دارن بتونن اون رو اجرا کنن و تمام پیشنیاز ها درست باشه؟