jOpenSimWorld

Grid Status: Online
Total Regions: 23
Visitors (30 Days): 12
Total Residents: 479
Online Now: 0
Hypergriders online: 0

Mapping - Missing home button/Missing Empty Region

11 years 6 months ago #1369 by Jayden
Being a complete novice at Joomla I've installed it and mostly set up JOpensim to work. Most problems are solved now. Just a few little ones left I would really appreciate someone's help on.

I am running in GridHypergrid, so I've been making up solutions to most problems as I find them. I don't want to put up all my remaining problems until I can't go any further. So to start, just two.

OpenSim 0.7.4 / Robust / GridHypergrid
Firestorm 4.2.2 (29837) Aug 27 2012 19:20:05
===
I noticed in the map display that the home button was missing. The line in question via inspector in my browser is

<input style="position: relative; top:-25px; left:10px;" type="image" src="components/com_opensim/assets/images/home.png" id="homebutton" onclick="centerMapPos();">

The leading slash before components is missing, so it thinks the image is at:
http://website/index.php/components/com_opensim/assets/images/home.png
instead of:
http://website/components/com_opensim/assets/images/home.png

In the source code /var/www/components/com_opensim/views/maps/tmpl/default_mapview.php I see:

<input style='position: relative; top:-25px; left:10px;' type='image' src='<?php echo $this->asseturl; ?>images/home.png' style='background:none;' id='homebutton' onClick='centerMapPos();' />

I think this problem can be solved by working out where $this->asseturl is defined. My php and Joomla isn't that good. Sorry. I can't find it in the configuration anywhere. I could patch it by doing src='/<?php echo $this->asseturl; ?>images/home.png' but am concerned it's causing other problems.

===
Second issue is that the map is not showing empty regions. I have a grid of regions:

x.x.x
.
x

Each of those spaces has no regions in it at all.

The map displays them as:

xxx
x

With no empty regions between.

My map parameters are set to:


Map Cache max age: 60
Grid Map Width: 640
Grid Map height: 640
Default Map Size: 64
Minimum Map size: 32
Maximum Map Size: 512
Zoom Step: 5
Horizonzal Center Offset: -5
Vertical Center Offset: -1


Thanks so much for the help on a wonderful application. Sorry if they are silly questions.

Please Log in or Create an account to join the conversation.

11 years 6 months ago #1370 by foto50
Hi Jayden

Thanks for pointing me to this issue with the missing / for the button. In your case you should not worry if this is causing other problems. In general, the solution should be made a bit different since some might not have joomla installed in the root folder of the host. But I am aware of this and will try to change this in the upcoming version of jOpenSim :)

About missing empty regions: this is wanted. It happens sometimes, that folks used to create a "secret" region and positioned it thousands of steps away from the rest of regions. What happened was that jOpenSim tried to create millions of empty cells and the server most of time ran out of memory *g*

I admit that this is not really the ideal solution and since ages I want to have a look on the map issue to change it to some better way. But unfortunately I did not find the time for everything until now ;)

Greetz
FoTo50

Please Log in or Create an account to join the conversation.

11 years 6 months ago #1371 by Jayden
I can understand that reason for the missing regions. It makes sense.

Thanks :)

This is a wonderful addition to OpenSim.

Please Log in or Create an account to join the conversation.

11 years 5 months ago #1378 by DJ Devil
The Home Button on the maps is a issue related to the Joomla url Rewriting like a unrewrited URL will show the home button a normal rewrite without .htaccess like /index.php/maps wont show it, but if you use .htaccess rewriting so you have something like /maps.html it will work again

Please Log in or Create an account to join the conversation.

Time to create page: 0.081 seconds

Search

Donate jOpenSim

Please consider supporting our efforts.

Amount

Our Regions

Region: Loc X: Loc Y:
Agora 1000 998
BareBad… 997 997
Bohemas 996 998
BoraBor… 1002 999
Crystal… 1001 1000
DeepTho… 1005 998
FoToSan… 999 995
jCity 1001 997
jOpenWe… 1000 999
JuniorT… 1002 1001
Kanadah… 1002 1000
LindaKe… 1000 997
LittleC… 996 997
MonteSc… 1001 1001
Naos 999 999
Pangaea 1005 1003
RiverSi… 999 1000
Sakani 999 998
Snambin 1001 998
Tartola 997 998
ViewerH… 1002 998
WaterWo… 1001 999
WilderK… 1000 1000

jOpenSimWorld

Grid Status: Online
Total Regions: 23
Visitors (30 Days): 12
Total Residents: 479
Online Now: 0
Hypergriders online: 0