Opywang

Member
I made a server that reward players with all type of attritube bonus, and players can add it on weapons, and I wonder if too many attribute on weapon can cause crash. Here is gif of a video I made to show you an example. It's so long it go across the screen, and you can't see the bottom what the swords says lol.

https://gyazo.com/9b58f284d5e931ce06cda25fcf03a76a
 
The client can support all of those attributes just fine, what will be causing the crash is the html color parsing.
The html rendering engine in the client is poor and it will only render so much before quitting.

Each one of those lines displayed in the screenshot is going to be at least twice as long in raw data, if each line wraps with a <basefont> tag.

If you really want to make every line appear blue, you can achieve that fairly consistently by making sure you don't reset the first <basefont> tag used for the first line added to the OPL - Every line added after that will not require a <basefont> tag to color it.
 
O.K. great somebody reply thank you so much, and the shard I am on is always crashing, and we are unable to figure out what is the caused of it. Here is report if you could take a moment, and see if you can see if you can find out why the shard is crashing I'd appreciated it.

Code:
Exception:
System.OverflowException: TimeSpan overflowed because the duration is too long.
  at System.TimeSpan.Interval (System.Double value, System.Int32 scale) [0x00060] in <9bbab8f8a2a246e98480e70b0839fd67>:0
  at System.TimeSpan.FromSeconds (System.Double value) [0x00000] in <9bbab8f8a2a246e98480e70b0839fd67>:0
  at Server.Items.BaseWeapon.GetDelay (Server.Mobile m) [0x001af] in <0d609938356846c1b1b673bcd3d51cb2>:0
  at Server.Items.BaseWeapon.OnRemoved (System.Object parent) [0x00075] in <0d609938356846c1b1b673bcd3d51cb2>:0
  at Server.Mobile.RemoveItem (Server.Item item) [0x0007e] in <4aec93c437b548548957a27ea0486ae3>:0
  at Server.Item.AddItem (Server.Item item) [0x00107] in <4aec93c437b548548957a27ea0486ae3>:0
  at Server.Items.Container.AddItem (Server.Item item) [0x0000d] in <4aec93c437b548548957a27ea0486ae3>:0
  at Server.Items.Container.DropItem (Server.Item dropped) [0x00007] in <4aec93c437b548548957a27ea0486ae3>:0
  at Server.Mobile.Kill () [0x002d3] in <4aec93c437b548548957a27ea0486ae3>:0
  at Server.Mobile.Damage (System.Int32 amount, Server.Mobile from, System.Boolean informMount, System.Boolean checkDisrupt) [0x00249] in <4aec93c437b548548957a27ea0486ae3>:0
  at Server.AOS.Damage (Server.IDamageable damageable, Server.Mobile from, System.Int32 damage, System.Boolean ignoreArmor, System.Int32 phys, System.Int32 fire, System.Int32 cold, System.Int32 pois, System.Int32 nrgy, System.Int32 chaos, System.Int32 direct, System.Boolean keepAlive, System.Boolean archer, System.Boolean deathStrike) [0x00682] in <0d609938356846c1b1b673bcd3d51cb2>:0
  at Server.Items.BaseWeapon.OnHit (Server.Mobile attacker, Server.IDamageable damageable, System.Double damageBonus) [0x01064] in <0d609938356846c1b1b673bcd3d51cb2>:0
  at Server.Items.BaseWeapon.OnSwing (Server.Mobile attacker, Server.IDamageable damageable, System.Double damageBonus) [0x00135] in <0d609938356846c1b1b673bcd3d51cb2>:0
  at Server.Items.BaseWeapon.OnSwing (Server.Mobile attacker, Server.IDamageable damageable) [0x00000] in <0d609938356846c1b1b673bcd3d51cb2>:0
  at Server.Items.Fists.OnSwing (Server.Mobile attacker, Server.IDamageable defender) [0x00022] in <0d609938356846c1b1b673bcd3d51cb2>:0
  at Server.Mobile+CombatTimer.OnTick () [0x00117] in <4aec93c437b548548957a27ea0486ae3>:0
  at Server.Timer.Slice () [0x00047] in <4aec93c437b548548957a27ea0486ae3>:0
  at Server.Core.Main (System.String[] args) [0x0056c] in <4aec93c437b548548957a27ea0486ae3>:0
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back