Difference between revisions of "Chamber of Horrors"

From LugdunonWiki
Jump to: navigation, search
(How Not to Implement the Panning of Your Lightmap)
 
(22 intermediate revisions by one user not shown)
Line 1: Line 1:
 +
{{rewrite|Lack of clear formatting}}
 +
 +
{{engine}}
 +
 
==Introduction==
 
==Introduction==
  
 
Welcome to the Chamber of Horrors!
 
Welcome to the Chamber of Horrors!
  
Here you will find a repository of 'things that should not be', otherwise known as interesting or humorous bugs.
+
Here you will find a repository of 'things that should not be', otherwise known as silly bugs.
 +
 
 +
<br/>
 +
<br/>
 +
<br/>
 +
 
 +
==Lancifer's Super-Wonky-Space-Folding Pathing Bug==
 +
 
 +
*Lancifer discovers the ability to fold spacetime and totally borks pathfinding in the process.
 +
* Discovered during 0.5.12
 +
* Cause: invalid wrapping of search graph used in Lugdunon's default A* pathing implementation.
 +
* Eradicated in 0.5.13
 +
 
 +
 
 +
{{#ev:youtube|05YB6QxvvM8|560|center|How to break your A*}}
 +
 
 +
<br/>
 +
<br/>
 +
<br/>
 +
 
 +
==Brash's Unfeasibly Enormous Tool Cooldown==
 +
 
 +
* Noticed by Brash in version 0.5.6
 +
* Cause: Currently unknown. Suspected integer overflow.
 +
* Eradicated during development of 0.5.13 (yay for sanity checking inputs)
 +
 
 +
 
 +
 
 +
The cooldown in the example below is 17,610 days. This equates to roughly 48.24 years. That is a long, long, long, long, long, time to wait.
 +
 
 +
 
 +
 
 +
[[File:Bug001.PNG|frame|none|alt=Brash's Unfeasibly Enormous Tool Cooldown|Brash's Unfeasibly Enormous Tool Cooldown]]
 +
 
 +
<br/>
 +
<br/>
 +
<br/>
 +
 
 +
==How Not to Implement the Panning of Your Lightmap==
 +
 
 +
* Caused during development of 0.5.4
 +
* Eradicated during development of 0.5.4
 +
* Cause: New implementation of minimap required rendering of the light map for the entire minimap region. Transposed some coordinates when translating the position of the main camera's portion of the lightmap.
 +
 
 +
 
 +
{{#ev:youtube|WvUMvDPopb0|560|center|How Not to Implement the Panning of Your Lightmap}}
 +
 
 +
<br/>
 +
<br/>
 +
<br/>
  
 
==Bob the Dancing Skeleton==
 
==Bob the Dancing Skeleton==
  
 
* Caused during development of 0.5.3
 
* Caused during development of 0.5.3
* Eradicated during development of 0.5.3
+
* Eradicated during development of 0.5.3
 
* Cause: With addition of death, the NPC aggro behavior (AI) needed to be made aware of death so that the NPC ceased attacking a dead character. This worked wonderfully, however, the same check was not made for the initial pickup of aggro. This resulting in NPCs going:  
 
* Cause: With addition of death, the NPC aggro behavior (AI) needed to be made aware of death so that the NPC ceased attacking a dead character. This worked wonderfully, however, the same check was not made for the initial pickup of aggro. This resulting in NPCs going:  
 +
  
 
''"Oh look, there's a dead guy, let's attack! Oh wait, scratch that, he's dead."''
 
''"Oh look, there's a dead guy, let's attack! Oh wait, scratch that, he's dead."''
  
 +
''"Oh look, there's a dead guy, let's attack! Oh wait, scratch that, he's dead."''
  
 +
''"Oh look, there's a dead guy, let's attack! Oh wait, scratch that, he's dead."''
  
[[File:Spazzo.gif|frame|none|alt=Valid Destination|Valid Destination]]
+
''"Oh look, there's a dead guy, let's attack! Oh wait, scratch that, he's dead."''
  
 +
''"..."''
  
==How Not to Implement the Panning of Your Lightmap==
 
  
* Caused during development of 0.5.4
+
 
* Eradicated  during development of 0.5.4
+
[[File:Spazzo.gif|frame|none|alt=Bob the Dancing Skeleton|Bob the Dancing Skeleton]]
* Cause: New implementation of minimap required rendering of the light map for the entire minimap region. Transposed some coordinates when translating the position of the main camera's portion of the lightmap.
+
  
  
{{#ev:youtube|WvUMvDPopb0|560|left|How Not to Implement the Panning of Your Lightmap}}
+
<br/>
 +
<br/>
 +
<br/>

Latest revision as of 16:39, 15 February 2015

It has been suggested that this page/section be rewritten.
Reason: "Lack of clear formatting"
Engine Content: This information applies to the engine and therefore to all servers.

Contents

Introduction

Welcome to the Chamber of Horrors!

Here you will find a repository of 'things that should not be', otherwise known as silly bugs.




Lancifer's Super-Wonky-Space-Folding Pathing Bug

  • Lancifer discovers the ability to fold spacetime and totally borks pathfinding in the process.
  • Discovered during 0.5.12
  • Cause: invalid wrapping of search graph used in Lugdunon's default A* pathing implementation.
  • Eradicated in 0.5.13


How to break your A*




Brash's Unfeasibly Enormous Tool Cooldown

  • Noticed by Brash in version 0.5.6
  • Cause: Currently unknown. Suspected integer overflow.
  • Eradicated during development of 0.5.13 (yay for sanity checking inputs)


The cooldown in the example below is 17,610 days. This equates to roughly 48.24 years. That is a long, long, long, long, long, time to wait.


Brash's Unfeasibly Enormous Tool Cooldown
Brash's Unfeasibly Enormous Tool Cooldown




How Not to Implement the Panning of Your Lightmap

  • Caused during development of 0.5.4
  • Eradicated during development of 0.5.4
  • Cause: New implementation of minimap required rendering of the light map for the entire minimap region. Transposed some coordinates when translating the position of the main camera's portion of the lightmap.


How Not to Implement the Panning of Your Lightmap




Bob the Dancing Skeleton

  • Caused during development of 0.5.3
  • Eradicated during development of 0.5.3
  • Cause: With addition of death, the NPC aggro behavior (AI) needed to be made aware of death so that the NPC ceased attacking a dead character. This worked wonderfully, however, the same check was not made for the initial pickup of aggro. This resulting in NPCs going:


"Oh look, there's a dead guy, let's attack! Oh wait, scratch that, he's dead."

"Oh look, there's a dead guy, let's attack! Oh wait, scratch that, he's dead."

"Oh look, there's a dead guy, let's attack! Oh wait, scratch that, he's dead."

"Oh look, there's a dead guy, let's attack! Oh wait, scratch that, he's dead."

"..."


Bob the Dancing Skeleton
Bob the Dancing Skeleton