View Single Post
  #102  
Old 05-09-2010, 08:32 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Skyld View Post
Having difficulty reproducing this: Polygons on layers 3 or below are being displayed 50 tiles south of where they should be. (Apparently this problem affects all the new clients, not just the 64-bit one, according to Tig).
See if this script reproduces it for you, it did for me. It displays the correct tile number but shows the polygon about 5 tiles north.

PHP Code:
// weapon script, press 9 to activate
//#CLIENTSIDE
function onKeyPressed(codekey) {
  if (
key == "9") {
    
this.on = ! this.on;
    
    if (
this.on) {
      
this.trigger("timeOut"null);
    } else {
      
hideimg(200);
    }
  }
}

function 
onTimeOut() {
  if (! 
this.on) {
    return;
  }
  
  
temp.mx int(mousex);
  
temp.my int(mousey);
  
  
with (findimg(200)) {
    
layer 3;
    
    
red 1;
    
green 0;
    
blue 0;
    
    
alpha 0.6;
    
    
polygon = {mxmymx 1mymx 1my 1mxmy 1mxmy};
  }
  
  
player.chat "Tile: " player.level.tiles[mxmy];
  
  
this.setTimer(0.05);

__________________
Reply With Quote