cnlohr / avrcraft Goto Github PK
View Code? Open in Web Editor NEWMinecraft server optimized for 8-bit devices.
Minecraft server optimized for 8-bit devices.
Having issues compiling avrcraft for an esp8266
../dumbcraft/dumbcraft.c: In function 'UpdateServer':
../dumbcraft/dumbcraft.c:530:28: error: 'CHUNKS_TO_LOAD_XPROFILE' undeclared (first use in this function)
int cx = (nnc-1) & ((1<<CHUNKS_TO_LOAD_XPROFILE)-1);
^
../dumbcraft/dumbcraft.c:530:28: note: each undeclared identifier is reported only once for each function it appears in
../dumbcraft/dumbcraft.c:600:17: error: 'CHUNKS_TO_LOAD' undeclared (first use in this function)
if( nnc >= CHUNKS_TO_LOAD ) nnc = 0; else nnc++;
^
user/dumbgame.c: In function 'DoCustomPreloadStep':
user/dumbgame.c:68:2: error: too many arguments to function 'SblockInternal'
SblockInternal( 16, 64, 16, 89, 0 );
^
In file included from user/dumbgame.c:42:0:
../dumbcraft/dumbutils.h:17:6: note: declared here
void SblockInternal( uint8_t x, uint8_t y, uint8_t z, uint16_t blockid );
^
user/dumbgame.c:70:2: error: too many arguments to function 'SblockInternal'
SblockInternal( 3, 64, 2, 63, 12 ); //create sign
^
In file included from user/dumbgame.c:42:0:
../dumbcraft/dumbutils.h:17:6: note: declared here
void SblockInternal( uint8_t x, uint8_t y, uint8_t z, uint16_t blockid );
^
user/dumbgame.c:74:2: error: too many arguments to function 'SblockInternal'
SblockInternal( 3, 64, 1, 63, 12 ); //create sign
^
In file included from user/dumbgame.c:42:0:
../dumbcraft/dumbutils.h:17:6: note: declared here
void SblockInternal( uint8_t x, uint8_t y, uint8_t z, uint16_t blockid );
^
user/dumbgame.c: In function 'GameTick':
user/dumbgame.c:123:2: error: too many arguments to function 'SblockInternal'
SblockInternal( 1, 96, 1, 0+((frame++)&1), 0 );
^
In file included from user/dumbgame.c:42:0:
../dumbcraft/dumbutils.h:17:6: note: declared here
void SblockInternal( uint8_t x, uint8_t y, uint8_t z, uint16_t blockid );
^
user/dumbgame.c: In function 'PlayerUpdate':
user/dumbgame.c:190:2: error: too many arguments to function 'SblockInternal'
SblockInternal( 4, 64, 2, 69, hasset_value?6:14 );
^
In file included from user/dumbgame.c:42:0:
../dumbcraft/dumbutils.h:17:6: note: declared here
void SblockInternal( uint8_t x, uint8_t y, uint8_t z, uint16_t blockid );
^
user/dumbgame.c:191:2: error: too many arguments to function 'SblockInternal'
SblockInternal( 4, 64, 1, 69, latch_setting_value?6:14 );
^
In file included from user/dumbgame.c:42:0:
../dumbcraft/dumbutils.h:17:6: note: declared here
void SblockInternal( uint8_t x, uint8_t y, uint8_t z, uint16_t blockid );
^
user/dumbgame.c:196:3: error: too many arguments to function 'SblockInternal'
SblockInternal( 3, 64, 3, 68, 2 ); //create sign
^
In file included from user/dumbgame.c:42:0:
../dumbcraft/dumbutils.h:17:6: note: declared here
void SblockInternal( uint8_t x, uint8_t y, uint8_t z, uint16_t blockid );
^
user/dumbgame.c:200:4: error: too many arguments to function 'SblockInternal'
SblockInternal( 4, 64, i+4, 69, ((regaddr_set)&(1<<i))?17:9 );
^
In file included from user/dumbgame.c:42:0:
../dumbcraft/dumbutils.h:17:6: note: declared here
void SblockInternal( uint8_t x, uint8_t y, uint8_t z, uint16_t blockid );
^
user/dumbgame.c:201:4: error: too many arguments to function 'SblockInternal'
SblockInternal( 3, 64, i+4, 35, ((regaddr_set)&(1<<i))?0:15 );
^
In file included from user/dumbgame.c:42:0:
../dumbcraft/dumbutils.h:17:6: note: declared here
void SblockInternal( uint8_t x, uint8_t y, uint8_t z, uint16_t blockid );
^
user/dumbgame.c:205:3: error: too many arguments to function 'SblockInternal'
SblockInternal( 6, 64, 3, 68, 2 ); //create sign
^
In file included from user/dumbgame.c:42:0:
../dumbcraft/dumbutils.h:17:6: note: declared here
void SblockInternal( uint8_t x, uint8_t y, uint8_t z, uint16_t blockid );
^
user/dumbgame.c:209:4: error: too many arguments to function 'SblockInternal'
SblockInternal( 7, 64, i+4, 69, ((regval_set)&(1<<i))?17:9 );
^
In file included from user/dumbgame.c:42:0:
../dumbcraft/dumbutils.h:17:6: note: declared here
void SblockInternal( uint8_t x, uint8_t y, uint8_t z, uint16_t blockid );
^
user/dumbgame.c:210:4: error: too many arguments to function 'SblockInternal'
SblockInternal( 6, 64, i+4, 35, ((regval_set)&(1<<i))?0:15 );
^
In file included from user/dumbgame.c:42:0:
../dumbcraft/dumbutils.h:17:6: note: declared here
void SblockInternal( uint8_t x, uint8_t y, uint8_t z, uint16_t blockid );
^
user/dumbgame.c:214:3: error: too many arguments to function 'SblockInternal'
SblockInternal( 9, 64, 3, 68, 2 ); //create sign
^
In file included from user/dumbgame.c:42:0:
../dumbcraft/dumbutils.h:17:6: note: declared here
void SblockInternal( uint8_t x, uint8_t y, uint8_t z, uint16_t blockid );
^
user/dumbgame.c:218:4: error: too many arguments to function 'SblockInternal'
SblockInternal( 10, 64, i+4, 69, ((regaddr_get)&(1<<i))?17:9 );
^
In file included from user/dumbgame.c:42:0:
../dumbcraft/dumbutils.h:17:6: note: declared here
void SblockInternal( uint8_t x, uint8_t y, uint8_t z, uint16_t blockid );
^
user/dumbgame.c:219:4: error: too many arguments to function 'SblockInternal'
SblockInternal( 9, 64, i+4, 35, ((regaddr_get)&(1<<i))?0:15 );
^
In file included from user/dumbgame.c:42:0:
../dumbcraft/dumbutils.h:17:6: note: declared here
void SblockInternal( uint8_t x, uint8_t y, uint8_t z, uint16_t blockid );
^
user/dumbgame.c:224:3: error: too many arguments to function 'SblockInternal'
SblockInternal( 12, 64, 3, 68, 2 ); //create sign
^
In file included from user/dumbgame.c:42:0:
../dumbcraft/dumbutils.h:17:6: note: declared here
void SblockInternal( uint8_t x, uint8_t y, uint8_t z, uint16_t blockid );
^
user/dumbgame.c:228:4: error: too many arguments to function 'SblockInternal'
SblockInternal( 12, 64, i+4, 35, ((regval_get)&(1<<i))?0:15 );
^
In file included from user/dumbgame.c:42:0:
../dumbcraft/dumbutils.h:17:6: note: declared here
void SblockInternal( uint8_t x, uint8_t y, uint8_t z, uint16_t blockid );
^
make: *** [esp82xx/main.mf:134: image.elf] Error 1
Internal Exception io.netty.handler.codec.DecodeException
java.IOException: Packet 0/74 (kr) was larger than I expected found 33 bytes extra whilst reading packet 74.
Hello. What are the limitations for using your code (attribution? commercial use? modification? etc.) Do you have a specific license or something? Thanks.
With some hope, I'll try to ask for help here.
I'm trying to get an MC server running on esp8266. The compile and upload is going fine. (make clean all burn
), but then when i reset ESP, it will start flashing builtin led at crazy speed and throwing some gibberish on comport (no standard baud rate can read it). I build 1_11 branch, since the others cant be compiled due c error.
Is there someone who can help me?
How to uploade the code?
How to uploade the code?
How to uploade the code?
How to uploade the code?
How to uploade the code?
How to uploade the code?
How to uploade the code?
How to uploade the code?
How to uploade the code?
How to upl
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.