ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
World server - Registry (Wishlist)
World server - Registry // WishlisttengelNov 21, 2004, 2:59pm
Just a idea, but would be nice.
at world server, you can only add registry.txt that is local, but if you could use url as well, like www.myregistrydomain.com/registry.txt and also, that a option where you can set world server to reload registry like every hour, or 24 hour. or not at all. it will open, possibility to create site, where users can upload own objects to the path, and this objects can be written into the registry. to explain what I would use this to: to create a site, where register users, can have a account, where they can upload exp. 2 mb of objects. when user have upload a object, php script will generate new registry.txt. -- Tengel www.3D-Nordic.com themaskNov 21, 2004, 10:48pm
I'm confused, but are you trying to say to have a local registry.txt for
each world, and/or one on the web? I cant really get what your trying to say but an idea comes to me.. mind rephrasing? -- Signed, TheMask :: Owner of Delusional-Minds Hosting :: Free world hosting.. Just a T-Gram will do it. tengelNov 21, 2004, 11:02pm
Well, one more try.
Today, registry can only be where the world server is. If the world server support, that registry can be another place like a url. And it also support reloads of registry, to set time. You can then have registry, added to a Database, where, a php generates a new registry.txt ( fwrite ), every time database get updated with new objects from website. This will give allot freedom, but also same time possibility to have an object list at web that is always updated. So long registry can only be at same place as the world server, this can't be done -- Tengel www.3D-Nordic.com [View Quote] jermeNov 21, 2004, 11:54pm
I understand what you're trying to get at, but you can already do this,
i'm pretty sure. First, have your php script accept the upload of the object. Use the php script to create a registry entry for that object, and add it to the registry.txt file. Then, have your php script call a small C++ program that does nothing but connect to the server and reload the registry for the world in question. (see http://www.activeworlds.com/sdk/aw_server_world_change.htm) This program would have to be run on the same physical machine the the world server is running on, and I think the SDK functions require the world server admin password, so you can only do it if you're also an administrator (or the administrator sets up the program for you). So, this doesn't have all the advantages you were looking for (remote solution, most of it is still server-side); however, it does allow anyone to go to a web page, upload an object, and how it insered and loaded into the registry right away. Regards, Jeremy [View Quote] tengelNov 22, 2004, 12:28am
>it does allow
>anyone to go to a web page, upload an object, and how >it insered and >loaded into the registry right away. Yup, have no problem with that, but as you said, this server inside, is the problem, so my idea was if the world server support a external url for the registry, it would help -- Tengel www.3D-Nordic.com [View Quote] jermeNov 22, 2004, 12:59pm
Yes, i definitly agree with you and see your point.
If the SDK could be used to load a registry file from a URL, then this process could be carried out completly from a remote webserver (using the php script/c++ bot strategy). -Jeremy [View Quote] |