diff options
more warnings to go.
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs index 1883b0a..57524a9 100644 --- a/OpenSim/Region/Environment/Modules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs +++ b/OpenSim/Region/Environment/Modules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs | |||
@@ -60,18 +60,18 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Currency.SampleMoney | |||
60 | /// <summary> | 60 | /// <summary> |
61 | /// Where Stipends come from and Fees go to. | 61 | /// Where Stipends come from and Fees go to. |
62 | /// </summary> | 62 | /// </summary> |
63 | private LLUUID EconomyBaseAccount = LLUUID.Zero; | 63 | // private LLUUID EconomyBaseAccount = LLUUID.Zero; |
64 | 64 | ||
65 | private float EnergyEfficiency = 0f; | 65 | private float EnergyEfficiency = 0f; |
66 | private bool gridmode = false; | 66 | private bool gridmode = false; |
67 | private ObjectPaid handerOnObjectPaid; | 67 | // private ObjectPaid handerOnObjectPaid; |
68 | private bool m_enabled = true; | 68 | private bool m_enabled = true; |
69 | 69 | ||
70 | private IConfigSource m_gConfig; | 70 | private IConfigSource m_gConfig; |
71 | 71 | ||
72 | private bool m_keepMoneyAcrossLogins = true; | 72 | private bool m_keepMoneyAcrossLogins = true; |
73 | private Dictionary<LLUUID, int> m_KnownClientFunds = new Dictionary<LLUUID, int>(); | 73 | private Dictionary<LLUUID, int> m_KnownClientFunds = new Dictionary<LLUUID, int>(); |
74 | private string m_LandAddress = String.Empty; | 74 | // private string m_LandAddress = String.Empty; |
75 | 75 | ||
76 | private int m_minFundsBeforeRefresh = 100; | 76 | private int m_minFundsBeforeRefresh = 100; |
77 | private string m_MoneyAddress = String.Empty; | 77 | private string m_MoneyAddress = String.Empty; |
@@ -105,8 +105,8 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Currency.SampleMoney | |||
105 | private int TeleportMinPrice = 0; | 105 | private int TeleportMinPrice = 0; |
106 | 106 | ||
107 | private float TeleportPriceExponent = 0f; | 107 | private float TeleportPriceExponent = 0f; |
108 | private int UserLevelPaysFees = 2; | 108 | // private int UserLevelPaysFees = 2; |
109 | private Scene XMLRPCHandler; | 109 | // private Scene XMLRPCHandler; |
110 | 110 | ||
111 | #region IMoneyModule Members | 111 | #region IMoneyModule Members |
112 | 112 | ||
@@ -136,7 +136,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Currency.SampleMoney | |||
136 | { | 136 | { |
137 | if (m_scenel.Count == 0) | 137 | if (m_scenel.Count == 0) |
138 | { | 138 | { |
139 | XMLRPCHandler = scene; | 139 | // XMLRPCHandler = scene; |
140 | 140 | ||
141 | // To use the following you need to add: | 141 | // To use the following you need to add: |
142 | // -helperuri <ADDRESS TO HERE OR grid MONEY SERVER> | 142 | // -helperuri <ADDRESS TO HERE OR grid MONEY SERVER> |
@@ -250,15 +250,15 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Currency.SampleMoney | |||
250 | PriceObjectScaleFactor = startupConfig.GetFloat("PriceObjectScaleFactor", 10); | 250 | PriceObjectScaleFactor = startupConfig.GetFloat("PriceObjectScaleFactor", 10); |
251 | PriceParcelRent = startupConfig.GetInt("PriceParcelRent", 1); | 251 | PriceParcelRent = startupConfig.GetInt("PriceParcelRent", 1); |
252 | PriceGroupCreate = startupConfig.GetInt("PriceGroupCreate", -1); | 252 | PriceGroupCreate = startupConfig.GetInt("PriceGroupCreate", -1); |
253 | string EBA = startupConfig.GetString("EconomyBaseAccount", LLUUID.Zero.ToString()); | 253 | // string EBA = startupConfig.GetString("EconomyBaseAccount", LLUUID.Zero.ToString()); |
254 | Helpers.TryParse(EBA, out EconomyBaseAccount); | 254 | // Helpers.TryParse(EBA, out EconomyBaseAccount); |
255 | 255 | ||
256 | UserLevelPaysFees = startupConfig.GetInt("UserLevelPaysFees", -1); | 256 | // UserLevelPaysFees = startupConfig.GetInt("UserLevelPaysFees", -1); |
257 | m_stipend = startupConfig.GetInt("UserStipend", 500); | 257 | m_stipend = startupConfig.GetInt("UserStipend", 500); |
258 | m_minFundsBeforeRefresh = startupConfig.GetInt("IssueStipendWhenClientIsBelowAmount", 10); | 258 | m_minFundsBeforeRefresh = startupConfig.GetInt("IssueStipendWhenClientIsBelowAmount", 10); |
259 | m_keepMoneyAcrossLogins = startupConfig.GetBoolean("KeepMoneyAcrossLogins", true); | 259 | m_keepMoneyAcrossLogins = startupConfig.GetBoolean("KeepMoneyAcrossLogins", true); |
260 | m_MoneyAddress = startupConfig.GetString("CurrencyServer", String.Empty); | 260 | m_MoneyAddress = startupConfig.GetString("CurrencyServer", String.Empty); |
261 | m_LandAddress = startupConfig.GetString("LandServer", String.Empty); | 261 | // m_LandAddress = startupConfig.GetString("LandServer", String.Empty); |
262 | } | 262 | } |
263 | 263 | ||
264 | // Send ObjectCapacity to Scene.. Which sends it to the SimStatsReporter. | 264 | // Send ObjectCapacity to Scene.. Which sends it to the SimStatsReporter. |