Comments (6)
Sorry for the delay. Yes, this is possible! You want to store the online-mode profile you want use on your downstream factory, e.g.:
@defer.inlineCallbacks
def run():
factory = MyDownstreamFactory()
factory.upstream_profile = yield Profile.from_file(display_name="mynickname")
factory.listen("127.0.0.1", 25565)
Then all you need to do is implement MyBridge.make_profile()
to return the profile object:
def make_profile(self):
return self.downstream_factory.upstream_profile
from quarry.
I'm having trouble implementing this into the example provided, proxy_hide_chat
it just exits the program without any error message. Any help would be appreciated.
from quarry.
You're calling reactor.run()
?
from quarry.
I'm experiencing the same issue here. After reaching factory.upstream_profile = yield Profile.from_file(display_name="mynickname")
, the program exits without any errors. Removing the line makes the program work as intended but in offline mode. This doesn't seem to be exclusive to the proxy_hide_chat example, as it's occurring with the skeleton proxy too.
from quarry.
Whoops! I was calling reactor.run()
inside the run function. After calling it in the main function, everything started to work normally.
OP must have done the same mistake as me.
from quarry.
from quarry.
Related Issues (20)
- Proxies join? HOT 1
- Can't log into online-mode server while using offline profile. HOT 1
- Different java command for data generation since 1.18
- How to get the byte array from a plugin message packet.
- builtins.TypeError: '<=' not supported between instances of 'int' and 'str' HOT 2
- Why chunk support is deprecated? HOT 1
- Encoded items are wrong HOT 1
- properly decode chunks (code)
- No name found for packet HOT 6
- 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
- According to wiki.vg this data type is wrong. And how to respond to tab completes? HOT 7
- 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
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.