Comments (3)
Hi,
sorry for the very late reply. I could not reproduce the error yet. The only thing that caught my eye is that the first parameter of the create_lobby function is not the port number but the maximum number of players in the lobby.
However, changing this in my test application didn't cause a crash so I think it will not solve your error.
Other than that I don't see anything wrong with your code.
I also don't think it has anything to do with Godotcord because the error is thrown in an internal function call in the Game SDK.
Since the code of the Game SDK is not available I can not figure out what exactly causes the error.
You could try out a new version of the Game SDK (e.g. 3.1.0 which can be downloaded here https://dl-game-sdk.discordapp.net/3.1.0/discord_game_sdk.zip) and check if the error disappears. I can't, however, guarantee that all other parts of Godotcord will work with this SDK version.
from godotcord.
Hi, sorry for the very late reply. I could not reproduce the error yet. The only thing that caught my eye is that the first parameter of the create_lobby function is not the port number but the maximum number of players in the lobby. However, changing this in my test application didn't cause a crash so I think it will not solve your error. Other than that I don't see anything wrong with your code. I also don't think it has anything to do with Godotcord because the error is thrown in an internal function call in the Game SDK. Since the code of the Game SDK is not available I can not figure out what exactly causes the error. You could try out a new version of the Game SDK (e.g. 3.1.0 which can be downloaded here https://dl-game-sdk.discordapp.net/3.1.0/discord_game_sdk.zip) and check if the error disappears. I can't, however, guarantee that all other parts of Godotcord will work with this SDK version.
Btw you can use CLion to take a look into what causes the SDK to crash. also you can download the C++ library, I don't know where I saw it, but somewhere it has the code of the Game SDK.
from godotcord.
This error is no longer an issue in newer versions of Godotcord.
from godotcord.
Related Issues (20)
- Missing DLLs in Download Artifacts. HOT 1
- Change camelCase attributes and function names to snake_case
- Game doesn't start if the discord isn't running. HOT 2
- Game crashes with error HOT 17
- Game SDK claims 'std' does not name a type (Godot 3.2.4 beta 4) HOT 5
- Error loading shared libraries on Linux HOT 4
- Add a way to get members who're in a lobby. HOT 8
- I'm getting this error when I try to join the game using my alt. HOT 2
- Improve docs's look with raw file.
- Use Signals instead of FuncRefs HOT 1
- Parse Error: The identifier "Godotcord" isn't declared in the current scope HOT 5
- Game crashes if discord isn't running even using CreateFlags_NO_REQUIRE_DISCORD HOT 1
- Test Godotcord for Godot 3.3 release. HOT 3
- Use ReadTheDocs to host documentation. HOT 4
- Godot 3.3.2 Stable release fails to build with Godotcord
- 3.2.4? HOT 5
- Error compiling Godot 3.3.1
- Docs seems to be broken. HOT 2
- Code execution cannot proceed HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from godotcord.