Grid currency, partial

This commit is contained in:
Siana Gearz
2011-02-11 19:56:30 +01:00
parent 1919c00f2d
commit d97f87b05f
82 changed files with 1164 additions and 1130 deletions

View File

@@ -42,6 +42,8 @@
#include "llappviewer.h"
#include "hippogridmanager.h"
LLXMLRPCValue LLXMLRPCValue::operator[](const char* id) const
{
return LLXMLRPCValue(XMLRPC_VectorGetValueWithID(mV, id));
@@ -422,13 +424,15 @@ void LLXMLRPCTransaction::Impl::setStatus(Status status,
default:
// Usually this means that there's a problem with the login server,
// not with the client. Direct user to status page.
// NOTE: these should really be gHippoGridManager->getCurrentGrid()->getGridName()
// but apparently that's broken as of 1.3 b2 -- MC
mStatusMessage =
"Despite our best efforts, something unexpected has gone wrong. \n"
" \n"
"Please check secondlife.com/status \n"
"Please check " + gHippoGridManager->getCurrentGrid()->getGridNick() + "'s status \n"
"to see if there is a known problem with the service.";
mStatusURI = "http://secondlife.com/status/";
//mStatusURI = "http://secondlife.com/status/";
}
}
}
@@ -436,14 +440,14 @@ void LLXMLRPCTransaction::Impl::setStatus(Status status,
void LLXMLRPCTransaction::Impl::setCurlStatus(CURLcode code)
{
std::string message;
std::string uri = "http://secondlife.com/community/support.php";
std::string uri = gHippoGridManager->getCurrentGrid()->getSupportUrl();
switch (code)
{
case CURLE_COULDNT_RESOLVE_HOST:
message =
"DNS could not resolve the host name.\n"
"Please verify that you can connect to the www.secondlife.com\n"
"Please verify that you can connect to " + gHippoGridManager->getCurrentGrid()->getGridNick() + "'s\n"
"web site. If you can, but continue to receive this error,\n"
"please go to the support section and report this problem.";
break;
@@ -452,7 +456,7 @@ void LLXMLRPCTransaction::Impl::setCurlStatus(CURLcode code)
message =
"The login server couldn't verify itself via SSL.\n"
"If you continue to receive this error, please go\n"
"to the Support section of the SecondLife.com web site\n"
"to the Support section of " + gHippoGridManager->getCurrentGrid()->getGridNick() + "'s web site\n"
"and report the problem.";
break;
@@ -464,7 +468,7 @@ void LLXMLRPCTransaction::Impl::setCurlStatus(CURLcode code)
"are set correctly.\n"
"\n"
"If you continue to receive this error, please go\n"
"to the Support section of the SecondLife.com web site\n"
"to the Support section of " + gHippoGridManager->getCurrentGrid()->getGridNick() + "'s web site\n"
"and report the problem.";
break;