[Opensim-users] Setting directory fee

Gudule Lapointe gudule at spekuloos.be
Wed Apr 25 14:09:38 UTC 2012


On the other hand, in found (in Singularity code)

./indra/newview/llstartup.cpp
   	tmp = LLUserAuth::getInstance()->getResponse("directory_fee");
	if (!tmp.empty()) gHippoGridManager->getConnectedGrid()->setDirectoryFee(atoi(tmp.c_str()));
along with other login-transmitted values

But I don't know if this really specific to sing or hippo

I was about to try to add a custom value in OpenSim/Services/LLLoginService/LLLoginResponse.cs

    public class LLLoginResponse : OpenSim.Services.Interfaces.LoginResponse
    {
	(…)
        public override Hashtable ToHashtable() { 
		(…)
		responseData["directory_fee"] = ...;


Le 25 avr. 2012 à 14:23, James Hughes a écrit :

--
http://www.speculoos.net/
secondlife://speculoos.net:8002/
Speculoos, the belgian cookie-flavored metaverse

> I am still working on it - but on the web server/OpenSim side of things atm...
> 
> It looks like this label is hard coded in V3 ...
> ./indra/newview/skins/default/xui/en/floater_about_land.xml
>             label="Show Place in Search (L$30/week)"
> 
> Would need to dig to see how the charges are determined and applied. I'm guessing the user's account would be charged from the search application. I will look into that next time I dive into the viewer code.
> 
> -BlueWall
> 
> 
> 
> On 04/24/2012 07:56 PM, Justin Clark-Casey wrote:
>> I would guess this is going to be implemented in an external search
>> module if it is.
>> 
>> I don't believe there is currently any way to override the default
>> search in v3. BlueWall was working on a viewer patch though I don't know
>> how far he got with it. He was even hoping to get it into the official
>> viewer.
>> 
>> On 24/04/12 19:28, Gudule Lapointe wrote:
>>> Search is working fine on v1 viewers with ossearch module.
>>> 
>>> I would still love to know a way to override the default search page
>>> in v3 viewers, which seems to be hardcoded in viewer?
>>> 
>>> 
>>> --
>>> http://www.speculoos.net/
>>> secondlife://speculoos.net:8002/
>>> Speculoos, the belgian cookie-flavored metaverse
>>> 
>>> Le 24 avr. 2012 à 19:00, InuYasha Meiji a écrit :
>>> 
>>>> Just a quick Question: you have search working to put a land to show
>>>> up in? Must be on a special version or something.
>>>> Seems to me search no longer works since all the viewers I have tried
>>>> wants to load the SL search web site.
>>>> 
>>>> InuYasha.
>>>> 
>>>> 
>>>> On 4/24/2012 11:48 AM, Gudule Lapointe wrote:
>>>>> Is there a way to set (more precisely to unset) the 30L$ price for
>>>>> "Show this place in search results"?
>>>>> 
>>>>> Actually, there is no fee applied, though L$30 / week fee appears in
>>>>> the land option. So users would avoid checking
>>>>> the option, thinking they would be billed for that.
>>>>> 
>>>>> I looked in source code and didn't find any place where this price
>>>>> is set.
>>>>> I found a corresponding variable, DIRECTORY_FEE, in viewer code, but
>>>>> I didn't find where it is set.
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> --
>>>>> http://www.speculoos.net/
>>>>> secondlife://speculoos.net:8002/
>>>>> Speculoos, the belgian cookie-flavored metaverse
>>>>> 
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> Opensim-users mailing list
>>>>> Opensim-users at lists.berlios.de <mailto:Opensim-users at lists.berlios.de>
>>>>> https://lists.berlios.de/mailman/listinfo/opensim-users
>>>> 
>>>> 
>>>> --
>>>> ________________________________________________________________
>>>> Opensim User: Standalone Grid on Version 0.7.3.1 with 56 Regions
>>>> on Windows 7, 64-bit. Phenom 9500 2.2 ghz Quad Core, Terabyte Hard
>>>> Drive, 8gig DDR2 RAM. Used XAMPP to load PHP Version 5.3.0, Apache
>>>> and MySQL 5.1.41-community edition. Groups, Profiles, Voice and
>>>> Offline Mesages all working. (Not yet Public, 6 users allowed Now).
>>>> ________________________________________________________________
>>>> 
>>>> _______________________________________________
>>>> Opensim-users mailing list
>>>> Opensim-users at lists.berlios.de <mailto:Opensim-users at lists.berlios.de>
>>>> https://lists.berlios.de/mailman/listinfo/opensim-users
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Opensim-users mailing list
>>> Opensim-users at lists.berlios.de
>>> https://lists.berlios.de/mailman/listinfo/opensim-users
>> 
>> 
> 
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-users/attachments/20120425/54ef31fc/attachment.html>


More information about the Opensim-users mailing list