PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
alittle information

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> General Help (095)
Display posts from previous:   

Author Message
DevGIB



Joined: 06 Feb 2006
Posts: 93

PostPosted: Thu Mar 02, 2006 2:35 am    Post subject: alittle information Reply with quote

not 100% sure if this is doable but based on mauddib's dmg above char script using that packet theres no posible way to change the color of that dmg display is there... for example normal dmg could be grey psn dmg could be green wounding dmg could be red kinda thing??

and on another note does anyone have a website link that i could use to find out more about packets and how they work etc not so much how they work but more the layout, i get confused looking and byte bit packet length etc i was just looking for some clarity on this subject... thanks in advance

Author Message
DevGIB



Joined: 06 Feb 2006
Posts: 93

PostPosted: Fri Mar 03, 2006 5:40 pm    Post subject: Reply with quote

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?

Post new topic   Reply to topic    PenUltima Online Forum Index -> General Help (095) All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty