networking gm2

  1. solarcrispz

    GMS 2 Attempting to write outside buffer, line -1?

    Hey guys I've been putting together a multiplayer game with pretty good success. I've encountered "attempting to read from outside buffer, returning 0" errors before, but they're never as ambiguous as the one I'm consistently running into recently. Here it is: FATAL ERROR in action number 1 of...
  2. RGBCGAMES

    I need help with buffer_seek error

    I have been trying to fix this all day but I can't figure it out! Every time I hit enter on my create a server button on my game I get the following error ___________________________________________ ############################################################################################...
  3. D

    Need help with LAN Networking

    Hi, I'm trying to implement a feature with which each client can search for servers within the local network, so I'm making a server list before the actual server-client-connection is set up. My system works like this: 1) First the client sends a buffer using network_send_broadcast. 2) The...
  4. K

    GMS 2 Networking: Item dupe + check variable before taking action

    Hello!, first of all, i apologize if my english isn't correct! ... about my problem, I have an object that is a container, inside there are 5 items, every time a player interacts with that container, an item is subtracted, then I send to the other clients the notice that I have removed an item...
  5. R

    GMS 2 GameMaker not picking the correct network to broadcast message

    In my game I need to get the local network IP of the computer that is running the game, and for that purpose I have the following code: // Create event randomize(); var random_port = irandom_range(49152,65535); host = network_create_server(network_socket_udp, random_port, 5); if ( host < 0 ) {...
  6. G

    Networking problem GMS2 - client Async event doesn't happen

    I'm working on a pvp protoype and is exploring networking for that project, but I've run into problems: Server seems to be sending (I get a bytes sent count), but the client doesn't even throw the Async Networking Event. - Server application *is* up and running. - Client *can* connect with...
  7. ponotte

    GMS 2 TCP vs UDP?

    I have this game in developement that is going to be fps space shooting multiplayer, and i've been doing to networking after some tutorial, as i learnt networking at the same time, well, the tutorial was made with TCP and what i've understood, UDP would be better on game like i have. well, i've...
  8. JAG

    Steam Comprehensive list of GM-created Steam games?

    Hey there! Like a lot of you, I'm sure, I'm making a game in GM which I intend to release on Steam and itch. I'm wondering if anyone knows if there's a decent list out there of all the GM games from the past couple years that have been released on Steam? The reason for this list would be...
  9. S

    Game Mechanics P2P Rollback Netcode?

    (If you already know what GGPO and P2P Rollback Netcode are, skip to the last paragraph.) I'm currently in the process of creating a fighting game and have a few questions to see if GMS2 is a good fit for this project. In fighting games, having low latency online is crucial to whether or not a...
  10. JAG

    Design Is online multiplayer a requirement?

    Hi! Im making a 4-player competitive brawler with GMS2, here's a video to give you an idea of what it's like. I have been struggling with this question for about a year now: Is it worth the time and effort required for me to add online play? So far in my investigation I have come to understand...
  11. BMatjasic

    Asset - Project UDP Game Networking Engine (GMS 2 and 1.4 Compatible) 6.99$ Release discount!

    Complete UDP Networking engine, that is very simple to use and very optimized! it also includes HTTP Login and register system. Every single line of code is commented! Marketplace URL: Link Download demo: Link Video of demonstration: It includes: Very easy to use Simple coding A server...
  12. Benjamin Herne

    GMS 2 Differentiating Data with gamemaker studio 2 networking

    I have managed to create a connection between my client and server programs. Now I need to send some data - a username and a password. What I do not understand is how to tell the server that "This packet is a username" or "This packet is a password". I have seen it done before, using some form...
  13. Benjamin Herne

    GMS 2 Linking Clients to each other directly

    Ok, here is the situation that I have in mind. I am building a game in which there is a 1v1 battle mode. There is a central server that all clients connect to. What I would like to happen is that, when a 1v1 battle is initiated, the central server tells one of the clients to host a server, and...
  14. LDinos

    GMS 2 [HELP] LAN works perfectly, WAN is really buggy and weird

    Hello! I have been making a 3-match game and I recently added online functionality. After I read the documentation about making servers, I finally managed to make a LAN gamemode, and I saw that it worked perfectly! So it was time to port forward my ip and give it to somewhere else to try it with...
Top