• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

networking

  1. matharoo

    GML Networking Tutorials (GMS 2 and 1.4)

    GM Version: GMS2 (also works with 1.4) Target Platform: ALL Download: Part 2: https://www.dropbox.com/s/5cdb5wc0yxtmwwv/networking.yyz?dl=0 Part 3: https://www.dropbox.com/s/1pd9cpydjbsnfoj/networking-two.yyz?dl=0 Summary: They're three videos, where the first one covers buffers, second one...
  2. Jihl

    Development Servers question

    Hey there! I need to make a mobile app, it has to communicate with a server in real time and I need this server to be online with a Google VPS virtual machine. Someone in the forum told me that, to run a GM's game executable (the server would be a desktop executable) you need a video card. So...
  3. Jihl

    Android Setting up a server for android App

    Hey there! I am going to create an Android App which will communicate with a server using GM Networking system. My question is: Is there a problem if I make 2 projects, one for the android app and the other one (desktop windows) to be run in a virtual machine that will hold the server? Would...
  4. Jihl

    Android GMS2 Server use with google cloud VPS question

    Hey there! I am just one question away from buying the licence to export to Android and IOS. My app needs to interact with a server 24/7, I've seen that Google offers some server tools to use, also Amazon and other big companies. So the question is, is there a problem if I want to run the...
  5. T

    Legacy GM Doing network functions: can you find if a computers port is free?

    Hi. I am looking into multi-threading. Having set up a project handling networking, I want to integrate it with "execute shell" (a marketplace asset which allows loading up a second instance of a project) The two versions will communicate with each other, and then I'll see how it can be handled...
  6. N

    GameMaker Some networking error

    I'm pretty sure this is trivial, since this is the first time I'm implementing networking... Resizing swap chain...Error (0x 2740): Can't bind port Setting SO_REUSEADDR and retrying...Error (0x 271d): Can't bind port even with SO_REUSEADDR I can provide more code if it's needed but I don't...
  7. D

    problems with networking

    hi there, Apologies for the vague title, but I honestly have no idea what's the problem so it's hard to name it. But I can give a description of what's going wrong. I'm working on a little test project to figure out networking a bit more. I start the game twice and have one be the server and...
  8. D

    Networking timing difference

    Hello, I am working on a multiplayer game in GameMaker. The concept is close to a fighting game and so it's very important both players see the same thing happening at the exact same time. It takes a while for a buffer to be sent to the other player though. A lot of fighting games fix this by...
  9. M

    GameMaker [Solved] Networking a java server and gms client, trouble receiving data from java server

    Solved: Endian problem, switched ByteBuffer order in java and that solved it. I'm using the ByteBuffer class from java in order to write to a byte[] array, and then I'm sending it as a DatagramPacket through a DatagramSocket. This is the code: byte[] dataOut = new byte[1024]...
  10. F

    Real Time Multiplayer

    I want to make a Real Time Multiplayer Battle game, for 2 players. But i don't know how can i make that, can i make it so the networking will be between the two players, or i have to host a server, when two players want to battle?
  11. K

    GameMaker 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...
  12. P

    Question - Code [SOLVED] Reliable UDP

    When reading the documentation on network_set_config, we came across the "reliable UDP protocol" that GameMaker apparently supports. This protocol claims to guarantee that packets find their destination, without extra code on your end. For complicated reasons, our project cannot use TCP, so this...
  13. R

    GameMaker 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 ) {...
  14. hans

    GameMaker Source Control Help(solved)

    Can someone please walk me through game maker source control. I've looked for countless tutorials but no luck. I have already installed bitbucket, git, and github so, if anyone only knows those that's fine.
  15. 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...
  16. D

    networking UDP not sending (solved)

    Hi there, I've been working on a game that uses UDP to broadcast data for lobbies and then connects to the server with the lowest ping using TCP. The packets that are being broadcasted only contain a certain time. When another person receives the packet it will send back the time and the person...
  17. Pfap

    random seed with deterministic lock step ish

    I'm wondering if anybody has any input on how to handle this, or if I'm way off with my thinking here. If I have a script that generates random values and then if I get a random seed and send that seed to another player on a different device will they generate the same values? Assuming...
  18. R

    Legacy GM Networking Lag Spikes

    I am attempting to make my first networking game on GM, but I am having large lag spikes very frequently. In my code the client sends the sever the current_time, server sends back that time, and client compares that to the current_time, giving me my ping. The game is running at 60fps (both...
  19. H

    GameMaker Network strategy question

    Context: I am doing a peer to peer system. Let’s say server ask client to do something. Server needs to keep broadcasting the message until client acknowledge message received, in case first broadcast data is not received. But in order to prevent client from executing the same order multiple...
  20. H

    Windows Network_create_server problem

    I just started with networking part of my project. I have zero experience in such matter and is learning as I go along. Anyway, I was doing fine for over 2 weeks now. Then suddenly nothing works today. I found it real strange as I changed little before it stopped working. Spending hours trying...
Top