hippyman
Member
I play a game called Live for Speed that has a couple cool programming toys you can mess with (InSim, OutSim, OutGauge). I know how to connect to servers and the basics of creating/sending/receiving packets and from my understanding, I need to send a binary formatted string to the server, then the server responds with another binary string.
That's where my problem begins. The getting started tutorials say that I need to send a binary formatted string to the game, but I have no idea how to make that in GMS. I was hoping somebody who is familiar with Python can tell me exactly what is happening when you use the function struct.pack. My hope is that by understanding how a binary string is packed/unpacked, I'll be able to do it with GML.
Any help would be greatly appreciated!
That's where my problem begins. The getting started tutorials say that I need to send a binary formatted string to the game, but I have no idea how to make that in GMS. I was hoping somebody who is familiar with Python can tell me exactly what is happening when you use the function struct.pack. My hope is that by understanding how a binary string is packed/unpacked, I'll be able to do it with GML.
Any help would be greatly appreciated!