Code Monkey home page Code Monkey logo

Comments (5)

Lonami avatar Lonami commented on June 14, 2024

This project was made when Terraria 1.4 came out, but since we're now at 1.4.2.3, the format may have changed again.

from terry.

terfusti avatar terfusti commented on June 14, 2024

Do you think you will ever update it?

from terry.

Lonami avatar Lonami commented on June 14, 2024

If I manage to find enough free time and interest, then I'll look into it, however I don't know how big the changes will need to be. Maybe they're not so big and you could try sending a PR as well.

from terry.

terfusti avatar terfusti commented on June 14, 2024

Thanks for fixing up the protocol. It seems to be working now. I'm a bit new to rust, do you think you will ever write a bit of a tutorial on the usage of the program (or even perhaps a little bit of help through discord or some platform), or should I just continue trying to reverse engineer it a bit. Thanks, Terfusti.

from terry.

Lonami avatar Lonami commented on June 14, 2024

I might improve the documentation on the public interface of what is my code. However, I probably won't document the packets themselves used by Terraria (and the Terraria server). The names are mostly self-explanatory, and while tShock's Multiplayer Packet Structure documentation page isn't fully up-to-date, it contains a good overview.

In essence, there isn't much more to the library other than receiving and sending packets, which the terry crate in this repository shows how to use. You send packets to tell Terraria what to do, and Terraria responds back with packets on what's happening. You probably want to spawn a thread to receive things asynchronously without blocking the sending part. Those are your building blocks. Experimentation is probably the way to go. Good luck!

from terry.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.