I found a better way to do muiltiplayer (ok well easyer)
Why dont you just create a game in a shared folder and let the game load and save data to files, then the other pc can just connect to that folder and read and write the data there?
Dont you think this will be a lot more statick and reliable, i made a chatting program that hacks the schools main computer and then my friends just run it from a shortcut and it saves all
the messages and loads thim again... here is my script for the saving and loading, you can use a other file tipe than a .txt as long as the origenal file tipe was a .txt becouse every file
tipe saves sertain varubles that determan how the file should be loaded, like me i created a .txt and changed the extention to .ctapp and it still worked perfectly:)
Here is my code:
text_save=obj_text_reader.text//sets the text reader var for instant reading text_save+='#' + global.name + " : " + text//ads the username and the var text text=""//sets the var text to noone path=global.ph+"Data\text.txt"//determain the path textfile = file_text_open_write(path)//open the text file file_text_write_string(textfile,string(text_save))//save the var to the text file file_text_close(textfile)//close the text filebtw at the biggining script of the room the var "Global.ph" is set for the path, it is set trugh Settings.ctapp so that i dont need to bring game maker and edit the var every time
Here is the script for that:
settings = file_text_open_read("Settings.ctapp")//open the txt(it was .txt origenaly i just changed the extention) global.ph = file_text_read_string(settings) + "\"// adds a "\" just to make it easyer file_text_close(settings)//closes the text file
What do you guys think?