Skip to content

Commit 2b69253

Browse files
committed
FULL RECODE
1 parent 49ae1f1 commit 2b69253

File tree

21 files changed

+956
-1582
lines changed

21 files changed

+956
-1582
lines changed

.github/workflows/rust.yml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,34 @@ name: Rust
22

33
on:
44
push:
5-
branches: [ "master" ]
5+
branches: ["master"]
66
pull_request:
7-
branches: [ "master" ]
7+
branches: ["master"]
88

99
env:
1010
CARGO_TERM_COLOR: always
1111

1212
jobs:
1313
build:
14-
1514
runs-on: windows-latest
1615

1716
steps:
18-
- name: Set up Rust
19-
uses: actions-rs/toolchain@v1.0.7
20-
with:
21-
toolchain: stable
17+
- name: Set up Rust
18+
uses: actions-rs/toolchain@v1.0.7
19+
with:
20+
toolchain: stable
2221

23-
- uses: actions/checkout@v4
24-
- name: Add secret
25-
run: mkdir data && echo ${{ secrets.TOKEN }} >> data/data.txt
22+
- uses: shogo82148/actions-setup-perl@v1
23+
with:
24+
perl-version: "5.38"
2625

27-
- name: Build
28-
run: cargo build --release
26+
- name: Build
27+
run: cargo build --release
2928

30-
- name: Change Icon
31-
run: curl -L -O https://github.com/electron/rcedit/releases/download/v1.1.1/rcedit-x64.exe && ./rcedit-x64.exe target/release/voxelproxy.exe --set-icon voxelproxy.ico
29+
- name: Change Icon
30+
run: curl -L -O https://github.com/electron/rcedit/releases/download/v1.1.1/rcedit-x64.exe && ./rcedit-x64.exe target/release/voxelproxy.exe --set-icon voxelproxy.ico
3231

33-
- uses: actions/upload-artifact@v4
34-
with:
35-
name: voxelproxy
36-
path: target/release/voxelproxy.exe
32+
- uses: actions/upload-artifact@v4
33+
with:
34+
name: voxelproxy
35+
path: target/release/voxelproxy.exe

Cargo.toml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
11
[package]
22
name = "voxelproxy"
3-
version = "2.4.2"
3+
version = "3.0.0"
44
edition = "2021"
55

66
[dependencies]
77
tokio = { version = "1.38.1", features = ["full"] }
8-
minecraft_protocol = { path = "minecraft_protocol" }
98
serde_json = "1.0.128"
109
trust-dns-resolver = "0.23.2"
1110
dialoguer = "0.11.0"
1211
reqwest = { version = "0.12.7", features = ["json"] }
13-
get_if_addrs = "0.5.3"
12+
anyhow = "1.0.98"
13+
#minecraft_protocol = { git = "https://github.com/kauri-off/minecraft_protocol.git" }
14+
minecraft_protocol = { path = "C:/Users/kauri/dev/minecraft_protocol" }
15+
16+
[target.'cfg(windows)'.dependencies]
17+
windows = { version = "0.61.3", features = [
18+
"Win32_Networking_WinSock",
19+
"Win32_NetworkManagement_IpHelper",
20+
"Win32_NetworkManagement_Ndis"
21+
] }
22+
23+
#[target.'cfg(linux)'.dependencies]
24+
get_if_addrs = "0.5.3"

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
# VoxelProxy
2+
23
VoxelProxy это программа для игры на одном сервере с 2х майнкрафтов
3-
### Для лучшей работы требуется 2й пк
4-
# Инструкция
5-
1. Откройте файл.
6-
2. Измените ip сервера на ваш
7-
3. Начать
4+
5+
### Для лучшей работы требуется 2й пк
86

97
# Советы
8+
109
1. Ввод от клиента без читов не считывается пока открыт майнкрафт с читами
1110
2. Вы можете безопасно выйти из 1 майнкрафта

minecraft_protocol/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

minecraft_protocol/Cargo.toml

Lines changed: 0 additions & 8 deletions
This file was deleted.

minecraft_protocol/src/lib.rs

Lines changed: 0 additions & 201 deletions
This file was deleted.

minecraft_protocol/src/packet_builder.rs

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)