networking

  1. Frykaeshi Master

    How to sync objects when networking

    I'm thinking of doing it by sending x and y coordinets and the id of the objects in server and check for what's at that x/y in client to give that instance the id sent as a special id. It will happen in create event (probably with using "with all"). After that every object will get any command...
  2. Bukmand

    GMS 2.3+ WebSocket Node.JS Example

    Download A example of WebSocket and GameMaker that can run on any platform, you can start learning from that example and do your own MMO, keep in mind this is not the perfect example for MMOs. Features: Server-sided movement, collision and health, which means it's better for lag and hard...
  3. The Librarian

    Portfolio - Programming Professionally Experienced Programmer (9+ years of experience)

    Introduction: Greetings and salutations, I am Mason Thompsen, an independent contractor with over 9 years of Game Maker Studio programming experience under my belt. I have programmed games, shaders, demos, senior projects, map designers, and assorted other applications. I begin programming what...
  4. shui.bdr

    i need help with buffers

    so i'm just learning how networking works, and by using these videos i'm trying to create a very simple game like the guy in the video does, but i keep having the error "Attempting to read from outside the buffer, returning 0" and i just can't understand why. i've made two different...
  5. Morkinas

    GMS 2.3+ Server hosting and its capabilities.

    So I'm making a game that has multiplayer and as I just dove into networking so far so good, but I want to ask you guys for some help answering my questions to make up my mind if I should invest time into multiplayer or should I stick with single-player only. 1) If I would host a server I would...
  6. F

    SOLVED Error I don't understand

    Hello! I am currently following a tutorial series on how to do networking in Gamemaker. Link: After going through what the guy did in the video, I get an error message saying: ___________________________________________...
  7. 3

    GMS 2.3+ How to add local ds map with dynamic key to ds_map?

    I am working on a multiplayer game. Therefore, I want to keep track of the units each player has. Thats why I create dynamic keys for each map. I want that my ds_map looks like this at the end "player1":{ "unit1":{ "name": "Infantry", "hitpoints": 1 }, "unit2":{...
  8. SirCaliber

    GML Any way to find Socket IDs while using UDP?

    So the server object and the client object both exist at the same time. But the client object on the host's (server) game seems to intercept certain packets. Basically I have it set up like this: Client sends a little packet to the server Server gets that packet and returns a handshake packet...
  9. Antikore

    SOLVED Sending an image through network

    I've been playing around with GMS 1.4 native networking the last days and I'm doing pretty good, but the challenge I'm facing now is so much more complicated than I've expected. My idea is to send an small image (240 x 135) from the server to the client. As I'm doing my tests on my own computer...
  10. G

    Networking problem...

    Hey all again, I'm in the process of working on my RPG (more info soon enough) and I was wondering if somebody could walk me through the steps of implementing an inventory system. Here's how I'm thinking of it and I just want to know how on/off I am with it. So the server processes input and...
  11. K

    Job Offer - Programmer [PAID] Network Engineer (Steam P2P, GMS 2.3)

    Hello GameMaker Community, I am representing Konologic LLC in the search for a network engineer to work on our zombie-survival game Hordeville. We are looking to use Steam P2P to have real-time online multiplayer available, along with a server browser of public sessions. Pay 20USD/hr...
  12. Anixias

    GMS 2.3+ Unions in GML

    Hi, all. (This is for use with networking, but it might be useful for save data) I have created a BitPacker which allows you to read/write at the bit-level instead of the byte-level to/from buffers. The issue of course was reading and writing data types other than unsigned integers. The...
  13. R

    GMS 2 Multiplayer over WAN?

    I am trying to set up multiplayer for a 2d platforming party game. So far it works great over LAN connection, but when I tried to play with my friends across the internet, nobody was able to join the server. When I discovered the problem, I thought that connecting to my public external ip...
  14. Luke Pierson

    Networking Help

    Hey there! I’m working on an online multiplayer rts and have some experience with networking in gml. I have it so there’s a server that clients can connect to, they can enter a match with each other, they can message each other, and even move units around with the other player being able to see...
  15. P

    Online Multiplayer cant connect from a different pc in the same network

    Hello, I am neither a newbie nor a professional with game maker. Yesterday, I just picked it up again and wanted to learn something about networking. I am still using Game Maker 1.4 but this shouldnt be a big probled, or is it? I was following a tutorial on youtube from Heart Beast about online...
  16. M

    SOLVED [Networking] Making a not local multiplayer game

    I have watched 2 tutorial series about networking. One wasn't that good, but the other was really in-depth. So I have a basic understanding about networking. But one thing wasn't mentioned in either of the series. How do you make it truly online? My project works just fine if the server and...
  17. Armyk

    GMS 2 Why is my client side interpolation glitching out? This bug is keeping me up night for too long.

    video: I have recently dabbled into networking and multiplayer and I just can't figure out why is my client side interpolation glitching out. (the video) The client sends keyboard inputs to the authoritative game server, the server receives and processes the inputs fine, then it sends the...
  18. Mookal

    HTML5 (Networking) Trouble Connecting HTML5 Game to Server Program

    I'm working on a game that's meant to run in browsers and on mobile devices. It allows players to connect to a server program that I made in GMS. Pretty much everything works perfectly; I can export builds of the client program for Android and Windows (for testing purposes) that can connect from...
  19. DonMaklesso

    [SOLVED] Sending surface over network

    Hi, I've been trying to send an application_surface in a buffer (I'm using a server-client system) and displaying it in the client's game so that he would "see what the server sees" but this doesn't seem to work. It doesn't crash or anything just nothing happens. Here's the code: // Server -...
  20. S

    GMS 2 Reading from outside buffer

    Hey all, I've run into a weird networking bug. I've got two projects, a client and a server. When I run both on my local computer, or both on an Azure VM, they work fine. However, if I try to run the client on my local machine and the server on a VM, I get the following error as soon as I...
Top