Comments (7)
BTW, I'm using 1.19.2 vanilla
from quarry.
Solved by writing my own command node packer. I wish it could be implemented into quarry.
from quarry.
I have been trying to send this packet (under quarry it's called "tab_complete") to the client but I can't seem how to construct its array properly.
class TabCompleteProtocol(ChatProtocol): # <-- Just a normal ServerProtocol
def packet_tab_complete(self, buff: Buffer1_19_1): # <-- Buffer1_19_1 is there just for type hints
trans_id = buff.unpack_varint()
msg = buff.unpack_string()
array = []
array.append(("msg", False))
array.append(("123", False))
output = b""
for e in array:
output+=self.buff_type.pack_string(e[0])
output+=self.buff_type.pack("?", e[1])
self.send_packet(
"tab_complete",
self.buff_type.pack_varint(trans_id),
self.buff_type.pack_varint(3), # Start of the text to replace.
self.buff_type.pack_varint(3), # Length of the text to replace.
self.buff_type.pack_varint(len(array)), # Number of elements in the following array.
self.buff_type.pack_byte_array(output)
)
The problem is I can't seem to figure out how to construct the array. Or are my Varints wrong?
from quarry.
the packet name might be wrong, this program is outdated af for names
from quarry.
Solved by writing my own command node packer. I wish it could be implemented into quarry.
NICE JOB BRO, that is cool
from quarry.
Also make a pull request and try to merge it, if owner ever gets active he might
from quarry.
the packet name might be wrong, this program is outdated af for names
It's not the name because that's what Qurray calls it in it's files. The problem is how I'm adding the data to the packet.
from quarry.
Related Issues (20)
- Error with hide chat proxy HOT 5
- Possible to get block player placed? HOT 2
- Examples issues HOT 2
- Port Forwarding a proxy HOT 2
- I got this error
- fcntl not found HOT 1
- import quarry.net.proxy could not be resolved HOT 1
- The chat logger example doesn't work, microsoft login. HOT 3
- 1.19.3 is not supported HOT 2
- Issue with spoofing client messages HOT 2
- errors when using client_player_list.py HOT 2
- The skeleton client from readthedocs does not work for me HOT 3
- How to create a dynamic proxy? HOT 1
- Support for 1.19 is purely fictional. HOT 5
- 1.20
- How do i get "quarry" to run (E:\quarry-master\examples\proxy_hide_chat.py) HOT 2
- quarry.net.protocol.ProtocolError: Packet is too long: chat_message
- 到1.20.2
- Why is this project called "quarry"? What is the name backstory?
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 quarry.