Thread: Problem.
View Single Post
  #1  
Old 03-22-2007, 03:08 PM
contiga contiga is offline
Graal2001 Administration
contiga's Avatar
Join Date: Jul 2004
Location: Netherlands
Posts: 419
contiga is an unknown quantity at this point
Send a message via ICQ to contiga Send a message via AIM to contiga Send a message via MSN to contiga Send a message via Yahoo to contiga
Problem.

This little script should mix up 2 of my dropped items (if they are the same), increasing the ammount on the serverside works perfect, actually it just works perfect at all.. but on the clientside, when I mouse over the item, it shows the "White Fung Yi San Sword x <ammount>", well.. when I have changed the ammount, the this.attr[ 2] only updates (on the clientside) when I click on the item or so, maybe because a trigger is sent, who knows!

Anyone that knows how to fix this? (So that it DOES update the this.attr[ 2] on the clientside immediatly?)

On serverside
PHP Code:
this.check getareanpcsthis.1this.144);
if ( 
this.check != null) {
  for ( 
temp.0temp.this.check.size(); temp.++) {
    
temp.npc npcsthis.checktemp.n]];
    if ( 
temp.npc.attr3] == "...") {
      if ( 
temp.npc.item.arc == this.item.arc) {
        
temp.newamm temp.npc.attr2] + this.item.amm;
        
temp.npc.item.amm temp.npc.attr2] = temp.newamm;
        
this.destroy();
      }
    }
  }

On clientside (in a timeout)
PHP Code:
findImg200).text this.attr1] @ " x" this.attr2]; 
__________________
AIM: Contiga122
MSN: [email protected]
Status:
Quote:
Originally Posted by unixmad View Post
I am also awake 3AM to help correct problems.
Quote:
Originally Posted by Bomy Island RC people
Daniel: HoudiniMan is a bad guy =p
*Bell: rofl. I first read that as houdini is a bad man. like the little kid that wants his mommy to keep her away from that boogie man
Daniel: xD
*Rufus: I wouldn't want my kids around him.
Reply With Quote