-
/ GMM RUNTIME API AND DATA /
// One API per sim to handle web calls to and from the Gloebit service
private GloebitAPIWrapper m_apiW;
@@ -199,7 +198,8 @@
private string m_opensimVersionNumber = String.Empty;
private bool m_newLandPassFlow = false;
@@ -565,10 +566,16 @@
// They will enable land purchasing, buy-currency, and insufficient-funds flows.
// NOTE gloebits can not currently be purchased from a viewer, but this allows Gloebit to control the
// messaging in this flow and send users to the Gloebit website for purchasing.
/********** Register endpoints the Gloebit Service will call back into **********/
RegisterGloebitWebhooks(httpServer);
@@ -597,9 +604,15 @@
if(m_enabledRegions != null) {
m_log.InfoFormat("[GLOEBITMONEYMODULE] SKIPPING region add {0} is not in enabled region list", scene.RegionInfo.RegionID.ToString());
}
}
}
public void processPHP(IOSHttpRequest request, IOSHttpResponse response)
aka Bill Blight
The Gloebit land buy function was making incorrect calls to function with current master code ..
HTTP stream handlers are
not being added ..
Ubit and I created a working test patch ..
test patch ..
diff -ru a/addon-modules/Gloebit/GloebitMoneyModule/GloebitMoneyModule.cs b/addon-modules/Gloebit/GloebitMoneyModule/GloebitMoneyModule.cs --- a/addon-modules/Gloebit/GloebitMoneyModule/GloebitMoneyModule.cs 2020-07-26 08:31:52.713956090 -0700 +++ b/addon-modules/Gloebit/GloebitMoneyModule/GloebitMoneyModule.cs 2020-07-26 11:04:19.841540530 -0700 @@ -176,7 +176,6 @@ private int TeleportMinPrice = 0; private float TeleportPriceExponent = 0f;
- / GMM RUNTIME API AND DATA / // One API per sim to handle web calls to and from the Gloebit service private GloebitAPIWrapper m_apiW; @@ -199,7 +198,8 @@ private string m_opensimVersionNumber = String.Empty; private bool m_newLandPassFlow = false;
-
@@ -565,10 +566,16 @@ // They will enable land purchasing, buy-currency, and insufficient-funds flows. // NOTE gloebits can not currently be purchased from a viewer, but this allows Gloebit to control the // messaging in this flow and send users to the Gloebit website for purchasing.
MainServer.Instance.AddSimpleStreamHandler(new SimpleStreamHandler("/currency.php", processPHP));
@@ -597,9 +604,15 @@ if(m_enabledRegions != null) { m_log.InfoFormat("[GLOEBITMONEYMODULE] SKIPPING region add {0} is not in enabled region list", scene.RegionInfo.RegionID.ToString()); } } }