Coder Social home page Coder Social logo

Comments (5)

JSJBDEV avatar JSJBDEV commented on July 27, 2024

so I actually did a bit of research into this and found that the PlayerAction for change dimension is called when you arrive at your new dimension which works to some extent, but I would like to be able to interupt and modify this action to change where there portal leads

from bdsx.

karikera avatar karikera commented on July 27, 2024

it seems the change dimension packet is sent from the server.
and I realized send packet listeners are broken.
btw if you cancel the sent packets. the game will make a glitch about this.

it seems it's not easy to change the portal task.

from bdsx.

JSJBDEV avatar JSJBDEV commented on July 27, 2024

Im starting to write some other methods and programs for a project im working on so If I come across any other things I will make an issue. when you say send packet listeners are broken, do you mean that I cant send packets? from what I can tell it is the only way to construct a modal form to the player

from bdsx.

JSJBDEV avatar JSJBDEV commented on July 27, 2024

if I cant change the portal task I can try and find other things like it.

from bdsx.

JSJBDEV avatar JSJBDEV commented on July 27, 2024

since I dont think this deserves another issue as it may be related, I was trying to send a ModalFormRequest to the player so I modified the example code where a text packet is sent to do this

// sendPacket
    setTimeout(()=>{
        console.log('packet sended');

        const fancyPacket = createPacket(PacketId.ModalFormRequest);
        fancyPacket.setUint16(0);
        fancyPacket.setString(`{"type": "form","title": "test title","content":{},"buttons":{}}`);
        sendPacket(networkIdentifier,fancyPacket);
        fancyPacket.dispose();
    }, 10000);

but I keep on getting Error: Structured Exception: STATUS_ACCESS_VIOLATION(0xC0000005) (specifically on the sendPacket line) which I see is because of what looks like malformed strings in the code, am I doing this wrong?

from bdsx.

Related Issues (20)

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.