Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Macbook Pro - map problems with intel client (but not G4)

Roj Snook
Registered User
Join date: 2 Jun 2007
Posts: 49
07-01-2007 04:02
Hi, relative newbie here having some problems with the map displaying correctly.

Basically, I've used a script from the forums here and although I can hear you all saying it should be in the scripting forum, this issue only seems to be affecting me and not others and it appears to be an INTEL client problem.

If I drop a landmark into the object (which is a teleporter which basically brings up the landmark in the map), others can click, see it on the map and go to it but for me it only displays the boundary of my home (where I have land). It does this no matter where I am.

I've passed the script to others and they've been able to use it no problem, but it still wont work for me when I click on it - it just shows my home sim regardless of where the bookmark is.

I'm using a Mac Intel Powerbook, using the latest and earliest clients to try and get it to work, but to no avail.

I've deleted preferences from the system and it makes no difference. I've tried an earlier client and no difference. I've rebooted several times. No difference.

I'd normally put it down to a dodgy script, but the fact that it works for others makes me wonder if its a problem with the Mac Intel client as the others are on PC's.

I've also tried it on an ordinary G4 Mac which uses the normal motorola chipset rather than the intel and it works. So it points to a problem with the Intel client.

The script is below, should anyone else wish to try and see if they have the same issues.

If anyone can replicate it then we can report it as a bug.

Roj.

//Script start
key request;
string name;
string sim_name;
vector pos;

default
{
state_entry()
{
llAllowInventoryDrop(1);
if(llGetInventoryNumber(INVENTORY_LANDMARK))
{
name = llGetInventoryName(INVENTORY_LANDMARK,0);
request = llRequestInventoryData(name);
}
else
llWhisper(0,"Please drop a landmark on me";);
}
dataserver(key id, string data)
{
if(id == request)
{
pos = (vector)data;
sim_name = llGetRegionName();
llSetText("Touch to show \""+name+"\" on the map.",<1.0,1.0,1.0>,1.0);
}
}
//

touch_start(integer a)
{
if(name != "";)
llMapDestination(sim_name, pos, pos);
else
{
llWhisper(0, "No Landmarks found";);
llResetScript(); //this will cover grid crashes and upgrades for static prims
}
if(name != "";)
llMapDestination(sim_name, pos, pos);
}
changed(integer a)
{
if(a & (CHANGED_INVENTORY | CHANGED_ALLOWED_DROP))
if(llGetInventoryNumber(INVENTORY_LANDMARK))
request = llRequestInventoryData(name = llGetInventoryName(INVENTORY_LANDMARK,0));
}
}

//Script stop
Ged Larsen
thwarted by quaternions
Join date: 4 Dec 2006
Posts: 294
07-01-2007 05:09
MacIntel client here too, and have a similar problem not with my own script, but with the excellent MystiTool.
_____________________
- LoopRez, flexi prim skirt generating tool
- LinkRez, a necklace chain generator
Missy Malaprop
♥Diaper Girl♥
Join date: 28 Oct 2005
Posts: 544
i found the bug
07-03-2007 11:27
i found the bug after some testing, tonight i'll have time to write it up on the Jira and maybe get it fixed... I don't have a PPC mac to test it on but it definitely happens on Intel Macs, and not on Windows.

Until someone fixes it, its not going to work right, its a bug in a script command.


**** edit

someone else already reported it at VWR-1405

intel Macs takes all negative numbers as 0 instead of the negative on llMapDestination command.