AiYinZiLeGong / PUBG-Radar

247 stars 214 forks source link

Got problem using Vbox. #157

Open wkxdjsj opened 6 years ago

wkxdjsj commented 6 years ago

I have modify the code working with VMware, but the server sometimes shut the game off because of the VMware. I am trying to use Vbox but it seems that Vbox have some problem with openGL. I have enabled both graph accelerations, make config.useOpenGL3(false, 2,1) to compile with version 2.1 but I still got this error.

screen is white, flash while dragging. nothing showing up.

[LWJGL] GLFW_PLATFORM_ERROR error Description : WGL: Failed to make context current Stacktrace : org.lwjgl.glfw.GLFW.glfwMakeContextCurrent(GLFW.java:3318) com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.makeCurrent(Lwjgl3Window.java:429) com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.loop(Lwjgl3Application.java:133) com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.(Lwjgl3Application.java:110) main.ui.GLMap.show(GLMap.kt:122) main.GameKt.main(Game.kt:63)

OpenGL Warning: GetRandomRgn returned (-1) instead of (1), VisibleRegions update failed

since it is working fine with VMware, anyone have any idea how to fix this?

MioYvo commented 6 years ago

Would you share the code? So we can do some help.

viator25 commented 6 years ago

Try this for Vbox [In guest WIN OS]

Press windows + r Type in msconfig and press enter Go to 'boot' and check 'safe boot' Apply/ok and restart VM (it will boot in safe mode) Go to VirtualBox toolbar and go to Devices -> Insert Guest Additions CD image... https://linuxclub.cs.byu.edu/downloads/tools/virtualization/virtualbox/5.1.30/VBoxGuestAdditions_5.1.30.iso Press Windows + E and open the CD drive for guest additions Install, select Direct3D support when installing! Do not reboot after installation. Go to msconfig, boot, disable safe boot and restart to normal windows

wkxdjsj commented 6 years ago

@viator25 Thank you for your reply, I heard of the method however I still got the same error. I did install Direct3D already.

wkxdjsj commented 6 years ago

@piktos Hi, I am not sure how this is used,c could you please explain a bit more? Thank you.

xnxxxProjectFreeRadar commented 6 years ago

@piktos what is that pubgsdk for? is there a way to get a radar working right now? @viator25

waipow commented 6 years ago

i got same error GLFW_PLATFORM_ERROR error