It is currently Mon Dec 01, 2008 10:21 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: alittle information
PostPosted: Wed Mar 01, 2006 10:35 pm 
Offline

Joined: Mon Feb 06, 2006 6:12 am
Posts: 93
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


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 03, 2006 1:40 pm 
Offline

Joined: Mon Feb 06, 2006 6:12 am
Posts: 93
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?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl