The 39dll script "receivemessage" has the following:
/* Receives data from the selected tcp or udp socket and copies to the internal buffer. Argument0 = Socket to recieve from. [Argument1] = Amount of bytes to receive. Optional. Overrides the format mode if used. [Argument2]: The buffer id to receive to. Leave out this argument or set it to 0 to use the default buffer. returns the amount of bytes recieved NOTE: If you dont want to save the data to the defualt buffer, than do it like this: receivemessage(sockid, 0, bufferid); */ return external_call(global._SokE, argument0, argument1, argument2);
The calling code that uses the "receivemessage" script is as such:
vAmount = receivemessage(argument0); //Receive one line, remember the amount of characters
//If the amount of characters is larger than 0, proceed
The issue is that the calling code only has one argument. It would seem that the 39dll script "receivemessage" would handle this, but I am getting errors of "only 1 argument supplied, script requires 3 arguments."
Question 1:
- Do I need to include all of the arguments in order to use 39dll with GM8.1?
Question 2:
- Has someone already given a "quick fix" for this somewhere that I simply do not know about.
Any help is appreciated. Thank you.
Edited by Joe H, 26 April 2012 - 10:22 PM.











