MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000339VCMIMechanics - Objectspublic2010-01-27 02:302010-07-14 09:36
ReporterSteven Aus 
Assigned ToTow 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version0.75 
Target VersionFixed in Version0.8 
Summary0000339: Prison (in one map at least) defaults to certain hero (and right-click text says eg. "Orrin the Knight" rather than "Jail").
DescriptionIn the Race for Ardintinny map, the Prison from the Castle's One-Way Teleporter area says "Orrin the Knight". However when I had hired Orrin the Knight from my Castle previously, a doppelganger situation occurred, when display of troops was the same for both the original Orrin and the one from the Prison. Because both heroes had the same ID I think, even the movement points display changes were a bit weird (one from the other and so on). Check out the save to see what's happening. =) Probably a relatively easy bug to fix - I think when a Prison is set up before map start that hero Identity is blocked from all Taverns to prevent having more than one hero with the same identity/ID. Also, Prison right-click text says "Prison" rather than the name and class of the hero inside, which you only find out when freeing the Prison's hero. =)
TagsNo tags attached.
Attached Files7z file icon Orrin Twice.7z [^] (112,255 bytes) 2010-01-27 02:30

- Relationships

-  Notes
(0000602)
Warmonger (administrator)
2010-02-01 02:33

It's more complicated, actually at some point all heroes are called Orrin.
(0000607)
Warmonger (administrator)
2010-02-09 18:53

Ok, I had a look into it and discovered quite bizzare thing: Hero and prison are all instances of same class. Unless there is a good reason for that, I'm going to add new, elegant object for Prison
(0000619)
Tow (developer)
2010-02-10 21:34

Fixed in r1473.
There was two bugs actually
1) Hero placed in prison was not removed from pool of heroes possible to recruit in tavern
2) All prisons were reset to hold Orrin

Warmonger ->
>>Hero and prison are all instances of same class. Unless there is a good reason for that

There is reason: hero and prison are the same, only difference is picture and that the prison is not owned by any player.
(0001115)
Zamolxis (viewer)
2010-07-14 09:36

R-click still gives the name of the hero, rather than saying "Prison", but I kinda like that behavior actually. Maybe if I know what hero is there, I can reconsider if it's worthy to fight a guard, w/o having to spend time saving & fighting, just to check if it's the hero I'm looking for. Closing.

- Issue History
Date Modified Username Field Change
2010-01-27 02:30 Steven Aus New Issue
2010-01-27 02:30 Steven Aus File Added: Orrin Twice.7z
2010-02-01 02:33 Warmonger Note Added: 0000602
2010-02-01 02:33 Warmonger Assigned To Tow => Warmonger
2010-02-09 18:53 Warmonger Note Added: 0000607
2010-02-10 21:34 Tow Note Added: 0000619
2010-02-10 21:34 Tow Status assigned => resolved
2010-02-10 21:34 Tow Fixed in Version => 0.89
2010-02-10 21:34 Tow Resolution open => fixed
2010-02-10 21:34 Tow Status resolved => assigned
2010-02-10 21:34 Tow Assigned To Warmonger => Tow
2010-02-26 11:22 Tow Status assigned => resolved
2010-07-14 09:36 Zamolxis Note Added: 0001115
2010-07-14 09:36 Zamolxis Status resolved => closed

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean