DevGIB
Joined: 06 Feb 2006 Posts: 93
|
Posted: Fri Mar 03, 2006 5:40 pm Post subject: |
|
|
2 more questions for anyone who knows
if(dmg <= 255)
var pkt := "BF000B002201SSSSSSSSDD";
pkt["SSSSSSSS"] := fixPacketLength( (Hex(damaged.serial)-"0x"), 4) ;
pkt["DD"] := fixPacketLength( (Hex(dmg)-"0x"), 1);
if(attacker.acct)
SendPacket(attacker, pkt);
endif
if(damaged.acct)
SendPacket(damaged, pkt);
endif
endfunction
SSSSSSSS would you be able to enter the serial of a item here... eg making it show the final blow of a battle above the corpse?
and
DD is this expandable to 3 characters so we can display more than 255 damage? like 4095 damage?
would it create much lag for you to do a foreach char in radius 5 and then send the packet to them or even if char is in guild? |
|