| Blockland Forums > General Discussion |
| Kaphost Blockland Servers |
| << < (814/1314) > >> |
| Lugnut:
i wish that worked for me :( |
| DontCare4Free:
--- Quote from: aludane on July 22, 2012, 02:20:41 PM ---Yea I just implemented code to do an object delete on connection disconnect. --- Code: ---function CBALC::onDisconnect(%this) { echo("Disconnected, deleting TCPObject."); if(isobject(CBALC)) { CBALC.delete(); } } --- End code --- --- End quote --- You should probably use %this instead of the object name directly, in case there is more than one instance. |
| aludane:
--- Quote from: DontCare4Free on July 22, 2012, 02:31:56 PM ---You should probably use %this instead of the object name directly, in case there is more than one instance. --- End quote --- That is most likely why I get failed connections when it's being used a lot. |
| Ephialtes:
--- Quote from: Lugnut on July 22, 2012, 12:57:37 PM ---dude i have a fully functioning webserver running in pure loving torquescript i've also dabbled in what you mentioned, although it was GET not POST he doesn't give a stuff, just as long as you don't forget up and leave the connection open, leaving a bigass hole that can't be filled by connections. uh what i'm saying is this - delete the client tcpobject once you're done --- End quote --- Are you okay? Did you just take your Ritalin or something? Calm down. |
| Lugnut:
i'm not worked up? Did you just use your ten thousandth post telling me to take my Ritalin? |
| Navigation |
| Message Index |
| Next page |
| Previous page |