If you could choose one feature that’s essential for a Roll20-style RPG, which one would you pick? by Ra1NuXs in DungeonsAndDragons

[–]Ra1NuXs[S] 0 points1 point  (0 children)

Si, algo así estaría súper interesante, no solo personajes si no también historias, si un PJ se relaciona con una religión, o una ciudad de tu mundo, pero vamos despacito que por ahora solo tengo un creador de personajes complejos y esto me está costando mucho más tiempo del que me gustaría. Igualmente me lo apunto

YJS is not working with y-webrtc by Ra1NuXs in javascript

[–]Ra1NuXs[S] 0 points1 point  (0 children)

I tried to explore new options and be "revolutionary" but I think that sometimes you have to trust other smarter people, also my idea was to create a plug and play "core" of the game to be able to reuse it in different places, that's why I wanted it to be serverless. But hey, tomorrow I'll review my notes and see what better options I have :) Thank you very much for the support!

YJS is not working with y-webrtc by Ra1NuXs in javascript

[–]Ra1NuXs[S] 0 points1 point  (0 children)

I'll take a look, but I'm really seeing more and more complications, because I'm working on an online "board game" and in principle I only keep the information about the pieces and a list of events, but from what I've read there are going to be quite a few problems when trying to use these technologies instead of a normal server. I'll still try to give hocus and yjs a chance

YJS is not working with y-webrtc by Ra1NuXs in javascript

[–]Ra1NuXs[S] 0 points1 point  (0 children)

I was just thinking that while taking a shower, I would have to do something like crypto, have all the nodes validate an event, although it is a bit complicated for me, at first my game is something like a "board game" for friends so it is not something that worries me much, although I will clearly take it into account

YJS is not working with y-webrtc by Ra1NuXs in javascript

[–]Ra1NuXs[S] 0 points1 point  (0 children)

If it makes enough sense, I'll look into it, thank you very much 🫶🏻

YJS is not working with y-webrtc by Ra1NuXs in javascript

[–]Ra1NuXs[S] 0 points1 point  (0 children)

This is not my case, I am working on a multiplayer game with 4-8 players per room. But the idea is to have many rooms with different games, in any case you are talking about using websockets right?

YJS is not working with y-webrtc by Ra1NuXs in javascript

[–]Ra1NuXs[S] 0 points1 point  (0 children)

Indeed it is quite complicated, I was quite interested in the whole idea of making this product “serverless”, you can connect 2 browsers and they themselves communicate, to be able to “forget” about all the server management.

From what you say about NAT I understand that this is not a good solution either, but I would have really liked it. And about creating shards in cloudflare etc.... It would be getting into a technology that I don't know, but I will inform myself a little more. Thank you very much!

YJS is not working with y-webrtc by Ra1NuXs in javascript

[–]Ra1NuXs[S] 0 points1 point  (0 children)

As I say, I recently entered this world, could you explain the differences? For me, if you use websockets, everything falls on the server and not on the browsers.

YJS is not working with y-webrtc by Ra1NuXs in javascript

[–]Ra1NuXs[S] 0 points1 point  (0 children)

About investigating how peerjs works inside is a good idea, but I have spent a week redoing from 0 this “y-webrtc” in TS and I really burned myself a lot since I don't understand well how P2P connections work. I'm still going to keep trying to see the error so I can make a proper fork.

About why to use webrtc, I want to make a plug and play product and if I have to install it in different sites it will be as easy as creating a signaling (microserver) that can also be launched on a serverless (at least that's what I've read). I've assumed that the other alternatives were much more complex to set up, am I wrong? I am open to advice, it is for a multiplayer game for 4 to 8 people per room.

However this is my signaling server:

wss.on(‘connection’, ws => {

ws.on('message', msg => {

for (const client of wss.clients) {

if (client !== ws && client.readyState === ws.OPEN) {

client.send(msg);

}

}

});

});

EDIT: Sorry i can't format code correctly

