Poll

Online file storage like Google Drive? (monthly prices)

50GB ($3.00)
41 (11.2%)
100GB ($4.50)
17 (4.7%)
250GB ($7.50)
10 (2.7%)
500GB ($12.50)
7 (1.9%)
750GB ($16)
6 (1.6%)
1TB ($20)
30 (8.2%)
2-8TB (proportional to 1TB price)
0 (0%)
8-16TB (proportional to 1TB price)
43 (11.8%)
Prices too high (READ)
44 (12.1%)
No desire
167 (45.8%)

Total Members Voted: 365

Author Topic: Kaphost Blockland Servers  (Read 657726 times)

What is actually up with the servers? Network issues?

I am sure if you complained about it they could sort it.
pretty sure his system has been running constantly for like a month or so now

stuff just slows down after that long

What is actually up with the servers? Network issues?

I am sure if you complained about it they could sort it.
Definitely not a network issue, but I believe closing down a server running at full CPU stopped the issue. There was no console output.

I'm going to scrap the current server-manager I have for a new one that only authenticates and passes information on to a server's individual manager.

pretty sure his system has been running constantly for like a month or so now

stuff just slows down after that long
If you meant my program, then no, I reset it often, including last week.

The server has been running since May 6th.


What is actually up with the servers? Network issues?

I am sure if you complained about it they could sort it.
OH you're Darren! What happened to your other account

OH you're Darren! What happened to your other account
He got bored :P

Ok so Kalphiter I have a problem with your server and setting up http requests with torquescript. The php sessionid() function doesn't work properly. Basically how do I configure it so that sessionids work otherwise I would need your server to connect to my website to establish a website cookie.

It's annoying I'm looking into the problem more.

EDIT:

Ok in the mean time I have configured the php page to set a non-changing unique identifier. I'll leave it as it is.

If you want to look at the addon to make sure I'm not loving anything up it's called "server_alcchatbot".
« Last Edit: July 27, 2012, 10:13:47 AM by aludane »

Ok so Kalphiter I have a problem with your server and setting up http requests with torquescript. The php sessionid() function doesn't work properly. Basically how do I configure it so that sessionids work otherwise I would need your server to connect to my website to establish a website cookie.

It's annoying I'm looking into the problem more.

EDIT:

Ok in the mean time I have configured the php page to set a non-changing unique identifier. I'll leave it as it is.

If you want to look at the addon to make sure I'm not loving anything up it's called "server_alcchatbot".
Fairly sure you have to handle HTTP cookies yourself in TS. PHP sessions use a session-specific cookie that's called PHPSESSID by default.

I'm trying to find resources about Torque-script and http cookies but I have a quick fix which is to have custom webpages for each service that connects through http. I just grab an existing session string and alter the php script to use.

I'm trying to find resources about Torque-script and http cookies but I have a quick fix which is to have custom webpages for each service that connects through http. I just grab an existing session string and alter the php script to use.
You need to parse the HTTP response headers and then store the PHPSESSID cookie they send. Then send this cookie in the headers when you request something.

You need to parse the HTTP response headers and then store the PHPSESSID cookie they send. Then send this cookie in the headers when you request something.
Yea the cookie "PHPSESSID" is used automatically by PHP so how would I go about storing this cookie.

Here's the header code.
Code: [Select]
function makeHeader(%cmd, %get, %host, %userAgent, %extra) 

   %header = %cmd SPC %get SPC "HTTP/1.1\r\n" @ "Host: "@%host@"\r\n" @ "User-Agent: "@%userAgent@"\r\nConnection: close\r\n" @ %extra;
   return %header;
}


I'm very new to constructing http requests.

And here's an example of calling the function

Code: [Select]
makeHeader("POST", %location, %host, "Blockland", "Content-Type: multipart/form-data; boundary="@%seperator@"\r\n");

This is not the thread to request cookie help in.

This is not the thread to request cookie help in.
Is there a limit on http requests sent from my server? 250 every 24 hours?

I make sure each time that the TCPObject is deleted each time it disconnects.

Is there a limit on http requests sent from my server? 250 every 24 hours?

I make sure each time that the TCPObject is deleted each time it disconnects.
There is no limit, just make sure they disconnect properly.


None of the servers are running?

I can't start mine.