Go Back   RunUO - Ultima Online Emulation > RunUO > New Join Forum

New Join Forum So your new to RunUO and looking to work with people that are new, this is the place.

Reply
 
Thread Tools Display Modes
Old 06-19-2008, 06:41 PM   #1 (permalink)
Lurker
 
Join Date: Jun 2008
Location: Vancouver
Age: 18
Posts: 9
Send a message via ICQ to Polar
Default How to show damage

I would to find out how to show damage from other people on my server, such as spell damage, dexxer damage,etc.... How would I do this?

Last edited by Polar; 06-19-2008 at 06:49 PM.
Polar is offline   Reply With Quote
Old 06-22-2008, 05:46 AM   #2 (permalink)
Forum Expert
 
Lokai's Avatar
 
Join Date: Aug 2003
Location: Bergen, NY (Rochester)
Age: 41
Posts: 1,413
Send a message via ICQ to Lokai Send a message via MSN to Lokai Send a message via Yahoo to Lokai
Default

Quote:
Originally Posted by Polar View Post
I would to find out how to show damage from other people on my server, such as spell damage, dexxer damage,etc.... How would I do this?
You want to show damage where? On your website? In a report? During login? Or, like written to the Console every time someone gets hit?
Lokai is offline   Reply With Quote
Old 06-22-2008, 11:09 AM   #3 (permalink)
Forum Expert
 
Vorspire's Avatar
 
Join Date: Jan 2005
Location: Newcastle, United Kingdom
Age: 21
Posts: 2,294
Send a message via ICQ to Vorspire Send a message via MSN to Vorspire Send a message via Skype™ to Vorspire
Default

I think he means, when someone damages an NPC, he would like to see the floating damage done to that NPC/player by the damager, as if he himself were attacking it.

That's easy, just send a new instance of the damage packet to everyone within X amount of tiles from the NPC/player being damaged. (16 tiles is full client window range i think)

Do this edit in the OnDamage overridable method located in Mobile.cs (you will have to edit BaseCreature.cs and PlayerMobile.cs)
__________________

RPK.VORSPIRE.COM - The WoW-UO Cross-Over Shard
Vorspire is offline   Reply With Quote
Old 06-27-2008, 04:00 AM   #4 (permalink)
Lurker
 
Join Date: Jun 2008
Location: Vancouver
Age: 18
Posts: 9
Send a message via ICQ to Polar
Default

Quote:
Originally Posted by Vorspire View Post
I think he means, when someone damages an NPC, he would like to see the floating damage done to that NPC/player by the damager, as if he himself were attacking it.

That's easy, just send a new instance of the damage packet to everyone within X amount of tiles from the NPC/player being damaged. (16 tiles is full client window range i think)

Do this edit in the OnDamage overridable method located in Mobile.cs (you will have to edit BaseCreature.cs and PlayerMobile.cs)
Thats great and all but I have no idea what your talking about lol
Polar is offline   Reply With Quote
Old 06-27-2008, 10:37 PM   #5 (permalink)
Forum Expert
 
Vorspire's Avatar
 
Join Date: Jan 2005
Location: Newcastle, United Kingdom
Age: 21
Posts: 2,294
Send a message via ICQ to Vorspire Send a message via MSN to Vorspire Send a message via Skype™ to Vorspire
Default

Look in BaseCreature.cs for OnDamage
__________________

RPK.VORSPIRE.COM - The WoW-UO Cross-Over Shard
Vorspire is offline   Reply With Quote
Old 06-28-2008, 01:15 AM   #6 (permalink)
Master of the Internet
 
TMSTKSBK's Avatar
 
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,422
Default

Quote:
Originally Posted by Polar View Post
I would to find out how to show damage from other people on my server, such as spell damage, dexxer damage,etc.... How would I do this?
More clearly define your request. In what way and when do you wish to show the damage? Are you simply looking to display the /type/ of damage that was received?
__________________
Goodbye, folks.
TMSTKSBK is offline   Reply With Quote
Old 06-29-2008, 11:43 PM   #7 (permalink)
Lurker
 
Join Date: Jun 2008
Location: Vancouver
Age: 18
Posts: 9
Send a message via ICQ to Polar
Default

No just the number of damage like explosion 30 damage floating number over there heads
Polar is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5