Comments (5)
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.
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.
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.
if I cant change the portal task I can try and find other things like it.
from bdsx.
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)
- Unimplemented opcode HOT 1
- console.log causes crashes when used to log some events variables HOT 2
- Problems with Async I/O (Promise function in ZIP creation modules such as Adm-ZIP) and save hold command HOT 2
- Server Crashing HOT 2
- plugin_manager does not appear to work on Windows 11 HOT 2
- 1.20.30 Multiplayer Breaks Game HOT 1
- When packetSend hooks a packet being sent to multiple players, result of the first packet is used for all
- Client Force Disconnect Bug HOT 3
- docker image isn't working now
- need fix LevelExplodeEvent HOT 1
- BlockDestroyEvent HOT 2
- Server Crashes with events.packetBefore(MinecraftPacketIds.Text) Event -> CANCEL HOT 6
- Server crash HOT 1
- Server Crash HOT 1
- PlayerJoin event does not work randomly HOT 7
- PlayerAuthInputPacket Mobile Bug
- `<NetworkIdentifier>.getActor()` returns `null` when the Player rejoins. HOT 1
- Cannot install, npm error. /bdsx/node_modules/typescript/lib/typescript.js:139 for (let i = startIndex ?? 0; i < array.length; i++) { ^ HOT 1
- Player data reset when moving a world from single player to server HOT 2
- Can't launch clear bdsx HOT 4
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 bdsx.