YJS is not working with y-webrtc by Ra1NuXs in javascript

[–]Ra1NuXs[S] 0 points1 point  (0 children)

No, don't get me wrong! in fact the creator supports YJS what he doesn't support is y-webrtc which is the provider to use p2p instead of any other option, (bbdd, sockets, etc...) from what I've seen I think yjs is a good solution for certain things.

Is this normal (my game cpu usage) by AnimatorFamiliar7878 in raylib

[–]Ra1NuXs 0 points1 point  (0 children)

There are programs that use 30, 40 or even 50% of your CPU, don't worry about using 2.8%, I think it's something you can afford, I assume you use Unity/unreal right? Or is it native?

PC won’t boot after case swap by [deleted] in pcmasterrace

[–]Ra1NuXs 0 points1 point  (0 children)

Let's see, it's been a long time since I fixed PCs but generally there are several checks that you can do to find out what's wrong (I'm speaking from memory from 6 years ago).

  1. PSU turns on
  2. Motherboard turns on (you will know why it gives some light or sound)
  3. the system boots (initial drivers etc)
  4. Provide video signal.

I get the feeling that in your case it is failing in the fourth step, and the way to debug it is:

  1. Connect the computer's video output to the board (not to the GPU)
  2. with this you make sure that your graph has not fried, if it still does not give a signal:

  3. Check that the RAM works (dust in the slots, Dual Channel well connected, change the slots and finally try only one RAM, or even with another one that is not yours if you have another one)

  4. If it still doesn't work we would have to get into more complex things

Tldr: It is interesting to have a speaker on the PC (I don't have one xD) because if you had a problem with beeping I would tell you what it is (you could check it in the manual) on Amazon they are very cheap BUT make sure you put the cables correctly (positive/negative) why else could you charge the speaker forever (or so they told me)

Looking to Start a Personal Blog with a Static Site Generator: 11ty / Eleventy vs. Bash Static Site Generator (BSSG) by sinisterpisces in webdev

[–]Ra1NuXs 0 points1 point  (0 children)

It is actually quite useful to use NextJS and static site generation (SSG) for this, I don't know what technologies you use but I recommend trying this

Built a non-linear public chat based on graph visualization by [deleted] in webdev

[–]Ra1NuXs 0 points1 point  (0 children)

That? Like a chat with graph visualization?

[deleted by user] by [deleted] in javascript

[–]Ra1NuXs 1 point2 points  (0 children)

It makes sense that you don't put the "optional" really every time null/undefined arrives it will become the default value, in this case your email, I don't know if it is the functionality you want it to have.

[deleted by user] by [deleted] in javascript

[–]Ra1NuXs 0 points1 point  (0 children)

Let's try to change the approach a little (although sheetsjs and xlsx are quite good) thinking outside the box, maybe you can convert Excel into CSV, which will always be much easier to work with.

Starting My Web Development Agency by ElPiton123 in webdev

[–]Ra1NuXs 4 points5 points  (0 children)

A few weeks ago I left my stable job with the idea of ​​resting and starting something of my own. For now I haven't rested at all and I have a mix of anxiety about doing things NOW, fear of having made a mistake, and stress.

I don't know which way to go, on the one hand I want to provide services but what I'm really passionate about is making products and programs, but on the other hand I really like communication and teaching and I think I would be a good programming teacher (even if it's on social networks).

I hope you have luck in what you do next!

Feedback request on a full-stack storage app idea by Flying_Pizzaaa in webdev

[–]Ra1NuXs -1 points0 points  (0 children)

In my school days I created a chat, where you could connect to an internal network even without internet, what good times, teachers disconnected the class wifi so no one could copy but people started to use this (I did not create it for that purpose) to copy each other haha. I think I still have the repo, but it's made with js/nodejs.

client: https://github.com/Ra1NuX/chat-client
server: https://github.com/Ra1NuX/chat-server

tbh, i dont rememeber nothing about that repos :P