network

  1. FoufaDjo

    GMS 2 Change Key State By variable value

    so i want to change key state if its pressed or not by variable value something like this and idk if it work pls help me : rkey = keyboard_check(ord("D")); lkey = keyboard_check(ord("Q")); dkey = keyboard_check(ord("S")); ukey = keyboard_check(ord("Z")); playerid.rkey = mover; playerid.lkey =...
  2. FoufaDjo

    GMS 2 HeartBeast networking for more then 2 clients?

    is there a way to add more then one player to the server like a player host server select player then the other can join so like the host send his player creation stats like color and class ect and the server creat the object something like that i saw HeartBeast Networking for Beginners! and...
  3. Duckbob

    Android / Amazon Fire Networking event Crash, Shutdown - in 2.2.4 update.

    There's no logical problem at all, so it worked perfectly before the 2.2.4 update. It works normally on the PC and some Android phones after the 2.2.4 update. However, a shutdown is inevitable on the home screen if a large(sometimes small) buffer is received after a successful connection is made...
  4. Wizirdi

    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, "192.168.0.1", 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...
  5. G

    Legacy GM LAN Platformer Demo - Disconnect button

    Hello I have problem with disconnect button. On map I have object which has step code: if(keyboard_check(ord('O'))){ with(oServer){ network_destroy(server); global.haveserver = false; buffer_delete(player_buffer); buffer_delete(broadcast_buffer)...
  6. Pfap

    Determining which server region to connect to?

    How can I figure out which server region to connect to? I've previously asked this question on stack overflow and while I received useful information most of the suggestions wouldn't easily be applicable to a purely gml solution. Is there a marketplace asset that anybody knows of for location...
  7. Jihl

    GML Network question

    Hey there all! I am getting a console message saying this: Client(1) Connected: 200.83.1.xxx.xxx ERROR: login failed And I quite don't understand the error since I've read and used the network system as best as I can and I have not found any information about this anywhere. Do anyone know what...
  8. D

    GMS 2 Network drawing from one window to another.

    I have 2 basic projects that only contain objects needed to connect to each other. One project being for the client and the other is the server. The client passes mouse_x and mouse_y location to the server and is then read through an async event. Then finally the mouse coordinates from client...
  9. H

    Android / Amazon Fire Can't connect with 4G connection.

    Hi, I've trying around with networking system between Android and Windows. The strategy is this : Server.exe is in my computer and constantly running, then player (only Android app, not Windows) can connect to it. The connection with Wi-fi (in Android) worked fine, declaring Server side local...
  10. MoncefFennich DZDev

    GMS 2 Online Multiplayer?

    I was looking at Youtube for how to make online multiplayer but I only found the LAN for networking. But I'm not sure there's an online network, There are Local & Bluetooth. Is there really? So How?
  11. NNNIKKI

    GMS 2 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...
  12. Rabid

    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 ) {...
  13. Pfap

    App in background

    I'm trying to find a way to still receive network data if the game loses focus. Or rather to store data on the other client if the player has pushed the game to the background. The game is turn based. if os_type == os_ios || os_type == os_android{ if os_is_paused(){ //let the other...
  14. Ronchon

    Legacy GM Network connection drops when window is minimized

    Hi, I'm having an issue where if the game is minimized, connection become much more unstable for some players, often ending up into an actual disconnection and acting as if some networking events simply stopped being executed ( from logs, an event happening in the step even of an object will...
  15. 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...
  16. Didjynn

    Job Offer - Programmer recruiting / looking for help to online

    Hello, we made the game Suprapong https://store.steampowered.com/app/908840/Suprapong/ Now we would like to add online to it. We tried to do one, but we don't have enough experience, we don't think to be able to do better and we had some lag issues. So we are looking for some help here and if...
  17. Didjynn

    recruiting / looking for help for online

    Hello everyone, We made the game Suprapong https://store.steampowered.com/app/908840/Suprapong/ Now we would like to add online to it. We tried to do one, we used the gmnet engine but we had some lag issues and because we don't have enough experience, we don't think to be able to do better...
  18. BlaXun

    GMS 2 Client/Server Architecture

    Hello everybody, I recently got a idea for a game I'd like to prototype... a sidescroller. However, as my previous game I want this one to be online at one point as well. For my earlier games I had two seperate programs. The client (game) and the server. What happened due to this is that the...
  19. lukbebalduke

    GML Networking: Issues receiving packet

    Hey! I am having some difficulty dealing with networking - sending and receiving packets. Right now I am stuck with the following problem: whenever I call network_send_packet() the function returns a real positive number (indicating that it has worked correctly ), although, the server is not...
  20. R

    Legacy GM A couple of queries about online/database communication

    Hi Everyone! Apologies if this isn't exactly the correct place to ask this question, I was tossing up between posting it here and the 'Game Design, Development, and Publishing' board, but I figured it's slightly more tech-based so I'd stick it here. Anyway! I'm currently considering an idea...
Top