mirror of
https://github.com/Tiiffi/mcrcon.git
synced 2025-10-28 11:51:08 -04:00
Compare commits
9 Commits
dba07aacf7
...
Develop
| Author | SHA1 | Date | |
|---|---|---|---|
| dfd840de1f | |||
| d5515f43ce | |||
| 4a1da8d373 | |||
| b1b46ca08c | |||
| 2bb1fafdaa | |||
| 0fb17971c0 | |||
| ec11d77e89 | |||
| 2d29741691 | |||
| cc77044df1 |
11
BUILDING.md
11
BUILDING.md
@ -1,13 +1,18 @@
|
|||||||
Building and installing
|
Building and installing
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
#### Requirements & dependencies:
|
### Prerequisites
|
||||||
|
|
||||||
- GCC compatible compiler
|
- GCC compatible compiler
|
||||||
- POSIX getopt support from **<unistd.h>**
|
- make
|
||||||
|
- POSIX.1 support
|
||||||
|
* getopt()
|
||||||
|
* strcasecmp()
|
||||||
|
* tcflush()
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
#### Compiling
|
### Compiling
|
||||||
|
|
||||||
cc -std=gnu99 -Wpedantic -Wall -Wextra -Wno-gnu-zero-variadic-macro-arguments -O2 -o mcrcon mcrcon.c
|
cc -std=gnu99 -Wpedantic -Wall -Wextra -Wno-gnu-zero-variadic-macro-arguments -O2 -o mcrcon mcrcon.c
|
||||||
|
|
||||||
|
|||||||
@ -2,10 +2,11 @@
|
|||||||
|
|
||||||
###### 0.8.0
|
###### 0.8.0
|
||||||
- Implement support for multipacket responses
|
- Implement support for multipacket responses
|
||||||
- Add support to Valve style rcon authentication
|
- Add support for Valve style rcon authentication
|
||||||
|
- Add experimental UTF-8 support for Windows
|
||||||
- Change maximum packet size to correct value (4096 -> 4106)
|
- Change maximum packet size to correct value (4096 -> 4106)
|
||||||
- Attempt to add missing newlines in Minecraft servers
|
- Attempt to add missing newlines in bugged Minecraft servers
|
||||||
* Currently implemented only for the 'help' command
|
* Implemented for responses to the 'help' command and unknown commands
|
||||||
- Print auth failed message to stderr instead of stdout
|
- Print auth failed message to stderr instead of stdout
|
||||||
- Fail immediately if received packet size is out of spec
|
- Fail immediately if received packet size is out of spec
|
||||||
- Return proper exit code from run_terminal_mode()
|
- Return proper exit code from run_terminal_mode()
|
||||||
|
|||||||
2
Makefile
2
Makefile
@ -15,7 +15,7 @@ RM = rm -v -f
|
|||||||
|
|
||||||
CC ?= gcc
|
CC ?= gcc
|
||||||
CFLAGS = -std=gnu99 -Wall -Wextra -Wpedantic -Wno-gnu-zero-variadic-macro-arguments -O2
|
CFLAGS = -std=gnu99 -Wall -Wextra -Wpedantic -Wno-gnu-zero-variadic-macro-arguments -O2
|
||||||
EXTRAFLAGS ?= -fstack-protector-all
|
EXTRAFLAGS ?= -fstack-protector-strong -D_FORTIFY_SOURCE=2 -fPIE -pie -Wl,-z,relro -Wl,-z,now -fno-common
|
||||||
|
|
||||||
ifeq ($(OS), Windows_NT)
|
ifeq ($(OS), Windows_NT)
|
||||||
LINKER = -lws2_32
|
LINKER = -lws2_32
|
||||||
|
|||||||
Reference in New Issue
Block a user