Jump to content


Member Since 13 Apr 2009
Offline Last Active Mar 29 2016 01:57 AM

Posts I've Made

In Topic: Server/Client TCP packages not transferring

03 May 2015 - 03:35 PM

Hi, the code it doing what it should.


Basically, what's happening, is you are sending 3 ints, with the values 64, 88 and 90. An int has a size of 4 bytes. So you are actually sending 3*4 bytes.


On the receiving end you read 4 bytes for the first int coming in, the 64. And are printing the first two bytes of that int. Internally, the int will be four bytes of 64, 0, 0, 0. So when you print the first two bytes, you get 64 and then zero.


The second line, you receive two values at once (8 bytes), which is normal, as the network will buffer input for you. You again read the first and second byte of the first int.


So the data you send is:

64 00 00 00 88 00 00 00 90 00 00 00 64 00 00 00 88 00 00 00 90 00 00 00 etc.

and you read:

64 00 00 00 88 00 00 00 90 00 00 00 64 00 00 00 88 00 00 00 90 00 00 00 etc.


To read the correct data just use:

buffer_read(buffer, buffer_s32);

This will read a full 4 bytes of a signed int.

And then check the buffer size to see if more than one int came at once.

In Topic: Is there any extension creation tutorial

02 July 2014 - 11:50 AM

Check out: http://help.yoyogame...1648-Extensions


There is one for Android, one for IOS and one for Mac, Windows and JS.


Android one:


In Topic: Websites Marking My Game As Malicious

25 April 2014 - 02:19 PM

Looks like your computer is infected with a Sality virus. This kind of virus plants malicious code on your computer and will often attempt to infect every .exe file it can get its hands on. Your game was most likely infected by the virus. Sality is very hard to remove, as it can duplicate itself into every .exe file on your computer in a way that can't be reversed automatically.

In Topic: The Great Gmc Jam #11 Discussion Topic

27 July 2013 - 03:00 AM

Ahh, haven't used Game Maker in so long, let's hope I can make something decent by the end of the Jam ;)


For anyone still trying to find an idea, Just write random things to do with monsters on paper, or in notepad, and just develop the idea, even if you won't use it :P You're more likely to think of something good if you are in a monster-game theme mindset.. I did this, and while I'm not using alot of these ideas, it helped me think of the idea I am using ;)



In Topic: How To Set All Values In An Array

27 May 2013 - 08:50 PM

The best way would be to loop through all the values of the array, however, GM arrays are initialised to 0 by default when using the standard array initialisation syntax. (inventory[10]=0;) Also, may I recommend my Inventory Example for GM8.0 . It is still working in the latest version. http://host-a.net/u/...(inventory).gmk