Anonymous | Login | 2024-11-21 11:32 CET |
Main | My View | View Issues | Change Log | Roadmap | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000400 | Soldat Dedicated Server | Scripting Core | public | 2013-08-26 03:02 | 2014-08-25 22:04 | ||||
Reporter | DorkeyDear | ||||||||
Assigned To | ExHunter | ||||||||
Priority | low | Severity | trivial | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 2.7.5 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000400: TActivePlayer.BigText with layer 0 causes WriteConsole behaviour | ||||||||
Description | Calling TActivePlayer.BigText with the layer as 0 causes WriteConsole behaviour; that is, text is written to the player console. | ||||||||
Steps To Reproduce | Call BigText in an instance of TActivePlayer with the layer being 0. Refer to Additional Information for an example code piece. | ||||||||
Additional Information | procedure OnClockTick(const Tick: integer); begin if (Players[1].Active) then Players[1].BigText(0, 'Text', 500, $FFFF7F, 0.20, 200, 300); end; begin Game.OnClockTick := @OnClockTick; end. | ||||||||
Tags | No tags attached. | ||||||||
John | |||||||||
Attached Files | |||||||||
Notes | |
(0001881) DorkeyDear (reporter) 2013-08-26 03:05 |
There is also similar behavior with using TPlayers.BigText. |
(0001958) Falcon (administrator) 2013-10-05 23:31 edited on: 2013-10-05 23:32 |
Well this is perfectly OK, from internal point of view, as 0 means "draw it in console". I agree it's rather confusing though. Question is what do you prefer: - 0 LayerID throwing an exception - 255 LayerID throwing an exception (0 working "as intended") - Leaving it as is - Anything else you suggest |
(0002272) ExHunter (developer) 2014-08-25 22:04 |
fixed for next version |
Issue History | |||
Date Modified | Username | Field | Change |
2013-08-26 03:02 | DorkeyDear | New Issue | |
2013-08-26 03:05 | DorkeyDear | Note Added: 0001881 | |
2013-09-09 15:45 | Falcon | Status | new => acknowledged |
2013-09-12 21:48 | Falcon | Assigned To | => Falcon |
2013-09-12 21:48 | Falcon | Status | acknowledged => confirmed |
2013-10-05 23:31 | Falcon | Note Added: 0001958 | |
2013-10-05 23:32 | Falcon | Note Edited: 0001958 | View Revisions |
2013-12-27 23:35 | Falcon | Assigned To | Falcon => |
2014-08-21 12:12 | ExHunter | Assigned To | => ExHunter |
2014-08-21 12:12 | ExHunter | Status | confirmed => assigned |
2014-08-25 22:04 | ExHunter | Note Added: 0002272 | |
2014-08-25 22:04 | ExHunter | Status | assigned => resolved |
2014-08-25 22:04 | ExHunter | Resolution | open => fixed |
Copyright © 2000 - 2024 MantisBT Team |