1. M

    Question - Code async_load "ip" truncates ip address

    Greetings, I have been working through understanding networking, and doing so I made a little script that shows me the connection information of the clients. As a network engineer by trade, I like to see this sort of thing. One thing I noticed was when a client had a long an ip address, where...
  2. andev

    In what circumstance is 'size' in network_send_* ever not buffer_tell(buffer)?

    As the title asks. Why is it necessary to state the size of the buffer when sending a packet? When would you ever use a different value (and what happens if you do? I assume it crops the buffer but then again?)
  3. Bukmand

    Asset - Project MMO Engine

    Test the project: Features: Keyboard press networking send, instead of every frame. Server sided moving enemy. Global chat. Player vs player Coordinations are updated every while if any problem happens. Smart double login protection...
  4. Jihl

    Question - Code non_blocking_connection bug

    Hey there, I am using GMS 2 networking system to make an online game, but it fails to connect every so often, in a random manner. I use the configuration: network_set_config(network_config_connect_timeout, 3000) network_set_config(network_config_use_non_blocking_socket, 1) This is the message...
  5. M

    Followed networking tutorial, getting same issue

    buffer_read argument 1 incorrect type (undefined) expecting a Number (YYGI32) at gml_Object_Server_NetworkingEvent_1 (line 47) - buffer_read(buff, buffer_string) Happens, when I try to read from a buffer, called buff. How to resolve it?
  6. Y

    mobile networking

    Hi everyone, i created a .exe to be my a server and i have created a mobile client (android apk). I want to connect the mobile client with the server trough udp, i did it succefully when i connected the mobile to wifi and i used my public ip in the client to deliver the buffers to my server...
  7. D

    Weird Networking Problem

    Hi, I'm working on local multiplayer right now and until a few days ago, I've always been able to host or join a session with my prototype. But now I'm getting the following error: ioctlsocket failed with error: -1 Error (0x 2736): Could not set socket option I've already set my network to...
  8. E

    GML What is causing memory leak?

    Hello, i made a simple server for my online game, and the task manager is showing it is slowly increasing memory usage, when i open the server the memory usage is about 18.000kb and after around 10 hours, the server reaches 200.000kb or more. There's always around 40 players online. All the...
  9. DonMaklesso

    Changing from TCP to UDP

    So basically I have a basic multiplayer (server - client) in my game running on TCP protocol, but I wanted to see how it works on UDP. But when I do this (change from tcp to udp) client can't connect to the server, like it entered wrong IP (same result). Could you please tell me if I should...
  10. C

    Windows Networking Broadcast for Local Server Browser

    Whenever I create a Server on my desktop computer it creates a network that's visible to my laptop so I can connect to it. But doing it the other way around my desktop can't seem to see my laptops network. I've disabled all network firewalls. So, I'm not sure what the problem is. I have also...
  11. Shadowblitz16

    GMS 2 is there a way to send instance id's over network?

    hello I am getting into udp networking in gamemaker and I was wondering how to sync a object by a instance id? I keep getting back different ids then what is on the other end. I would think instance id's start from some base number and amount sequentially during the programs life but it seem...
  12. W

    HTML5 Websocket Glitch? network_connect returns 0 with no server

    SOLVED Using the following code... client = network_create_socket(network_socket_ws); server = network_connect(client, "", 64198 ); So basically... network_connect is suppose to return less than zero is no server is running. However, it returns 0 no matter WHAT. Even if there's no...
  13. E

    GML How to allow Peer to Peer connection

    Hello, let's say you have a master server that all it does is match players with each other by sending their IP. How would you make those matched players connect to each other? Wouldn't they have to have a port opened? Is there a way to make this connection without the players needing to...
  14. C

    P2P Networking

    Hi. I'm trying to figure out how to make P2P connection. I have found no information, most of the documentation and tutorials use a server-client architecture, with different projects for the server and client or having a client to host the server. Thanks in advance.
  15. Jihl

    GMS 2 Socket question!

    Hey there! I have an unusual question about sockets. Is it only neccesary to use the network_destroy function when I need to change a socket type? When should I use this function in game maker? Does it have any importance if I want to connect to different servers over the time? Thanks!
  16. S

    GMS 2 Questionable anti-cheat & multiplayer aspects

    Hello, This might be a silly topic, as it might turn into nerd talk. Let's keep it simple. Anyways, from what I have gathered (quickly), there are no anti-cheat features in GMS2, I was just thinking about it. (The closest feature I found is obfuscation when deploying to HTML5.) Since I am...
  17. Gamerev147

    GMS 2 Post a String to Online Server?

    I'm using an online server called "". I'm able to make a text file on the server and get data from it in GMS2. However, I would like to upload data to this text file on my server using GMS2. Is there anyway this can be done? Any help is appreciated.
  18. G

    Android How to send myself a file from a mobile device?

    Until now, I've been using the http_post_string() function to allow testers to send me debug logs from their mobile devices. (It sent to a PHP script on my web server, which then emailed me a copy.) It appears that we can't use http_post_string() within Android any more, although GameMaker...
  19. matharoo

    GML Networking Tutorials (GMS 2 and 1.4)

    GM Version: GMS2 (also works with 1.4) Target Platform: ALL Download: Part 2: Part 3: Summary: They're three videos, where the first one covers buffers, second one...
  20. 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...