dav1dde / brala Goto Github PK
View Code? Open in Web Editor NEWA minecraft SMP Client written in D (License: GPLv3) – BraLa, Minecraft on a lower (WTF?) level
License: GNU General Public License v3.0
A minecraft SMP Client written in D (License: GPLv3) – BraLa, Minecraft on a lower (WTF?) level
License: GNU General Public License v3.0
can you upload once in a while a compiled version? becouse i realy don't know how to compile BraLa on Windows :(
DMD brala\minecraft\folder.d
brala\minecraft\folder.d(17): Error: undefined identifier getenv
std.exception.ErrnoException@std\process.d(3190): (No error)
----------------
0x0041AFCC
0x004025F3
0x00403B4A
0x00404F8A
0x0041DAE8
0x0041DB23
0x0041D721
0x00416B34
0x7515850D in BaseThreadInitThunk
0x7780BF39 in RtlInitializeExceptionChain
0x7780BF0C in RtlInitializeExceptionChain
----------------
Make compilation on Windows easier.
Please add moving up or down, at best using space and shift.
If we now use the -j switch, the compiler segfaults if tries to link with Awesomium before it has finished downloading.
sam@laptop:~/BraLa$ make
find: `src/c/nbt': No such file or directory
mkdir -p ./build/glfw
cd ./build/glfw && \
cmake -DBUILD_SHARED_LIBS=OFF -DGLFW_BUILD_EXAMPLES=OFF -DGLFW_BUILD_TESTS=OFF ../../src/c/glfw
-- Building GLFW for X11 and GLX on a Unix-like system
-- Configuring done
-- Generating done
-- Build files have been written to: /home/sam/BraLa/build/glfw
cd ./build/glfw && make
make[1]: Entering directory `/home/sam/BraLa/build/glfw'
make[2]: Entering directory `/home/sam/BraLa/build/glfw'
make[3]: Entering directory `/home/sam/BraLa/build/glfw'
make[3]: Leaving directory `/home/sam/BraLa/build/glfw'
[100%] Built target glfw
make[2]: Leaving directory `/home/sam/BraLa/build/glfw'
make[1]: Leaving directory `/home/sam/BraLa/build/glfw'
gdc -m32 -Ibrala/ -Isrc/d/derelict3/import -Isrc/d/glamour -Isrc/d/gl3n/ -Isrc/d/ -Isrc/d/openssl/ -Isrc/d/glfw/ -Isrc/d/nbd/ -fversion=Derelict3 -fversion=gl3n -fversion=stb -fdebug -g -fdebug-c -c brala/network/connection.d -obuild/brala/network/connection.o
brala/network/util.d:167: expression expected, not '>'
brala/network/util.d:167: found '"%02X"' when expecting ')' following template argument list
brala/network/util.d:167: semicolon expected following auto declaration, not ')'
brala/network/util.d:167: found ')' instead of statement
brala/network/util.d:168: expression expected, not '>'
brala/network/util.d:168: found '"%03d"' when expecting ')' following template argument list
brala/network/util.d:168: semicolon expected following auto declaration, not ')'
brala/network/util.d:168: found ')' instead of statement
brala/network/util.d:169: expression expected, not '>'
brala/network/util.d:169: found 'to' when expecting ')' following template argument list
brala/network/util.d:169: semicolon expected following auto declaration, not '!'
brala/network/util.d:169: found ')' when expecting ';' following statement
brala/network/util.d:169: expression expected, not ')'
brala/network/util.d:169: found ';' when expecting ')'
brala/network/util.d:170: found 'auto' when expecting ';' following statement
brala/utils/console.d:109: expression expected, not '>'
brala/utils/console.d:109: found 'attr' when expecting ')' following template argument list
brala/utils/console.d:109: expression expected, not '>'
brala/utils/console.d:109: found 'x' when expecting ')' following template argument list
brala/utils/console.d:109: found ')' when expecting ';' following return statement
brala/utils/console.d:109: found ')' when expecting ';' following statement
make: *** [build/brala/network/connection.o] Error 1```
Running on Ubuntu 12.04 with gdc.
C:\Users\silly_000\Documents\GitHub\BraLa>bin\bralad.exe -u"Bot" --offline -h"localhost"
[15:44:34.085] Main: WARN: GLFW ERROR(65543): WGL: OpenGL profile requested but WGL_ARB_create_context_profile is unavailable
[15:44:34.190] Main: WARN: GLFW ERROR(65540): Context profiles only exist for OpenGL version 3.2 and above
glwtf.exception.WindowException@src\d\glwtf\glwtf\window.d(120): Unable to initialize OpenGL forward compatible context (Version >= 3.0).
----------------
0x004F6A77
0x0048B677
0x0048B29B
0x0048B9A7
0x00521478
0x005214B3
0x005210B1
0x005103A4
0x7515850D in BaseThreadInitThunk
0x7780BF39 in RtlInitializeExceptionChain
0x7780BF0C in RtlInitializeExceptionChain
----------------
It's probably my issue, but idk where else to ask. When I try to run BraLa, I get this in the console. I followed the instructions exactly. I'm on windows. Just downloaded DMD and DMC, compiled fine and gave me a bin with the executable. Console output:
C:\Users\Stephen\Documents\GitHub\BraLa\bin>bralad.exe -u *******@*******.com -p ******** -h 192.168.1.106 --res C:\Users\Stephen\Documents\GitHub\BraLa\res
[16:15:29.298] Memory: DEBUG: (c)allocated 65536 times 4 bytes. Pointer: 0x00a40010. brala\dine\chunk.d:70
[16:15:29.305] Memory: DEBUG: (c)allocated 65536 times 4 bytes. Pointer: 0x02820010. brala\dine\chunk.d:70
[16:15:29.507] Main: WARN: GLFW ERROR(458759): WGL: Failed to create OpenGL context
[16:15:29.594] Main: INFO: Initialized Window with context version: 4.0
[16:15:29.607] Engine: INFO: Triggering on_resize
[16:15:29.607] Resmgr: INFO: Requesting resource "C:\Users\Stephen\Documents\GitHub\BraLa\res\shader\terrain.shader" as "terrain", type: "Shader".
[16:15:29.661] Resmgr: INFO: Loaded resource "terrain" with type: "Shader".
[16:15:29.661] Resmgr: INFO: Requesting resource "C:\Users\Stephen\Documents\GitHub\BraLa\res\shader\terrainDef.shader" as "terrainDef", type: "Shader".
[16:15:29.672] Resmgr: INFO: Loaded resource "terrainDef" with type: "Shader".
[16:15:29.673] Resmgr: INFO: Requesting resource "C:\Users\Stephen\Documents\GitHub\BraLa\res\shader\tscreen.shader" as "tscreen", type: "Shader".glamour.shader.ShaderException@src\d\glamour\glamour\shader.d(70): ERROR: 0:10:
';' : syntax error syntax error
Failed to link shader: tscreen.
----------------
0x004CB8E1
0x004CBD84
0x004EE54D
----------------
[16:15:29.683] Memory: DEBUG: Freeing 0x00a40010. brala\dine\chunk.d:74
Maybe I'm just missing something simple?
Remove awesomium dependency?
Swith to octaforges LUA UI?
Exception while running:
[email protected](92): Range violation
----------------
5 bralad 0x000000010b3edd3a _d_array_bounds + 38
6 bralad 0x000000010b375066 D5brala5utils5queue7__arrayZ + 26
7 bralad 0x000000010b2be235 std.typecons.Tuple!(brala.dine.chunk.Chunk, "chunk", gl3n.linalg.Vector!(int, 3).Vector, "position").Tuple brala.utils.queue.Queue!(std.typecons.Tuple!(brala.dine.chunk.Chunk, "chunk", gl3n.linalg.Vector!(int, 3).Vector, "position").Tuple).Queue.get(bool, core.time.Duration) + 529
8 bralad 0x000000010b2bfe74 void brala.dine.world.TessellationThread.run() + 176
9 bralad 0x000000010b375852 D5brala5utils6thread13VerboseThread6__ctorMFDFZvmZC5brala5utils6thread13VerboseThread12__dgliteral2MFZv + 42
10 bralad 0x000000010b3e21c9 void core.thread.Thread.run() + 49
11 bralad 0x000000010b3e176a thread_entryPoint + 334
12 libsystem_c.dylib 0x00007fff8cda9742 _pthread_start + 327
13 libsystem_c.dylib 0x00007fff8cd96181 thread_start + 13
14 ??? 0x0000000000000000 0x0 + 0
I have compiled BraLa using the instructions on the front page. Here's what i got when I run my build.
bralad.exe -h**.**.* --port 12345 -u*
(c)allocating 65536 times 4 bytes. Pointer: 0x00890010.
init: 1024x800
GLFW ERROR(458760): Win32/WGL: No usable pixel formats found
brala.exception.InitError@brala\main.d(52): Unable to initialize an OpenGL context
----------------
0x00507ED8
0x00507D63
0x00496504
0x00495DD6
0x0049622B
0x004E3874
0x004E38AE
0x004E34D0
0x00519381
0x75C4ED6C in BaseThreadInitThunk
0x7742377B in RtlInitializeExceptionChain
0x7742374E in RtlInitializeExceptionChain
----------------
Freeing 0x00890010.
I wonder if this is a bug or just my graphics card is too old. If the latter is the case, is there any workarounds?
bin\bralad.exe -c -h"localhost"
[18:42:58.307] Main: INFO: Initialized Window with context version: 4.1
[18:42:58.325] Engine: INFO: Triggering on_resize
[18:42:58.325] Resmgr: INFO: Requesting resource "D:\dev\dprojs\BraLa\res\shader\terrain.shader" as "terrain", type: "Shader".
[18:42:58.378] Resmgr: INFO: Loaded resource "terrain" with type: "Shader".
[18:42:58.378] Resmgr: INFO: Requesting resource "D:\dev\dprojs\BraLa\res\shader\terrainDef.shader" as "terrainDef", type: "Shader".
glamour.shader.ShaderException@src\d\glamour\glamour\shader.d(71): 0(67) : error C7533: global variable gl_FragData is deprecated after version 120
Failed to link shader: terrainDef.
----------------
0x004D4121
0x004D45C4
0x004FAA8D
----------------
Win 7x64
Allow switching focus out of BraLa's window using Alt+Tab (or maybe generically to allow any window managers hotkey).
The camera rotation is not correctly sent to the server. (You can check by also logging into the server with a vanilla client.)
You currently check that the OpenGL version is 3.0 or above.
This check should be OpenGL version 3.3 or above since you use glGenSamplers which is OpenGL 3.3
BraLa doesn't work on Macs because they only support up to 3.2.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.