ich habe (hoffentlich) nur ein kleines problem mit meiner website.
hier der fix zum download 0.5.3
GSTNet_Events() hat jetzt zwei zusätzliche Parameter:
var vSender: sender of this event as unique client id retrieved with GSTNet_ClientId() on any client

var vReceiver: receiver for this event as unique client id retrieved with GSTNet_ClientId() on any client

Code:
//------------------------------------------------------------------

// function for event: receivechatmessage

//------------------------------------------------------------------

function evFunction(vTyp, sMsg, vSender, vReceiver)

{

if(GSTNet_Connection() == 2 || GSTNet_Connection() == 3 ) { //I am a client

Parse_Function(sMsg); // parse and execute ...

}

if(vSender>0){GSTNet_ServerSend(vSender-1, vTyp, sMsg);} // send the message to the preceeding clientid

}




Andreas
GSTools - Home of
GSTScript 0.9.8: lua scripting for A6/7/8
GSTNet 0.7.9.20: network plugin for A6/7/8
GSTsqlite 1.3.7: sql database plugin for A6/7/8
3DGS Codebase: 57 snippets || 3DGS Downloads: 248 files