Netplay3 | Feature Drive

amy wrote:
Having done more research I'm seeing what Xilef means about treating trodden ground. I haven't used RPG Maker properly in a long while and haven't really paid attention to the RM community for years. The days of a few of us following around the Netplay+ creators revering them as gods have long since passed; people are generally much more knowledgable about these things and it's all been done far better than Netplay+ many times since then.

With that in mind I'm beginning to think creating "the next Netplay+" is a pointless exercise, and the need for an off the shelf online kit has already been fed; therefore I am thinking of focusing all efforts of this onto my own personal project instead, tailoring it to my needs rather than the needs of the whole.

I will keep a project thread. Unless, of course, anybody thinks a new Netplay+ would be a good idea. I'm not sure I'm the person to deliver it though while there are so many better scripters out there now.

You can make something great if you convert netplay into an abstracted RPG client-server application, I can imagine great use for server software that can be plugged not only into rpg maker XP but VX, gamemaker or even custom engines.
When I first started network programming I started by looking for other solutions and there was nothing at all, the closest I got was the GNE game networking engine but that was incredibly unoptimised, I ended up making my own solution but it honestly did waste 7 months work.

But in my opinion, Ruby is not a suitable language for developing a network system, I feel that Ruby should be kept at the top level of both client and server as the scripting system so a more mutable class system can interact with the network itself and the abstraction layer would be a translation between the software variable stack (RMXP, gamemaker, etc) and the network engine.
I get what you're suggesting but wouldn't have a clue how to implement it (that's why I said I'm probably not the person to do it).

In terms of abstraction..- how abstract does it need to go?

In real terms the RPG Maker socket methods are just calls to a dll ("ws2_32") which runs the send, receive, connect, methods.

Likewise, Ruby's inbuilt socket methods (they aren't accessible to RPG Maker but are to a server in Ruby) actually use a .so.

I don't understand *anything* about these things but I believe they are therefore not in Ruby, but in C or whatever the DLL is written in? So, is this not already the necessary abstraction?

I'm probably wrong.
No I mean a layer between the packet data and the variable table, the direct access to winsock means that the application net code will be very specific to it, if packet types can be defined and have a translation layer between packet types and the RPG maker variables then that translation layer has abstracted the otherwise very direct and specific rmxp network interface into something that can be recreated with greater ease on other platforms for the server side, which let's the server and client start communicating on common network protocols rather than writing server behaviour and client behaviour separately

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=77088